Gets a list of currently installed event taps.
- macOS 10.4+
- Mac Catalyst 13.0+
- Core Graphics
The length of the array you provide in the
An array of event tap information structures. You are responsible for allocating storage for the array. On return, your array contains a list of currently installed event taps. If you pass
NULLin this parameter, the
maxparameter is ignored, and the
Number Of Taps
eventvariable is filled in with the number of event taps that are currently installed.
A pointer to a
CGTablevariable. On return, the variable contains actual number of array elements filled in.
A result code. See the result codes described in Quartz Display Services.
Each call to this function has the side effect of resetting the minimum and maximum latency values in the
tap parameter to the corresponding average values. Values reported in these fields reflect the minimum and maximum values seen since the preceding call, or the instantiation of the tap. This allows a monitoring tool to evaluate the best and worst case latency over time and under various operating conditions.