#define _WIN32_WINNT 0x0400
#include <wincrypt.h>
#include <windows.h>int main(int argc, char* argv[])
{
HCRYPTPROV hProv;
return 0;
}
error:
error C2146: syntax error : missing ';' before identifier 'HRESULT'
fatal error C1004: unexpected end of file found
错误处均是wincrypt.h里的.