Annotation of mstools/samples/regmpad/regdb.h, revision 1.1.1.1

1.1       root        1: // RegDB.h -- Defines the registry interface used by this application.
                      2: //            The registry database conventions are described in
                      3: //            RegDb.c.
                      4: 
                      5: #define COMPANY_NAME        "Microsoft"            // Registry path
                      6: #define APPLICATION_NAME    "RegMPad32"            //   elements...
                      7: #define VERSION_NUMBER      "1.0"
                      8: 
                      9: #define KEY_VALUE_INSTALL_NAME "Installed by:"     //
                     10: #define KEY_VALUE_INSTALL_ORG  "Installed for:"    //
                     11: 
                     12: #define DEFAULTS_PATH      "Default"              // Global subnode for
                     13:                                                    //   application defaults
                     14: 
                     15: #define WORD_WRAP_DEFAULT   "Word Wrap Default"    // Value names for
                     16: #define LAST_FILE_SET      "Last File Set"        //   profile data
                     17: 
                     18: #define REG_INSTALLED       "Installed"            // Last value written during
                     19:                                                    // application installation.
                     20: 
                     21: #define GLOBAL_WORD_WRAP_DEFAULT    TRUE           // Global default for
                     22:                                                    // word wrap profile value.
                     23: #define ACL_BUFFER_SIZE     1024
                     24: 
                     25: extern HKEY hkGlobal;
                     26: extern HKEY hkPerUser;
                     27: 
                     28: extern BOOL fTextWrapDefault;
                     29: 
                     30: BOOL StoreAppConfig(HWND hwnd, PSZ pszPathBuff, PSZ pszInstallName,
                     31:                     PSZ pszInstallOrg,
                     32:                     BOOL fTextWrapDefault
                     33:                    );
                     34: 
                     35: BOOL CreateAppKeys();
                     36: 
                     37: BOOL LoadConfiguration();
                     38: 
                     39: BOOL SaveConfiguration();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.