Share via


Reading a Registry Key or Value (Windows Embedded CE 6.0)

1/6/2010

Use the RegQueryValueEx function to read a value from the registry. RegQueryValueEx returns the type and contents of a value. Similarly, you can use RegQueryInfoKey to obtain data about a 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.

See Also

Concepts

Programmatic Registry Operations
Registry Fundamentals