CRegKey::Detach

This method detaches the m_hKey member handle from the CRegKey object and sets m_hKey to NULL.

Syntax

HKEY Detach( );

At a Glance

Header file: Atlbase.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CRegKey Overview, CRegKey Methods, CRegKey::Attach, CRegKey::m_hKey