File tree 3 files changed +27
-6
lines changed
3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export * from './consts/OBM.js'
17
17
export * from './consts/OCR.js'
18
18
export * from './consts/OIC.js'
19
19
export * from './consts/PM.js'
20
+ export * from './consts/QS.js'
20
21
export * from './consts/SW.js'
21
22
export * from './consts/TPM.js'
22
23
export * from './consts/WM.js'
Original file line number Diff line number Diff line change
1
+ import { QS_ } from './QS.js' ;
1
2
2
3
/**
3
4
* PeekMessage flags
@@ -6,10 +7,10 @@ export enum PM_ {
6
7
NOREMOVE = 0x0000 ,
7
8
REMOVE = 0x0001 ,
8
9
NOYIELD = 0x0002 ,
9
- QS_INPUT = 0x000000E0 ,
10
- QS_POSTMSG = 0x00000008 ,
11
- QS_HOTKEY = 0x00000080 ,
12
- QS_TIMER = 0x00000010 ,
13
- QS_PAINT = 0x00000020 ,
14
- QS_SENDMSG = 0x00000040
10
+ QS_INPUT = ( QS_ . INPUT << 16 ) ,
11
+ QS_POSTMSG = ( QS_ . POSTMSG << 16 ) ,
12
+ QS_HOTKEY = ( QS_ . HOTKEY << 16 ) ,
13
+ QS_TIMER = ( QS_ . TIMER << 16 ) ,
14
+ QS_PAINT = ( QS_ . PAINT << 16 ) ,
15
+ QS_SENDMSG = ( QS_ . SENDMSG << 16 )
15
16
}
Original file line number Diff line number Diff line change
1
+ /**
2
+ * QueueStatus flags
3
+ */
4
+ export enum QS_ {
5
+ KEY = 0x0001 ,
6
+ MOUSEMOVE = 0x0002 ,
7
+ MOUSEBUTTON = 0x0004 ,
8
+ POSTMSG = 0x0008 ,
9
+ TIMER = 0x0010 ,
10
+ PAINT = 0x0020 ,
11
+ SENDMSG = 0x0040 ,
12
+ HOTKEY = 0x0080 ,
13
+ ALLPOSTMSG = 0x0100 ,
14
+ RAWINPUT = 0x0400 ,
15
+ MOUSE = MOUSEMOVE | MOUSEBUTTON ,
16
+ INPUT = MOUSE | KEY | RAWINPUT ,
17
+ ALLEVENTS = INPUT | POSTMSG | TIMER | PAINT | HOTKEY ,
18
+ ALLINPUT = INPUT | POSTMSG | TIMER | PAINT | HOTKEY | SENDMSG
19
+ }
You can’t perform that action at this time.
0 commit comments