CGConfigureDisplayWithDisplayMode

Function CGConfigureDisplayWithDisplayMode 

Source
pub unsafe extern "C-unwind" fn CGConfigureDisplayWithDisplayMode(
    config: CGDisplayConfigRef,
    display: CGDirectDisplayID,
    mode: Option<&CGDisplayMode>,
    options: Option<&CFDictionary>,
) -> CGError
Available on crate features CGDirectDisplay and CGDisplayConfiguration and CGError only.
Expand description

ยงSafety

  • config must be a valid pointer or null.
  • options generics must be of the correct type.