ID3DXFileEnumObject::GetFile method

Retrieves the ID3DXFile object.

Syntax

HRESULT GetFile(
  [out] ID3DXFile **ppFile
);

Parameters

ppFile [out]

Type: ID3DXFile**

Address of a pointer to an ID3DXFile interface, representing the returned object.

Return value

Type: HRESULT

If the method succeeds, the return value is S_OK. If the method fails, the following value will be returned: D3DXFERR_BADVALUE.

Requirements

Requirement Value
Header
D3DX9Xof.h
Library
D3dx9.lib

See also

ID3DXFileEnumObject