include vmm.inc
mov edx, OFFSET32 Default ; optional default string
mov esi, OFFSET32 Profile ; section name
mov edi, OFFSET32 Keyname ; entry name
VMMCall Get_Profile_String
jc not_found ; carry set if entry not found
mov [Value], edx ; address of profile string
Searches the SYSTEM.INI file for a specified entry, and returns a pointer to a null-terminated string representing the entry value. This service is only available during initialization. Uses EDX, Flags.
A virtual device must not modify the string pointed to by the EDX register. If modification is required, copy the string and modify the copy.
Get_Next_Profile_String