CRegKey::Attach

This method attaches an HKEY to the CRegKey object by setting the m_hKey member handle to hKey.

At a Glance

Header file: Atlbase.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

void Attach( HKEY hKey );

See Also

CRegKey::Detach