ID3DXFileSaveObject::GetFile method

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

Syntax

HRESULT GetFile(
  [in] ID3DXFile ppFile
);

Parameters

ppFile [in]

Type: ID3DXFile

Address of a pointer to an ID3DXFile object.

Return value

Type: HRESULT

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

Requirement Value
Header
D3DX9Xof.h
Library
D3dx9.lib

See also

ID3DXFileSaveObject