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.
wLow
Specifies the low-order word of the new long value.
wHigh
Specifies the high-order word of the new long value.
The return value specifies an unsigned long-integer value.
The MAKELRESULT macro is defined in WINDOWS.H as follows:
#define MAKELRESULT(low, high) ((LRESULT)MAKELONG(low, high))