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