Windows 3.1 Device Drivers (ddag31qh.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.
Interrupt 2Fh Function 4007h
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
mov ax, 4007h       ; Disable VM-Assisted Save/Restore
int 2fh
 
Disable VM-Assisted Save/Restore directs the virtual-display device (VDD) to
discontinue notifying the VM application when it needs access to video
registers.
 
VM applications call this function when they terminate.
 
Return Value
 
This function has no return value.
 
Comments
 
This function directs the VDD to restore I/O trapping of unreadable
registers and to discontinue calling Save Video Register State and Restore
Video Register State (Interrupt 2Fh Functions 4005h and 4006h) when it needs
access to the registers. Furthermore, the VDD ignores any subsequent calls
to Enter Critical Section and Exit Critical Section (Interrupt 2Fh Functions
4003h and 4004h).
 
This function does not disable Notify Background Switch and Notify
Foreground Switch (Interrupt 2Fh Functions 4001h and 4002h).
 
 
                                      ♦