Function

CFMessagePortIsValid

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

Declaration

Boolean CFMessagePortIsValid(CFMessagePortRef ms);

Parameters

ms

The message port to examine.

Return Value

true if ms can be used for communication, otherwise false.

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.

CFMessagePortGetName

Returns the name with which a CFMessagePort object is registered.

CFMessagePortIsRemote

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