![]() |
![]() |
![]() |
Retrieves a child object in this file data object.
Syntax
HRESULT GetChild(
SIZE_T uiChild, ID3DXFileData **ppChild );
Parameters
- uiChild
- [in] Identifier (ID) of the child object to retrieve.
- ppChild
- [in] Address of a pointer to receive the child object's interface pointer.
Return Value
If the method succeeds, the return value is S_OK.
If the method fails, the return value can be one of the following values:
D3DXFERR_BADVALUE A variable is outside its expected range; typically returned when an object pointer is invalid. D3DXFERR_NOMOREOBJECTS No more child objects are available.