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