Plug-in Reference — Inline Functions — Editor_GetRef

# Editor_GetRef

Retrieves the reference number of a specified plug-in. You can send this inline function or explicitly send the EE_GET_REF message.

Editor_GetRef( HWND hwnd, ATOM atom );

## Parameters

hwnd

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

atom

Specifies the atom of an specified plug-in file name.

## Return Values

The return value is the reference number of a specified plug-in. If the return value is zero, the specified plug-in can be safely unloaded from EmEditor.