NativeServices.RegistryGetValue
Method | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Module | NativeServices | ||||||||||||
Library | Core | ||||||||||||
Action | Get a registry value. | ||||||||||||
Parameters |
| ||||||||||||
Return values | If the specified subkey and name exist, the call will return the following:
If the specified subkey or name does not exist, the call will not return anything but does not return an error ("success, no content"). | ||||||||||||
Example | NativeServices.RegistryGetValue(Hive:"HKLM", Subkey:"software\\vendor", Name:"value23"); The | ||||||||||||
Platforms |
| ||||||||||||
Notes | REG_MULTI_SZ values are displayed with a '|' between each string. REG_NONE keys are not supported. To get a registry value for every user under HKU, use NativeServices.RegistryGetUserValues. |