EE_ADD_REF

Increments the reference number of the plug-in. You can send this message explicitly or use the Editor_AddRef inline function.

EE_ADD_REF
wParam = 0;
lParam = (LPARAM)(HINSTANCE)hInstance;

Parameters

hInstance

Specifies the instance handle for the plug-in.

Return Values

The return value is the reference number of the plug-in after incremented. If the return value is less than or equal to zero, the specified plug-in can be safely unloaded from EmEditor.