CGEvent.CreateTap Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
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
- location
- CGEventTapLocation
- place
- CGEventTapPlacement
- options
- CGEventTapOptions
- mask
- CGEventMask
- 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
- location
- CGEventTapLocation
- place
- CGEventTapPlacement
- options
- CGEventTapOptions
- mask
- CGEventMask
- data
-
IntPtr
nativeint