Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HIWORD macro

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

Syntax

WORD HIWORD(
  DWORD l
);

-parameters

-param l

The value to be converted.

-return

Type: WORD

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

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header minwindef.h (include Windows.h)

See also

HIBYTE, LOWORD, MAKELPARAM, MAKEWPARAM, Windows Data Types


Feedback

Was this page helpful?

Additional resources