CryptEnumProvidersW3w
Usage
BOOL CryptEnumProvidersW
(
DWORD dwIndex,
DWORD* pdwReserved,
DWORD dwFlags,
DWORD* pdwProvType,
LPWSTR pszProvName,
DWORD* pcbProvName
)
Overview
Returns the next available CSP.
Params
dwIndex [In] Index of the next provider to be enumerated.
pdwReserved [In] Reserved for future use and must be NULL.
dwFlags [In] Reserved for future use and must be zero.
pdwProvType [Out] DWORD designating the type of the provider.
pszProvName [Out] Buffer that receives data from the provider.
pcbProvName [In/Out] Specifies the size of pszProvName. Contains the number of bytes stored in the buffer on return.
Returns
Success: TRUE
Failure: FALSE.
Notes
If pszProvName is NULL, CryptEnumProvidersW sets the size of the name for memory allocation purposes.
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.