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.
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 (\).
ECX, EDX