?/TD> |
Microsoft DirectX 9.0 |
Creates an instance of a DirectXFile object.
Syntax
STDAPI DirectXFileCreate(
LPDIRECTXFILE *lplpDirectXFile );
Parameters
- lplpDirectXFile
- Address of a pointer to an IDirectXFile interface, representing the created DirectXFile object.
Return Value
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 Memory allocation failed. DXFILEERR_BADVALUE Parameter is invalid.
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.
Function Information
Header dxfile.h Import library d3dxof.lib Minimum operating systems Windows 98
See Also
IDirectXFile::CreateEnumObject, IDirectXFile::CreateSaveObject, IDirectXFile::RegisterTemplates