Contents

CGCancelDisplayConfiguration(_:)

Cancels a set of display configuration changes.

Declaration

func CGCancelDisplayConfiguration(_ config: CGDisplayConfigRef?) -> CGError

Parameters

  • config:

    The display configuration to cancel. On return, the configuration is no longer valid.

Return Value

A result code. If the request to cancel a display configuration is successful, the result is kCGErrorSuccess. For other possible values, see CGError.

Discussion

This function abandons a display configuration, causing the object to release.

See Also

Functions