[CPLS]
[reactos.git] / reactos / dll / cpl / main / main.h
1 #ifndef _MAIN_H
2 #define _MAIN_H
3
4 #include <stdarg.h>
5
6 #define WIN32_NO_STATUS
7 #define _INC_WINDOWS
8 #define COM_NO_WINDOWS_H
9
10 #include <windef.h>
11 #include <winbase.h>
12 #include <winreg.h>
13 #include <wingdi.h>
14 #include <wincon.h>
15 #include <devguid.h>
16 #include <shlobj.h>
17 #include <cpl.h>
18 #include <regstr.h>
19
20 #include "resource.h"
21
22 typedef enum
23 {
24 HWPD_STANDARDLIST = 0,
25 HWPD_LARGELIST,
26 HWPD_MAX = HWPD_LARGELIST
27 } HWPAGE_DISPLAYMODE, *PHWPAGE_DISPLAYMODE;
28
29 HWND WINAPI
30 DeviceCreateHardwarePageEx(HWND hWndParent,
31 LPGUID lpGuids,
32 UINT uNumberOfGuids,
33 HWPAGE_DISPLAYMODE DisplayMode);
34
35 //typedef LONG (CALLBACK *APPLET_PROC)(VOID);
36
37 typedef struct _APPLET
38 {
39 UINT idIcon;
40 UINT idName;
41 UINT idDescription;
42 APPLET_PROC AppletProc;
43 } APPLET, *PAPPLET;
44
45 extern HINSTANCE hApplet;
46
47 #define MAX_CPL_PAGES 32
48
49 /* keyboard.c */
50
51 LONG APIENTRY
52 KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
53
54 /* main.c */
55
56 BOOL
57 InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc);
58
59 BOOL CALLBACK
60 PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam);
61
62 /* mouse.c */
63
64 LONG APIENTRY
65 MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
66
67 #endif /* _MAIN_H */