xref: /reactos/dll/cpl/usrmgr/usrmgr.h (revision 3e1f4074)
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 
39 INT_PTR CALLBACK UsersPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
40 INT_PTR CALLBACK GroupsPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
41 INT_PTR CALLBACK ExtraPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
42 
43 /* groupprops.c */
44 BOOL
45 GroupProperties(HWND hwndDlg);
46 
47 /* misc.c */
48 BOOL
49 CheckAccountName(HWND hwndDlg,
50                  INT nIdDlgItem,
51                  LPTSTR lpAccountName);
52 
53 /* userprops.c */
54 BOOL
55 UserProperties(HWND hwndDlg);
56 
57 #endif /* _USRMGR_H */
58