Plug-in Reference — Messages to Plug-ins — EP_SET_UNINSTALL

# EP_SET_UNINSTALL

Uninstalls the plug-in.

EP_SET_UNINSTALL

hwnd = hwndParent;

wParam = (WPARAM) (LPTSTR) pszUninstallCommand;

lParam = (LPARAM) (LPTSTR) pszUninstallParam;

## Parameters

hwndParent

The window handle of the Plug-ins Settings dialog box.

pszUninstallCommand

Specifies the command to run when the return value is UNINSTALL_RUN_COMMAND.

pszUninstallParam

Specifies the parameter for the command to run when the return value is UNINSTALL_RUN_COMMAND.

## Return Values

The return value is one of following values.

UNINSTALL_FALSE | Does not uninstall.
UNINSTALL_SIMPLE_DELETE | Simply removes the plug-in DLL file.
UNINSTALL_RUN_COMMAND | Runs the specified command.

If the return value is TRUE, the plug-in will be uninstalled. If the return value is FALSE, the plug-in will not be uninstalled.

## Version

Supported on Version 3.00 or later. However, the return value UNINSTALL_RUN_COMMAND and pszUninstallCommand parameter and pszUninstallParam parameter are supported on Version 6.00 or later.