Editor_AddRef

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

Editor_AddRef( 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 incremented. If the return value is less than or equal to zero, the specified plug-in can be safely unloaded from EmEditor.