Table of Contents        Previous topic       Next topic       

The Extension Interface->Variant Specific Interface Calls->GetSerialPorts()

extern "C" LONG GetSerialPorts(LONG nExtensionState, BYTE nBuffAddress, BYTE nByte)

This call allows the extension to modify the attributes and number of serial ports supported by a particular variant.

The extension should return a struct tagSerialPort* that points to the start of an array of structures containing the attributes of the supported serial ports.

If an extension does not wish to handle this call then is should return NULL.