Fixing wrong prototypes in a header

Juan Lang juan.lang at gmail.com
Wed Aug 15 11:48:51 CDT 2007


Some of the function prototypes in wintrust.h have the wrong calling
convention.  The trouble is, PSDK gets them wrong too.  So calling the
functions, as declared in the PSDK header, results in a crash in
Windows.  Casting them to function pointers with the correct calling
convention succeeds.

Should I leave the prototypes incorrect in wintrust.h to match the
PSDK, or should I fix them to make them more convenient for me to use?

Thanks,
--Juan



More information about the wine-devel mailing list