RegistryValueType Enumeration

Specifies the data type of a registry value.

Definition

Namespace: DevCase.Core.Diagnostics.CodeConversion
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum RegistryValueType

Remarks

Members

RegSZ 0 A null-terminated string.

This will be either a Unicode or an ANSI string.

Binary 1 Binary data.
Dword 2 Data represented as 32-bit integer (4 bytes).

DWORD equivalents are REG_DWORD_LITTLE_ENDIAN (least significant byte is at the lowest address) and REG_DWORD_BIG_ENDIAN (least significant byte is at the highest address).

Qword 3 Data represented as 64-bit integer (8 bytes).

QWORD equivalents are REG_QWORD_LITTLE_ENDIAN (least significant byte is at the lowest address) and REG_QWORD_BIG_ENDIAN (least significant byte is at the highest address).

ExpandSZ 4 A null-terminated string that contains unexpanded references to environment variables (for example, "%WinDir%").
MultiSZ 5 A sequence of null-terminated strings, terminated by an empty string (\0).

The following is an example:

String1\0String2\0String3\0LastString\0\0

The first \0 terminates the first string, the second to the last \0 terminates the last string, and the final \0 terminates the sequence.

Note that the final terminator must be factored into the length of the string.

RegNone 6 No defined value type.

No data is stored in a key.

This data type is written to the registry by the system or an application.

In the registry editor, it is displayed as a binary value in a hexadecimal format.

RegResourceList 7 A series of nested arrays.

It stores a resource list used by a device driver or a hardware device controlled by that driver.

The system writes detected data to the '\ResourceMap' tree.

In the editor, this data is displayed as a binary value in a hexadecimal format.

RegResourceRequirementsList 8 A series of nested arrays.

It is used to store a list of hardware drivers which can be used by a particular device driver or a hardware device controlled by that driver.

The system writes part of the list to the '\ResourceMap' tree.

Data is defined by the system.

In the editor, data is displayed as a binary value in a hexadecimal format.

RegFullResourceDescriptor 9 A series of nested arrays.

It stores a resource list that is used by a hardware device.

The system writes detected data to the '\HardwareDescription' tree.

In the editor, this data is displayed as a binary value in a hexadecimal format.

See Also