Contents

CGDisplayCopyAllDisplayModes(_:_:)

Returns information about the currently available display modes.

Declaration

func CGDisplayCopyAllDisplayModes(_ display: CGDirectDisplayID, _ options: CFDictionary?) -> CFArray?

Parameters

  • display:

    The identifier of the display to be accessed.

  • options:

    Reserved for future expansion. Pass NULL for now.

Return Value

An array of display modes that the display supports, or NULL if the display is invalid. The caller is responsible for releasing the array. For more information on accessing the properties of a display mode, see Getting Information About a Display Mode.

See Also

Functions