Partager via


CGEvent.CreateTap Méthode

Définition

Surcharges

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

Paramètres

processSerialNumber
IntPtr

nativeint

data
IntPtr

nativeint

Retours

S’applique à

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

Paramètres

data
IntPtr

nativeint

Retours

S’applique à