Symbian
Symbian OS Library

SYMBIAN OS V9.2

[Index] [Spacer] [Previous] [Next]



Location: CS_PORT.H

Typedef TSerialNewL

typedef CSerial*(* TSerialNewL)();

Description

function type of CSY module entry point

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.