CRegKey::Detach

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

At a Glance

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

Syntax

HKEY Detach( );

See Also

CRegKey::Attach, CRegKey::m_hKey