LOWORD

The LOWORD macro retrieves the low-order word from the given 32-bit value.

WORD LOWORD(
  DWORD dwValue  // value from which low-order word is retrieved
);
 

Parameters

dwValue
Specifies the value to be converted.

Return Values

The return value is the low-order word of the specified value.

Remarks

The LOWORD macro is defined as follows:

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

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in windef.h.

See Also

Windows Overview, Window Macros, HIWORD, LOBYTE