Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>c4w_hiword()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C4W_HiWord()
Return the high word of a long number
------------------------------------------------------------------------------

Syntax
C4W_HiWord( <nValue> )   -->   nResult

Arguments
<nValue> is a numeric value (typically the nlParam from a
Windows message).

Returns
The returned value is the high word of the value, and is an
integer in the range 0-65535.

Description
In Windows, the nlParam value passed with a message sometimes
consists of two values joined together.  This function, and
the corresponding
C4W_LoWord(), can be used to separate the two values.

Example
n = 65536 * 2
? C4W_HiWord( n )        // Result: 2


See Also: C4W_And() C4W_LoWord()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson