Carbon


OTSetDeviceTypeInPortRef

Header: OpenTransport.h Carbon status: Supported

OTPortRef OTSetDeviceTypeInPortRef (
    OTPortRef ref, 
    OTDeviceType devType
);
ref
devType

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.

CARBON NOTES

OT ports are read only in Carbon. In Mac OS X, code that communicates directly with network interfaces must use the IOKit API.


© 2000 Apple Computer, Inc. — (Last Updated 5/4/2000)