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
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for