Plug-in Reference — Inline Functions — Editor_GetCmdID

# Editor_GetCmdID

Obtains the Plug-in command ID. You can use this inline function or explicitly send the EE_GET_CMD_ID message.

Editor_GetCmdID( HWND hwnd, HINSTANCE hInstance );

## Parameters

hwnd

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

hInstance

Specifies the Plug-in instance handle.

## Return Values

Returns command ID to run this Plug-in.