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.
SHELL_GetVMInfo
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include shell.inc
 
VxDcall SHELL_GetVMInfo
 
The SHELL_GetVMInfo service allows a virtual device to retrieve PIF
information settings for a virtual machine.
 
This service is only available for Windows 3.1 and later.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EBX        Specifies the handle of the virtual machine to examine.
 
Return Value
 
The EAX register contains one or more of the following flag values for the
specified virtual machine:
 
Value              Meaning
────────────────────────────────────────────────────────────────────────────
SGVMI_Windowed     Is Windowed
 
SGVMI_ALTTABdis    Alt+Tab is reserved
 
SGVMI_ALTESCdis    Alt+Esc is reserved
 
SGVMI_ALTSPACEdis  Alt+Space is reserved
 
SGVMI_ALTENTERdis  Alt+Enter is reserved
 
SGVMI_ALTPRTSCdis  Alt+PrtSc is reserved
 
SGVMI_PRTSCdis     PrtSc is reserved
 
SGVMI_CTRLESCdis   Ctrl+Esc is reserved
 
SGVMI_HasHotKey    Has a shortcut key
 
SGVMI_Polling      Polling detection Enabled
 
SGVMI_FastPaste    Allow Fast paste Enabled
 
SGVMI_NoHMA        No HMA
 
SGVMI_XMS_Lock     XMS Hands Locked
 
SGVMI_EMS_Lock     EMS Hands Locked
 
SGVMI_V86_Lock     V86 Memory Locked
 
SGVMI_ClsExit      Close on Exit Enabled
 
The ECX, EDX, ESI, and EDI register contents are reserved.
 
Comments
 
The undefined bits in the EAX register are reserved. Do not depend on them
being zero.
 
This service is not valid until after all virtual devices have processed the
Create_VM message. This service if called during a Create_VM message will
not return proper PIF information.
 
Uses
 
EAX, ECX, EDX, ESI, EDI, Flags
 
                                      ♦