WORD HIWORD(dwInteger) | |||||
DWORD dwInteger; | /* value from which high word is retrieved | */ |
The HIWORD macro retrieves the high-order word from the 32-bit integer value specified by the dwInteger parameter.
dwInteger
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 in WINDOWS.H as follows:
#define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF))