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 RegDeleteValue(
    HKEY hKey,
    LPCTSTR lpValueName
);
hKey 
lpValueName 
ERROR_SUCCESS 
| Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/iwin32.h | iwin32.h iwin32rt.h  | 
rt.lib | 
This function operates in the real-time portion of your application.
iwin32 API, iwin32 Overview