Plug-in Reference — Messages — EE_REG_QUERY_VALUE

# EE_REG_QUERY_VALUE

Retrieves the data for the specified value from the Registry or an INI file depending on the EmEditor settings. You can send this message explicitly or by using the Editor_RegQueryValue inline function.

    EE_REG_QUERY_VALUE
    wParam = 0;
    (REG_QUERY_VALUE_INFO*)lParam = pRegQueryValueInfo;

## Parameters

pRegSetValueInfo

Pointer to the REG_QUERY_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.