MAKEWORD macro

Creates a WORD value by concatenating the specified values.

Syntax

WORD MAKEWORD(
   BYTE bLow,
   BYTE bHigh
);

Parameters

  • bLow
    The low-order byte of the new value.

  • bHigh
    The high-order byte of the new value.

Return value

Type: WORD

The return value is a WORD value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windef.h (include Windows.h)

See also

Windows Data Types