| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseGestureInfoHandle(hgestureinfo : HGESTUREINFO) -> super::super::super::Foundation:: BOOL); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CloseTouchInputHandle(htouchinput : HTOUCHINPUT) -> super::super::super::Foundation:: BOOL); |
| 5 |
#[cfg(feature = "Win32_Foundation")] |
| 6 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetGestureConfig(hwnd : super::super::super::Foundation:: HWND, dwreserved : u32, dwflags : u32, pcids : *const u32, pgestureconfig : *mut GESTURECONFIG, cbsize : u32) -> super::super::super::Foundation:: BOOL); |
| 7 |
#[cfg(feature = "Win32_Foundation")] |
| 8 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetGestureExtraArgs(hgestureinfo : HGESTUREINFO, cbextraargs : u32, pextraargs : *mut u8) -> super::super::super::Foundation:: BOOL); |
| 9 |
#[cfg(feature = "Win32_Foundation")] |
| 10 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetGestureInfo(hgestureinfo : HGESTUREINFO, pgestureinfo : *mut GESTUREINFO) -> super::super::super::Foundation:: BOOL); |
| 11 |
#[cfg(feature = "Win32_Foundation")] |
| 12 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTouchInputInfo(htouchinput : HTOUCHINPUT, cinputs : u32, pinputs : *mut TOUCHINPUT, cbsize : i32) -> super::super::super::Foundation:: BOOL); |
| 13 |
#[cfg(feature = "Win32_Foundation")] |
| 14 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsTouchWindow(hwnd : super::super::super::Foundation:: HWND, pulflags : *mut u32) -> super::super::super::Foundation:: BOOL); |
| 15 |
#[cfg(feature = "Win32_Foundation")] |
| 16 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterTouchWindow(hwnd : super::super::super::Foundation:: HWND, ulflags : REGISTER_TOUCH_WINDOW_FLAGS) -> super::super::super::Foundation:: BOOL); |
| 17 |
#[cfg(feature = "Win32_Foundation")] |
| 18 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetGestureConfig(hwnd : super::super::super::Foundation:: HWND, dwreserved : u32, cids : u32, pgestureconfig : *const GESTURECONFIG, cbsize : u32) -> super::super::super::Foundation:: BOOL); |
| 19 |
#[cfg(feature = "Win32_Foundation")] |
| 20 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnregisterTouchWindow(hwnd : super::super::super::Foundation:: HWND) -> super::super::super::Foundation:: BOOL); |
| 21 |
pub type IInertiaProcessor = *mut ::core::ffi::c_void; |
| 22 |
pub type IManipulationProcessor = *mut ::core::ffi::c_void; |
| 23 |
pub type _IManipulationEvents = *mut ::core::ffi::c_void; |
| 24 |
pub const GID_BEGIN: GESTURECONFIG_ID = 1u32; |
| 25 |
pub const GID_END: GESTURECONFIG_ID = 2u32; |
| 26 |
pub const GID_PAN: GESTURECONFIG_ID = 4u32; |
| 27 |
pub const GID_PRESSANDTAP: GESTURECONFIG_ID = 7u32; |
| 28 |
pub const GID_ROLLOVER: GESTURECONFIG_ID = 7u32; |
| 29 |
pub const GID_ROTATE: GESTURECONFIG_ID = 5u32; |
| 30 |
pub const GID_TWOFINGERTAP: GESTURECONFIG_ID = 6u32; |
| 31 |
pub const GID_ZOOM: GESTURECONFIG_ID = 3u32; |
| 32 |
pub const InertiaProcessor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xabb27087_4ce0_4e58_a0cb_e24df96814be); |
| 33 |
pub const MANIPULATION_ALL: MANIPULATION_PROCESSOR_MANIPULATIONS = 15i32; |
| 34 |
pub const MANIPULATION_NONE: MANIPULATION_PROCESSOR_MANIPULATIONS = 0i32; |
| 35 |
pub const MANIPULATION_ROTATE: MANIPULATION_PROCESSOR_MANIPULATIONS = 8i32; |
| 36 |
pub const MANIPULATION_SCALE: MANIPULATION_PROCESSOR_MANIPULATIONS = 4i32; |
| 37 |
pub const MANIPULATION_TRANSLATE_X: MANIPULATION_PROCESSOR_MANIPULATIONS = 1i32; |
| 38 |
pub const MANIPULATION_TRANSLATE_Y: MANIPULATION_PROCESSOR_MANIPULATIONS = 2i32; |
| 39 |
pub const ManipulationProcessor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x597d4fb0_47fd_4aff_89b9_c6cfae8cf08e); |
| 40 |
pub const TOUCHEVENTF_DOWN: TOUCHEVENTF_FLAGS = 2u32; |
| 41 |
pub const TOUCHEVENTF_INRANGE: TOUCHEVENTF_FLAGS = 8u32; |
| 42 |
pub const TOUCHEVENTF_MOVE: TOUCHEVENTF_FLAGS = 1u32; |
| 43 |
pub const TOUCHEVENTF_NOCOALESCE: TOUCHEVENTF_FLAGS = 32u32; |
| 44 |
pub const TOUCHEVENTF_PALM: TOUCHEVENTF_FLAGS = 128u32; |
| 45 |
pub const TOUCHEVENTF_PEN: TOUCHEVENTF_FLAGS = 64u32; |
| 46 |
pub const TOUCHEVENTF_PRIMARY: TOUCHEVENTF_FLAGS = 16u32; |
| 47 |
pub const TOUCHEVENTF_UP: TOUCHEVENTF_FLAGS = 4u32; |
| 48 |
pub const TOUCHINPUTMASKF_CONTACTAREA: TOUCHINPUTMASKF_MASK = 4u32; |
| 49 |
pub const TOUCHINPUTMASKF_EXTRAINFO: TOUCHINPUTMASKF_MASK = 2u32; |
| 50 |
pub const TOUCHINPUTMASKF_TIMEFROMSYSTEM: TOUCHINPUTMASKF_MASK = 1u32; |
| 51 |
pub const TWF_FINETOUCH: REGISTER_TOUCH_WINDOW_FLAGS = 1u32; |
| 52 |
pub const TWF_WANTPALM: REGISTER_TOUCH_WINDOW_FLAGS = 2u32; |
| 53 |
pub type GESTURECONFIG_ID = u32; |
| 54 |
pub type MANIPULATION_PROCESSOR_MANIPULATIONS = i32; |
| 55 |
pub type REGISTER_TOUCH_WINDOW_FLAGS = u32; |
| 56 |
pub type TOUCHEVENTF_FLAGS = u32; |
| 57 |
pub type TOUCHINPUTMASKF_MASK = u32; |
| 58 |
#[repr(C)] |
| 59 |
pub struct GESTURECONFIG { |
| 60 |
pub dwID: GESTURECONFIG_ID, |
| 61 |
pub dwWant: u32, |
| 62 |
pub dwBlock: u32, |
| 63 |
} |
| 64 |
impl ::core::marker::Copy for GESTURECONFIG {} |
| 65 |
impl ::core::clone::Clone for GESTURECONFIG { |
| 66 |
fn clone(&self) -> Self { |
| 67 |
*self |
| 68 |
} |
| 69 |
} |
| 70 |
#[repr(C)] |
| 71 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 72 |
#[cfg(feature = "Win32_Foundation")] |
| 73 |
pub struct GESTUREINFO { |
| 74 |
pub cbSize: u32, |
| 75 |
pub dwFlags: u32, |
| 76 |
pub dwID: u32, |
| 77 |
pub hwndTarget: super::super::super::Foundation::HWND, |
| 78 |
pub ptsLocation: super::super::super::Foundation::POINTS, |
| 79 |
pub dwInstanceID: u32, |
| 80 |
pub dwSequenceID: u32, |
| 81 |
pub ullArguments: u64, |
| 82 |
pub cbExtraArgs: u32, |
| 83 |
} |
| 84 |
#[cfg(feature = "Win32_Foundation")] |
| 85 |
impl ::core::marker::Copy for GESTUREINFO {} |
| 86 |
#[cfg(feature = "Win32_Foundation")] |
| 87 |
impl ::core::clone::Clone for GESTUREINFO { |
| 88 |
fn clone(&self) -> Self { |
| 89 |
*self |
| 90 |
} |
| 91 |
} |
| 92 |
#[repr(C)] |
| 93 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 94 |
#[cfg(feature = "Win32_Foundation")] |
| 95 |
pub struct GESTURENOTIFYSTRUCT { |
| 96 |
pub cbSize: u32, |
| 97 |
pub dwFlags: u32, |
| 98 |
pub hwndTarget: super::super::super::Foundation::HWND, |
| 99 |
pub ptsLocation: super::super::super::Foundation::POINTS, |
| 100 |
pub dwInstanceID: u32, |
| 101 |
} |
| 102 |
#[cfg(feature = "Win32_Foundation")] |
| 103 |
impl ::core::marker::Copy for GESTURENOTIFYSTRUCT {} |
| 104 |
#[cfg(feature = "Win32_Foundation")] |
| 105 |
impl ::core::clone::Clone for GESTURENOTIFYSTRUCT { |
| 106 |
fn clone(&self) -> Self { |
| 107 |
*self |
| 108 |
} |
| 109 |
} |
| 110 |
pub type HGESTUREINFO = isize; |
| 111 |
pub type HTOUCHINPUT = isize; |
| 112 |
#[repr(C)] |
| 113 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 114 |
#[cfg(feature = "Win32_Foundation")] |
| 115 |
pub struct TOUCHINPUT { |
| 116 |
pub x: i32, |
| 117 |
pub y: i32, |
| 118 |
pub hSource: super::super::super::Foundation::HANDLE, |
| 119 |
pub dwID: u32, |
| 120 |
pub dwFlags: TOUCHEVENTF_FLAGS, |
| 121 |
pub dwMask: TOUCHINPUTMASKF_MASK, |
| 122 |
pub dwTime: u32, |
| 123 |
pub dwExtraInfo: usize, |
| 124 |
pub cxContact: u32, |
| 125 |
pub cyContact: u32, |
| 126 |
} |
| 127 |
#[cfg(feature = "Win32_Foundation")] |
| 128 |
impl ::core::marker::Copy for TOUCHINPUT {} |
| 129 |
#[cfg(feature = "Win32_Foundation")] |
| 130 |
impl ::core::clone::Clone for TOUCHINPUT { |
| 131 |
fn clone(&self) -> Self { |
| 132 |
*self |
| 133 |
} |
| 134 |
} |