?/TD> |
Microsoft DirectX 9.0 |
Retrieves the next child data object, data reference object, or binary object in the Microsoft?DirectX?file.
Syntax
HRESULT GetNextObject(
LPDIRECTXFILEOBJECT *ppChildObj );
Parameters
- ppChildObj
- [out, retval] Address of a pointer to an IDirectXFileObject interface, representing the returned child object's file object interface.
Return Value
If the method succeeds, the return value is DXFILE_OK.
If the method fails, the return value can be one of the following values.
DXFILEERR_BADVALUE Parameter is invalid. DXFILEERR_NOMOREOBJECTS All objects have been enumerated.
Remarks
To determine the type of object retrieved, use QueryInterface to query the retrieved object for support of IDirectXFileData, IDirectXFileDataReference, or IDirectXFileBinary interfaces. The interface supported indicates the type of object (data, data reference, or binary).
See Also
IDirectXFileBinary, IDirectXFileData, IDirectXFileDataReference