Carbon


OTGetPortIconProcPtr

Header: OpenTransportProtocol.h Carbon status: Unsupported

typedef Boolean(* OTGetPortIconProcPtr) (
    OTPortRecord *port, 
    OTResourceLocator *iconLocation
);

You would declare your function like this if you were to name it MyOTGetPortIconCallback:

Boolean MyOTGetPortIconCallback (
    OTPortRecord *port, 
    OTResourceLocator *iconLocation
);
CARBON NOTES

Carbon does not support access to the Open Transport port name or icon because this information is not available on Mac OS X.


© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)