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.
- If performing a set operation, returns the previous PSP value in the AX register. If performing a get operation, returns the current PSP value in the AX register.
- 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.