Microsoft DirectX 9.0 |
The GetMonitor method retrieves the monitor that this instance of the VMR is using for video playback.
Syntax
HRESULT GetMonitor(
VMRGUID* pGUID
);
Parameters
pGUID
[out] Pointer to a VMRGUID structure allocated by the caller. The method fills this structure with a GUID that identifies the monitor.
Return Values
Returns an HRESULT value. Possible values include the following.
Error Code | Description |
E_POINTER | NULL pointer argument. |
S_OK | Success. |
VFW_E_WRONG_STATE | The allocator-presenter has not been loaded. |
See Also