Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Get_PSP_Segment
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Get_PSP_Segment
 
mov     [PSP], eax          ; segment address of PSP
 
The Get_PSP_Segment service returns the segment address of program segment
prefix (PSP) for the Windows virtual machine manager (WIN386.EXE). Virtual
devices typically use this service to retrieve values from the PSP that can
not be retrieve using the Get_Exec_Path and Get_Environment_String
services.
 
This service is only available during initialization.
 
This service has no parameters.
 
Return Value
 
The EAX register contains the segment address for the program segment
prefix. The high word is always zero.
 
Comments
 
This service returns a segment address. To convert the segment address to an
physical address, shift it left by 4 bits.
 
Uses
 
EAX, Flags
 
See Also
 
Get_Environment_String, Get_Exec_Path