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


Reply via email to