Function

CFMessagePortSetInvalidationCallBack(_:_:)

Sets the callback function invoked when a CFMessagePort object is invalidated.

Declaration

func CFMessagePortSetInvalidationCallBack(_ ms: CFMessagePort!, _ callout: CFMessagePortInvalidationCallBack!)

Parameters

ms

The message port to examine.

callout

The callback function to invoke when ms is invalidated. Pass NULL to remove a callback.

Discussion

If ms is already invalid, callout is invoked immediately.

See Also

Configuring a CFMessagePort Object

func CFMessagePortSetName(CFMessagePort!, CFString!) -> Bool

Sets the name of a local CFMessagePort object.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software