The HIWORD macro retrieves the high-order word from the given 32-bit value.
WORD HIWORD(
DWORD dwValue | // value from which high-order word is retrieved |
); |
Parameters
dwValue
Specifies the value to be converted.
Return Values
The return value is the high-order word of the specified value.
Remarks
The HIWORD macro is defined as follows:
#define HIWORD(l) ((WORD) (((DWORD) (l) >> 16) & 0xFFFF))
See Also