blob: dac4142a34be4042b21e1747b820bdaee86109fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*
* ==========================================================================
* Name: nt_event.h
* Author: Tim
* Derived From:
* Created On: 27 Jan 93
* Purpose: External defs for nt_event.c
*
* (c)Copyright Insignia Solutions Ltd., 1993. All rights reserved.
* ==========================================================================
*/
/*::::::::::::::::::::::::::::::::::::::: Event types handled by nt_event.c */
#define ES_NOEVENTS 0
#define ES_SCALEVENT 4
#define ES_YODA 8
#ifdef YODA
void CheckForYodaEvents(void);
#endif
#ifndef X86GFX
void GetScaleEvent(void);
#endif
/*::::::::::::::::::::::::::::::::::::::: Prototypes */
IMPORT BOOL stdoutRedirected;
IMPORT ULONG CntrlHandlerState;
#define CNTRL_SHELLCOUNT 0xFFFF // The LOWORD is used for shell count
#define CNTRL_PIFALLOWCLOSE 0x10000
#define CNTRL_VDMBLOCKED 0x20000
#define CNTRL_SYSTEMROOTCONSOLE 0x40000
#define CNTRL_PUSHEXIT 0x80000
void nt_start_event_thread(void);
void nt_remove_event_thread(void);
void EnterEventCritical(void);
void LeaveEventCritical(void);
void GetNextMouseEvent(void);
BOOL MoreMouseEvents(void);
VOID DelayMouseEvents(ULONG count);
void FlushMouseEvents(void);
#ifdef X86GFX
IMPORT VOID SelectMouseBuffer(half_word mode, half_word lines);
#endif //X86GFX
VOID KbdResume(VOID);
ULONG WaitKbdHdw(ULONG dwTimeOut);
VOID HostReleaseKbd(VOID);
void SyncBiosKbdLedToKbdDevice(void);
void SyncToggleKeys(WORD wVirtualKeyCode, DWORD dwControlKeyState);
extern DWORD ToggleKeyState;
extern HANDLE hWndConsole;
extern PointerAttachedWindowed;
extern BOOL DelayedReattachMouse;
|