include vkd.inc
mov ebx, VMHandle
VxDCall VKD_Peek_Msg_Key
jz no_key_avaliable
Retrieves the next available key from the special message-mode input buffer without removing it from the buffer. The zero flag is clear if a key is available; otherwise, it is set. Uses EAX andFlags.
Value | Meaning |
---|---|
MK_Alt | An ALT key is down. |
MK_Ctrl | A CTRL key is down. |
MK_Extended | The key is an extended key. |
MK_Shift | A SHIFT key is down. |