Prev Next

LOWORD info

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

 

See Also

HIWORD, LOBYTE