Redigera

Dela via


HIBYTE macro

Retrieves the high-order byte from the given 16-bit value.

Syntax

BYTE HIBYTE(
   WORD w
);

-parameters

-param w

The value to be converted.

-return

Type: BYTE

The return value is the high-order byte of the specified value.

Requirements

Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header minwindef.h (include Windows.h)

See also

HIWORD, LOBYTE, Windows Data Types