Decrements the reference number of the plug-in. You can use this inline function or explicitly send the EE_RELEASE message.
Editor_Release( HWND hwnd, HINSTANCE hInstance );
Specifies the window handle of the view or frame of EmEditor.
Specifies the instance handle for the plug-in.
The return value is the reference number of the plug-in after it's been decremented. If the return value is less than or equal to zero, the specified plug-in can be safely unloaded from EmEditor.