Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: cs_port.h
Link against:

Typedef TSerialNewL

typedef CSerial* (*TSerialNewL)();

Support

Supported from 5.0

Description

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.