CGEvent.CreateTap 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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
매개 변수
- processSerialNumber
-
IntPtr
nativeint
- location
- CGEventTapLocation
- place
- CGEventTapPlacement
- options
- CGEventTapOptions
- mask
- CGEventMask
- data
-
IntPtr
nativeint
반환
적용 대상
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
매개 변수
- location
- CGEventTapLocation
- place
- CGEventTapPlacement
- options
- CGEventTapOptions
- mask
- CGEventMask
- data
-
IntPtr
nativeint