Introduction to Virtual Device Drivers


LDRSRV_GET_PROFILE_STRING



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

LDRSRV_GET_PROFILE_STRING


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.

If the carry flag is clear, the ES:DX register pair contains the address of a null-terminated string representing the value of the requested setting. Otherwise, the register pair points to the default string.

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.



Download 274.5 Kb.

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




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

    Main page