HCRYPTPROV_OR_NCRYPT_KEY_HANDLE

The HCRYPTPROV_OR_NCRYPT_KEY_HANDLE data type is used as a handle to a CryptoAPI cryptographic service provider (CSP) or CNG CSP. This handle must be an HCRYPTPROV handle that has been created by using the CryptAcquireContext function or an NCRYPT_KEY_HANDLE handle that has been created by using the NCryptOpenKey function. New applications should always pass in the NCRYPT_KEY_HANDLE handle to a CNG CSP.

typedef ULONG_PTR HCRYPTPROV_OR_NCRYPT_KEY_HANDLE;

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Wincrypt.h