Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CRegKey::CRegKey

 

The constructor.


      CRegKey( ) throw( ); 
CRegKey(
   CRegKey& key 
) throw( );
explicit CRegKey(
   HKEY hKey 
) throw( );
CRegKey(
   CAtlTransactionManager* pTM
) throw( );

key

A reference to a CRegKey object.

hKey

A handle to a registry key.

pTM

Pointer to CAtlTransactionManager object

Creates a new CRegKey object. The object can be created from an existing CRegKey object, or from a handle to a registry key.

Requirements

Header: atlbase.h

Show: