What is the registration form

Source: Internet
Author: User
Tags win32

What is a registry?

The registry (Registry) is the beginning of Microsoft's WINDOWS95 system (which is still used by the current system) to introduce a new core database that replaces the original WIN32 system. ini file and manages the configuration system running parameters. As you can see, the registry is essentially a database. Integration of all system and application initialization information in this database includes descriptions of hardware devices, interrelated application and document files, window display, network connection parameters, and even network privileges related to computer security. Compared with the INI file in the old Win32 system, it has the advantages of convenient management, high security and suitable for network operation.

 Terminology related to the registry

1, the registry: is a tree-like hierarchical database. Physically, it is the System.dat and User.dat two files; Logically, it is the configuration data that the user sees in Registry Editor.

2, hkey: "Root Key" or "primary key", its icon is similar to the icon of the folder in the resource manager. Windows divides the registry into six parts and is called hkey_name, which means a handle to a key.

3, Key (keys): It contains an additional folder and one or more values.

4, subkey (subkey): A key (parent key) appears below the key (subkey).

5, Branch (branch): Represents a specific subkey and everything it contains. A branch can start at the top of each registry, but is usually used to describe a key and all its contents.

6, Value entry: An ordered value with a name and a value. Each key can contain any number of value items. Each value entry consists of three parts: name, data type, data.

Name: Any combination of characters, numbers, representations, spaces, excluding backslashes. You cannot have the same name in the same key.

Data type: Includes string, binary, double word three kinds. String (REG_SZ): As the name suggests, a string of ASCII code characters. such as "Hello World", is a string of words or phrases. In the registry, string values are typically used to represent the description of the file, the identity of the hardware, and so on. Usually it consists of letters and numbers. The registry always displays a string within quotation marks. Binary (REG_BINARY): such as F03D990000BC, is a binary value without a length limit, in Registry Editor, binary data is displayed in 16-way. Double Word (REG_DWORD): Literal understanding should be double word, double-byte value. Made up of 1-8 hexadecimal data, we can edit it in 16 or decimal terms. such as D1234567.

Data: The specific value of a value item that can occupy up to 64KB.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.