Carbon


InitOpenTransportInContext

Header: OpenTransport.h Carbon status: Supported

OSStatus InitOpenTransportInContext (
    OTInitializationFlags flags, 
    OTClientContextPtr *outClientContext
);
flags
outClientContext
function result

A result code.

AVAILABILITY

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

CARBON NOTES

In Carbon, the InitOpenTransportInContext function acts like the pre-Carbon InitOpenTransport function except that it takes two additional parameters: a client context pointer and a flags parameter.

The client context pointer must have been created previously by the OTAllocClientContext function.

The flags parameter indicates whether OT should be initialized for application use or for some other target (for example, plug-ins that run in an application context but not the application itself).


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