Registry data type

Source: Internet
Author: User

The keys in the Registry contain data of different formats. Data types can be classified as follows:

Common Data Types: RegEdit, RegEdt32, and other data types that are supported and editable by most registry tools.

Windows NT dedicated data type-supported by RegEdt32 and several other registry tools, and data types that can be edited.

Special Data Types dedicated to components/applications-Registry tools support these data types, but they are limited for programs.
Users can only edit the binary number.

In fact, the Registry tool can also edit unsupported data types, including those displayed as REG_UNKNOWN. However, editing can only be performed in binary mode, which requires you to have a good understanding of the Data Object format.

 

Type

Type Index

Big and small

Description

REG_BINARY

3

0 ~ Multiple bytes

Color Description of binary objects that can contain any data

REG_COLOR_RGB

*

4 bytes

Color Description

REG_DWORD

4

4 bytes

DWORD Value

REG_DWORD_BIG_ENDIAN

5

4 bytes

Storage Format of a dword Value in reverse order

REG_DWORD_LITTLE_ENDIAN

4

4 bytes

DWORD Value

REG_EXPAND_SZ

2

0 ~ Multiple bytes

String containing the placeholder Environment Variables

REG_FILE_NAME

*

0 ~ Multiple bytes

File Name

REG_FILE_TIME

*

Unknown

File time

REG_FULL_RESOURCE_DESCRIPTOR

9

Unknown

Hardware resource list

REG_LINK

6

0 ~ Multiple bytes

Name the Unicode string of a symbolic link.

REG_MULTI_SZ

7

0 ~ Multiple bytes

String set separated by null characters. The last string in the set ends with two null characters.

REG_NONE

0

Unknown

REG_NONE objects do not need to be classified. They are different from REG_UNKNOWN objects.

REG_RESOURCE_LIST

8

Unknown

List of resources used by devices

REG_RESOURCE_REQUIREMENTS _
LIST

10

Unknown

List of resources required by the driver

REG_SZ

1

0 ~ Multiple bytes

String with a null Character Line

REG_UNKNOWN

Undefined)

Unknown

The object type cannot be determined because the data type index is invalid.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.