IDirectXFileEnumObject::GetDataObjectById

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

HRESULT GetDataObjectById(
  REFGUID rguid,
  LPDIRECTXFILEDATA * ppDataObj
);

Parameters

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

Return Values

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.

Requirements

Header: Declared in Dxfile.h.