Compartilhar via


Registry Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the registry functions with a description of each.

Function Description

CeRegGetInfo

Obtains the name of an open registry key, and retrieves information about the key.

ReadGenericData

Reads OS password data.

ReadRegData

Reads a registry file defined by the OEM into RAM from persistent storage as.

RegCloseKey

Releases the handle of the specified key.

RegCopyFile

Saves a copy of the current Windows Embedded CE RAM–based registry to a specified file.

RegCreateKeyEx

Creates the specified key. If the key already exists in the registry, this function opens it.

RegDeleteKey

Deletes the specified subkey from the specified registry key.

RegDeleteValue

Removes the specified entry from the specified registry key.

RegEnumKeyEx

Enumerates subkeys of the specified open registry key.

RegEnumValue

Enumerates the entries for the specified open registry key.

RegFlushKey

Writes the attributes of the specified open registry key into the registry.

RegistryOperation

Performs a series of registry operations.

RegOpenKeyEx

Opens the specified registry key.

RegQueryInfoKey

Obtains information about a specified registry key.

RegQueryValueEx

Obtains the type and data for a specified value name associated with an open registry key.

RegReplaceKey

Replaces the file that contains a registry key and all its subkeys with another file, so when the system is next started, the key and subkeys have the values stored in the new file.

RegRestoreFile

Places the operating system in a state in which the registry can be replaced by the supplied file on a warm boot.

RegSetValueEx

Stores data in the value field of an open registry key.

WriteGenericData

Write OS password data.

WriteRegData

Called by the OS to transfer registry data defined by the OEM to persistent storage.

Remarks

The registry functions are useful to both an OEM who is configuring the system, and an ISV who is using registry values to configure an application-level component.

See Also

Reference

Registry Reference