EXEC_PLUGIN_INFO

Used by EE_EXEC_PLUGIN message.

typedef struct _EXEC_PLUGIN_INFO {
	UINT cbSize;
	LONG nFlags;
	LPCWSTR pszName;
	WPARAM wParam;
	LPARAM lParam;
	LONG_PTR nResult;
} EXEC_PLUGIN_INFO;

Fields

cbSize

Specifies the size of this structure, sizeof( EE_PLUGIN_INFO ).

nFlags

Specifies a combination of the following values. eePluginExecuteCommand, eePluginUserMessage, and eePluginQueryStatus must be mutually exclusively specified.

PLUGIN_FLAG_EXEC_COMMAND

Runs the plug-in as if a user selected the plug-in command. The wParam and lParam parameters are ignored when this is specified.

PLUGIN_FLAG_USER_MSG

Sends a message to the plug-in using the wParam and lParam parameters.

PLUGIN_FLAG_QUERY_STATUS

Retrieves the plug-in status. The wParam and lParam parameters are ignored when this is specified.

PLUGIN_FLAG_ABSOLUTE_PATH

The pszName contains the full path to the file. If this flag is not specified, the plug-in must exist in the default plug-in folder, which is PlugIns subfolder of the EmEditor install folder.

pszName

Specifies the plug-in file name.

wParam

Specifies the first parameter to send to the plug-in. The meaning of the parameter depends on each plug-in.

lParam

Specifies the second parameter to send to the plug-in. The meaning of the parameter depends on each plug-in.

Version

Supported on EmEditor Professional Version 15.5 or later.