This month's Index
Subject: RE: [PATCH] Added Windows Cryptography API: Next Generation backend
RE: [PATCH] Added Windows Cryptography API: Next Generation backend
From: Bob Kast <bob_2824_at_hotmail.com>
Date: Wed, 19 Mar 2014 09:21:09 -0400
In wincng.h at the top, there is this:
I am using VS2013 with the corresponding SDK/WDK (8.1).
I have not been able to find any combination of HAVE_WINDOWS_H, HAVE_NTDEF_H and HAVE_NTSTATUS_H that will result in a clean compile. The problem is mixing headers used for drivers with headers used for user code. The errors are mostly macro redefinitions and redundant structs, etc.
My solution is to define only HAVE_WINDOWS_H and then add this:
#define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
That works fine. I’m wondering what you have found in your environment.