Compartir a través de


CGEvent.CreateTap Método

Definición

Sobrecargas

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

Parámetros

processSerialNumber
IntPtr

nativeint

data
IntPtr

nativeint

Devoluciones

Se aplica a

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

Parámetros

data
IntPtr

nativeint

Devoluciones

Se aplica a