HIBYTE

  BYTE HIBYTE(nInteger)    

This macro retrieves the high-order byte from the integer value specified by the nInteger parameter.

Parameters

nInteger

Specifies the value to be converted.

Return Value

The return value specifies the high-order byte of the given value.

Comments

The HIBYTE macro is defined in as:

#define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF))