CGShieldingWindowID(_:)
Returns the window ID of the shield window for a captured display.
Declaration
func CGShieldingWindowID(_ display: CGDirectDisplayID) -> CGWindowIDParameters
- display:
The identifier of the display to be accessed.
Return Value
The window ID of the shield window for the specified display, or NULL if the display is not shielded.
Discussion
To prevent updates by direct-to-screen programs, Quartz draws a shield window that fills the entire screen of a captured display.
This function is not recommended for use in applications. Note that the graphics context associated with this window is not a full-featured drawing context. To get a full-featured drawing context for a captured display, you should use the function CGDisplayGetDrawingContext(_:).
See Also
Functions
CGAcquireDisplayFadeReservation(_:_:)CGAssociateMouseAndMouseCursorPosition(_:)CGBeginDisplayConfiguration(_:)CGCancelDisplayConfiguration(_:)CGCaptureAllDisplays()CGCaptureAllDisplaysWithOptions(_:)CGCompleteDisplayConfiguration(_:_:)CGConfigureDisplayFadeEffect(_:_:_:_:_:_:)CGConfigureDisplayMirrorOfDisplay(_:_:_:)CGConfigureDisplayMode(_:_:_:)CGConfigureDisplayOrigin(_:_:_:_:)CGConfigureDisplayStereoOperation(_:_:_:_:)CGConfigureDisplayWithDisplayMode(_:_:_:_:)CGCursorIsDrawnInFramebuffer()CGCursorIsVisible()