Plug-in Reference — Messages — EE_GET_REF

# EE_GET_REF

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

    EE_GET_REF
    wParam = 0;
    lParam = (LPARAM)(ATOM)atom;

## Parameters

atom

Specifies the atom of a 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.