Error Messages/40394


Error message examples

 The value "HKKCU" for «root», the first parameter to GetRegistryValue, is not a legal registry root.
 Common acceptable values are "HKLM", "HKCU", "HKCR", or "HKU"

Cause

You passed an invalid value to the «root» parameter to the GetRegistryValue function.

The root must be one of the following:

  • "HKCR" or "HKEY_CLASSES_ROOT"
  • "HKLM" or "HKEY_LOCAL_MACHINE"
  • "HKCU" or "HKEY_CURRENT_USER"
  • "HKPD" or "HKEY_PERFORMANCE_DATA"
  • "HKCC" or "HKEY_CURRENT_CONFIG"
  • "HKDD" or "HKEY_DYN_DATA"

Remedies

Correct the «root» parameter to the GetRegistryValue function.

See Also

Comments


You are not allowed to post comments.