CGEventTapCreateForPSN

Function CGEventTapCreateForPSN 

Source
pub unsafe extern "C-unwind" fn CGEventTapCreateForPSN(
    process_serial_number: NonNull<c_void>,
    place: CGEventTapPlacement,
    options: CGEventTapOptions,
    events_of_interest: CGEventMask,
    callback: CGEventTapCallBack,
    user_info: *mut c_void,
) -> Option<CFRetained<CFMachPort>>
👎Deprecated: renamed to CGEvent::tap_create_for_psn
Available on crate features CGEvent and CGEventTypes only.