Czerny,
I have been too fast
I still have MS original defs in my include dir so my compiles works even when they don't have to
Now, after I made some cleaning, I have found that the order I indicated above works only with MS distribution. To use NTSecAPI under PellesC you need at least the definitions from LsaLookUp.h, that of course are not in the PellesC distribution
So I 'made' the PellesC version of LsaLookUp, then discovered another error in NTSecAPI: a residual __inout decoration
I fixed all and attach here the working version.
After all this work I agree, this is a bug!
I moved the thread back in bugs
Please let me know if it works now
#include <windows.h>
#include <LsaLookUp.h>
#include <ntsecapi.h>
int main(int argc, char *argv[])
{
return 0;
}