LOBYTE

2.x

  BYTE LOBYTE(wVal)    
  WORD wVal; /* value from which low byte is retrieved */

The LOBYTE macro extracts the low-order byte from the short-integer value specified by the wVal parameter.

Parameters

wVal

Specifies the value to be converted.

Return Value

The return value specifies the low-order byte of the value.

Comments

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

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

See Also

LOWORD