CFRunLoopCancelCallBack

Callback invoked when a version 0 CFRunLoopSource object is removed from a run loop mode.

Declaration

typedef void (*CFRunLoopCancelCallBack) (
   void *info,
   CFRunLoopRef rl,
   CFStringRef mode
);

Parameters

info

The info member of the CFRunLoopSourceContext structure that was used when creating the run loop source.

rl

The run loop from which the run loop source is being removed.

mode

The run loop mode from which the run loop source is being removed.

Overview

You specify this callback in the CFRunLoopSourceContext structure when creating the run loop source.

See Also

Callbacks

CFRunLoopEqualCallBack

Callback invoked to test two CFRunLoopSource objects for equality.

CFRunLoopGetPortCallBack

Callback invoked to obtain the native Mach port represented by a version 1 CFRunLoopSource object.

CFRunLoopHashCallBack

Callback invoked to compute a hash code for the info pointer of a CFRunLoopSource object.

CFRunLoopMachPerformCallBack

Callback invoked to process and optionally reply to a message received on a version 1 CFRunLoopSource object (Mach port-based sources).

CFRunLoopPerformCallBack

Callback invoked when a message is received on a version 0 CFRunLoopSource object.

CFRunLoopScheduleCallBack

Callback invoked when a version 0 CFRunLoopSource object is added to a run loop mode.