Microsoft DirectX 8.1 (C++) |
Retrieves the data object that has the specified name.
HRESULT GetDataObjectByName( LPCSTR szName, LPDIRECTXFILEDATA* ppDataObj );
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_BADVALUE |
DXFILEERR_NOTFOUND |
Header: Declared in Dxfile.h.
Import Library: Use D3dxof.lib.