ReactOS  0.4.15-dev-1206-g731eddf
main.h
Go to the documentation of this file.
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 {
28 
31  LPGUID lpGuids,
32  UINT uNumberOfGuids,
34 
35 //typedef LONG (CALLBACK *APPLET_PROC)(VOID);
36 
37 typedef struct _APPLET
38 {
39  UINT idIcon;
40  UINT idName;
43 } APPLET, *PAPPLET;
44 
45 extern HINSTANCE hApplet;
46 
47 #define MAX_CPL_PAGES 32
48 
49 /* keyboard.c */
50 
53 
54 /* main.c */
55 
56 BOOL
58 
61 
62 /* mouse.c */
63 
66 
67 #endif /* _MAIN_H */
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
WORD idDlg
Definition: desk.c:110
BOOL InitPropSheetPage(PROPSHEETHEADER *ppsh, WORD idDlg, DLGPROC DlgProc)
Definition: main.c:45
enum HWPAGE_DISPLAYMODE * PHWPAGE_DISPLAYMODE
struct _APPLET * PAPPLET
LONG(APIENTRY * APPLET_PROC)(HWND, UINT, LPARAM, LPARAM)
Definition: cpl.h:23
#define CALLBACK
Definition: compat.h:35
LONG APIENTRY MouseApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition: mouse.c:1829
LONG APIENTRY KeyboardApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
Definition: keyboard.c:303
WPARAM wParam
Definition: combotst.c:138
APPLET_PROC AppletProc
Definition: access.h:22
HWPAGE_DISPLAYMODE
Definition: main.h:22
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
struct _PSP * HPROPSHEETPAGE
Definition: mstask.idl:90
BOOL CALLBACK PropSheetAddPage(HPROPSHEETPAGE hpage, LPARAM lParam)
Definition: main.c:70
Definition: access.h:17
#define PROPSHEETHEADER
Definition: prsht.h:392
LONG_PTR LPARAM
Definition: windef.h:208
INT idIcon
Definition: access.h:19
HINSTANCE hApplet
Definition: access.c:17
#define WINAPI
Definition: msvc.h:6
unsigned short WORD
Definition: ntddk_ex.h:93
HWND WINAPI DeviceCreateHardwarePageEx(HWND hWndParent, LPGUID lpGuids, UINT uNumberOfGuids, HWPAGE_DISPLAYMODE DisplayMode)
static VIDEODISPLAYMODE DisplayMode
Definition: pcvideo.c:117
struct _APPLET APPLET
INT_PTR(CALLBACK * DLGPROC)(HWND, UINT, WPARAM, LPARAM)
Definition: winuser.h:2871
unsigned int UINT
Definition: ndis.h:50
INT idDescription
Definition: access.h:21
INT idName
Definition: access.h:20
LPARAM lParam
Definition: combotst.c:139
DLGPROC DlgProc
Definition: desk.c:111
Definition: main.h:26
#define APIENTRY
Definition: api.h:79