IDirect3DRMDevice::GetDirect3DDevice
Retrieves a pointer to an Immediate-Mode device.
HRESULT GetDirect3DDevice(
LPDIRECT3DDEVICE * lplpD3DDevice
);
Parameters
lplpD3DDevice
Address of a pointer that is initialized with a pointer to an Immediate-Mode device object.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.