?/TD>
Microsoft DirectX 9.0

IDirectXFileEnumObject::GetNextDataObject Method


Retrieves the next top-level object in the Microsoft?DirectX?file.

Syntax

HRESULT GetNextDataObject(      

    LPDIRECTXFILEDATA *ppDataObj );

Parameters

ppDataObj
[out] Address of a pointer to an IDirectXFileData interface, representing the returned file data object.

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.


Remarks

Top-level objects are always data objects. Data reference objects and binary objects can only be children of data objects.



© 2002 Microsoft Corporation. All rights reserved.