1 #ifndef _USRMGR_H 2 #define _USRMGR_H 3 4 #include <stdarg.h> 5 #include <wine/debug.h> 6 7 WINE_DEFAULT_DEBUG_CHANNEL(usrmgr); 8 9 #ifdef UNICODE 10 #define dbgstrx(x) wine_dbgstr_w(x) 11 #else 12 #define dbgstrx(x) (const char*)(x) 13 #endif 14 15 #define WIN32_NO_STATUS 16 #include <windef.h> 17 #include <winbase.h> 18 #include <winuser.h> 19 #include <commctrl.h> 20 #include <cpl.h> 21 #include <tchar.h> 22 #include <lmaccess.h> 23 #include <lmapibuf.h> 24 #include <lmerr.h> 25 26 #include "resource.h" 27 28 typedef struct _APPLET 29 { 30 int idIcon; 31 int idName; 32 int idDescription; 33 APPLET_PROC AppletProc; 34 } APPLET, *PAPPLET; 35 36 extern HINSTANCE hApplet; 37 38 INT_PTR CALLBACK UsersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); 39 INT_PTR CALLBACK GroupsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); 40 INT_PTR CALLBACK ExtraPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); 41 42 LPTSTR GetDlgItemTextAlloc(HWND hwndDlg, INT nDlgItem); 43 LPTSTR GetComboBoxLBTextAlloc(HWND hwndDlg, INT nDlgItem, INT nIndex); 44 45 /* groupprops.c */ 46 BOOL 47 GroupProperties(HWND hwndDlg); 48 49 /* misc.c */ 50 BOOL 51 CheckAccountName(HWND hwndDlg, 52 INT nIdDlgItem, 53 LPTSTR lpAccountName); 54 55 /* userprops.c */ 56 BOOL 57 UserProperties(HWND hwndDlg); 58 59 #endif /* _USRMGR_H */ 60