LOWORD

2.x

  WORD LOWORD(dwVal)    
  DWORD dwVal; /* value from which low word is retrieved */

The LOWORD macro extracts the low-order word from the 32-bit integer value specified by the dwVal parameter.

Parameters

dwVal

Specifies the value to be converted.

Return Value

The return value specifies the low-order word of the 32-bit integer value.

Comments

The LOWORD macro is defined in WINDOWS.H as follows:

#define LOWORD(l)  ((WORD)(DWORD)(l))

See Also

LOBYTE