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

IDirectXFileEnumObject::GetDataObjectByName Method


Retrieves the data object that has the specified name. Deprecated.

Syntax

HRESULT GetDataObjectByName(      

    LPCSTR szName,     LPDIRECTXFILEDATA *ppDataObj );

Parameters

szName
[in] Pointer to the requested name.
ppDataObj
[out] Address of a pointer to an IDirectXFileData interface, representing the returned file data 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_BADVALUEParameter is invalid.
DXFILEERR_NOTFOUNDObject could not be found.




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