Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_AddRef

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

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.

Copyright © 2003-2016 by Emurasoft, Inc.