CWinAppEx::CleanState
Visual Studio 2012
Removes all the information about the application from the Windows registry.
virtual BOOL CleanState( LPCTSTR lpszSectionName=NULL );
This method clears application data from a specific section of the registry. You can specify the section to clear by using the parameter lpszSectionName. If lpszSectionName is NULL, this method will use the default registry path stored in the CWinAppEx object. To get the default registry path, use CWinAppEx::GetRegistryBase.