DWORD MAKELONG(wLow, wHigh) | |||||
WORD wLow; | /* low-order word of long value | */ | |||
WORD wHigh; | /* high-order word of long value | */ |
The MAKELONG macro creates an unsigned long integer by concatenating 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 MAKELONG macro is defined in WINDOWS.H as follows:
#define MAKELONG(low, high) \
((LONG)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16)))