Function

CFMessagePortGetName

Returns the name with which a CFMessagePort object is registered.

Declaration

CFStringRef CFMessagePortGetName(CFMessagePortRef ms);

Parameters

ms

The message port to examine.

Return Value

The registered name of ms, NULL if unnamed. Ownership follows the The Get Rule.

See Also

Examining a Message Port

CFMessagePortGetContext

Returns the context information for a CFMessagePort object.

CFMessagePortGetInvalidationCallBack

Returns the invalidation callback function for a CFMessagePort object.

CFMessagePortIsRemote

Returns a Boolean value that indicates whether a CFMessagePort object represents a remote port.

CFMessagePortIsValid

Returns a Boolean value that indicates whether a CFMessagePort object is valid and able to send or receive messages.