[Setuapi] implement SetupDiCreateDeviceInfoListExW - try 5

Christian Gmeiner christian.gmeiner at students.fhv.at
Fri Jun 16 11:53:51 CDT 2006


new try.... changes:

* introduced GetLastError return value check
* SetLastError(ERROR_ACCESS_DENIED) was changed to ERROR_INVALID_MACHINENAME, 
  so we pass test on windows
* kicked out goto, becuase it was not needed

-- 
Christian Gmeiner - student of computer science

http://dxr3plugin.sf.net
Wanna listen to good music? - http://www.purevolume.com/sinceyouaredead
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Setupapi_DeviceInfoList_v5.patch
Type: text/x-diff
Size: 15483 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060616/4340aab7/Setupapi_DeviceInfoList_v5-0001.patch


More information about the wine-patches mailing list