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_Define_Paste_Mode
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vkd.inc
 
VxDcall VKD_Define_Paste_Mode
 
The VKD_Define_Paste_Mode service selects the virtual-machine paste mode and
specifies whether Interrupt 16h pasting can be attempted or not. Some
applications hook Interrupt 09h which often disallows pasting using
Interrupt 16h. The VKD can detect this by setting a time-out to see if any
Interrupt 16h handling is being done by the application. If not, the VKD
switches to Interrupt 09h paste.
 
If an application does some Interrupt 16h handling, but cannot support the
Interrupt 16h paste operation, a PIF bit can be set to indicate that only
Interrupt 09h pasting should be used.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
AL         Specifies whether to use Interrupt 16h or Interrupt 09h paste. It
           can be one of the following values:
 
           Value  Meaning
           ─────────────────────────────────────────────────────────────────
           0      Allows Interrupt 16h paste attempts
 
           1      Forces Interrupt 09h pasting
 
EBX        Specifies the virtual machine handle.
 
Return Value
 
This service has no return value.
 
Uses
 
Flags
 
                                      ♦