I'm trying to reproduce a Visual Studio build without using Visual Studio, and so far I've been able to find where all headers are stored (Windows SDK ones, Visual Studio ones, etc.), thanks to questions like this.
However, there is a specific definition from the Microsoft Cryptography API that I find nowhere:
BCRYPT_HASH_FUNCTION_TABLE
Even googling around for #define BCRYPT_HASH_FUNCTION_TABLE
or typedef * BCRYPT_HASH_FUNCTION_TABLE
gives no results.
My VS project uses that definition, and VS compiles it, so it manages to find the definition for that type. However, I could not find it in any of the included directories as indicated by the linked SO question, so I see two possibilities:
- There are additional include directories which I'm not aware of;
- MSVC has some built-in definitions for CNG-related types.
If it's the former, how could I find these additional directories?
I did find a bcrypt.h
file in my SDK include directory, which contains several bcrypt-related definitions, but not this specific typedef.
Extra details:
- The only file named
bcrypt.h
in my disk is the one I got from installing Windows SDK 7, and it has no such definition; - I found another version of bcrypt.h online which does define it, but I don't know which version this is, how could I get it myself, and overall, how does MSVC compile my file with a header that does not include such definition.