Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual C++
CWinAppEx Class
 CWinAppEx::CleanState
Collapse All/Expand All Collapse All
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
MFC Library Reference
CWinAppEx::CleanState

Removes all the information about the application from the Windows registry.

virtual BOOL CleanState(
   LPCTSTR lpszSectionName=NULL 
);
[in] lpszSectionName

A string that contains a path of a registry key.

Nonzero if the method was successful; otherwise 0.

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.

Header: afxwinappex.h

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker