RegDeleteValue

RegDeleteValue removes the specified value from the specified registry key.

Syntax

Copy
LONG RTAPI RegDeleteValue(
    HKEY       hKey,
    LPCTSTR    lpValueName 
  );

Parameters

hKey

 A handle to an open registry key.

lpValueName

Registry value to be removed.

Return Value

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is a nonzero error code.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

windows.h rtkrnl.lib

See Also: