다음을 통해 공유


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

See Also

Concepts

CRegKey Class

CRegKey Members

CRegKey::Attach