The Start method will start sniffing of the serial port you supply as the argument.

BOOL Start(
 BSTR PortName// name of the serial port to sniff
);


Parameters
PortName     [in] Name of the serial port to sniff. Could be any but not longer than 128 characters

Return Values   

If the function succeeds, the return value is TRUE. If the port is already being sniffed or does not exist, the return value is FALSE.

Remarks   

Use Stop method to stop sniffing a serial port. If your program exits without calling Stop method, it will be called automatically in Serial Port Monitor ActiveX’s object destructor.


See also

Stop method