?/TD>
Microsoft DirectX 9.0

IDirectXFileData Interface


Applications use the methods of the IDirectXFileData interface to build or to access the immediate hierarchy of the data object. Template restrictions determine the hierarchy. Data types allowed by the template are called optional members. The optional members are not required, but an object might miss important information without them. These optional members are saved as children of the data object. The children can be another data object, a reference to an earlier data object, or a binary object.

IDirectXFileData Members

AddBinaryObject

Creates a binary object and adds it as a child object.

AddDataObject

Adds a data object as a child object.

AddDataReference

Creates and adds a data reference object as a child object.

GetData

Retrieves the data for one of the object's members or the data for all members.

GetId

Retrieves a pointer to the globally unique identifier (GUID) that identifies a Microsoft?DirectX?file object.

GetName

Retrieves a pointer to a DirectX file object's name.

GetNextObject

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

GetType

Retrieves the globally unique identifier (GUID) of the object's template.

Remarks

The GUID for the IDirectXFileData interface is IID_IDirectXFileData.

Interface Information

Inherits fromIDirectXFileObject
Headerdxfile.h
Import libraryd3dxof.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.