V86MMGR_Set_Xlat_Buff_State

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 because 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.

Parameters

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