D3DXFRAMEAppendChild

Adds a child frame to a frame.

HRESULT D3DXFRAMEAppendChild(
  LPD3DXFRAME pFrameParent,
  CONST D3DXFRAME * pFrameChild
);

Parameters

pFrameParent
[in] Pointer to the parent node.
pFrameChild
[in] Pointer to the child node.

Return Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following values: D3DERR_INVALIDCALL, E_OUTOFMEMORY.

Requirements

Header: Declared in D3dx9anim.h.