2019-12-01 01:02:08 -07:00
|
|
|
#ifndef __MSG_H_INCLUDED
|
|
|
|
#define __MSG_H_INCLUDED
|
|
|
|
|
|
|
|
#include "wintype.h"
|
|
|
|
|
|
|
|
#define MSG_ATTRCOUNT 2
|
|
|
|
|
2019-12-01 01:07:37 -07:00
|
|
|
typedef struct tagMSG {
|
2019-12-05 18:21:37 -07:00
|
|
|
HANDLE target;
|
|
|
|
UINT32 message;
|
|
|
|
UINT_PTR attrs[MSG_ATTRCOUNT];
|
2019-12-01 01:02:08 -07:00
|
|
|
TIMESTAMP timestamp;
|
|
|
|
} MSG, *PMSG;
|
|
|
|
|
|
|
|
#define WM_NULL 0x0000
|
2019-12-09 13:29:37 -07:00
|
|
|
#define WM_QUIT 0x0001
|
2019-12-01 01:02:08 -07:00
|
|
|
|
|
|
|
#define WM_HWBUTTONDOWN 0x0020
|
|
|
|
#define WM_HWBUTTONUP 0x0021
|
2019-12-11 11:32:19 -07:00
|
|
|
#define WM_HWBUTTONCLICK 0x0022
|
2019-12-01 01:02:08 -07:00
|
|
|
|
2019-12-07 00:46:27 -07:00
|
|
|
#define WM_TOUCHDOWN 0x0030
|
|
|
|
#define WM_TOUCHMOVE 0x0031
|
|
|
|
#define WM_TOUCHUP 0x0032
|
2019-12-11 11:32:19 -07:00
|
|
|
#define WM_TOUCHCLICK 0x0033
|
2019-12-07 00:46:27 -07:00
|
|
|
|
2019-12-01 01:02:08 -07:00
|
|
|
#endif /* __MSG_H_INCLUDED */
|