Get_Initial_Thread_Handle


include vmm.inc

mov     ebx, [VMHandle]
VMMCall Get_Initial_Thread_Handle
mov     [hThread], edi

Returns a handle identifying a thread that was created at the same time that the virtual machine was created. Uses EDI and Flags.

VMHandle

Identifies the virtual machine for which the thread was created.

This service can be called at interrupt time.