mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
c16ad873a6
svn path=/branches/reactos-yarotows/; revision=46279
61 lines
1.5 KiB
C
61 lines
1.5 KiB
C
#pragma once
|
|
|
|
typedef LONG (CALLBACK *APPLET_INITPROC)(VOID);
|
|
|
|
typedef struct _APPLET
|
|
{
|
|
INT idIcon;
|
|
INT idName;
|
|
INT idDescription;
|
|
APPLET_INITPROC AppletProc;
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
|
typedef struct _GLOBAL_DATA
|
|
{
|
|
/* keyboard page */
|
|
STICKYKEYS stickyKeys;
|
|
STICKYKEYS oldStickyKeys;
|
|
FILTERKEYS filterKeys;
|
|
FILTERKEYS oldFilterKeys;
|
|
TOGGLEKEYS toggleKeys;
|
|
TOGGLEKEYS oldToggleKeys;
|
|
BOOL bKeyboardPref;
|
|
|
|
/* sound page */
|
|
SOUNDSENTRY ssSoundSentry;
|
|
BOOL bShowSounds;
|
|
|
|
/* display page */
|
|
HIGHCONTRAST highContrast;
|
|
UINT uCaretBlinkTime;
|
|
UINT uCaretWidth;
|
|
BOOL fShowCaret;
|
|
RECT rcCaret;
|
|
RECT rcOldCaret;
|
|
|
|
/* mouse page */
|
|
MOUSEKEYS mouseKeys;
|
|
|
|
/* general page */
|
|
ACCESSTIMEOUT accessTimeout;
|
|
SERIALKEYS serialKeys;
|
|
TCHAR szActivePort[MAX_PATH];
|
|
TCHAR szPort[MAX_PATH];
|
|
BOOL bWarningSounds;
|
|
BOOL bSoundOnActivation;
|
|
|
|
} GLOBAL_DATA, *PGLOBAL_DATA;
|
|
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
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);
|
|
|
|
/* EOF */
|