Contents

CGReleaseAllDisplays()

Releases all captured displays.

Declaration

func CGReleaseAllDisplays() -> CGError

Return Value

A result code. See Core Graphics Data Types and Constants.

Discussion

This function releases all captured displays and restores the display modes to the user’s preferences. It may be used in conjunction with any of the functions that capture displays, such as CGCaptureAllDisplays().

See Also

Functions