BYTE HIBYTE(wInteger) | |||||
WORD wInteger; | /* value from which high byte is retrieved | */ |
The HIBYTE macro retrieves the high-order byte from the integer value specified by the wInteger parameter.
wInteger
Specifies the value to be converted.
The return value specifies the high-order byte of the given value.
The HIBYTE macro is defined in WINDOWS.H as follows:
#define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF))