LOBYTE

The LOBYTE macro retrieves the low-order byte from the given 16-bit value.

BYTE LOBYTE(
  WORD wValue  // value from which low-order byte is retrieved
);
 

Parameters

wValue
Specifies the value to be converted.

Return Values

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

Remarks

The LOBYTE macro is defined as follows:

#define LOBYTE(w)   ((BYTE) (w)) 
 

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, HIBYTE, LOWORD