WORD HIWORD(dwValue) |
This macro retrieves the high-order word from the 32-bit value specified by the dwValue parameter.
dwValue
Specifies the value to be converted.
The return value specifies the high-order word of the given 32-bit integer value.
The HIWORD macro is defined as:
#define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF))