MAKELRESULT

3.1

  LRESULT MAKELRESULT(wLow, wHigh)    
  WORD wLow; /* low-order word */
  WORD wHigh; /* high-order word, */  

The MAKELRESULT macro creates an unsigned long integer for use as a return value from a window procedure. 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 MAKELRESULT macro is defined in WINDOWS.H as follows:

#define MAKELRESULT(low, high)  ((LRESULT)MAKELONG(low, high))

See Also

MAKELONG, MAKELPARAM