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
CryptGenKey
CryptGenRandom
CryptGetDefaultProvider
CryptGetHashParam
CryptGetKeyParam
CryptGetProvParam
CryptHashData
CryptProtectData
CryptReleaseContext
CryptStringToBinary
CryptUnprotectData
WinVerifyTrust
Code examples:
A class that encrypts and decrypts files using Cryptography API Functions
CryptoAPI: Collection of Providers class
CryptDestroyKey
..msdn    Add comment     W32 Constants      Translate this page
Releases the handle referenced by the hKey parameter. After a key handle has been released, it becomes invalid and cannot be used again.
Code examples:
A class that encrypts and decrypts files using Cryptography API Functions
CryptoAPI: Collection of Providers class
Declaration:
 
BOOL WINAPI CryptDestroyKey(
    HCRYPTKEY hKey
);
 
FoxPro declaration:
 
DECLARE INTEGER CryptDestroyKey IN advapi32;
    INTEGER hKey
 
Parameters:
hKey
[in] Handle of the key to be destroyed.
Return value:
If the function succeeds, the return value is nonzero (TRUE).
My comment:
Keys take up both operating system"s memory space and the CSP"s memory space. Some CSPs are implemented in hardware with limited memory resources. Applications must destroy all keys with the CryptDestroyKey function when they are finished with them.
Word Index links for the CryptDestroyKey :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2004-08-09 21:42:05
Modified: 2004-08-09 21:43:22
Visited in last 7 days: 16
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (184.73.74.47)
11.49 hrs.Example: 'Pocket PC: Folder Viewer'
 Example: 'How to retrieve configuration data for a specified printer stored in the registry (PrinterDriverData key)'
17.23 hrs.Example: 'How to print FoxPro form'
 Example: 'Reading VFP settings from the Windows Registry'
18.68 hrs.Example: 'Using FlashWindowEx to flash the taskbar button of the VFP application'
18.69 hrs.Example: 'Running a regular FoxPro form while main VFP window is minimized'
19.26 hrs.Example: 'How to display the port-configuration dialog box for a port on the specified server'
20.54 hrs.Example: 'Drawing Windows predefined bitmaps using the LoadBitmap functions'
 
1 day(s)Function: 'inet_ntoa'
Function group: 'Windows Sockets 2 (Winsock)'
Google
Advertise here!