Plug-in Reference — Inline Functions — Editor_SerialToLogical

# Editor_SerialToLogical

Converts the serial position to the logical coordinates. The serial position is the zero-based index of the character from the beginning of the entire text. You can use this inline function or explicitly send the EE_SERIAL_TO_LOGICAL message.

Editor_SerialToLogical( HWND hwnd, UINT nSerial, POINT_PTR* pptLogical );

## Parameters

hwnd

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

nSerial

Specifies a serial position to be converted.

pptLogical

Pointer to a POINT_PTR structure that will receive the converted logical coordinates.

## Return Values

The return value is not used.