SHREGDEL_FLAGS enumeration (shlwapi.h)

Provides a set of values that indicate from which base key an item will be deleted.

Syntax

typedef enum {
  SHREGDEL_DEFAULT = 0x00000000,
  SHREGDEL_HKCU = 0x00000001,
  SHREGDEL_HKLM = 0x00000010,
  SHREGDEL_BOTH = 0x00000011
} SHREGDEL_FLAGS;

Constants

 
SHREGDEL_DEFAULT
Value: 0x00000000
Deletes from HKEY_CURRENT_USER. If the specified item is not found under HKEY_CURRENT_USER, deletes from HKEY_LOCAL_MACHINE.
SHREGDEL_HKCU
Value: 0x00000001
Enumerates from HKEY_CURRENT_USER only.
SHREGDEL_HKLM
Value: 0x00000010
Enumerates under HKEY_LOCAL_MACHINE only.
SHREGDEL_BOTH
Value: 0x00000011
Deletes from both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header shlwapi.h