Microsoft DirectX 9.0 |
The SetD3DDevice method .
Syntax
HRESULT SetD3DDevice(
IDirect3DDevice9* lpD3DDevice,
HMONITOR hMonitor
);
Parameters
lpD3DDevice
[in] Pointer to the IDirect3DDevice9 interface of the device.
hMonitor
[in] Handle to a monitor.
Return Values
The method returns an HRESULT. Possible values include those in the following table.
Value | Description |
S_OK | The method succeeded. |
Requirements
Include D3d9.h, Vmr9.h.
See Also