MAKELONG

  DWORD MAKELONG(wLow, wHigh)    

This macro creates an unsigned long integer by concatenating 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 MAKELONG macro is defined as:

#define MAKELONG(a, b) ((LONG)(((WORD)(a)) | ((DWORD)((WORD)(b))) << 16))