CRegKey Class Members

Methods

Attach Attaches a registry key handle to the CRegKey object.
Close Releases m_hKey.
Create Creates or opens the specified key.
CRegKey Constructor.
DeleteSubKey Deletes the specified key.
DeleteValue Deletes a value field of the key identified by m_hKey.
Detach Detaches m_hKey from the CregKey object.
Open Opens the specified key.
QueryValue Retrieves the data for a specified value field.
RecurseDeleteKey Deletes the specified key and explicitly deletes all subkeys.
SetKeyValue Stores data in a specified value field of a specified key.
SetValue Stores data in a specified value field.

Operators

operator HKEY Converts a CRegKey object to an HKEY.

Data Members

m_hKey Contains a handle of the registry key associated with the CRegKey object.

CRegKey Overview