Share via


CRegKey::CRegKey

The constructor.

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

Parameters

  • key
    A reference to a CRegKey object.

  • hKey
    A handle to a registry key.

  • pTM
    Pointer to CAtlTransactionManager object

Remarks

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

See Also

Reference

CRegKey Class