Get_Set_Real_DOS_PSP

include vmm.inc 

mov ebx, VMHandle
mov ax, NewPSP
mov ecx, dwFlags
VMMCall Get_Set_Real_DOS_PSP
 

Gets or sets the PSP for the specified VM. Uses the EAX, ECX, and EDX registers.

VMHandle
Handle to the VM.
NewPSP
New PSP to set if dwFlags is GSRDP_Set.
dwFlags
Specify GSRDP_Set to set the PSP to a new value. Or, specify zero to retrieve the current PSP value.