Microsoft DirectX 8.0 (C++) |
Applications use the methods of the IDirectXFileSaveObject interface to create data objects and to save templates and data objects. Note that templates are not required in every file. For example, you could put all templates into a single Microsoft® DirectX® file rather than duplicating them in every DirectX file.
The IDirectXFileSaveObject interface is obtained by calling the IDirectXFile::CreateSaveObject method.
The methods of the IDirectXFileSaveObject interface can be organized into the following group.
Creation | CreateDataObject |
Saving | SaveData |
SaveTemplates |
The IDirectXFileSaveObject interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.
IUnknown | AddRef |
QueryInterface | |
Release |
The globally unique identifier (GUID) for the IDirectXFileSaveObject interface is IID_IDirectXFileSaveObject.
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.