CryptGenKey (ADVAPI32.@)
BOOL CryptGenKey ( HCRYPTPROV hProv, ALG_ID Algid, DWORD dwFlags, HCRYPTKEY* phKey )
Generates a random cryptographic session key or a pub/priv key pair.
hProv | [In] | Handle to a CSP. |
Algid | [In] | Algorithm to use to make key. |
dwFlags | [In] | Specifies type of key to make. |
phKey | [In] | Address of the handle to which the new key is copied. |
Success: TRUE
Failure: FALSE
Declared in "include/wincrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/wincrypt.h
Implemented in "dlls/advapi32/crypt.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/crypt.c
Debug channel "crypt".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.