Plug-in Reference — Inline Functions — Editor_Release

# Editor_Release

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 );

## Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

hInstance

Specifies the instance handle for the plug-in.

## Return Values

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.