Chapter 12 Registry and Initialization Files

This overview is not available for this release.

When it is complete, the overview will discuss the following functions:

Function Description

GetPrivateProfileInt Gets an integer from private file
GetPrivateProfileSection Returns private key and value pairs
GetPrivateProfileString Gets a string from private file
GetProfileInt Gets an integer from WIN.INI
GetProfileSection Returns key and value pairs
GetProfileString Gets a string from WIN.INI
RegCloseKey Closes a registration key
RegConnectRegistry Connects to a remote registry
RegCreateKey Creates or opens a key
RegCreateKeyEx Creates or opens a key
RegDeleteKey Deletes a key
RegDeleteValue Removes a value from a registration key
RegEnumKey Enumerates subkeys of specified key
RegEnumKeyEx Enumerates subkeys of specified key
RegEnumValue Enumerates values for specified key
RegFlushKey Writes an open key to the registry
RegGetKeySecurity Get registration key security
RegLoadKey Writes a saved tree to the registry
RegNotifyChangeKeyValue Indicates changes in registry key
RegOpenKey Opens a key
RegOpenKeyEx Opens a key
RegQueryInfoKey Retrieves registry key information
RegQueryValue Retrieves name for specified key
RegQueryValueEx Retrieves key title, type and value
RegReplaceKey Replaces an existing hive in the registry
RegRestoreKey Writes a saved tree to the registry
RegSaveKey Saves a registry tree to a file
RegSetKeySecurity Sets registration key security
RegSetValue Associates a text string with a specified key
RegSetValueEx Associates a text string with a specified key
RegUnLoadKey Unloads a hive from the registry
WritePrivateProfileSection Writes a section to private INI file
WritePrivateProfileString Writes a string to private INI file
WriteProfileSection Writes a section to WIN.INI
WriteProfileString Writes a string to WIN.INI