This method (on Microsoft Windows) writes a DWORD entry to the Registry, given a key and value.
This method works exactly as if you were using the Microsoft Windows Registry editor and chose Add Value, selecting the data type
REG_DWORD. The
Entry argument of the method corresponds to the
Value Name you enter, and the
Value argument corresponds to what you type in the
DWORD editor.
The Key must exist in the Registry. If the
Entry argument is not already in the Registry, a new entry is created and its value set to
Value. If the
Entry argument exists in the Registry for the specified key, the value of the entry is set to the new value.