Skip to main content

CGWindowListCreateImageFromArray

Function CGWindowListCreateImageFromArray 

Source
pub unsafe extern "C-unwind" fn CGWindowListCreateImageFromArray(
    screen_bounds: CGRect,
    window_array: &CFArray,
    image_option: CGWindowImageOption,
) -> Option<CFRetained<CGImage>>
๐Ÿ‘ŽDeprecated:

Please use ScreenCaptureKit instead.

Available on crate features CGImage and CGWindow only.
Expand description

ยงSafety

window_array generic must be of the correct type.