CryptGetDefaultProviderW3w
Usage
BOOL CryptGetDefaultProviderW
(
DWORD dwProvType,
DWORD* pdwReserved,
DWORD dwFlags,
LPWSTR pszProvName,
DWORD* pcbProvName
)
Overview
Finds the default CSP of a certain provider type.
Params
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.
Returns
Success: TRUE
Failure: FALSE.
Notes
If pszProvName is NULL, pcbProvName will hold the size of the buffer for memory allocation purposes on return.
Implementation
Declared in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c".
Debug channel "crypt".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.