CRegKey::Close

 

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

Syntax

LONG Close( ) throw( );

Return Value

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

Requirements

Header: atlbase.h

See Also

CRegKey Class
CRegKey::Open