CGRegisterScreenRefreshCallback

Function CGRegisterScreenRefreshCallback 

Source
pub unsafe extern "C-unwind" fn CGRegisterScreenRefreshCallback(
    callback: CGScreenRefreshCallback,
    user_info: *mut c_void,
) -> CGError
๐Ÿ‘ŽDeprecated: No longer supported
Available on crate features CGError and CGRemoteOperation only.
Expand description

ยงSafety

  • callback must be implemented correctly.
  • user_info must be a valid pointer or null.