MAKELPARAM

3.1

  LPARAM MAKELPARAM(wLow, wHigh)    
  WORD wLow; /* low-order word */
  WORD wHigh; /* high-order word, */  

The MAKELPARAM macro creates an unsigned long integer for use as an lParam parameter in a message. The macro concatenates two integer values, specified by the wLow and wHigh parameters.

Parameters

wLow

Specifies the low-order word of the new long value.

wHigh

Specifies the high-order word of the new long value.

Return Value

The return value specifies an unsigned long-integer value.

Comments

The MAKELPARAM macro is defined in WINDOWS.H as follows:

#define MAKELPARAM(low, high)   ((LPARAM)MAKELONG(low, high))

See Also

MAKELONG, MAKELRESULT