|
TABLE 1: REGISTRY VALUE DATA TYPES |
|
Data Type |
Description |
| REG_SZ | Used for text strings. |
| REG_EXPAND_SZ | Used for text strings, but can accommodate expandable variables that a program evaluates when it reads the Registry. For example, a REG_EXPAND_SZ value that contains %systemroot% would expand to c:\winnt when an application that uses that value reads it. |
| | Note: Not all applications support REG_EXPAND_SZ values. Applications generally must be coded explicitly to accept these types of values. |
| REG_MULTI_SZ | Used for an array of text strings within a single Registry value. Each value is usually delimited in some way (e.g., space, comma). |
| REG_DWORD | Used for a four-byte-long numeric value. |
| REG_BINARY | Used to store raw binary data. For example, some device drivers store configuration information as actual binary data (1s and 0s). This value is most often used by hardware configurations, but it can be found in applications. |
| REG_FULL_RESOURCE_DESCRIPTOR | Used exclusively by hardware drivers to store arrays of information. For example, Figure 9 shows a value of this type for the mouse installed on this system. This type of data can hold a number of parameters, and the Registry editor presents them in an organized fashion. |
| REG _RESOURCE_LIST | Found only in the hardware portion of the Registry, this value type also stores arrays of information. You most commonly see data of this type enumerating information about which PC bus a given device occupies. |