Retrieves the data object that has the specified name.
HRESULT GetDataObjectByName( LPCSTR szName, ID3DXFileData ** ppObj );
If the method succeeds, the return value is S_OK. If the method fails, the return value can be one of the following:DXFILEERR_BADVALUE, DXFILEERR_NOTFOUND.
Obtain the name szName of the current file data object with the ID3DXFileData::GetName method.
Header: Declared in D3dx9xof.h.