DirectXFileCreate

Creates an instance of a DirectXFile object. Deprecated.

STDAPI DirectXFileCreate(
  LPDIRECTXFILE * lplpDirectXFile
);

Parameters

lplpDirectXFile
Address of a pointer to an IDirectXFile interface, representing the created DirectXFile object.

Return Values

If the function succeeds, the return value is D3D_OK. If the function fails, the return value can be one of the following: DXFILEERR_BADALLOC, DXFILEERR_BADVALUE.

Remarks

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.

Requirements

Header: Declared in Dxfile.h.

See Also

IDirectXFile::CreateEnumObject, IDirectXFile::CreateSaveObject, IDirectXFile::RegisterTemplates