Share via


Closing a Registry Key

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

After you are done with a registry key, close the key by calling the RegCloseKey function. Calling RegCloseKey instructs Windows Mobile to flush any unwritten data to the key before closing it.

See Also

Concepts

Programmatic Registry Operations
Registry Fundamentals