C# Class Alteridem.WinTouch.NativeMethods

显示文件 Open project: rprouse/WinTouch.NET

Public Methods

Method Description
CloseGestureInfoHandle ( IntPtr gestureInfoHandle ) : bool

Closes the gesture info handle.

GetGestureInfo ( IntPtr gestureInfoHandle, GestureInfo &gestureInfo ) : bool

Gets the gesture info.

SetGestureConfig ( IntPtr hwnd ) : bool

Registers the HWND to receive all gestures.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd353231%28v=vs.85%29.aspx

SetGestureConfig ( IntPtr hwnd, GestureConfig configs ) : bool

Registers the HWND to receive specific gestures.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd353231%28v=vs.85%29.aspx

Private Methods

Method Description
NativeMethods ( ) : System

Method Details

CloseGestureInfoHandle() public static method

Closes the gesture info handle.
public static CloseGestureInfoHandle ( IntPtr gestureInfoHandle ) : bool
gestureInfoHandle System.IntPtr The gesture info handle.
return bool

GetGestureInfo() public static method

Gets the gesture info.
public static GetGestureInfo ( IntPtr gestureInfoHandle, GestureInfo &gestureInfo ) : bool
gestureInfoHandle System.IntPtr The gesture info handle.
gestureInfo GestureInfo The gesture info.
return bool

SetGestureConfig() public static method

Registers the HWND to receive all gestures.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd353231%28v=vs.85%29.aspx
public static SetGestureConfig ( IntPtr hwnd ) : bool
hwnd System.IntPtr The HWND.
return bool

SetGestureConfig() public static method

Registers the HWND to receive specific gestures.
http://msdn.microsoft.com/en-us/library/windows/desktop/dd353231%28v=vs.85%29.aspx
public static SetGestureConfig ( IntPtr hwnd, GestureConfig configs ) : bool
hwnd System.IntPtr The HWND.
configs GestureConfig The gesture configurations
return bool