Partager via


Registry Functions

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

Programming element Description
RegCloseKey This function releases the handle of the specified key.
RegCreateKeyEx This function creates the specified key. If the key already exists in the registry, the function opens it.
RegDeleteKey This function deletes a named subkey from the specified registry key.
RegDeleteValue This function removes a named value from the specified registry key.
RegEnumKeyEx This function enumerates subkeys of the specified open registry key.
RegEnumValue This function enumerates the values for the specified open registry key.
RegFlushKey This function writes all the attributes of the specified open registry key into the registry.
RegOpenKeyEx This function opens the specified key.
RegQueryInfoKey This function retrieves information about a specified registry key.
RegQueryValueEx This function retrieves the type and data for a specified value name associated with an open registry key.
RegSetValueEx This function stores data in the value field of an open registry key.

See Also

Registry Reference

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.