mov ax, 0000h ; Get_Profile_String call dword ptr [_ServiceEntry] ; service entry point passed to ; real-mode initialization procedure
Searches the SYSTEM.INI file for the specified entry, and returns a pointer to a string. Uses EAX, EDX, ES, Flags.
AX
Must be 0000h.
DS:SI
Points to a null-terminated string specifying the name of the section to search. If the SI register is zero, the service searches the [386Enh] section of the SYSTEM.INI file.
DS:DI
Points to a null-terminated string specifying the name of the setting to search for.
ES:DX
Points to null-terminated string specifying the default value if the requested setting is not found.
The real-mode initialization procedure must not modify the returned string. The address returned points to the initialization file data area and is read only.