IDirect3DRMViewport::GetDevice

HRESULT GetDevice(LPDIRECT3DRMDEVICE *lpD3DRMDevice);

Retrieves the device associated with a viewport.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

lpD3DRMDevice

Address of a variable that represents the Direct3DRMDevice object.