Habe das gefunden im apiviewer:
RegSetValueEx
Requires Windows NT 3.1 or later; Requires Windows 95 or later
The RegSetValueEx function stores data in the value field of an open registry key. It can also set additional value and type information for the specified key.
Ich weiß nicht obs die weiterhilft!