Reactos
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
22typedef enum
23{
24 HWPD_STANDARDLIST = 0,
25 HWPD_LARGELIST,
26 HWPD_MAX = HWPD_LARGELIST
27} HWPAGE_DISPLAYMODE, *PHWPAGE_DISPLAYMODE;
28
29HWND WINAPI
30DeviceCreateHardwarePageEx(HWND hWndParent,
31 LPGUID lpGuids,
32 UINT uNumberOfGuids,
33 HWPAGE_DISPLAYMODE DisplayMode);
34
35//typedef LONG (CALLBACK *APPLET_PROC)(VOID);
36
37typedef struct _APPLET
38{
39 UINT idIcon;
40 UINT idName;
41 UINT idDescription;
42 APPLET_PROC AppletProc;
43} APPLET, *PAPPLET;
44
45extern HINSTANCE hApplet;
46
47#define MAX_CPL_PAGES 32
48
49/* keyboard.c */
50
51LONG APIENTRY
52KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
53
54/* main.c */
55
56BOOL
57InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc);
58
59BOOL CALLBACK
60PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam);
61
62/* mouse.c */
63
64LONG APIENTRY
65MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam);
66
67#endif /* _MAIN_H */