But how do
An application can use the following values to test the keystroke flags.


I test the flags for LLKHF_ALTDOWN ? I don't know exactly what to do..... should I AND the flags with LLKHF_ALTDOWN? Or OR it? OR what? Sorry for the Newbie Question. ;) thanks in advance.
Posted on 2001-10-25 21:10:35 by lackluster
windows api references always to bit-masks, so you must use
<test>:


call xyz_KeyFunction
test eax, FLAG_xxx
jne FlagIsSet

; flag is not set

FlagIsSet:
; flag is set

<test> works like <and>, but leaves the operands untouched.
Posted on 2001-10-26 07:34:21 by beaster
THANKS!
Posted on 2001-10-26 14:11:17 by lackluster