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

ID3DXFileEnumObject::GetDataObjectById Method


Retrieves the data object that has the specified globally unique identifier (GUID).

Syntax

HRESULT GetDataObjectById(      

    REFGUID rguid,     LPD3DXFILEDATA *ppDataObj );

Parameters

rguid
[in] Reference to the requested GUID.
ppDataObj
[out] Address of a pointer to an ID3DXFileData interface, representing the returned file data object.

Return Value

If the method succeeds, the return value is S_OK.

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

DXFILEERR_BADVALUEParameter is invalid.
DXFILEERR_NOTFOUNDObject could not be found.


Remarks

Obtain the GUID rguid of the current file data object with the ID3DXFileData::GetId method.



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