D3DXFrameAppendChild function

Adds a child frame to a frame.

Syntax

HRESULT D3DXFrameAppendChild(
  _In_       LPD3DXFRAME pFrameParent,
  _In_ const D3DXFRAME   *pFrameChild
);

Parameters

pFrameParent [in]

Type: LPD3DXFRAME

Pointer to the parent node.

pFrameChild [in]

Type: const D3DXFRAME*

Pointer to the child node.

Return value

Type: HRESULT

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

Requirement Value
Header
D3dx9anim.h
Library
D3dx9.lib

See also

Animation Functions