CryptGetDefaultProviderW (ADVAPI32.@)
BOOL CryptGetDefaultProviderW ( DWORD dwProvType, DWORD* pdwReserved, DWORD dwFlags, LPWSTR pszProvName, DWORD* pcbProvName )
Finds the default CSP of a certain provider type.
dwProvType | [In] | Provider type to look for. |
pdwReserved | [In] | Reserved for future use and must be NULL. |
dwFlags | [In] | CRYPT_MACHINE_DEFAULT/USER_DEFAULT. |
pszProvName | [Out] | Name of the default CSP. |
pcbProvName | [In/Out] | Size of pszProvName. |
Success: TRUE
Failure: FALSE.
If pszProvName is NULL, pcbProvName will hold the size of the buffer for memory allocation purposes on return.
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 Dec 2024.