<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGDisplayRemoveReconfigurationCallback(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGDisplayRemoveReconfigurationCallback"
  },
  "title" : "CGDisplayRemoveReconfigurationCallback(_:_:)"
}
-->

# CGDisplayRemoveReconfigurationCallback(_:_:)

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

```
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(_:_:)`](/documentation/CoreGraphics/CGDisplayRegisterReconfigurationCallback(_:_:)) when registering the callback.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)