This macro retrieves the high-order word from the specified 32-bit value.
At a Glance
Header file: | Windef.h |
Windows CE versions: | 1.0 and later |
Syntax
WORD HIWORD( DWORD dwValue );
Parameters
dwValue
Specifies the value to be converted.
Return Values
The return value is the high-order word of the specified value.
Remarks
The HIWORD macro is defined as follows:
#define HIWORD(l) ((WORD) (((DWORD) (l) >> 16) & 0xFFFF))
See Also