 |
CryptEnumProviders ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves the first or next available cryptographic service providers (CSPs). Used in a loop, this function can retrieve in sequence all of the CSPs available on a computer. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL WINAPI CryptEnumProviders(
DWORD dwIndex,
DWORD* pdwReserved,
DWORD dwFlags,
DWORD* pdwProvType,
LPTSTR pszProvName,
DWORD* pcbProvName
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CryptEnumProviders IN advapi32;
INTEGER dwIndex,;
INTEGER pdwReserved,;
INTEGER dwFlags,;
INTEGER @ pdwProvType,;
STRING @ pszProvName,;
INTEGER @ pcbProvName
|
 |
 |
 |
| Parameters: |
 |
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] Address of the DWORD value designating the type of the enumerated provider.
pszProvName
[out] Pointer to a buffer that receives the data from the enumerated provider.
pcbProvName
[in, out] Pointer to a DWORD value specifying the size, in bytes, of the buffer pointed to by the pszProvName parameter. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero (TRUE). |
 |
 |
| My comment: |
 |
| Possible CSPs include Microsoft Base Cryptographic Provider version 1.0 and Microsoft Enhanced Cryptographic Provider version 1.0. |
 |
 |
| Word Index links for the CryptEnumProviders : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-05 14:15:23 | | Modified: | 2004-08-05 14:17:22 | Visited in last 7 days: 26 |