HRESULT DeleteChild(LPDIRECT3DRMFRAME lpChild);
Removes a frame from the hierarchy. If the frame is not referenced, it is destroyed along with any child frames, lights, and meshes.
·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
lpChild
Address of a variable that represents the Direct3DRMFrame object to be used as the child.