When I include security.h in my project, I get 23 errors in sspi.h, including "identifier "PUNICODE_STRING" is undefined", "#error directive: You must define one of SECURITY_WIN32, SECURITY_KERNEL, or" and "#error directive: SECURITY_MAC".
What's wrong? I am using VS 2010 Beta 2 and Windows 7 64-bit.
I guess I gotta replace PUNICODE_STRING by LPCWSTR, since I think it's equivalent.
This isn't documented anywhere.