Επεξεργασία

Κοινή χρήση μέσω


SHREGENUM_FLAGS enumeration (shlwapi.h)

Provides a set of values that indicate the base key that will be used for an enumeration.

Syntax

typedef enum {
  SHREGENUM_DEFAULT = 0x00000000,
  SHREGENUM_HKCU = 0x00000001,
  SHREGENUM_HKLM = 0x00000010,
  SHREGENUM_BOTH = 0x00000011
} SHREGENUM_FLAGS;

Constants

 
SHREGENUM_DEFAULT
Value: 0x00000000
Enumerates under HKEY_CURRENT_USER, or, if the specified item is not found in HKEY_CURRENT_USER, enumerates under HKEY_LOCAL_MACHINE.
SHREGENUM_HKCU
Value: 0x00000001
Enumerates under HKEY_CURRENT_USER only.
SHREGENUM_HKLM
Value: 0x00000010
Enumerates under HKEY_LOCAL_MACHINE only.
SHREGENUM_BOTH
Value: 0x00000011
Not used.

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