OnOpen Event

The port has been opened by third-party serial application.

Syntax

Visual Basic
Sub OnOpen(pid As Long, Path As String)
Visual C++ (MFC)
void OnOpen(LONG pid, LPCTSTR Path);

Parameters

pid

PID of the application opened the port.

Path

Full path to the application opened the port.