Microsoft DirectX 9.0 |
The DisplayModeChanged method informs the VMR that a WM_DISPLAYCHANGE message has been received by the application.
Syntax
HRESULT DisplayModeChanged();
Parameters
This method takes no parameters.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Error Code | Description |
VFW_E_WRONG_STATE | The VMR is not in windowless mode. |
Remarks
An application must call this method whenever it receives a WM_DISPLAYCHANGE window message, but only if the VMR is currently in windowless mode.
See Also