code =
win32_DeleteRegistry (key, subkey, valuename)
¶Delete a value from the Windows registry.
Example:
key='test\\temp'; # create key win32_WriteRegistry('HKLM',key,'test_value', 0) # delete it win32_DeleteRegistry('HKLM',key,'test_value')
key must be one of the following strings:
HKEY_CLASSES_ROOT
HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
subkey is the subkey to the registry value.
valuename is the name of the value to delete from the registry.
code is the success code. Values correspond to the codes in the winerror.h header file. The code of 0 is success, while other codes indicate failure
Package: windows