Bearbeiten

Freigeben über


CGEvent.CreateTap Method

Definition

Overloads

CreateTap(IntPtr, CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)
CreateTap(CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)

CreateTap(IntPtr, CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)

public static CoreFoundation.CFMachPort CreateTap (IntPtr processSerialNumber, CoreGraphics.CGEventTapLocation location, CoreGraphics.CGEventTapPlacement place, CoreGraphics.CGEventTapOptions options, CoreGraphics.CGEventMask mask, CoreGraphics.CGEvent.CGEventTapCallback cback, IntPtr data);
static member CreateTap : nativeint * CoreGraphics.CGEventTapLocation * CoreGraphics.CGEventTapPlacement * CoreGraphics.CGEventTapOptions * CoreGraphics.CGEventMask * CoreGraphics.CGEvent.CGEventTapCallback * nativeint -> CoreFoundation.CFMachPort

Parameters

processSerialNumber
IntPtr

nativeint

data
IntPtr

nativeint

Returns

Applies to

CreateTap(CGEventTapLocation, CGEventTapPlacement, CGEventTapOptions, CGEventMask, CGEvent+CGEventTapCallback, IntPtr)

public static CoreFoundation.CFMachPort CreateTap (CoreGraphics.CGEventTapLocation location, CoreGraphics.CGEventTapPlacement place, CoreGraphics.CGEventTapOptions options, CoreGraphics.CGEventMask mask, CoreGraphics.CGEvent.CGEventTapCallback cback, IntPtr data);
static member CreateTap : CoreGraphics.CGEventTapLocation * CoreGraphics.CGEventTapPlacement * CoreGraphics.CGEventTapOptions * CoreGraphics.CGEventMask * CoreGraphics.CGEvent.CGEventTapCallback * nativeint -> CoreFoundation.CFMachPort

Parameters

data
IntPtr

nativeint

Returns

Applies to