---
title: "CVDisplayLinkStop(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvdisplaylinkstop(_:)"
---

# CVDisplayLinkStop(_:)

Stops a display link.

## Declaration

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

## Parameters

- `displayLink`: The display link to be stopped.

## Return Value

Return Value A Core Video result code. See Core Video Constants for possible values.

## Discussion

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.

## See Also

### Managing Display Links

- [CVDisplayLinkStart(_:)](corevideo/cvdisplaylinkstart(_:).md)
