Microsoft DirectX 8.1 (C++) |
Creates an instance of a DirectXFile object.
STDAPI DirectXFileCreate( LPDIRECTXFILE* lplpDirectXFile );
If the function succeeds, the return value is DXFILE_OK.
If the function fails, the return value can be one of the following values.
DXFILEERR_BADALLOC |
DXFILEERR_BADVALUE |
After using this function, use IDirectXFile::RegisterTemplates to register templates, IDirectXFile::CreateEnumObject to create an enumerator object, or IDirectXFile::CreateSaveObject to create a save object.
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.
IDirectXFile::CreateEnumObject, IDirectXFile::CreateSaveObject, IDirectXFile::RegisterTemplates