ID3DXFileEnumObject::GetFile

Retrieves the ID3DXFile object.

HRESULT GetFile(
  ID3DXFile ** ppFile
);

Parameters

ppFile
[out] Address of a pointer to an ID3DXFile interface, representing the returned object.

Return Values

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

Requirements

Header: Declared in D3dx9xof.h.