Microsoft DirectX 8.0 (C++)

IDirectXFileDataReference

Applications use the methods of the IDirectXFileDataReference interface to support data reference objects. A data reference object refers to a data object that is defined earlier in the file. This enables you to use the same object multiple times without repeating it in the file.

The IDirectXFileDataReference interface inherits the following IDirectXFileObject methods, which can be organized into this group.

Information GetId
  GetName

The IDirectXFileDataReference interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.

IUnknown AddRef
  QueryInterface
  Release

After you have determined that an object is a data reference object, use the IDirectXFileDataReference::Resolve method to retrieve the referenced object defined earlier in the file.

For information on how to identify a data reference object, see the IDirectXFileData interface.

The globally unique identifier (GUID) for the IDirectXFileDataReference interface is IID_IDirectXFileDataReference.

Requirements

  Header: Declared in Dxfile.h.
  Import Library: Use D3dxof.lib.