Plug-in Reference — Messages — EE_EXEC_PLUGIN

# EE_EXEC_PLUGIN

Executes a specified plug-in. You can send this message explicitly or use the Editor_ExecPlugin inline function.

    EE_EXEC_PLUGIN
    wParam = (WPARAM) (EXEC_PLUGIN_INFO*) pPluginInfo;
    lParam = 0;

## Parameters

pPluginInfo

Pointer to the EXEC_PLUGIN_INFO structure.

## Return Value

The return value is a negative value If an error occurs. Otherwise, if PLUGIN_FLAG_EXEC_COMMAND is specified, the return value is 0. If PLUGIN_FLAG_USER_MSG is specified, the meaning of the return values depends on each plug-in. If PLUGIN_FLAG_QUERY_STATUS is specified, the method returns a combination of the following values.

STATUS_ENABLED | The plug-in is enabled.
STATUS_LATCHED | The plug-in is checked.

## Version

Supported on EmEditor Professional Version 15.5 or later.