DirectXFileCreate
Microsoft DirectX 9.0 SDK Update (October 2004)

DirectXFileCreate Function


Creates an instance of a DirectXFile object. Deprecated.

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 D3D_OK.

If the function fails, the return value can be one of the following values.

DXFILEERR_BADALLOCMemory allocation failed.
DXFILEERR_BADVALUEParameter 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

Headerdxfile.h
Import libraryd3dxof.lib
Minimum operating systems Windows 98

See Also

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


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.