aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
committerValentin Popov <valentin@popov.link>2024-01-08 00:21:28 +0300
commit1b6a04ca5504955c571d1c97504fb45ea0befee4 (patch)
tree7579f518b23313e8a9748a88ab6173d5e030b227 /vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs
parent5ecd8cf2cba827454317368b68571df0d13d7842 (diff)
downloadfparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.tar.xz
fparkan-1b6a04ca5504955c571d1c97504fb45ea0befee4.zip
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs169
1 files changed, 169 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs
new file mode 100644
index 0000000..2fe6ef2
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/UI/Input/Touch/mod.rs
@@ -0,0 +1,169 @@
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn CloseGestureInfoHandle ( hgestureinfo : HGESTUREINFO ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn CloseTouchInputHandle ( htouchinput : HTOUCHINPUT ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"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 );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn GetGestureExtraArgs ( hgestureinfo : HGESTUREINFO , cbextraargs : u32 , pextraargs : *mut u8 ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn GetGestureInfo ( hgestureinfo : HGESTUREINFO , pgestureinfo : *mut GESTUREINFO ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn GetTouchInputInfo ( htouchinput : HTOUCHINPUT , cinputs : u32 , pinputs : *mut TOUCHINPUT , cbsize : i32 ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn IsTouchWindow ( hwnd : super::super::super::Foundation:: HWND , pulflags : *mut u32 ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn RegisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND , ulflags : REGISTER_TOUCH_WINDOW_FLAGS ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn SetGestureConfig ( hwnd : super::super::super::Foundation:: HWND , dwreserved : u32 , cids : u32 , pgestureconfig : *const GESTURECONFIG , cbsize : u32 ) -> super::super::super::Foundation:: BOOL );
+#[cfg(feature = "Win32_Foundation")]
+::windows_sys::core::link ! ( "user32.dll""system" #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"] fn UnregisterTouchWindow ( hwnd : super::super::super::Foundation:: HWND ) -> super::super::super::Foundation:: BOOL );
+pub type IInertiaProcessor = *mut ::core::ffi::c_void;
+pub type IManipulationProcessor = *mut ::core::ffi::c_void;
+pub type _IManipulationEvents = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const InertiaProcessor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xabb27087_4ce0_4e58_a0cb_e24df96814be);
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const ManipulationProcessor: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x597d4fb0_47fd_4aff_89b9_c6cfae8cf08e);
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub type GESTURECONFIG_ID = u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_BEGIN: GESTURECONFIG_ID = 1u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_END: GESTURECONFIG_ID = 2u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_ZOOM: GESTURECONFIG_ID = 3u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_PAN: GESTURECONFIG_ID = 4u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_ROTATE: GESTURECONFIG_ID = 5u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_TWOFINGERTAP: GESTURECONFIG_ID = 6u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_PRESSANDTAP: GESTURECONFIG_ID = 7u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const GID_ROLLOVER: GESTURECONFIG_ID = 7u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub type MANIPULATION_PROCESSOR_MANIPULATIONS = i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_NONE: MANIPULATION_PROCESSOR_MANIPULATIONS = 0i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_TRANSLATE_X: MANIPULATION_PROCESSOR_MANIPULATIONS = 1i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_TRANSLATE_Y: MANIPULATION_PROCESSOR_MANIPULATIONS = 2i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_SCALE: MANIPULATION_PROCESSOR_MANIPULATIONS = 4i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_ROTATE: MANIPULATION_PROCESSOR_MANIPULATIONS = 8i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const MANIPULATION_ALL: MANIPULATION_PROCESSOR_MANIPULATIONS = 15i32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub type REGISTER_TOUCH_WINDOW_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TWF_FINETOUCH: REGISTER_TOUCH_WINDOW_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TWF_WANTPALM: REGISTER_TOUCH_WINDOW_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub type TOUCHEVENTF_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_MOVE: TOUCHEVENTF_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_DOWN: TOUCHEVENTF_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_UP: TOUCHEVENTF_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_INRANGE: TOUCHEVENTF_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_PRIMARY: TOUCHEVENTF_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_NOCOALESCE: TOUCHEVENTF_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_PEN: TOUCHEVENTF_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHEVENTF_PALM: TOUCHEVENTF_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub type TOUCHINPUTMASKF_MASK = u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHINPUTMASKF_TIMEFROMSYSTEM: TOUCHINPUTMASKF_MASK = 1u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHINPUTMASKF_EXTRAINFO: TOUCHINPUTMASKF_MASK = 2u32;
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub const TOUCHINPUTMASKF_CONTACTAREA: TOUCHINPUTMASKF_MASK = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`*"]
+pub struct GESTURECONFIG {
+ pub dwID: GESTURECONFIG_ID,
+ pub dwWant: u32,
+ pub dwBlock: u32,
+}
+impl ::core::marker::Copy for GESTURECONFIG {}
+impl ::core::clone::Clone for GESTURECONFIG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GESTUREINFO {
+ pub cbSize: u32,
+ pub dwFlags: u32,
+ pub dwID: u32,
+ pub hwndTarget: super::super::super::Foundation::HWND,
+ pub ptsLocation: super::super::super::Foundation::POINTS,
+ pub dwInstanceID: u32,
+ pub dwSequenceID: u32,
+ pub ullArguments: u64,
+ pub cbExtraArgs: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GESTUREINFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GESTUREINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GESTURENOTIFYSTRUCT {
+ pub cbSize: u32,
+ pub dwFlags: u32,
+ pub hwndTarget: super::super::super::Foundation::HWND,
+ pub ptsLocation: super::super::super::Foundation::POINTS,
+ pub dwInstanceID: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GESTURENOTIFYSTRUCT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GESTURENOTIFYSTRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type HGESTUREINFO = isize;
+pub type HTOUCHINPUT = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOUCHINPUT {
+ pub x: i32,
+ pub y: i32,
+ pub hSource: super::super::super::Foundation::HANDLE,
+ pub dwID: u32,
+ pub dwFlags: TOUCHEVENTF_FLAGS,
+ pub dwMask: TOUCHINPUTMASKF_MASK,
+ pub dwTime: u32,
+ pub dwExtraInfo: usize,
+ pub cxContact: u32,
+ pub cyContact: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOUCHINPUT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOUCHINPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}