Introduction to Virtual Device Drivers


LDRSRV_GET_PROFILE_HEX_INT



Download 274.5 Kb.
Page54/80
Date19.01.2022
Size274.5 Kb.
#58083
1   ...   50   51   52   53   54   55   56   57   ...   80
VXDS

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.

If the carry flag is clear, the ECX register contains the value of the specified setting. In the SYSTEM.INI file, the value is zero or more hexadecimal digits (0–9, A-F) followed by a terminating character or an uppercase or lowercase letter H.

If both the carry and zero flags are set, the setting has no current value, and the ECX register contains the default value. If just the carry flag is set, the specified setting cannot be found.

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.



Download 274.5 Kb.

Share with your friends:
1   ...   50   51   52   53   54   55   56   57   ...   80




The database is protected by copyright ©ininet.org 2024
send message

    Main page