Parameter | Description |
---|---|
sSubKey | The name of the subkey containing the Value |
sValueName | The name of the Value to read data from |
pValueData | Address in memory to copy the data to |
iDataLength | Length of the data to copy |
If the data was read, the function returns True, otherwise it returns False.
Function ReadBinary String sSubKey String sValueName Pointer pValueData Integer iDataLength Returns Boolean
Call: | Get ReadBinary sSubKey sValueName pValueData iDataLength to BooleanVariable |
Use the ReadBinary function to read binary data from the Windows Registry. The base key that will be used is that returned by RegistryKeyString and you can specify a further subkey using the sSubKey parameter.
If you attempt to read a non-existent value, an error will be generated. Before trying to read a value, you should ensure that it exists using the ValueExists function.