| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnableMouseInPointer(fenable : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); |
| 3 |
#[cfg(feature = "Win32_Foundation")] |
| 4 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPointerCursorId(pointerid : u32, cursorid : *mut u32) -> super::super::super::Foundation:: BOOL); |
| 5 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls"))] |
| 6 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`"] fn GetPointerDevice(device : super::super::super::Foundation:: HANDLE, pointerdevice : *mut super::super::Controls:: POINTER_DEVICE_INFO) -> super::super::super::Foundation:: BOOL); |
| 7 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| 8 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] fn GetPointerDeviceCursors(device : super::super::super::Foundation:: HANDLE, cursorcount : *mut u32, devicecursors : *mut super::super::Controls:: POINTER_DEVICE_CURSOR_INFO) -> super::super::super::Foundation:: BOOL); |
| 9 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| 10 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] fn GetPointerDeviceProperties(device : super::super::super::Foundation:: HANDLE, propertycount : *mut u32, pointerproperties : *mut super::super::Controls:: POINTER_DEVICE_PROPERTY) -> super::super::super::Foundation:: BOOL); |
| 11 |
#[cfg(feature = "Win32_Foundation")] |
| 12 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPointerDeviceRects(device : super::super::super::Foundation:: HANDLE, pointerdevicerect : *mut super::super::super::Foundation:: RECT, displayrect : *mut super::super::super::Foundation:: RECT) -> super::super::super::Foundation:: BOOL); |
| 13 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls"))] |
| 14 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`"] fn GetPointerDevices(devicecount : *mut u32, pointerdevices : *mut super::super::Controls:: POINTER_DEVICE_INFO) -> super::super::super::Foundation:: BOOL); |
| 15 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 16 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFrameInfo(pointerid : u32, pointercount : *mut u32, pointerinfo : *mut POINTER_INFO) -> super::super::super::Foundation:: BOOL); |
| 17 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 18 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFrameInfoHistory(pointerid : u32, entriescount : *mut u32, pointercount : *mut u32, pointerinfo : *mut POINTER_INFO) -> super::super::super::Foundation:: BOOL); |
| 19 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 20 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFramePenInfo(pointerid : u32, pointercount : *mut u32, peninfo : *mut POINTER_PEN_INFO) -> super::super::super::Foundation:: BOOL); |
| 21 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 22 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFramePenInfoHistory(pointerid : u32, entriescount : *mut u32, pointercount : *mut u32, peninfo : *mut POINTER_PEN_INFO) -> super::super::super::Foundation:: BOOL); |
| 23 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 24 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFrameTouchInfo(pointerid : u32, pointercount : *mut u32, touchinfo : *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation:: BOOL); |
| 25 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 26 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerFrameTouchInfoHistory(pointerid : u32, entriescount : *mut u32, pointercount : *mut u32, touchinfo : *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation:: BOOL); |
| 27 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 28 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerInfo(pointerid : u32, pointerinfo : *mut POINTER_INFO) -> super::super::super::Foundation:: BOOL); |
| 29 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 30 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerInfoHistory(pointerid : u32, entriescount : *mut u32, pointerinfo : *mut POINTER_INFO) -> super::super::super::Foundation:: BOOL); |
| 31 |
#[cfg(feature = "Win32_Foundation")] |
| 32 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPointerInputTransform(pointerid : u32, historycount : u32, inputtransform : *mut INPUT_TRANSFORM) -> super::super::super::Foundation:: BOOL); |
| 33 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 34 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerPenInfo(pointerid : u32, peninfo : *mut POINTER_PEN_INFO) -> super::super::super::Foundation:: BOOL); |
| 35 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 36 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerPenInfoHistory(pointerid : u32, entriescount : *mut u32, peninfo : *mut POINTER_PEN_INFO) -> super::super::super::Foundation:: BOOL); |
| 37 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 38 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerTouchInfo(pointerid : u32, touchinfo : *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation:: BOOL); |
| 39 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 40 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerTouchInfoHistory(pointerid : u32, entriescount : *mut u32, touchinfo : *mut POINTER_TOUCH_INFO) -> super::super::super::Foundation:: BOOL); |
| 41 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 42 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn GetPointerType(pointerid : u32, pointertype : *mut super::super::WindowsAndMessaging:: POINTER_INPUT_TYPE) -> super::super::super::Foundation:: BOOL); |
| 43 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] |
| 44 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] fn GetRawPointerDeviceData(pointerid : u32, historycount : u32, propertiescount : u32, pproperties : *const super::super::Controls:: POINTER_DEVICE_PROPERTY, pvalues : *mut i32) -> super::super::super::Foundation:: BOOL); |
| 45 |
::windows_targets::link!("user32.dll" "system" fn GetUnpredictedMessagePos() -> u32); |
| 46 |
#[cfg(feature = "Win32_Foundation")] |
| 47 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeTouchInjection(maxcount : u32, dwmode : TOUCH_FEEDBACK_MODE) -> super::super::super::Foundation:: BOOL); |
| 48 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] |
| 49 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn InjectSyntheticPointerInput(device : super::super::Controls:: HSYNTHETICPOINTERDEVICE, pointerinfo : *const super::super::Controls:: POINTER_TYPE_INFO, count : u32) -> super::super::super::Foundation:: BOOL); |
| 50 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 51 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn InjectTouchInput(count : u32, contacts : *const POINTER_TOUCH_INFO) -> super::super::super::Foundation:: BOOL); |
| 52 |
#[cfg(feature = "Win32_Foundation")] |
| 53 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsMouseInPointerEnabled() -> super::super::super::Foundation:: BOOL); |
| 54 |
#[cfg(feature = "Win32_Foundation")] |
| 55 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SkipPointerFrameMessages(pointerid : u32) -> super::super::super::Foundation:: BOOL); |
| 56 |
pub const POINTER_CHANGE_FIFTHBUTTON_DOWN: POINTER_BUTTON_CHANGE_TYPE = 9i32; |
| 57 |
pub const POINTER_CHANGE_FIFTHBUTTON_UP: POINTER_BUTTON_CHANGE_TYPE = 10i32; |
| 58 |
pub const POINTER_CHANGE_FIRSTBUTTON_DOWN: POINTER_BUTTON_CHANGE_TYPE = 1i32; |
| 59 |
pub const POINTER_CHANGE_FIRSTBUTTON_UP: POINTER_BUTTON_CHANGE_TYPE = 2i32; |
| 60 |
pub const POINTER_CHANGE_FOURTHBUTTON_DOWN: POINTER_BUTTON_CHANGE_TYPE = 7i32; |
| 61 |
pub const POINTER_CHANGE_FOURTHBUTTON_UP: POINTER_BUTTON_CHANGE_TYPE = 8i32; |
| 62 |
pub const POINTER_CHANGE_NONE: POINTER_BUTTON_CHANGE_TYPE = 0i32; |
| 63 |
pub const POINTER_CHANGE_SECONDBUTTON_DOWN: POINTER_BUTTON_CHANGE_TYPE = 3i32; |
| 64 |
pub const POINTER_CHANGE_SECONDBUTTON_UP: POINTER_BUTTON_CHANGE_TYPE = 4i32; |
| 65 |
pub const POINTER_CHANGE_THIRDBUTTON_DOWN: POINTER_BUTTON_CHANGE_TYPE = 5i32; |
| 66 |
pub const POINTER_CHANGE_THIRDBUTTON_UP: POINTER_BUTTON_CHANGE_TYPE = 6i32; |
| 67 |
pub const POINTER_FLAG_CANCELED: POINTER_FLAGS = 32768u32; |
| 68 |
pub const POINTER_FLAG_CAPTURECHANGED: POINTER_FLAGS = 2097152u32; |
| 69 |
pub const POINTER_FLAG_CONFIDENCE: POINTER_FLAGS = 16384u32; |
| 70 |
pub const POINTER_FLAG_DOWN: POINTER_FLAGS = 65536u32; |
| 71 |
pub const POINTER_FLAG_FIFTHBUTTON: POINTER_FLAGS = 256u32; |
| 72 |
pub const POINTER_FLAG_FIRSTBUTTON: POINTER_FLAGS = 16u32; |
| 73 |
pub const POINTER_FLAG_FOURTHBUTTON: POINTER_FLAGS = 128u32; |
| 74 |
pub const POINTER_FLAG_HASTRANSFORM: POINTER_FLAGS = 4194304u32; |
| 75 |
pub const POINTER_FLAG_HWHEEL: POINTER_FLAGS = 1048576u32; |
| 76 |
pub const POINTER_FLAG_INCONTACT: POINTER_FLAGS = 4u32; |
| 77 |
pub const POINTER_FLAG_INRANGE: POINTER_FLAGS = 2u32; |
| 78 |
pub const POINTER_FLAG_NEW: POINTER_FLAGS = 1u32; |
| 79 |
pub const POINTER_FLAG_NONE: POINTER_FLAGS = 0u32; |
| 80 |
pub const POINTER_FLAG_PRIMARY: POINTER_FLAGS = 8192u32; |
| 81 |
pub const POINTER_FLAG_SECONDBUTTON: POINTER_FLAGS = 32u32; |
| 82 |
pub const POINTER_FLAG_THIRDBUTTON: POINTER_FLAGS = 64u32; |
| 83 |
pub const POINTER_FLAG_UP: POINTER_FLAGS = 262144u32; |
| 84 |
pub const POINTER_FLAG_UPDATE: POINTER_FLAGS = 131072u32; |
| 85 |
pub const POINTER_FLAG_WHEEL: POINTER_FLAGS = 524288u32; |
| 86 |
pub const TOUCH_FEEDBACK_DEFAULT: TOUCH_FEEDBACK_MODE = 1u32; |
| 87 |
pub const TOUCH_FEEDBACK_INDIRECT: TOUCH_FEEDBACK_MODE = 2u32; |
| 88 |
pub const TOUCH_FEEDBACK_NONE: TOUCH_FEEDBACK_MODE = 3u32; |
| 89 |
pub type POINTER_BUTTON_CHANGE_TYPE = i32; |
| 90 |
pub type POINTER_FLAGS = u32; |
| 91 |
pub type TOUCH_FEEDBACK_MODE = u32; |
| 92 |
#[repr(C)] |
| 93 |
pub struct INPUT_INJECTION_VALUE { |
| 94 |
pub page: u16, |
| 95 |
pub usage: u16, |
| 96 |
pub value: i32, |
| 97 |
pub index: u16, |
| 98 |
} |
| 99 |
impl ::core::marker::Copy for INPUT_INJECTION_VALUE {} |
| 100 |
impl ::core::clone::Clone for INPUT_INJECTION_VALUE { |
| 101 |
fn clone(&self) -> Self { |
| 102 |
*self |
| 103 |
} |
| 104 |
} |
| 105 |
#[repr(C)] |
| 106 |
pub struct INPUT_TRANSFORM { |
| 107 |
pub Anonymous: INPUT_TRANSFORM_0, |
| 108 |
} |
| 109 |
impl ::core::marker::Copy for INPUT_TRANSFORM {} |
| 110 |
impl ::core::clone::Clone for INPUT_TRANSFORM { |
| 111 |
fn clone(&self) -> Self { |
| 112 |
*self |
| 113 |
} |
| 114 |
} |
| 115 |
#[repr(C)] |
| 116 |
pub union INPUT_TRANSFORM_0 { |
| 117 |
pub Anonymous: INPUT_TRANSFORM_0_0, |
| 118 |
pub m: [f32; 16], |
| 119 |
} |
| 120 |
impl ::core::marker::Copy for INPUT_TRANSFORM_0 {} |
| 121 |
impl ::core::clone::Clone for INPUT_TRANSFORM_0 { |
| 122 |
fn clone(&self) -> Self { |
| 123 |
*self |
| 124 |
} |
| 125 |
} |
| 126 |
#[repr(C)] |
| 127 |
pub struct INPUT_TRANSFORM_0_0 { |
| 128 |
pub _11: f32, |
| 129 |
pub _12: f32, |
| 130 |
pub _13: f32, |
| 131 |
pub _14: f32, |
| 132 |
pub _21: f32, |
| 133 |
pub _22: f32, |
| 134 |
pub _23: f32, |
| 135 |
pub _24: f32, |
| 136 |
pub _31: f32, |
| 137 |
pub _32: f32, |
| 138 |
pub _33: f32, |
| 139 |
pub _34: f32, |
| 140 |
pub _41: f32, |
| 141 |
pub _42: f32, |
| 142 |
pub _43: f32, |
| 143 |
pub _44: f32, |
| 144 |
} |
| 145 |
impl ::core::marker::Copy for INPUT_TRANSFORM_0_0 {} |
| 146 |
impl ::core::clone::Clone for INPUT_TRANSFORM_0_0 { |
| 147 |
fn clone(&self) -> Self { |
| 148 |
*self |
| 149 |
} |
| 150 |
} |
| 151 |
#[repr(C)] |
| 152 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 153 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 154 |
pub struct POINTER_INFO { |
| 155 |
pub pointerType: super::super::WindowsAndMessaging::POINTER_INPUT_TYPE, |
| 156 |
pub pointerId: u32, |
| 157 |
pub frameId: u32, |
| 158 |
pub pointerFlags: POINTER_FLAGS, |
| 159 |
pub sourceDevice: super::super::super::Foundation::HANDLE, |
| 160 |
pub hwndTarget: super::super::super::Foundation::HWND, |
| 161 |
pub ptPixelLocation: super::super::super::Foundation::POINT, |
| 162 |
pub ptHimetricLocation: super::super::super::Foundation::POINT, |
| 163 |
pub ptPixelLocationRaw: super::super::super::Foundation::POINT, |
| 164 |
pub ptHimetricLocationRaw: super::super::super::Foundation::POINT, |
| 165 |
pub dwTime: u32, |
| 166 |
pub historyCount: u32, |
| 167 |
pub InputData: i32, |
| 168 |
pub dwKeyStates: u32, |
| 169 |
pub PerformanceCount: u64, |
| 170 |
pub ButtonChangeType: POINTER_BUTTON_CHANGE_TYPE, |
| 171 |
} |
| 172 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 173 |
impl ::core::marker::Copy for POINTER_INFO {} |
| 174 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 175 |
impl ::core::clone::Clone for POINTER_INFO { |
| 176 |
fn clone(&self) -> Self { |
| 177 |
*self |
| 178 |
} |
| 179 |
} |
| 180 |
#[repr(C)] |
| 181 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 182 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 183 |
pub struct POINTER_PEN_INFO { |
| 184 |
pub pointerInfo: POINTER_INFO, |
| 185 |
pub penFlags: u32, |
| 186 |
pub penMask: u32, |
| 187 |
pub pressure: u32, |
| 188 |
pub rotation: u32, |
| 189 |
pub tiltX: i32, |
| 190 |
pub tiltY: i32, |
| 191 |
} |
| 192 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 193 |
impl ::core::marker::Copy for POINTER_PEN_INFO {} |
| 194 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 195 |
impl ::core::clone::Clone for POINTER_PEN_INFO { |
| 196 |
fn clone(&self) -> Self { |
| 197 |
*self |
| 198 |
} |
| 199 |
} |
| 200 |
#[repr(C)] |
| 201 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] |
| 202 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 203 |
pub struct POINTER_TOUCH_INFO { |
| 204 |
pub pointerInfo: POINTER_INFO, |
| 205 |
pub touchFlags: u32, |
| 206 |
pub touchMask: u32, |
| 207 |
pub rcContact: super::super::super::Foundation::RECT, |
| 208 |
pub rcContactRaw: super::super::super::Foundation::RECT, |
| 209 |
pub orientation: u32, |
| 210 |
pub pressure: u32, |
| 211 |
} |
| 212 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 213 |
impl ::core::marker::Copy for POINTER_TOUCH_INFO {} |
| 214 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] |
| 215 |
impl ::core::clone::Clone for POINTER_TOUCH_INFO { |
| 216 |
fn clone(&self) -> Self { |
| 217 |
*self |
| 218 |
} |
| 219 |
} |