Int 2F/AX=1685h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

MS Windows - SWITCH VMs AND CALLBACK

AX = 1685h
BX = VM ID of virtual machine to switch to
CX = flags (see #02717)
DX:SI = priority boost (refer to VMM.INC)
ES:DI -> FAR procedure to callback

Return:
CF set on error AX = error code 01h invalid VM ID 02h invalid priority boost 03h invalid flags CF clear if successful event will be or has been called

Notes: Some DOS devices, such as networks, need to call functions in a specific VM. This call forces the appropriate VM to be installed.. The callback procedure must preserve all registers and return with IRET

See Also: AX=1683h - INT 15/AX=1117h - AX=DB06h"WINGO"

Bitfields for VM switching flags: Bit(s) Description (Table 02717) 0 wait until interrupts enabled 1 wait until critical section unowned 2-15 reserved (zero)

Category: Windows - Int 2Fh - M

rbline.gif

lup.gif ldown.gif Interrups Categories Contents