CRegKey::Detach
Call this method to detach the m_hKey member handle from the CRegKey object and set m_hKey to NULL.
HKEY Detach( ) throw( );
Return Value
The HKEY associated with the CRegKey object.
Requirements
Header: atlbase.h
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Call this method to detach the m_hKey member handle from the CRegKey object and set m_hKey to NULL.
HKEY Detach( ) throw( );
The HKEY associated with the CRegKey object.
Header: atlbase.h