Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
V86MMGR_Set_Xlat_Buff_State
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include v86mmgr.inc
 
VxDcall V86MMGR_Set_Xlat_Buff_State
 
The V86MMGR_Set_Xlat_Buff_State service switches to an alternate mapping
buffer. This feature is provided for protected-mode TSR programs which may
need to switch to a private translation buffer before executing protected
mode MS-DOS calls since the default buffer may be full.
 
A virtual device should get the current translation buffer state, set the
new state, perform any MS-DOS call, and then set the state back to the
original values.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EBX        Specifies a virtual machine handle (any virtual machine handle
           valid).
 
EAX        Specifies the V86 segment of the translation buffer; high word is
           zero.
 
ECX        Specifies the number of bytes of the buffer not in use.
 
EDX        Specifies the total size of the buffer in bytes; maximum size is
           10000h.
 
Return Value
 
This service has no return value.
 
Uses
 
Flags
 
                                      ♦