Skip to content

HIWORD

Function : Data Manipulation
HIWORD - Returns the high-order WORD of a DWORD.

#include <global.h>
WORD HIWORD(

    DWORD  dataword);
Description :

A machine independent macro that returns the high-order WORD of a DWORD.

Parameters : Input : dataword - Machine independent value of which high-order WORD is to be returned.

Output : (routine) - High-order WORD of the DWORD.

See Also : LOWORD HIBYTE