MAKELONG macro

Creates a LONG value by concatenating the specified values.

Syntax

DWORD MAKELONG(
   WORD wLow,
   WORD wHigh
);

Parameters

  • wLow
    The low-order word of the new value.

  • wHigh
    The high-order word of the new value.

Return value

Type: DWORD

The return value is a LONG 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