Microsoft DirectX 8.1 (C++)

IDirectXFileSaveObject::SaveData

Saves a data object and its children to a Microsoft® DirectX® file.

HRESULT SaveData(
  LPDIRECTXFILEDATA pDataObj
);

Parameters

pDataObj
[in] Pointer to an IDirectXFileData interface, representing the file data object to save.

Return Values

If the method succeeds, the return value is DXFILE_OK.

If the method fails, the return value can be one of the following values.

DXFILEERR_BADARRAYSIZE
DXFILEERR_BADVALUE

Requirements

  Header: Declared in Dxfile.h.
  Import Library: Use D3dxof.lib.