Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Use the RegSetValueExfunction to add a value to or alter a value in a registry key. If the value that you want to change does not exist, RegSetValueExcreates a value and the associated data. You can also name the type of data as you enter the data into the key. Because all values are stored and returned in a binary format, labeling data does not affect how Windows Mobile views it. However, for the sake of third-party registry editors, label your values appropriately.

See Also