This function reads a single string in a multi string value. A MultiString value is like a list of strings.
MultiStringRead (ValueName As String, StringIndex As Long, Value As String) As Long
Parameters
ValueName
[in] Name of the value to read from the registry.
StringIndex
[in] Index in the list of the string to read. Index can be 1 to Number of strings.
Value
[out] Return the read string value.
Return Value
0: success
1: value name not accessible
2: value is not of type multi-string
4: invalid index