Contents

CGUnregisterScreenRefreshCallback(_:_:)

Removes a previously registered callback function invoked when local displays are refreshed or modified.

Declaration

func CGUnregisterScreenRefreshCallback(_ callback: CGScreenRefreshCallback, _ userInfo: UnsafeMutableRawPointer?)

Parameters

  • callback:

    A pointer to the callback function to be unregistered.

  • userInfo:

    A pointer to user-defined data, or NULL. You should pass the same value you used when you registered the callback function.

Discussion

When you call this function, the two arguments must match the registered entry to be removed.

See Also

Functions