... And the last things I forgot....
[reactos.git] / reactos / dll / cpl / access / access.h
1 #ifndef __CPL_SYSDM_H
2 #define __CPL_SYSDM_H
3
4 typedef LONG (CALLBACK *APPLET_INITPROC)(VOID);
5
6 typedef struct _APPLET
7 {
8 INT idIcon;
9 INT idName;
10 INT idDescription;
11 APPLET_INITPROC AppletProc;
12 } APPLET, *PAPPLET;
13
14
15 typedef struct _GLOBAL_DATA
16 {
17 /* keyboard page */
18 STICKYKEYS stickyKeys;
19 STICKYKEYS oldStickyKeys;
20 FILTERKEYS filterKeys;
21 FILTERKEYS oldFilterKeys;
22 TOGGLEKEYS toggleKeys;
23 TOGGLEKEYS oldToggleKeys;
24 BOOL bKeyboardPref;
25
26 /* sound page */
27 SOUNDSENTRY ssSoundSentry;
28 BOOL bShowSounds;
29
30 /* display page */
31 HIGHCONTRAST highContrast;
32 UINT uCaretBlinkTime;
33 UINT uCaretWidth;
34 BOOL fShowCaret;
35 RECT rcCaret;
36 RECT rcOldCaret;
37
38 /* mouse page */
39 MOUSEKEYS mouseKeys;
40
41 /* general page */
42 ACCESSTIMEOUT accessTimeout;
43 SERIALKEYS serialKeys;
44 TCHAR szActivePort[MAX_PATH];
45 TCHAR szPort[MAX_PATH];
46 BOOL bWarningSounds;
47 BOOL bSoundOnActivation;
48
49 } GLOBAL_DATA, *PGLOBAL_DATA;
50
51
52 extern HINSTANCE hApplet;
53
54 void ShowLastWin32Error(HWND hWndOwner);
55
56 INT_PTR CALLBACK DisplayPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
57 INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
58 INT_PTR CALLBACK KeyboardPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
59 INT_PTR CALLBACK MousePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
60 INT_PTR CALLBACK SoundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
61
62 #endif /* __CPL_SYSDM_H */
63
64 /* EOF */