2014-02-05 18:17:27 +00:00
|
|
|
#ifndef _ACCESS_H
|
|
|
|
#define _ACCESS_H
|
|
|
|
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <stdarg.h>
|
2014-01-13 13:18:29 +00:00
|
|
|
|
|
|
|
#define WIN32_NO_STATUS
|
2013-01-24 23:00:42 +00:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
#include <winreg.h>
|
|
|
|
#include <winuser.h>
|
2011-07-28 14:50:36 +00:00
|
|
|
#include <commctrl.h>
|
|
|
|
#include <tchar.h>
|
2020-02-10 08:47:59 +00:00
|
|
|
#include <cpl.h>
|
2011-07-28 14:50:36 +00:00
|
|
|
|
|
|
|
#include "resource.h"
|
2004-06-30 12:16:27 +00:00
|
|
|
|
2007-05-01 13:55:11 +00:00
|
|
|
typedef struct _APPLET
|
2004-06-30 12:16:27 +00:00
|
|
|
{
|
2007-05-01 13:55:11 +00:00
|
|
|
INT idIcon;
|
|
|
|
INT idName;
|
|
|
|
INT idDescription;
|
2020-02-10 08:47:59 +00:00
|
|
|
APPLET_PROC AppletProc;
|
2004-06-30 12:16:27 +00:00
|
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
2007-09-17 22:29:35 +00:00
|
|
|
|
|
|
|
typedef struct _GLOBAL_DATA
|
|
|
|
{
|
2011-11-29 14:55:58 +00:00
|
|
|
/* Keyboard page */
|
2007-09-17 22:29:35 +00:00
|
|
|
STICKYKEYS stickyKeys;
|
|
|
|
STICKYKEYS oldStickyKeys;
|
|
|
|
FILTERKEYS filterKeys;
|
|
|
|
FILTERKEYS oldFilterKeys;
|
|
|
|
TOGGLEKEYS toggleKeys;
|
|
|
|
TOGGLEKEYS oldToggleKeys;
|
|
|
|
BOOL bKeyboardPref;
|
|
|
|
|
2011-11-29 14:55:58 +00:00
|
|
|
/* Sound page */
|
2007-09-17 22:29:35 +00:00
|
|
|
SOUNDSENTRY ssSoundSentry;
|
|
|
|
BOOL bShowSounds;
|
|
|
|
|
2011-11-29 14:55:58 +00:00
|
|
|
/* Display page */
|
2007-09-17 22:29:35 +00:00
|
|
|
HIGHCONTRAST highContrast;
|
|
|
|
UINT uCaretBlinkTime;
|
|
|
|
UINT uCaretWidth;
|
|
|
|
BOOL fShowCaret;
|
|
|
|
RECT rcCaret;
|
|
|
|
RECT rcOldCaret;
|
|
|
|
|
2011-11-29 14:55:58 +00:00
|
|
|
/* Mouse page */
|
2007-09-17 22:29:35 +00:00
|
|
|
MOUSEKEYS mouseKeys;
|
|
|
|
|
2011-11-29 14:55:58 +00:00
|
|
|
/* General page */
|
2007-09-17 22:29:35 +00:00
|
|
|
ACCESSTIMEOUT accessTimeout;
|
|
|
|
SERIALKEYS serialKeys;
|
|
|
|
TCHAR szActivePort[MAX_PATH];
|
|
|
|
TCHAR szPort[MAX_PATH];
|
|
|
|
BOOL bWarningSounds;
|
|
|
|
BOOL bSoundOnActivation;
|
|
|
|
|
|
|
|
} GLOBAL_DATA, *PGLOBAL_DATA;
|
|
|
|
|
|
|
|
|
2004-06-30 12:16:27 +00:00
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
|
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
|
2007-05-01 13:55:11 +00:00
|
|
|
INT_PTR CALLBACK DisplayPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK KeyboardPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK MousePageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
INT_PTR CALLBACK SoundPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
2014-02-05 18:17:27 +00:00
|
|
|
#endif /* _ACCESS_H */
|