Microsoft DirectX 9.0

IDirectXFileData::GetNextObject Method

Retrieves the next child data object, data reference object, or binary object in the Microsoft?DirectX?file.


HRESULT GetNextObject(      



[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_BADVALUEParameter is invalid.
DXFILEERR_NOMOREOBJECTSAll objects have been enumerated.


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

© 2002 Microsoft Corporation. All rights reserved.