Registry APIs
The registry is a system-defined database in which applications and system components store and retrieve configuration data. The data stored in the registry varies according to the version of Microsoft Windows. Applications use the registry API to retrieve, modify, or delete registry data.
You should not edit registry data that does not belong to your application unless it is absolutely necessary. If there is an error in the registry, your system may not function properly. If this happens, you can restore the registry to the state it was in when you last started the computer successfully. For more information, see the help for your operating system.
NOTE: APIs that are not explicitly documented as supported are not guaranteed to work. You should thoroughly test any code that uses undocumented functions.
Registry Function |
Notes |
Closes a handle to the specified registry key. |
|
Creates Key. |
|
Creates the specified key. |
|
Deletes a subkey and its values |
|
Deletes a subkey and its values from the specified platform specific view of the registry. |
|
Removes the specified value from the specified registry key. |
|
Enumerates the subkeys. |
|
Enumerates the subkeys and retrives information about one subkey each time it is called. |
|
Enumerates the values for the specified open registry key. |
|
Opens the specified registry key. |
|
Opens the specified registry key |
|
Retrieves the data of a specified registry key. |
|
Sets the value of registry key. |