[KSPROXY]
[reactos.git] / reactos / dll / cpl / main / main.h
1 #pragma once
2
3 typedef enum
4 {
5 HWPD_STANDARDLIST = 0,
6 HWPD_LARGELIST,
7 HWPD_MAX = HWPD_LARGELIST
8 } HWPAGE_DISPLAYMODE, *PHWPAGE_DISPLAYMODE;
9
10 HWND WINAPI
11 DeviceCreateHardwarePageEx(HWND hWndParent,
12 LPGUID lpGuids,
13 UINT uNumberOfGuids,
14 HWPAGE_DISPLAYMODE DisplayMode);
15
16 //typedef LONG (CALLBACK *APPLET_PROC)(VOID);
17
18 typedef struct _APPLET
19 {
20 UINT idIcon;
21 UINT idName;
22 UINT idDescription;
23 APPLET_PROC AppletProc;
24 } APPLET, *PAPPLET;
25
26 extern HINSTANCE hApplet;
27
28 #define MAX_CPL_PAGES 32
29
30 /* keyboard.c */
31
32 LONG APIENTRY
33 KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
34
35 /* main.c */
36
37 BOOL
38 InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc);
39
40 BOOL CALLBACK
41 PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam);
42
43 /* mouse.c */
44
45 LONG APIENTRY
46 MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
47
48 /* EOF */