public static void Post(CGEvent evt, CGEventTapLocation location) { if (evt == null) { throw new ArgumentNullException("evt"); } CGEventPost(location, evt.Handle); }
public static void PostToPSN(CGEvent evt, IntPtr processSerialNumber) { if (evt == null) { throw new ArgumentNullException("evt"); } CGEventPostToPSN(processSerialNumber, evt.Handle); }
public static void TapPostEven(IntPtr tapProxyEvent, CGEvent evt) { if (evt == null) { throw new ArgumentNullException("evt"); } CGEventTapPostEvent(tapProxyEvent, evt.Handle); }