LDRSRV_GET_PROFILE_HEX_INT


mov    ax, 0005h         ; Get_Profile_Hex_Int
call  dword ptr [_ServiceEntry]  ; service entry point passed to
                                 ; real-mode initialization procedure

Returns a hexadecimal integer value from the SYSTEM.INI file. Uses ECX, Flags.

AX

Must be 0005h.

ECX

Specifies the default value if the setting has no current value.

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.

DS:DI

Points to a null-terminated string specifying the name of the setting to search for.