Function

CFMachPortGetInvalidationCallBack

Returns the invalidation callback function for a CFMachPort object.

Declaration

CFMachPortInvalidationCallBack CFMachPortGetInvalidationCallBack(CFMachPortRef port);

Parameters

port

The CFMachPort object to examine.

Return Value

The callback function invoked when port is invalidated. NULL if no callback has been set with CFMachPortSetInvalidationCallBack.

See Also

Examining a CFMachPort Object

CFMachPortGetContext

Returns the context information for a CFMachPort object.

CFMachPortGetPort

Returns the native Mach port represented by a CFMachPort object.

CFMachPortIsValid

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