Action
Makes a 32-bit value from two 16-bit values.
z% = MakeWParam( lo, hi )
hi, lo:Short
z%:Integer
MakeWParam() creates a 32-bit integer value form two 16-bit integers. The first value is placed in the low order word of the long integer.
Debug.Show
Trace Hex(MakeWParam(1, 2), 8) // 20001
Trace Hex(MakeLongLoHi(1, 2), 8) // 20001
This command is the same as the C macros MAKEWPARAM and MAKELPARAM.
MakeWParam is not the same as MakeLong.
MakeL2L(), MakeL2H(), MakeL3H(), MakeL3L(), MakeL4H(), MakeL4L(), MakeLarge(), MakeLargeHiLo(), MakeLargeLoHi(), MakeLong(), MakeLongHiLo(), MakeLongLoHi(), MakeWord(), MakeWordHiLo(), MakeWordLoHi(), MakeWParam()
{Created by Sjouke Hamstra; Last updated: 12/10/2014 by James Gaite}