Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VKD_Get_Msg_Key
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vkd.inc
 
VxDcall VKD_Get_Msg_Key
 
The VKD_Get_Msg_Key service returns the next available key from the special
message mode input buffer and removes it from the buffer. If no key is
available, then the zero flag is set.
 
This service does not block.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EBX        Specifies the virtual machine handle.
 
Return Value
 
The zero flag is clear if a key is read. The AL register contains the scan
code and the AH register contains a combination of the following modifier
flag values:
 
Value        Meaning
────────────────────────────────────────────────────────────────────────────
MK_Shift     A shift key is down
 
MK_Ctrl      A control key is down
 
MK_Alt       An ALT key is down
 
MK_Extended  The key is an extended key
 
The zero flag is set if no key is available.
 
Uses
 
EAX, Flags
 
                                      ♦