HKEY_TYPEHKEY_TYPE*
*



Contents  *



Index  *Topic Contents
*Previous Topic: REGSAM
*Next Topic: DLL Versioning

HKEY_TYPE


Data type used for specifying the type of a registry value. An HKEY_TYPE value can be one of the following values:

REG_BINARY
Binary data in any form.

REG_DWORD
32-bit number.

REG_DWORD_LITTLE_ENDIAN
32-bit number in little-endian format. This is equivalent to REG_DWORD.

In little-endian format, a multibyte value is stored in memory from the lowest byte (the "little end") to the highest byte. For example, the value 0x12345678 is stored as (0x78 0x56 0x34 0x12) in little-endian format.

Windows NT and Windows 95 are designed to run on little-endian computer architectures. A user may connect to computers that have big-endian architectures, such as some UNIX systems.

REG_DWORD_BIG_ENDIAN
32-bit number in big-endian format.

In big-endian format, a multibyte value is stored in memory from the highest byte (the "big end") to the lowest byte. For example, the value 0x12345678 is stored as (0x12 0x34 0x56 0x78) in big-endian format.

REG_EXPAND_SZ
Null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a UNICODE or ANSI string, depending on whether you use the UNICODE or ANSI functions.

REG_LINK
Unicode symbolic link.

REG_MULTI_SZ
Array of null-terminated strings that are terminated by two null characters.

REG_NONE
No defined value type.

REG_RESOURCE_LIST
Device-driver resource list.

REG_SZ
Null-terminated string. It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.