advapi32: add few tests for GetSidSubAuthority+SetLastError correctly

Louis. Lenders xerox_xerox2000 at
Sat Jun 27 06:02:06 CDT 2009

this should fix
tests show that setlasterror(0) is set in GetSidSubAuthorityCount and

Also it appears that wine returns wrong stuff if GetSidSubAuthority is called with an index >= SidSubAuthorityCount . I left that as a todo_wine in the test as
i'm not sure where exactly that should be fixed

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-advapi32-add-few-tests-for-GetSidSubAuthority-SetLast.txt
URL: <>

More information about the wine-patches mailing list