Removes a named value from the specified registry key.
The key identified by the hKey parameter must have been opened with KEY_SET_VALUE access (KEY_WRITE access includes KEY_SET_VALUE access).
LONG RtRegDeleteValue(
    HKEY hKey,            // handle to key
    LPCTSTR lpValueName   // address of value name
);
hKey 
lpValueName 
ERROR_SUCCESS 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib | 
Registry system calls, RtRegSetValueEx