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))

See Also

HIBYTE, LOWORD