ID3DXFileSaveObject::GetFile

Gets the ID3DXFile interface of the object that created this ID3DXFileSaveObject object.

HRESULT GetFile(
  ID3DXFile ppFile
);

Parameters

ppFile
[in] Address of a pointer to an ID3DXFile object.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following: D3DXFERR_BADVALUE, E_NOINTERFACE, E_POINTER.

Requirements

Header: Declared in D3dx9xof.h.