Freigeben über


CRegKey::CRegKey

The constructor.

CRegKey( ) throw( ); 
CRegKey(
   CRegKey& key 
) throw( );
explicit CRegKey(
   HKEY hKey 
) throw( );

Parameters

  • key
    A reference to a CRegKey object.

  • hKey
    A handle to a registry key.

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

Concepts

CRegKey Class

CRegKey Members