Share via


CWinApp::DelRegTree

Deletes a specific registry key and all its subkeys.

LONG DelRegTree( 
   HKEY hParentKey, 
   const CString& strKeyName 
);

Parameters

  • hParentKey
    Handle to a registry key.

  • strKeyName
    The name of the registry key to be deleted.

Remarks

Call this function to delete the specified key and its subkeys.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

Other Resources

CWinApp Members