IDirectXFileData::GetNextObject method

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

Syntax

HRESULT GetNextObject(
  [out, retval] LPDIRECTXFILEOBJECT *ppChildObj
);

Parameters

ppChildObj [out, retval]

Type: LPDIRECTXFILEOBJECT*

Address of a pointer to an IDirectXFileObject interface, representing the returned child object's file object interface.

Return value

Type: HRESULT

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, DXFILEERR_NOMOREOBJECTS.

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).

Requirements

Requirement Value
Header
DXFile.h
Library
D3dxof.lib

See also

IDirectXFileBinary

IDirectXFileData

IDirectXFileDataReference