 |
CeRegDeleteKey ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
This function deletes a named subkey from the specified registry key. The subkey to be deleted cannot have any subkeys. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
LONG CeRegDeleteKey(
HKEY hKey,
LPCWSTR lpszSubKey
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CeRegDeleteKey IN rapi;
INTEGER hKey,;
STRING lpszSubKey
|
 |
 |
 |
| Parameters: |
 |
hKey
[in] Handle to a currently open key or one of the predefined reserved handle values.
lpszSubKey
[in] Pointer to a null-terminated string specifying the name of the key to delete. |
 |
 |
| Return value: |
 |
| ERROR_SUCCESS (0) indicates success. |
 |
 |
| My comment: |
 |
| While testing this function I noticed that you are still able to delete a key with subkeys. |
 |
 |
| Word Index links for the CeRegDeleteKey : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-06-28 14:14:28 | | Modified: | 2004-06-28 14:17:05 | Visited in last 7 days: 11 |