Difference between revisions of "Error Messages/40394"

(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, …')
 
 
Line 1: Line 1:
= Error Message Examples =
+
[[Category: Error messages]]
  
The value HKKCU for root, the first parameter to [[GetRegistryValue]], is not a legal registry root.
+
== Error message examples ==
Common acceptable values are HKLM, HKCU, HKCR, or HKU
+
  
= Cause =
+
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 +
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"
 +
</pre>
  
You passed an invalid value to the '''root''' parameter to the [[GetRegistryValue]] function.
+
== Cause ==
 +
 
 +
You passed an invalid value to the «root» parameter to the [[GetRegistryValue]] function.
  
 
The root must be one of the following:
 
The root must be one of the following:
  
* "HKCR" or "HKEY_CLASSES_ROOT"
+
* <code>"HKCR"</code> or <code>"HKEY_CLASSES_ROOT"</code>
* "HKLM" or "HKEY_LOCAL_MACHINE"
+
* <code>"HKLM"</code> or <code>"HKEY_LOCAL_MACHINE"</code>
* "HKCU" or "HKEY_CURRENT_USER"
+
* <code>"HKCU"</code> or <code>"HKEY_CURRENT_USER"</code>
* "HKPD" or "HKEY_PERFORMANCE_DATA"
+
* <code>"HKPD"</code> or <code>"HKEY_PERFORMANCE_DATA"</code>
* "HKCC" or "HKEY_CURRENT_CONFIG"
+
* <code>"HKCC"</code> or <code>"HKEY_CURRENT_CONFIG"</code>
* "HKDD" or "HKEY_DYN_DATA"  
+
* <code>"HKDD"</code> or <code>"HKEY_DYN_DATA" </code>
  
= Remedies =
+
== Remedies ==
  
Correct the '''root''' parameter to the [[[GetRegistryValue]]] function.
+
Correct the «root» parameter to the [[GetRegistryValue]] function.
  
<br><comments />
+
==See Also==
 +
* [[Function calls and parameters]]
 +
* [[Function parameter qualifiers]]
 +
* [[GetRegistryValue]]

Latest revision as of 20:11, 28 March 2016


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.