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