REGDB.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // RegDB.h -- Defines the registry interface used by this application.
- // The registry database conventions are described in
- // RegDb.c.
- #define COMPANY_NAME "Microsoft" // Registry path
- #define APPLICATION_NAME "RegMPad32" // elements...
- #define VERSION_NUMBER "1.0"
- #define KEY_VALUE_INSTALL_NAME "Installed by:" //
- #define KEY_VALUE_INSTALL_ORG "Installed for:" //
- #define DEFAULTS_PATH "Default" // Global subnode for
- // application defaults
- #define WORD_WRAP_DEFAULT "Word Wrap Default" // Value names for
- #define LAST_FILE_SET "Last File Set" // profile data
- #define REG_INSTALLED "Installed" // Last value written during
- // application installation.
- #define GLOBAL_WORD_WRAP_DEFAULT TRUE // Global default for
- // word wrap profile value.
- #define ACL_BUFFER_SIZE 1024
- extern HKEY hkGlobal;
- extern HKEY hkPerUser;
- extern BOOL fTextWrapDefault;
- BOOL StoreAppConfig(HWND hwnd, PSZ pszPathBuff, PSZ pszInstallName,
- PSZ pszInstallOrg,
- BOOL fTextWrapDefault
- );
- BOOL CreateAppKeys();
- BOOL LoadConfiguration();
- BOOL SaveConfiguration();