Plug-in Reference — Messages — EE_REG_SET_VALUE

# EE_REG_SET_VALUE

Sets a value into the Registry or an INI file depending on the EmEditor settings. You can send this message explicitly or by using the Editor_RegSetValue inline function.

    EE_REG_SET_VALUE
    wParam = 0;
    (REG_SET_VALUE_INFO*)lParam = pRegSetValueInfo;

## Parameters

pRegSetValueInfo

Pointer to the REG_SET_VALUE_INFO structure.

## Return Values

If the message succeeds, the return value is ERROR_SUCCESS.

If the message fails, the return value is a nonzero error code defined in Winerror.h.

## Version

Supported on EmEditor Version 7.00 or later.