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-01 01:02:08 -07:00
|
|
|
uintptr_t target;
|
|
|
|
unsigned message;
|
|
|
|
uintptr_t attrs[MSG_ATTRCOUNT];
|
|
|
|
TIMESTAMP timestamp;
|
|
|
|
} MSG, *PMSG;
|
|
|
|
|
|
|
|
#define WM_NULL 0x0000
|
|
|
|
|
|
|
|
#define WM_HWBUTTONDOWN 0x0020
|
|
|
|
#define WM_HWBUTTONUP 0x0021
|
|
|
|
|
|
|
|
#endif /* __MSG_H_INCLUDED */
|