Function

CFMessagePortSetName

Sets the name of a local CFMessagePort object.

Declaration

Boolean CFMessagePortSetName(CFMessagePortRef ms, CFStringRef newName);

Parameters

ms

The local message port to examine.

newName

The new name for ms.

Return Value

true if the name change succeeds, otherwise false.

Discussion

Other threads and processes can connect to a named message port with CFMessagePortCreateRemote.

See Also

Configuring a CFMessagePort Object

CFMessagePortCreateRunLoopSource

Creates a CFRunLoopSource object for a CFMessagePort object.

CFMessagePortSetInvalidationCallBack

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

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