This function deletes a key in the specified section of the opened file.
DeleteKey (Section As String, KeyName As String) As Long
Parameters
Section
[in] Name of the section of the key to delete.
KeyName
[in] Name of the key to delete.
Return Value
0: success
1: failed, cannot delete key