IDirect3DRMFrameArray::QueryInterface

HRESULT QueryInterface(REFIID riid, LPVOID* obp);

Determines if the Direct3DRMFrameArray object supports a particular COM interface. If it does, the system increases the reference count for the object, and the application can begin using that interface immediately. This method is part of the IUnknown interface inherited by Direct3DRMFrameArray.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

riid

Reference identifier of the interface being requested.

obp

Address of a pointer that will be filled with the interface pointer if the query is successful.

If the application does not need to use the interface retrieved by a call to this method, it must call the Release method for that interface to free it. The IDirect3DRMFrameArray::QueryInterface method allows Direct3DRMFrameArray objects to be extended by Microsoft and third parties without interfering with each other's existing or future functionality.