Share via


CRegKey::Close

Call this method to release the m_hKey member handle and set it to NULL.

LONG Close( ) throw( );

Return Value

If successful, returns ERROR_SUCCESS; otherwise returns an error value.

Requirements

Header: atlbase.h

See Also

Reference

CRegKey Class

CRegKey::Open