Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon Open Transport 1.1.1 or higher

View Source Code:

Download Sample (“OTFindSerialPorts.zip”, 30.5K)
Download Sample (“OTFindSerialPorts.dmg”, 92.2K)


This sample demonstrates how to use the Open Transport API to find all the serial ports available to Open Transport programs. The code from this sample is featured in the latest release (v1.2) of the book "Inside Macintosh: Open Transport". Requirements: Open Transport 1.1.1 or higher Keywords: Open Transport, serial port, registry, OTGetUserPortNameFromPortRef, OTFindSerialPorts

Document Revision History

Date Notes
2003-07-22First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.