DirectXFileCreate function (Windows)

Switch View :
ScriptFree
DirectXFileCreate function

Applies to: desktop apps only

Creates an instance of a DirectXFile object. Deprecated.

Syntax

HRESULT STDAPICALLTYPE DirectXFileCreate(
  LPDIRECTXFILE *lplpDirectXFile
);

Parameters

lplpDirectXFile

Type: LPDIRECTXFILE*

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

Return value

Type: HRESULT

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 RegisterTemplates to register templates, CreateEnumObject to create an enumerator object, or CreateSaveObject to create a save object.

Requirements

Header

DXFile.h

Library

D3dxof.lib

See also

CreateEnumObject
CreateSaveObject
RegisterTemplates

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012