Partager via


2.2.3.9 Registry Type Values

The Registry Type Values specify the type of a data value in the registry using one of the constants specified in the following table.

Registry type name/value

Description

REG_NONE

0x00000000

No value type is defined.

REG_SZ

0x00000001

A string.

REG_EXPAND_SZ

0x00000002

A string that can contain unexpanded references to environment variables, for example, "%PATH%".

REG_BINARY

0x00000003

Binary data in any form.

REG_DWORD

0x00000004

A 32-bit number.

REG_DWORD_LITTLE_ENDIAN

0x00000004

A 32-bit number in little-endian format; equivalent to REG_DWORD.

REG_DWORD_BIG_ENDIAN

0x00000005

A 32-bit number in big-endian format.

REG_LINK

0x00000006

Symbolic link to a registry key.

REG_MULTI_SZ

0x00000007

A REG_MULTI_SZ structure as specified in [MS-RRP] section 2.2.5.

REG_RESOURCE_LIST

0x00000008

A device driver resource list.

REG_QWORD

0x0000000B

A 64-bit number.

REG_QWORD_LITTLE_ENDIAN

0x0000000B

A 64-bit number in little-endian format; equivalent to REG_QWORD.