Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Get_Exec_Path
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vmm.inc
 
VMMcall Get_Exec_Path
 
mov     [Path], edx     ; points to full path of WIN386.EXE
mov     [Length], ecx   ; number of characters up to and including last \
 
The Get_Exec_Path service returns a null-terminated string that specifies
the full path of the Windows virtual machine manager (WIN386.EXE). Virtual
devices often use this service to locate executable files that are not in
directories specified by the PATH environment variable.
 
This service is only available during initialization.
 
This service has no parameters.
 
Return Value
 
The EDX register points to a null-terminated string specifying the full path
of the VMM. The ECX register contains a count of characters up to and
including the last backslash (\).
 
Uses
 
ECX, EDX
 
                                      ♦