d3d9.dllSave
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXFileSaveObject::Save Method


Saves a data object and its children to a .x file on disk.

Syntax

HRESULT Save(VOID);

Return Value

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be the following:

D3DXFERR_BADOBJECTData could not be read from or written to an object.


Remarks

After this method succeeds, ID3DXFileSaveObject::AddDataObject, ID3DXFileSaveData::AddDataObject and ID3DXFileSaveData::AddDataReference can no longer be called until a new ID3DXFile object is created.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.