This function reads a string value in the opened registry key.
ReadStringValue (ValueName As String, Value As String) As Long
Parameters
ValueName
[in] Name of the value to read.
Value
[out] Return the read string value.
Return Value
0: success
1: value name not accessible
2: value is not of type string