Error Messages/40394

Revision as of 20:11, 28 March 2016 by Bbecane (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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
Loading comments...