Contents

CGDisplayRemoveReconfigurationCallback(_:_:)

Removes the registration of a callback function that’s invoked whenever a local display is reconfigured.

Declaration

func CGDisplayRemoveReconfigurationCallback(_ callback: CGDisplayReconfigurationCallBack?, _ userInfo: UnsafeMutableRawPointer?) -> CGError

Parameters

  • callback:

    A pointer to the callback function associated with the registration to be removed.

  • userInfo:

    A pointer to user-defined data associated with the registration to be removed, or NULL. This is the same pointer that’s passed to the function Cgdisplayregisterreconfigurationcallback(_:_:) when registering the callback.

Discussion

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

See Also

Functions