d3dxof: return correct value for IDirectXFileDataImpl_GetType
thunderbird2k at gmx.net
Thu Nov 8 05:40:19 CST 2007
> IDirectXFileDataImpl_GetType should return DXFILEERR_BADVALUE on failure,
> not S_FALSE
> This patch fixes bug 10355
Sure this could fix that bug but it not a real fix. D3dxof.dll is mostly a stub and its real functionality (loading and parsing of .x files) is missing. This GetType function is also related to the parsing of the .x file. In short this file contains data and some 'templates' for describing the data. This function returns the guid of that template.
Returning a failure is not really an option in my opion as it won't get the app working. For the time being you should a native d3dxof.dll should be used or the rest of the .x file parsing should be added.
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
More information about the wine-devel