2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
13 #include <WINNT/TaLocale.h>
14 #include <WINNT/TaAfsAdmSvrClient.h>
15 #include <WINNT/AfsAppLib.h>
19 * DEFINITIONS ________________________________________________________________
38 #define cb1MB 1048576L
42 #define ck1GB 1048576L
46 #define ck1TB (unsigned long)0x40000000 // 1073741824L == 1024^3
49 #define REGSTR_SETTINGS_BASE HKCU
50 #define REGSTR_SETTINGS_PATH TEXT("Software\\OpenAFS\\AFS Account Manager")
51 #define REGVAL_SETTINGS TEXT("Settings")
52 #define REGSTR_SETTINGS_PREFS TEXT("Software\\OpenAFS\\AFS Account Manager\\Preferences")
53 #define REGSTR_SETTINGS_CELLS REGSTR_SETTINGS_PREFS
57 * INCLUSIONS _________________________________________________________________
64 #define cszHELPFILENAME TEXT("TaAfsUsrMgr.hlp")
71 * STRUCTURES _________________________________________________________________
75 typedef enum // ICONVIEW
80 } ICONVIEW, *LPICONVIEW;
94 TCHAR szPatternUsers[ cchNAME ];
95 TCHAR szPatternGroups[ cchNAME ];
96 TCHAR szPatternMachines[ cchNAME ];
106 // How is information viewed?
119 DWORD cminRefreshRate;
123 // What user preferences have been chosen?
125 USERPROPINFO CreateUser;
126 GROUPPROPINFO CreateGroup;
127 USERPROPINFO CreateMachine;
129 AFSADMSVR_SEARCH_PARAMS SearchUsers;
133 #define wVerGLOBALS_RESTORED MAKEVERSION(1,0)
137 extern GLOBALS_RESTORED gr;
140 * OTHER INCLUSIONS ___________________________________________________________
145 #include "helpfunc.h"
152 * PROTOTYPES _________________________________________________________________
158 void PumpMessage (MSG *lpm);
160 // StartThread() accepts any 32-bit quantity as its second parameter;
161 // it uses '...' so you won't have to cast the thing regardless of what it
162 // is--an HWND fits through just as easily as an LPIDENT.
164 BOOL cdecl StartThread (DWORD (WINAPI *lpfnStart)(PVOID lp), ...);