Error Messages/40394

< Error Messages
Revision as of 00:27, 27 January 2010 by AManandhar (Talk | contribs) (Created page with '= 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, …')

(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.



You are not allowed to post comments.

Comments

<comments />