IDirect3DRMViewport::GetDirect3DViewport

HRESULT GetDirect3DViewport(LPDIRECT3DVIEWPORT * lplpD3DViewport);

Retrieves the Direct3D viewport corresponding to the current Direct3DRMViewport.

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

lplpD3DViewport

Address of a pointer that is initialized with a pointer to the Direct3DViewport object.