Share via


CRegKey::Close

LONG Close( );

Return Value

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

Remarks

Releases the m_hKey member handle and sets it to NULL.

CRegKey OverviewClass Members

See Also   CRegKey::Open