Partager via


IXRInteraction.CreateAttachedObject(REFIID,IXRAttachedObject * *) (Compact 2013)

3/28/2014

This method creates a user-defined IXRAttachedObject.

Syntax

virtual HRESULT STDMETHODCALLTYPE CreateAttachedObject(
REFIID iid,
IXRAttachedObject **ppAttachedObject)

Parameters

  • iid
    [in] GUID corresponding to the desired IXRAttachedObject.
  • ppAttachedObject
    [out] Pointer to pointer to the newly created IXRAttachedObject.

Return Value

Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.

Remarks

See Also

Reference

IXRInteraction