CRegKey::DeleteSubKey

This method removes the specified key from the registry.

Syntax

LONG DeleteSubKey( LPCTSTR lpszSubKey );

At a Glance

Header file: Atlbase.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CRegKey Overview, CRegKey Methods, CRegKey::DeleteValue, CRegKey::m_hKey