Plug-in Reference — Inline Functions — Editor_GetVersion

# Editor_GetVersion

Returns the version number. You can use this inline function or explicitly send the EE_GET_VERSION message.

Editor_GetVersion( HWND hwnd );

Editor_GetVersionEx( HWND hwnd, int* pnProductType );

## Parameters

hwnd

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

pnProductType

Specifies a pointer to an integer value. This message returns one of the following value.

VERSION_PRO | EmEditor Professional
VERSION_STD | EmEditor Standard

## Return Values

Returns the version number multiplied by 10000. For instance, if the version number is 25.1.907, the return value will be 251907.