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
The method returns an HRESULT. Possible values include those in the following table.
Value | Description |
S_OK | The method succeeded. |
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.
Requirements
Include D3d9.h, Vmr9.h.
See Also