IDirect3DRMFrame2::GetParent

Retrieves the parent frame of the current frame.

HRESULT GetParent(
LPDIRECT3DRMRAME * lplpParent
);

Parameters

lplpParent

Address of a pointer that will be filled with the pointer to the Direct3DRMFrame object representing the frame's parent. If the current frame is the root, this pointer will be NULL when the method returns.

Return Values

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