Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Reading a Registry Key or Value

Windows CE 3.0

Use the RegQueryValueEx function to read a specified value from the registry. RegQueryValueEx returns the type and contents of a value. Similarly, you can use RegQueryInfoKey to receive data about a specified key. RegQueryInfoKey returns information such as the class name, number of subkeys, and number of values associated with the key, as well as the lengths of the longest subkey name, value name, and value under the key.

© 2015 Microsoft