<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.4.0 - 15.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVDisplayLinkStop(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "c:@F@CVDisplayLinkStop"
  },
  "title" : "CVDisplayLinkStop(_:)"
}
-->

# CVDisplayLinkStop(_:)

Stops a display link.

```
func CVDisplayLinkStop(_ displayLink: CVDisplayLink) -> CVReturn
```

## Parameters

`displayLink`

The display link to be stopped.

## Return Value

A Core Video result code. See [Core Video Constants](/documentation/CoreVideo/core-video-constants) for possible values.

## Discussion

If the specified display link is already stopped, `CVDisplayLinkStop` returns an error.

In macOS 10.4 and later, the display link thread is automatically stopped if the user employs Fast User Switching. The display link is restarted when switching back to the original user.

---

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)