Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HIWORD macro

Retrieves the high-order word from the specified 32-bit value.

Syntax


WORD HIWORD(
   DWORD dwValue
);

Parameters

dwValue

The value to be converted.

Return value

Type: WORD

The return value is the high-order word of the specified value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windef.h (include Windows.h)

See also

Reference
HIBYTE
LOWORD
MAKELPARAM
MAKEWPARAM
Conceptual
Windows Data Types

 

 

Show:
© 2017 Microsoft