http://bugs.winehq.org/show_bug.cgi?id=22100
Summary: SystemFunction036 has wrong prototype Product: Wine Version: 1.1.41 Platform: x86 OS/Version: All Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mtr1999@gmx.com
SystemFunction036 in advapi32/crypt.c returns BOOLEAN instead of BOOL. http://msdn.microsoft.com/en-us/library/aa387694%28VS.85%29.aspx
These two types are different. http://msdn.microsoft.com/en-us/library/aa383751%28VS.85%29.aspx
typedef int BOOL; typedef BYTE BOOLEAN;
This doesn't fail the SystemFunction036 winetest because the prototype there is wrong too.
The ntsecapi.h header has the right prototype.