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 OverviewClass Members

See Also   CRegKey::Attach