Using Win32 functions in Visual FoxPro Image Gallery
Cryptography Reference
..msdn
CertCloseStore
CertFindCertificateInStore
CertFreeCertificateContext
CertOpenSystemStore
CryptAcquireContext
CryptBinaryToString
CryptCreateHash
CryptDecrypt
CryptDeriveKey
CryptDestroyHash
CryptDestroyKey
CryptEncrypt
CryptEnumProviders
CryptEnumProviderTypes
CryptExportKey
CryptGenKey
CryptGenRandom
CryptGetDefaultProvider
CryptGetHashParam
CryptGetKeyParam
CryptGetProvParam
CryptHashData
CryptImportKey
CryptProtectData
CryptReleaseContext
CryptStringToBinary
CryptUnprotectData
WinVerifyTrust
Code examples:
CryptoAPI: Collection of Providers class
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:
CryptoAPI: Collection of Providers class
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:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-05 14:15:23
Modified: 2004-08-05 14:17:22
Visited in last 7 days: 29
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (50.19.74.67)
1 sec.Function: 'GetDlgItem'
Function group: 'Dialog Box'
3 sec.Examples
Page 3
5 sec.Example: 'How to create MD-5 and SHA-1 hash values from a string'
8 sec.Example: 'How to display Windows On-Screen Keyboard'
Language: 'C++'
12 sec.Function: 'IsChild'
Function group: 'Window'
 Function: 'GetTickCount'
13 sec.Function: 'NetShareAdd'
Function group: 'Network Management'
14 sec.Function: 'CeDeleteFile'
Function group: 'Remote Application Programming (RAPI)'
15 sec.Function: 'InternetGetConnectedStateEx'
Function group: 'Internet Functions (WinInet)'
16 sec.Function: 'CeOpenDatabase'
Function group: 'Remote Application Programming (RAPI)'
Google
Advertise here!