This method attaches an HKEY to the CRegKey object by setting the m_hKey member handle to hKey.
void Attach( HKEY hKey );
| Header file: | Atlbase.h |
| Platforms: | |
| Versions: | Version 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CRegKey Overview, CRegKey Methods, CRegKey::Detach