?/TD> |
Microsoft DirectX 9.0 |
Adds a data object as a child object.
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_BADALLOC Memory allocation failed. DXFILEERR_BADVALUE Parameter is invalid.
Remarks
Use the IDirectXFileSaveObject::CreateDataObject method to create the IDirectXFileData object before calling this method.
See Also
IDirectXFileSaveObject::CreateDataObject