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