This topic has not yet been rated - Rate this topic

DirectXFileCreate function

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

 

 

Build date: 11/22/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.