21 lines
365 B
C
21 lines
365 B
C
#ifndef __MSG_H_INCLUDED
|
|
#define __MSG_H_INCLUDED
|
|
|
|
#include "wintype.h"
|
|
|
|
#define MSG_ATTRCOUNT 2
|
|
|
|
typedef struct tagMSG {
|
|
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 */
|