File:  [WindowsNT SDKs] / mstools / samples / regmpad / regdb.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:23:44 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntsdk-nov-1993, ntsdk-jul-1993, HEAD
Microsoft Windows NT Build 511 (SDK Final Release) 07-24-1993

// 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();

unix.superglobalmegacorp.com

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