CUserToolsManager::SaveState

Stores information about user tools in the Windows registry.

BOOL SaveState(
   LPCTSTR lpszProfileName=NULL 
);

Parameters

  • [in] lpszProfileName
    A path to the Windows registry key.

Return Value

Nonzero if the state was saved successfully; otherwise 0.

Remarks

The method stores the current state of the CUserToolsManager Class object in the Windows registry.

Usually, you do not need to call this method directly, CWinAppEx::SaveState calls it automatically as a part of the workspace serialization process of the application.

Requirements

Header: afxusertoolsmanager.h

See Also

Reference

CUserToolsManager Class

Hierarchy Chart