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.
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 MAKELPARAM macro is defined in WINDOWS.H as follows:
#define MAKELPARAM(low, high) ((LPARAM)MAKELONG(low, high))