Registry Data Type Flags
Const REG_BINARY = 3
Const REG_DWORD = 4
Const REG_DWORD_LITTLE_ENDIAN = 4
Const REG_DWORD_BIG_ENDIAN = 5
Const REG_EXPAND_SZ = 2
Const REG_LINK = 6
Const REG_MULTI_SZ = 7
Const REG_NONE = 0
Const REG_RESOURCE_LIST = 8
Const REG_SZ = 1
The registry data types identify the type of information stored under a registry value. Obviously, these cannot be combined -- only one can be used at a time. Note that all string-using data types must be used with the alternate Declare format of the related registry functions.
- REG_DWORD, REG_DWORD_LITTLE_ENDIAN
- A 32-bit integer number stored in little-endian format. This is the way Intel-based computers store numbers.
- REG_DWORD_BIG_ENDIAN
- A 32-bit integer number stored in big-endian format. This is the opposite of the way Intel-based computers normally store numbers -- the byte order is reversed in big-endian format.
- REG_EXPAND_SZ
- A string which contains unexpanded environment variables such as %PATH%, terminated with a
vbNullChar
character.
- REG_LINK
- A Unicode symbolic link.
- REG_MULTI_SZ
- A series of strings, each separated by a
vbNullChar
and the entire set terminated with a double vbNullChar
.
- REG_NONE
- No data type.
- REG_RESOURCE_LIST
- List of resources in the resource map.
- REG_SZ
- A string terminated by a
vbNullChar
character.
Used by: RegQueryValueEx, RegSetValueEx
Back to the index.
Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/constants/registrydatatypes.html