Method Math2.MakeLparam(+ 2 overloads)
Overload
Creates uint by placing (ushort)loWord in bits 1-16 and (ushort)hiWord in bits 17-32.
Like C macro MAKELONG, MAKEWPARAM, MAKELPARAM, MAKELRESULT.
public static nint MakeLparam(int loWord, int hiWord)
Parameters
Returns
|
nint
The return value is of type |
Overload(next)
Creates uint by placing (ushort)loWord in bits 1-16 and (ushort)hiWord in bits 17-32.
Like C macro MAKELONG, MAKEWPARAM, MAKELPARAM, MAKELRESULT.
public static nint MakeLparam(uint loWord, uint hiWord)
Parameters
Returns
|
nint
The return value is of type |
Overload(top)
Creates uint by placing (ushort)p.x in bits 1-16 and (ushort)p.y in bits 17-32.
Like C macro MAKELONG, MAKEWPARAM, MAKELPARAM, MAKELRESULT.
public static nint MakeLparam(POINT p)
Parameters
| p (POINT) |
Returns
|
nint
The return value is of type |