|Microsoft DirectX 9.0|
The GetMonitor method retrieves the monitor that this instance of the VMR is using for video playback.
HRESULT GetMonitor( UINT* puDev );
[out] Pointer that receives an index that identifies the monitor currently in use.
The method returns an HRESULT. Possible values include the following.
|E_POINTER||NULL pointer argument.|
|S_OK||The method succeeded.|
|VFW_E_WRONG_STATE||The allocator-presenter has not been loaded.|
Use this method to determine the DirectDraw object that will be used when connecting the mixer filter to an upstream decoder filter.
Include D3d9.h, Vmr9.h.