Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Retrieves pointers to the supported interfaces on an object.
Syntax
public:
HRESULT QueryInterface(
REFIID riid,
void **ppvObject
)
Parameters
- riid
Type: REFIID
[in] The identifier of the interface being requested. The KinectAudio DMO supports all the standard DMO interfaces; the interfaces used in the Kinect for Windows samples can be found here. - 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. This method calls AddRef on the pointer it returns. Call Release on the interface *ppvObject when you are done using it.
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 Unknown.h.