HIWORD

Syntax

WORD HIWORD(dwInteger)

This macro retrieves the high-order word from the 32-bit integer value specified by the dwInteger parameter.

Parameter Type/Description  

dwInteger DWORD Specifies the value to be converted.  

Return Value

The return value specifies the high-order word of the given 32-bit integer value.