CRegKey::Detach
HKEY Detach( );
Return Value
The HKEY associated with the CRegKey object.
Remarks
Detaches the m_hKey member handle from the CRegKey object and sets m_hKey to NULL.
CRegKey Overview | Class Members
See Also CRegKey::Attach
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
HKEY Detach( );
Return Value
The HKEY associated with the CRegKey object.
Remarks
Detaches the m_hKey member handle from the CRegKey object and sets m_hKey to NULL.
CRegKey Overview | Class Members
See Also CRegKey::Attach