 |
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: |
 |
|
|
 |
 |
| 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: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-08-09 21:42:05 | | Modified: | 2004-08-09 21:43:22 | Visited in last 7 days: 17 |