Group: Remote Application Programming (RAPI) - Library: rapi
This function deletes a named subkey from the specified registry key. The subkey to be deleted cannot have any subkeys.
Pocket PC: custom RAPI class for operating with the System Registry
LONG CeRegDeleteKey(
HKEY hKey,
LPCWSTR lpszSubKey
); DECLARE INTEGER CeRegDeleteKey IN rapi;
INTEGER hKey,;
STRING lpszSubKey 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.
ERROR_SUCCESS (0) indicates success.
While testing this function I noticed that you are still able to delete a key with subkeys.
Home