Share via


INuiFrameTexture::QueryInterface Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Retrieves the interfaces on an object.

Syntax

public:
HRESULT QueryInterface(
         REFIID riid,
         void **ppvObject
)

Parameters

  • riid
    Type: REFIID
    [in] The identifier of the interface being requested.
  • ppvObject
    Type: void
    [out] The address of a pointer variable that receives the interface pointer requested in the riid parameter. Upon successful return, *ppvObject contains the requested interface pointer to the object. If the object does not support the interface, *ppvObject is set to NULL.

Return Value

Type: HRESULT
Returns S_OK if the interface is supported, and E_NOINTERFACE otherwise. If ppvObject is NULL, this method returns E_POINTER.

Requirements

Header: Declared in Unknwn.h.