Go to the source code of this file.
#define HIBYTE |
( |
|
w | ) |
((unsigned char)(((unsigned short)(w) >> 8) & 0xFF)) |
#define HIDWORD |
( |
|
q | ) |
((q).u.dwHighDword) |
#define HIWORD |
( |
|
d | ) |
((unsigned short)((((unsigned long)(d)) >> 16) & 0xFFFF)) |
#define LOBYTE |
( |
|
w | ) |
((unsigned char)(w)) |
#define LOWORD |
( |
|
d | ) |
((unsigned short)(d)) |
#define MAKEDWORD |
( |
|
lw, |
|
|
|
hw |
|
) |
| ((unsigned long)(((unsigned short)(lw)) | (((unsigned long)((unsigned short)(hw))) << 16))) |
#define MAKEWORD |
( |
|
lb, |
|
|
|
hb |
|
) |
| ((unsigned short)(((unsigned char)(lb)) | (((unsigned short)((unsigned char)(hb))) << 8))) |