CryptGenRandom (ADVAPI32.@)
BOOL CryptGenRandom ( HCRYPTPROV hProv, DWORD dwLen, BYTE* pbBuffer )
Fills a buffer with cryptographically random bytes.
hProv | [In] | Handle of a CSP. |
dwLen | [In] | Number of bytes to generate. |
pbBuffer | [In/Out] | Buffer to contain random bytes. |
Success: TRUE
Failure: FALSE.
pdBuffer must be at least dwLen bytes long.
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.