include vmm.inc VMMcall Get_Config_Directory mov [WinDir], edx ; points to the Windows directory |
The Get_Config_Directory service returns a pointer to a null-terminated string that specifies the fully qualified path of the directory containing the Windows configuration files. Virtual devices use this service to locate files such as SYSTEM.INI.
This service is available during initialization only.
This service has no parameters.
The EDX register points to the null-terminated string specifying the configuration directory. If the WINDIR environment variable is defined when Windows starts, EDX points to the value associated with WINDIR regardless of whether it specifies the actual directory where SYSTEM.INI is located.
The string returned by this service always ends with a backslash (\).
EDX, Flags