Contents

CGDisplayCopyDisplayMode(_:)

Returns information about a display’s current configuration.

Declaration

func CGDisplayCopyDisplayMode(_ display: CGDirectDisplayID) -> CGDisplayMode?

Parameters

  • display:

    The identifier of the display to be accessed.

Return Value

A display-mode opaque-type reference, or NULL if the display is invalid. In Objective-C, you’re responsible for releasing the display mode using CGDisplayModeRelease.

See Also

Functions