CGDisplayIOServicePort(_:)
Returns the I/O Kit service port of the specified display.
Declaration
func CGDisplayIOServicePort(_ display: CGDirectDisplayID) -> io_service_tParameters
- display:
The identifier of the display to be accessed.
Return Value
The I/O Kit service port for the specified display.
Discussion
An I/O Kit service port can be passed to I/O Kit to obtain additional information about the display.
The port is owned by the graphics system and should not be destroyed.
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()