Location:
cs_port.h
Link against:
typedef CSerial* (*TSerialNewL)();
Supported from 5.0
This typedef defines the form of the ordinal-1 entry point function
to a serial protocol module. The function should create and return a concrete
CSerial
-derived class, which will then be used by the comms
server.
Each serial protocol module should only ever create a single serial
protocol factory object. If the entry point is called twice without the first
factory object being destroyed, this function should leave with
KErrGeneral
.