CUserToolsManager::LoadState
从Windows注册表加载有关用户工具的信息。
BOOL LoadState(
LPCTSTR lpszProfileName=NULL
);
参数
- [in] lpszProfileName
Windows注册表项的路径。
返回值
非零,如果该状态已成功加载;否则为0。
备注
此方法从Windows注册表加载 CUserToolsManager选件类 对象的状态。
通常,您不直接调用此方法。 CWinAppEx::LoadState 调用它用作工作区一部分初始化过程。
要求
标头: afxusertoolsmanager.h