CGDisplayStreamCreate

Function CGDisplayStreamCreate 

Source
pub unsafe extern "C-unwind" fn CGDisplayStreamCreate(
    display: CGDirectDisplayID,
    output_width: usize,
    output_height: usize,
    pixel_format: i32,
    properties: Option<&CFDictionary>,
    handler: CGDisplayStreamFrameAvailableHandler,
) -> Option<CFRetained<CGDisplayStream>>
👎Deprecated: renamed to CGDisplayStream::new
Available on crate feature CGDirectDisplay and crate feature CGDisplayStream and crate feature block2 and crate feature objc2-io-surface and non-watchOS only.