V86MMGR_Get_Xlat_Buff_State


include v86mmgr.inc

mov     ebx, VMHandle
VxDcall V86MMGR_Get_Xlat_Buff_State

Gets information about the current mapping buffer status. Uses EAX, ECX, EDX, Flags.

EAX

The V86 segment of the translation buffer; the high word is zero.

ECX

The number of bytes of the buffer not in use.

EDX

The total size of the buffer in bytes; the maximum size is 10000h.


VMHandle

Handle of the VM.

Always call this service to find the segment of the translation buffer. Because the buffer can move at any time, a virtual device should never make any assumptions about the size or location of the buffer.