O'Reilly logo

Access™ 2007 VBA Programmer's Reference by Armen Stein, Geoffrey Griffith, Rob Cooper, Teresa Hennig

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

I.1. Windows Registry Data Types

In the same way that database table fields, variables, and API parameters require data of specific types, the kind of data the Registry can store is also defined in terms of data types. The data types in the table that follows are supported under Windows 2000, Windows XP, and Windows Vista.

Data TypeDescription
REG_BINARYSpecifies raw binary data. Most hardware information is stored with this data type, which can be displayed and entered in binary or hexadecimal format.
REG_DWORDA 32-bit (4-byte) number, which is used to store Boolean or other numeric values and information about many device drivers and services. REG_DWORD values can be displayed and edited as binary, hexadecimal, or decimal format.
REG_DWORD_LITTLE_ENDIANSame as REG_DWORD, a 32-bit number, but it is used to store values in a specific way. In REG_DWORD_LITTLE_ENDIAN, the most significant byte contains the high-order byte (leftmost). This is the most common format for storing numbers in Windows.
REG_DWORD_BIG_ENDIANThe only difference between this data type and REG_DWORD_LITTLE_ENDIAN is that this data type stores the most-significant byte as the low-order byte (rightmost).
REG_EXPAND_SZA variable-length text string used to store variables that are resolved when an application or service uses the data. For example, some values include the variable System root. When a service or application references the data in this data type, it is replaced by the name of the directory containing the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required