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_loword()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
C4W_LoWord()
Return the low word of a long number
------------------------------------------------------------------------------

Syntax
C4W_LoWord( <nValue> )   -->   nResult

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

Returns
The returned value is the low 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_HiWord(), can be used to separate the two values.

Example
n = 65536 * 2 + 99
? C4W_LoWord( n )        // Result: 99


See Also: C4W_And() C4W_HiWord()

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