- any of the VK_* constants
Can be 0, KEYEVENTF_EXTENDEDKEY, KEYEVENTF_KEYUP or a combination of them
The second argument can be 0, KEYEVENTF_EXTENDEDKEY, KEYEVENTF_KEYUP or a combination of them. Meaning of these flags is as follows:
Means it is an extended key (i.e. to distinguish between arrow keys on the numeric keypad and elsewhere).
Means keyup. Unspecified means keydown.