Exemplo n.º 1
0
 static Win32()
 {
     CursorInfoSize = Marshal.SizeOf(new CURSORINFO());
     _inertiaQueue  = new Queue <InteractionOutput>();
     _listeners     = new Dictionary <long, InteractionOutput>();
     _timer         = new Timer(TimerElapsed, null, 100, 15);
     _callback      = CallbackFunction;
 }
Exemplo n.º 2
0
 static Win32TouchFunctions()
 {
     CursorInfoSize = Marshal.SizeOf(new CURSORINFO());
     _inertiaQueue = new Queue<InteractionOutput>();
     _listeners = new Dictionary<long, InteractionOutput>();
     _timer = new Timer(TimerElapsed, null, 100, 15);
     _callback = CallbackFunction;
 }
Exemplo n.º 3
0
 internal static extern void RegisterOutputCallbackInteractionContext([In] IntPtr interactionContext, [In] INTERACTION_CONTEXT_OUTPUT_CALLBACK outputCallback, [In, Optional] IntPtr clientData);