include vmm.inc
mov edx, Profile ; points to the previous entry value
mov edi, Keyname ; points to the keyname for the entry
VMMCall Get_Next_Profile_String
jc no_next ; carry flag set if no more entries
mov [Next], edx ; address of next profile string
Searches the SYSTEM.INI file for the next entry with a given keyname following the specified entry. Virtual devices typically use this service if they have more than one entry with the same keyname. This service is available only during initialization. Uses EDX, Flags.
A virtual device retrieves the first string using the Get_Profile_String service, then uses Get_Next_Profile_String to retrieve all subsequent entries. In all cases, the virtual device must not modify the returned string.
Get_Profile_String