Function Reference


Deletes a subkey and all its descendants

#include <WinAPIReg.au3>
_WinAPI_RegDeleteTree ( $hKey [, $sSubKey = ''] )


$hKey Handle to an open registry key, or any of the following predefined keys.
$sSubKey [optional] The name of the key to delete.

Return Value

Success: 1.
Failure: 0 and sets the @error flag to non-zero, @extended flag may contain the system error code.

See Also

Search SHDeleteKey in MSDN Library.