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

IDirectXFileData::AddDataObject Method


Adds a data object as a child object. Deprecated.

Syntax

HRESULT AddDataObject(      

    LPDIRECTXFILEDATA pDataObj );

Parameters

pDataObj
[in] Pointer to an IDirectXFileData interface, representing the file data object to add as a child object.

Return Value

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_BADALLOCMemory allocation failed.
DXFILEERR_BADVALUEParameter is invalid.


Remarks

Use the IDirectXFileSaveObject::CreateDataObject method to create the IDirectXFileData object before calling this method.

See Also

IDirectXFileSaveObject::CreateDataObject


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