|Microsoft DirectX 9.0|
Retrieves an interface pointer and increments the reference count. This method implements the INonDelegatingUnknown::NonDelegatingQueryInterface method.
HRESULT NonDelegatingQueryInterface( REFIID riid, void **ppv );
Identifier of the interface.
Address of a pointer to receive the interface.
Returns one of the HRESULT values shown in the following table.
|E_NOINTERFACE||Object does not support this interface.|
|E_POINTER||NULL pointer argument.|
The CUnknown class exposes only the IUknown interface. Override this method to expose additional interfaces. For information on how to override this method, see How to Implement IUnknown.