ID3DXFileEnumObject::GetChild

Retrieves a child object in this file data object.

HRESULT GetChild(
  SIZE_T id,
  ID3DXFileData ** ppObj
);

Parameters

id
[in] ID of the child object to retrieve.
ppObj
[out] Address of a pointer to receive the child object's interface pointer.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following: D3DXFERR_BADVALUE, D3DXFERR_NOMOREOBJECTS.

Requirements

Header: Declared in D3dx9xof.h.