1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3 #[repr(transparent)]
4 pub struct ALT_BREAKS(pub i32);
5 pub const ALT_BREAKS_SAME: ALT_BREAKS = ALT_BREAKS(0i32);
6 pub const ALT_BREAKS_UNIQUE: ALT_BREAKS = ALT_BREAKS(1i32);
7 pub const ALT_BREAKS_FULL: ALT_BREAKS = ALT_BREAKS(2i32);
8 impl ::std::convert::From<i32> for ALT_BREAKS {
from(value: i32) -> Self9     fn from(value: i32) -> Self {
10         Self(value)
11     }
12 }
13 unsafe impl ::windows::runtime::Abi for ALT_BREAKS {
14     type Abi = Self;
15     type DefaultType = Self;
16 }
17 pub const ASYNC_RECO_ADDSTROKE_FAILED: u32 = 4u32;
18 pub const ASYNC_RECO_INTERRUPTED: u32 = 1u32;
19 pub const ASYNC_RECO_PROCESS_FAILED: u32 = 2u32;
20 pub const ASYNC_RECO_RESETCONTEXT_FAILED: u32 = 16u32;
21 pub const ASYNC_RECO_SETCACMODE_FAILED: u32 = 8u32;
22 pub const ASYNC_RECO_SETFACTOID_FAILED: u32 = 128u32;
23 pub const ASYNC_RECO_SETFLAGS_FAILED: u32 = 64u32;
24 pub const ASYNC_RECO_SETGUIDE_FAILED: u32 = 32u32;
25 pub const ASYNC_RECO_SETTEXTCONTEXT_FAILED: u32 = 256u32;
26 pub const ASYNC_RECO_SETWORDLIST_FAILED: u32 = 512u32;
27 #[cfg(feature = "Win32_Graphics_Gdi")]
28 #[inline]
AddStroke<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, ppacketdesc: *const PACKET_DESCRIPTION, cbpacket: u32, ppacket: *const u8, pxform: *const super::super::Graphics::Gdi::XFORM) -> ::windows::runtime::Result<()>29 pub unsafe fn AddStroke<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, ppacketdesc: *const PACKET_DESCRIPTION, cbpacket: u32, ppacket: *const u8, pxform: *const super::super::Graphics::Gdi::XFORM) -> ::windows::runtime::Result<()> {
30     #[cfg(windows)]
31     {
32         #[link(name = "windows")]
33         extern "system" {
34             fn AddStroke(hrc: HRECOCONTEXT, ppacketdesc: *const PACKET_DESCRIPTION, cbpacket: u32, ppacket: *const u8, pxform: *const super::super::Graphics::Gdi::XFORM) -> ::windows::runtime::HRESULT;
35         }
36         AddStroke(hrc.into_param().abi(), ::std::mem::transmute(ppacketdesc), ::std::mem::transmute(cbpacket), ::std::mem::transmute(ppacket), ::std::mem::transmute(pxform)).ok()
37     }
38     #[cfg(not(windows))]
39     unimplemented!("Unsupported target OS");
40 }
41 #[cfg(feature = "Win32_Foundation")]
42 #[inline]
AddWordsToWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwl: Param0, pwcwords: Param1) -> ::windows::runtime::Result<()>43 pub unsafe fn AddWordsToWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwl: Param0, pwcwords: Param1) -> ::windows::runtime::Result<()> {
44     #[cfg(windows)]
45     {
46         #[link(name = "windows")]
47         extern "system" {
48             fn AddWordsToWordList(hwl: HRECOWORDLIST, pwcwords: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
49         }
50         AddWordsToWordList(hwl.into_param().abi(), pwcwords.into_param().abi()).ok()
51     }
52     #[cfg(not(windows))]
53     unimplemented!("Unsupported target OS");
54 }
55 #[cfg(feature = "Win32_Foundation")]
56 #[inline]
AdviseInkChange<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hrc: Param0, bnewstroke: Param1) -> ::windows::runtime::Result<()>57 pub unsafe fn AdviseInkChange<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(hrc: Param0, bnewstroke: Param1) -> ::windows::runtime::Result<()> {
58     #[cfg(windows)]
59     {
60         #[link(name = "windows")]
61         extern "system" {
62             fn AdviseInkChange(hrc: HRECOCONTEXT, bnewstroke: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
63         }
64         AdviseInkChange(hrc.into_param().abi(), bnewstroke.into_param().abi()).ok()
65     }
66     #[cfg(not(windows))]
67     unimplemented!("Unsupported target OS");
68 }
69 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
70 #[repr(transparent)]
71 pub struct AppearanceConstants(pub i32);
72 pub const rtfFlat: AppearanceConstants = AppearanceConstants(0i32);
73 pub const rtfThreeD: AppearanceConstants = AppearanceConstants(1i32);
74 impl ::std::convert::From<i32> for AppearanceConstants {
from(value: i32) -> Self75     fn from(value: i32) -> Self {
76         Self(value)
77     }
78 }
79 unsafe impl ::windows::runtime::Abi for AppearanceConstants {
80     type Abi = Self;
81     type DefaultType = Self;
82 }
83 pub const BEST_COMPLETE: u32 = 2u32;
84 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
85 #[repr(transparent)]
86 pub struct BorderStyleConstants(pub i32);
87 pub const rtfNoBorder: BorderStyleConstants = BorderStyleConstants(0i32);
88 pub const rtfFixedSingle: BorderStyleConstants = BorderStyleConstants(1i32);
89 impl ::std::convert::From<i32> for BorderStyleConstants {
from(value: i32) -> Self90     fn from(value: i32) -> Self {
91         Self(value)
92     }
93 }
94 unsafe impl ::windows::runtime::Abi for BorderStyleConstants {
95     type Abi = Self;
96     type DefaultType = Self;
97 }
98 pub const CAC_FULL: u32 = 0u32;
99 pub const CAC_PREFIX: u32 = 1u32;
100 pub const CAC_RANDOM: u32 = 2u32;
101 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
102 #[repr(C)]
103 pub struct CHARACTER_RANGE {
104     pub wcLow: u16,
105     pub cChars: u16,
106 }
107 impl CHARACTER_RANGE {}
108 impl ::std::default::Default for CHARACTER_RANGE {
default() -> Self109     fn default() -> Self {
110         unsafe { ::std::mem::zeroed() }
111     }
112 }
113 impl ::std::fmt::Debug for CHARACTER_RANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result114     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
115         fmt.debug_struct("CHARACTER_RANGE").field("wcLow", &self.wcLow).field("cChars", &self.cChars).finish()
116     }
117 }
118 impl ::std::cmp::PartialEq for CHARACTER_RANGE {
eq(&self, other: &Self) -> bool119     fn eq(&self, other: &Self) -> bool {
120         self.wcLow == other.wcLow && self.cChars == other.cChars
121     }
122 }
123 impl ::std::cmp::Eq for CHARACTER_RANGE {}
124 unsafe impl ::windows::runtime::Abi for CHARACTER_RANGE {
125     type Abi = Self;
126     type DefaultType = Self;
127 }
128 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
129 #[repr(transparent)]
130 pub struct CONFIDENCE_LEVEL(pub i32);
131 pub const CFL_STRONG: CONFIDENCE_LEVEL = CONFIDENCE_LEVEL(0i32);
132 pub const CFL_INTERMEDIATE: CONFIDENCE_LEVEL = CONFIDENCE_LEVEL(1i32);
133 pub const CFL_POOR: CONFIDENCE_LEVEL = CONFIDENCE_LEVEL(2i32);
134 impl ::std::convert::From<i32> for CONFIDENCE_LEVEL {
from(value: i32) -> Self135     fn from(value: i32) -> Self {
136         Self(value)
137     }
138 }
139 unsafe impl ::windows::runtime::Abi for CONFIDENCE_LEVEL {
140     type Abi = Self;
141     type DefaultType = Self;
142 }
143 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
144 #[repr(transparent)]
145 pub struct CorrectionMode(pub i32);
146 pub const CorrectionMode_NotVisible: CorrectionMode = CorrectionMode(0i32);
147 pub const CorrectionMode_PreInsertion: CorrectionMode = CorrectionMode(1i32);
148 pub const CorrectionMode_PostInsertionCollapsed: CorrectionMode = CorrectionMode(2i32);
149 pub const CorrectionMode_PostInsertionExpanded: CorrectionMode = CorrectionMode(3i32);
150 impl ::std::convert::From<i32> for CorrectionMode {
from(value: i32) -> Self151     fn from(value: i32) -> Self {
152         Self(value)
153     }
154 }
155 unsafe impl ::windows::runtime::Abi for CorrectionMode {
156     type Abi = Self;
157     type DefaultType = Self;
158 }
159 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
160 #[repr(transparent)]
161 pub struct CorrectionPosition(pub i32);
162 pub const CorrectionPosition_Auto: CorrectionPosition = CorrectionPosition(0i32);
163 pub const CorrectionPosition_Bottom: CorrectionPosition = CorrectionPosition(1i32);
164 pub const CorrectionPosition_Top: CorrectionPosition = CorrectionPosition(2i32);
165 impl ::std::convert::From<i32> for CorrectionPosition {
from(value: i32) -> Self166     fn from(value: i32) -> Self {
167         Self(value)
168     }
169 }
170 unsafe impl ::windows::runtime::Abi for CorrectionPosition {
171     type Abi = Self;
172     type DefaultType = Self;
173 }
174 #[inline]
CreateContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, phrc: *mut HRECOCONTEXT) -> ::windows::runtime::Result<()>175 pub unsafe fn CreateContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, phrc: *mut HRECOCONTEXT) -> ::windows::runtime::Result<()> {
176     #[cfg(windows)]
177     {
178         #[link(name = "windows")]
179         extern "system" {
180             fn CreateContext(hrec: HRECOGNIZER, phrc: *mut HRECOCONTEXT) -> ::windows::runtime::HRESULT;
181         }
182         CreateContext(hrec.into_param().abi(), ::std::mem::transmute(phrc)).ok()
183     }
184     #[cfg(not(windows))]
185     unimplemented!("Unsupported target OS");
186 }
187 #[inline]
CreateRecognizer(pclsid: *mut ::windows::runtime::GUID, phrec: *mut HRECOGNIZER) -> ::windows::runtime::Result<()>188 pub unsafe fn CreateRecognizer(pclsid: *mut ::windows::runtime::GUID, phrec: *mut HRECOGNIZER) -> ::windows::runtime::Result<()> {
189     #[cfg(windows)]
190     {
191         #[link(name = "windows")]
192         extern "system" {
193             fn CreateRecognizer(pclsid: *mut ::windows::runtime::GUID, phrec: *mut HRECOGNIZER) -> ::windows::runtime::HRESULT;
194         }
195         CreateRecognizer(::std::mem::transmute(pclsid), ::std::mem::transmute(phrec)).ok()
196     }
197     #[cfg(not(windows))]
198     unimplemented!("Unsupported target OS");
199 }
200 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
201 #[repr(transparent)]
202 pub struct DISPID_Ink(pub i32);
203 pub const DISPID_IStrokes: DISPID_Ink = DISPID_Ink(1i32);
204 pub const DISPID_IExtendedProperties: DISPID_Ink = DISPID_Ink(2i32);
205 pub const DISPID_IGetBoundingBox: DISPID_Ink = DISPID_Ink(3i32);
206 pub const DISPID_IDeleteStrokes: DISPID_Ink = DISPID_Ink(4i32);
207 pub const DISPID_IDeleteStroke: DISPID_Ink = DISPID_Ink(5i32);
208 pub const DISPID_IExtractStrokes: DISPID_Ink = DISPID_Ink(6i32);
209 pub const DISPID_IExtractWithRectangle: DISPID_Ink = DISPID_Ink(7i32);
210 pub const DISPID_IDirty: DISPID_Ink = DISPID_Ink(8i32);
211 pub const DISPID_ICustomStrokes: DISPID_Ink = DISPID_Ink(9i32);
212 pub const DISPID_IClone: DISPID_Ink = DISPID_Ink(10i32);
213 pub const DISPID_IHitTestCircle: DISPID_Ink = DISPID_Ink(11i32);
214 pub const DISPID_IHitTestWithRectangle: DISPID_Ink = DISPID_Ink(12i32);
215 pub const DISPID_IHitTestWithLasso: DISPID_Ink = DISPID_Ink(13i32);
216 pub const DISPID_INearestPoint: DISPID_Ink = DISPID_Ink(14i32);
217 pub const DISPID_ICreateStrokes: DISPID_Ink = DISPID_Ink(15i32);
218 pub const DISPID_ICreateStroke: DISPID_Ink = DISPID_Ink(16i32);
219 pub const DISPID_IAddStrokesAtRectangle: DISPID_Ink = DISPID_Ink(17i32);
220 pub const DISPID_IClip: DISPID_Ink = DISPID_Ink(18i32);
221 pub const DISPID_ISave: DISPID_Ink = DISPID_Ink(19i32);
222 pub const DISPID_ILoad: DISPID_Ink = DISPID_Ink(20i32);
223 pub const DISPID_ICreateStrokeFromPoints: DISPID_Ink = DISPID_Ink(21i32);
224 pub const DISPID_IClipboardCopyWithRectangle: DISPID_Ink = DISPID_Ink(22i32);
225 pub const DISPID_IClipboardCopy: DISPID_Ink = DISPID_Ink(23i32);
226 pub const DISPID_ICanPaste: DISPID_Ink = DISPID_Ink(24i32);
227 pub const DISPID_IClipboardPaste: DISPID_Ink = DISPID_Ink(25i32);
228 impl ::std::convert::From<i32> for DISPID_Ink {
from(value: i32) -> Self229     fn from(value: i32) -> Self {
230         Self(value)
231     }
232 }
233 unsafe impl ::windows::runtime::Abi for DISPID_Ink {
234     type Abi = Self;
235     type DefaultType = Self;
236 }
237 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
238 #[repr(transparent)]
239 pub struct DISPID_InkCollector(pub i32);
240 pub const DISPID_ICEnabled: DISPID_InkCollector = DISPID_InkCollector(1i32);
241 pub const DISPID_ICHwnd: DISPID_InkCollector = DISPID_InkCollector(2i32);
242 pub const DISPID_ICPaint: DISPID_InkCollector = DISPID_InkCollector(3i32);
243 pub const DISPID_ICText: DISPID_InkCollector = DISPID_InkCollector(4i32);
244 pub const DISPID_ICDefaultDrawingAttributes: DISPID_InkCollector = DISPID_InkCollector(5i32);
245 pub const DISPID_ICRenderer: DISPID_InkCollector = DISPID_InkCollector(6i32);
246 pub const DISPID_ICInk: DISPID_InkCollector = DISPID_InkCollector(7i32);
247 pub const DISPID_ICAutoRedraw: DISPID_InkCollector = DISPID_InkCollector(8i32);
248 pub const DISPID_ICCollectingInk: DISPID_InkCollector = DISPID_InkCollector(9i32);
249 pub const DISPID_ICSetEventInterest: DISPID_InkCollector = DISPID_InkCollector(10i32);
250 pub const DISPID_ICGetEventInterest: DISPID_InkCollector = DISPID_InkCollector(11i32);
251 pub const DISPID_IOEditingMode: DISPID_InkCollector = DISPID_InkCollector(12i32);
252 pub const DISPID_IOSelection: DISPID_InkCollector = DISPID_InkCollector(13i32);
253 pub const DISPID_IOAttachMode: DISPID_InkCollector = DISPID_InkCollector(14i32);
254 pub const DISPID_IOHitTestSelection: DISPID_InkCollector = DISPID_InkCollector(15i32);
255 pub const DISPID_IODraw: DISPID_InkCollector = DISPID_InkCollector(16i32);
256 pub const DISPID_IPPicture: DISPID_InkCollector = DISPID_InkCollector(17i32);
257 pub const DISPID_IPSizeMode: DISPID_InkCollector = DISPID_InkCollector(18i32);
258 pub const DISPID_IPBackColor: DISPID_InkCollector = DISPID_InkCollector(19i32);
259 pub const DISPID_ICCursors: DISPID_InkCollector = DISPID_InkCollector(20i32);
260 pub const DISPID_ICMarginX: DISPID_InkCollector = DISPID_InkCollector(21i32);
261 pub const DISPID_ICMarginY: DISPID_InkCollector = DISPID_InkCollector(22i32);
262 pub const DISPID_ICSetWindowInputRectangle: DISPID_InkCollector = DISPID_InkCollector(23i32);
263 pub const DISPID_ICGetWindowInputRectangle: DISPID_InkCollector = DISPID_InkCollector(24i32);
264 pub const DISPID_ICTablet: DISPID_InkCollector = DISPID_InkCollector(25i32);
265 pub const DISPID_ICSetAllTabletsMode: DISPID_InkCollector = DISPID_InkCollector(26i32);
266 pub const DISPID_ICSetSingleTabletIntegratedMode: DISPID_InkCollector = DISPID_InkCollector(27i32);
267 pub const DISPID_ICCollectionMode: DISPID_InkCollector = DISPID_InkCollector(28i32);
268 pub const DISPID_ICSetGestureStatus: DISPID_InkCollector = DISPID_InkCollector(29i32);
269 pub const DISPID_ICGetGestureStatus: DISPID_InkCollector = DISPID_InkCollector(30i32);
270 pub const DISPID_ICDynamicRendering: DISPID_InkCollector = DISPID_InkCollector(31i32);
271 pub const DISPID_ICDesiredPacketDescription: DISPID_InkCollector = DISPID_InkCollector(32i32);
272 pub const DISPID_IOEraserMode: DISPID_InkCollector = DISPID_InkCollector(33i32);
273 pub const DISPID_IOEraserWidth: DISPID_InkCollector = DISPID_InkCollector(34i32);
274 pub const DISPID_ICMouseIcon: DISPID_InkCollector = DISPID_InkCollector(35i32);
275 pub const DISPID_ICMousePointer: DISPID_InkCollector = DISPID_InkCollector(36i32);
276 pub const DISPID_IPInkEnabled: DISPID_InkCollector = DISPID_InkCollector(37i32);
277 pub const DISPID_ICSupportHighContrastInk: DISPID_InkCollector = DISPID_InkCollector(38i32);
278 pub const DISPID_IOSupportHighContrastSelectionUI: DISPID_InkCollector = DISPID_InkCollector(39i32);
279 impl ::std::convert::From<i32> for DISPID_InkCollector {
from(value: i32) -> Self280     fn from(value: i32) -> Self {
281         Self(value)
282     }
283 }
284 unsafe impl ::windows::runtime::Abi for DISPID_InkCollector {
285     type Abi = Self;
286     type DefaultType = Self;
287 }
288 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
289 #[repr(transparent)]
290 pub struct DISPID_InkCollectorEvent(pub i32);
291 pub const DISPID_ICEStroke: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(1i32);
292 pub const DISPID_ICECursorDown: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(2i32);
293 pub const DISPID_ICENewPackets: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(3i32);
294 pub const DISPID_ICENewInAirPackets: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(4i32);
295 pub const DISPID_ICECursorButtonDown: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(5i32);
296 pub const DISPID_ICECursorButtonUp: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(6i32);
297 pub const DISPID_ICECursorInRange: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(7i32);
298 pub const DISPID_ICECursorOutOfRange: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(8i32);
299 pub const DISPID_ICESystemGesture: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(9i32);
300 pub const DISPID_ICEGesture: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(10i32);
301 pub const DISPID_ICETabletAdded: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(11i32);
302 pub const DISPID_ICETabletRemoved: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(12i32);
303 pub const DISPID_IOEPainting: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(13i32);
304 pub const DISPID_IOEPainted: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(14i32);
305 pub const DISPID_IOESelectionChanging: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(15i32);
306 pub const DISPID_IOESelectionChanged: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(16i32);
307 pub const DISPID_IOESelectionMoving: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(17i32);
308 pub const DISPID_IOESelectionMoved: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(18i32);
309 pub const DISPID_IOESelectionResizing: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(19i32);
310 pub const DISPID_IOESelectionResized: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(20i32);
311 pub const DISPID_IOEStrokesDeleting: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(21i32);
312 pub const DISPID_IOEStrokesDeleted: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(22i32);
313 pub const DISPID_IPEChangeUICues: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(23i32);
314 pub const DISPID_IPEClick: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(24i32);
315 pub const DISPID_IPEDblClick: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(25i32);
316 pub const DISPID_IPEInvalidated: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(26i32);
317 pub const DISPID_IPEMouseDown: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(27i32);
318 pub const DISPID_IPEMouseEnter: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(28i32);
319 pub const DISPID_IPEMouseHover: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(29i32);
320 pub const DISPID_IPEMouseLeave: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(30i32);
321 pub const DISPID_IPEMouseMove: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(31i32);
322 pub const DISPID_IPEMouseUp: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(32i32);
323 pub const DISPID_IPEMouseWheel: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(33i32);
324 pub const DISPID_IPESizeModeChanged: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(34i32);
325 pub const DISPID_IPEStyleChanged: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(35i32);
326 pub const DISPID_IPESystemColorsChanged: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(36i32);
327 pub const DISPID_IPEKeyDown: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(37i32);
328 pub const DISPID_IPEKeyPress: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(38i32);
329 pub const DISPID_IPEKeyUp: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(39i32);
330 pub const DISPID_IPEResize: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(40i32);
331 pub const DISPID_IPESizeChanged: DISPID_InkCollectorEvent = DISPID_InkCollectorEvent(41i32);
332 impl ::std::convert::From<i32> for DISPID_InkCollectorEvent {
from(value: i32) -> Self333     fn from(value: i32) -> Self {
334         Self(value)
335     }
336 }
337 unsafe impl ::windows::runtime::Abi for DISPID_InkCollectorEvent {
338     type Abi = Self;
339     type DefaultType = Self;
340 }
341 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
342 #[repr(transparent)]
343 pub struct DISPID_InkCursor(pub i32);
344 pub const DISPID_ICsrName: DISPID_InkCursor = DISPID_InkCursor(0i32);
345 pub const DISPID_ICsrId: DISPID_InkCursor = DISPID_InkCursor(1i32);
346 pub const DISPID_ICsrDrawingAttributes: DISPID_InkCursor = DISPID_InkCursor(2i32);
347 pub const DISPID_ICsrButtons: DISPID_InkCursor = DISPID_InkCursor(3i32);
348 pub const DISPID_ICsrInverted: DISPID_InkCursor = DISPID_InkCursor(4i32);
349 pub const DISPID_ICsrTablet: DISPID_InkCursor = DISPID_InkCursor(5i32);
350 impl ::std::convert::From<i32> for DISPID_InkCursor {
from(value: i32) -> Self351     fn from(value: i32) -> Self {
352         Self(value)
353     }
354 }
355 unsafe impl ::windows::runtime::Abi for DISPID_InkCursor {
356     type Abi = Self;
357     type DefaultType = Self;
358 }
359 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
360 #[repr(transparent)]
361 pub struct DISPID_InkCursorButton(pub i32);
362 pub const DISPID_ICBName: DISPID_InkCursorButton = DISPID_InkCursorButton(0i32);
363 pub const DISPID_ICBId: DISPID_InkCursorButton = DISPID_InkCursorButton(1i32);
364 pub const DISPID_ICBState: DISPID_InkCursorButton = DISPID_InkCursorButton(2i32);
365 impl ::std::convert::From<i32> for DISPID_InkCursorButton {
from(value: i32) -> Self366     fn from(value: i32) -> Self {
367         Self(value)
368     }
369 }
370 unsafe impl ::windows::runtime::Abi for DISPID_InkCursorButton {
371     type Abi = Self;
372     type DefaultType = Self;
373 }
374 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
375 #[repr(transparent)]
376 pub struct DISPID_InkCursorButtons(pub i32);
377 pub const DISPID_ICBs_NewEnum: DISPID_InkCursorButtons = DISPID_InkCursorButtons(-4i32);
378 pub const DISPID_ICBsItem: DISPID_InkCursorButtons = DISPID_InkCursorButtons(0i32);
379 pub const DISPID_ICBsCount: DISPID_InkCursorButtons = DISPID_InkCursorButtons(1i32);
380 impl ::std::convert::From<i32> for DISPID_InkCursorButtons {
from(value: i32) -> Self381     fn from(value: i32) -> Self {
382         Self(value)
383     }
384 }
385 unsafe impl ::windows::runtime::Abi for DISPID_InkCursorButtons {
386     type Abi = Self;
387     type DefaultType = Self;
388 }
389 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
390 #[repr(transparent)]
391 pub struct DISPID_InkCursors(pub i32);
392 pub const DISPID_ICs_NewEnum: DISPID_InkCursors = DISPID_InkCursors(-4i32);
393 pub const DISPID_ICsItem: DISPID_InkCursors = DISPID_InkCursors(0i32);
394 pub const DISPID_ICsCount: DISPID_InkCursors = DISPID_InkCursors(1i32);
395 impl ::std::convert::From<i32> for DISPID_InkCursors {
from(value: i32) -> Self396     fn from(value: i32) -> Self {
397         Self(value)
398     }
399 }
400 unsafe impl ::windows::runtime::Abi for DISPID_InkCursors {
401     type Abi = Self;
402     type DefaultType = Self;
403 }
404 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
405 #[repr(transparent)]
406 pub struct DISPID_InkCustomStrokes(pub i32);
407 pub const DISPID_ICSs_NewEnum: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(-4i32);
408 pub const DISPID_ICSsItem: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(0i32);
409 pub const DISPID_ICSsCount: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(1i32);
410 pub const DISPID_ICSsAdd: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(2i32);
411 pub const DISPID_ICSsRemove: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(3i32);
412 pub const DISPID_ICSsClear: DISPID_InkCustomStrokes = DISPID_InkCustomStrokes(4i32);
413 impl ::std::convert::From<i32> for DISPID_InkCustomStrokes {
from(value: i32) -> Self414     fn from(value: i32) -> Self {
415         Self(value)
416     }
417 }
418 unsafe impl ::windows::runtime::Abi for DISPID_InkCustomStrokes {
419     type Abi = Self;
420     type DefaultType = Self;
421 }
422 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
423 #[repr(transparent)]
424 pub struct DISPID_InkDivider(pub i32);
425 pub const DISPID_IInkDivider_Strokes: DISPID_InkDivider = DISPID_InkDivider(1i32);
426 pub const DISPID_IInkDivider_RecognizerContext: DISPID_InkDivider = DISPID_InkDivider(2i32);
427 pub const DISPID_IInkDivider_LineHeight: DISPID_InkDivider = DISPID_InkDivider(3i32);
428 pub const DISPID_IInkDivider_Divide: DISPID_InkDivider = DISPID_InkDivider(4i32);
429 impl ::std::convert::From<i32> for DISPID_InkDivider {
from(value: i32) -> Self430     fn from(value: i32) -> Self {
431         Self(value)
432     }
433 }
434 unsafe impl ::windows::runtime::Abi for DISPID_InkDivider {
435     type Abi = Self;
436     type DefaultType = Self;
437 }
438 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
439 #[repr(transparent)]
440 pub struct DISPID_InkDivisionResult(pub i32);
441 pub const DISPID_IInkDivisionResult_Strokes: DISPID_InkDivisionResult = DISPID_InkDivisionResult(1i32);
442 pub const DISPID_IInkDivisionResult_ResultByType: DISPID_InkDivisionResult = DISPID_InkDivisionResult(2i32);
443 impl ::std::convert::From<i32> for DISPID_InkDivisionResult {
from(value: i32) -> Self444     fn from(value: i32) -> Self {
445         Self(value)
446     }
447 }
448 unsafe impl ::windows::runtime::Abi for DISPID_InkDivisionResult {
449     type Abi = Self;
450     type DefaultType = Self;
451 }
452 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
453 #[repr(transparent)]
454 pub struct DISPID_InkDivisionUnit(pub i32);
455 pub const DISPID_IInkDivisionUnit_Strokes: DISPID_InkDivisionUnit = DISPID_InkDivisionUnit(1i32);
456 pub const DISPID_IInkDivisionUnit_DivisionType: DISPID_InkDivisionUnit = DISPID_InkDivisionUnit(2i32);
457 pub const DISPID_IInkDivisionUnit_RecognizedString: DISPID_InkDivisionUnit = DISPID_InkDivisionUnit(3i32);
458 pub const DISPID_IInkDivisionUnit_RotationTransform: DISPID_InkDivisionUnit = DISPID_InkDivisionUnit(4i32);
459 impl ::std::convert::From<i32> for DISPID_InkDivisionUnit {
from(value: i32) -> Self460     fn from(value: i32) -> Self {
461         Self(value)
462     }
463 }
464 unsafe impl ::windows::runtime::Abi for DISPID_InkDivisionUnit {
465     type Abi = Self;
466     type DefaultType = Self;
467 }
468 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
469 #[repr(transparent)]
470 pub struct DISPID_InkDivisionUnits(pub i32);
471 pub const DISPID_IInkDivisionUnits_NewEnum: DISPID_InkDivisionUnits = DISPID_InkDivisionUnits(-4i32);
472 pub const DISPID_IInkDivisionUnits_Item: DISPID_InkDivisionUnits = DISPID_InkDivisionUnits(0i32);
473 pub const DISPID_IInkDivisionUnits_Count: DISPID_InkDivisionUnits = DISPID_InkDivisionUnits(1i32);
474 impl ::std::convert::From<i32> for DISPID_InkDivisionUnits {
from(value: i32) -> Self475     fn from(value: i32) -> Self {
476         Self(value)
477     }
478 }
479 unsafe impl ::windows::runtime::Abi for DISPID_InkDivisionUnits {
480     type Abi = Self;
481     type DefaultType = Self;
482 }
483 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
484 #[repr(transparent)]
485 pub struct DISPID_InkDrawingAttributes(pub i32);
486 pub const DISPID_DAHeight: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(1i32);
487 pub const DISPID_DAColor: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(2i32);
488 pub const DISPID_DAWidth: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(3i32);
489 pub const DISPID_DAFitToCurve: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(4i32);
490 pub const DISPID_DAIgnorePressure: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(5i32);
491 pub const DISPID_DAAntiAliased: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(6i32);
492 pub const DISPID_DATransparency: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(7i32);
493 pub const DISPID_DARasterOperation: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(8i32);
494 pub const DISPID_DAPenTip: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(9i32);
495 pub const DISPID_DAClone: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(10i32);
496 pub const DISPID_DAExtendedProperties: DISPID_InkDrawingAttributes = DISPID_InkDrawingAttributes(11i32);
497 impl ::std::convert::From<i32> for DISPID_InkDrawingAttributes {
from(value: i32) -> Self498     fn from(value: i32) -> Self {
499         Self(value)
500     }
501 }
502 unsafe impl ::windows::runtime::Abi for DISPID_InkDrawingAttributes {
503     type Abi = Self;
504     type DefaultType = Self;
505 }
506 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
507 #[repr(transparent)]
508 pub struct DISPID_InkEdit(pub i32);
509 pub const DISPID_Text: DISPID_InkEdit = DISPID_InkEdit(0i32);
510 pub const DISPID_TextRTF: DISPID_InkEdit = DISPID_InkEdit(1i32);
511 pub const DISPID_Hwnd: DISPID_InkEdit = DISPID_InkEdit(2i32);
512 pub const DISPID_DisableNoScroll: DISPID_InkEdit = DISPID_InkEdit(3i32);
513 pub const DISPID_Locked: DISPID_InkEdit = DISPID_InkEdit(4i32);
514 pub const DISPID_Enabled: DISPID_InkEdit = DISPID_InkEdit(5i32);
515 pub const DISPID_MaxLength: DISPID_InkEdit = DISPID_InkEdit(6i32);
516 pub const DISPID_MultiLine: DISPID_InkEdit = DISPID_InkEdit(7i32);
517 pub const DISPID_ScrollBars: DISPID_InkEdit = DISPID_InkEdit(8i32);
518 pub const DISPID_RTSelStart: DISPID_InkEdit = DISPID_InkEdit(9i32);
519 pub const DISPID_RTSelLength: DISPID_InkEdit = DISPID_InkEdit(10i32);
520 pub const DISPID_RTSelText: DISPID_InkEdit = DISPID_InkEdit(11i32);
521 pub const DISPID_SelAlignment: DISPID_InkEdit = DISPID_InkEdit(12i32);
522 pub const DISPID_SelBold: DISPID_InkEdit = DISPID_InkEdit(13i32);
523 pub const DISPID_SelCharOffset: DISPID_InkEdit = DISPID_InkEdit(14i32);
524 pub const DISPID_SelColor: DISPID_InkEdit = DISPID_InkEdit(15i32);
525 pub const DISPID_SelFontName: DISPID_InkEdit = DISPID_InkEdit(16i32);
526 pub const DISPID_SelFontSize: DISPID_InkEdit = DISPID_InkEdit(17i32);
527 pub const DISPID_SelItalic: DISPID_InkEdit = DISPID_InkEdit(18i32);
528 pub const DISPID_SelRTF: DISPID_InkEdit = DISPID_InkEdit(19i32);
529 pub const DISPID_SelUnderline: DISPID_InkEdit = DISPID_InkEdit(20i32);
530 pub const DISPID_DragIcon: DISPID_InkEdit = DISPID_InkEdit(21i32);
531 pub const DISPID_Status: DISPID_InkEdit = DISPID_InkEdit(22i32);
532 pub const DISPID_UseMouseForInput: DISPID_InkEdit = DISPID_InkEdit(23i32);
533 pub const DISPID_InkMode: DISPID_InkEdit = DISPID_InkEdit(24i32);
534 pub const DISPID_InkInsertMode: DISPID_InkEdit = DISPID_InkEdit(25i32);
535 pub const DISPID_RecoTimeout: DISPID_InkEdit = DISPID_InkEdit(26i32);
536 pub const DISPID_DrawAttr: DISPID_InkEdit = DISPID_InkEdit(27i32);
537 pub const DISPID_Recognizer: DISPID_InkEdit = DISPID_InkEdit(28i32);
538 pub const DISPID_Factoid: DISPID_InkEdit = DISPID_InkEdit(29i32);
539 pub const DISPID_SelInk: DISPID_InkEdit = DISPID_InkEdit(30i32);
540 pub const DISPID_SelInksDisplayMode: DISPID_InkEdit = DISPID_InkEdit(31i32);
541 pub const DISPID_Recognize: DISPID_InkEdit = DISPID_InkEdit(32i32);
542 pub const DISPID_GetGestStatus: DISPID_InkEdit = DISPID_InkEdit(33i32);
543 pub const DISPID_SetGestStatus: DISPID_InkEdit = DISPID_InkEdit(34i32);
544 pub const DISPID_Refresh: DISPID_InkEdit = DISPID_InkEdit(35i32);
545 impl ::std::convert::From<i32> for DISPID_InkEdit {
from(value: i32) -> Self546     fn from(value: i32) -> Self {
547         Self(value)
548     }
549 }
550 unsafe impl ::windows::runtime::Abi for DISPID_InkEdit {
551     type Abi = Self;
552     type DefaultType = Self;
553 }
554 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
555 #[repr(transparent)]
556 pub struct DISPID_InkEditEvents(pub i32);
557 pub const DISPID_IeeChange: DISPID_InkEditEvents = DISPID_InkEditEvents(1i32);
558 pub const DISPID_IeeSelChange: DISPID_InkEditEvents = DISPID_InkEditEvents(2i32);
559 pub const DISPID_IeeKeyDown: DISPID_InkEditEvents = DISPID_InkEditEvents(3i32);
560 pub const DISPID_IeeKeyUp: DISPID_InkEditEvents = DISPID_InkEditEvents(4i32);
561 pub const DISPID_IeeMouseUp: DISPID_InkEditEvents = DISPID_InkEditEvents(5i32);
562 pub const DISPID_IeeMouseDown: DISPID_InkEditEvents = DISPID_InkEditEvents(6i32);
563 pub const DISPID_IeeKeyPress: DISPID_InkEditEvents = DISPID_InkEditEvents(7i32);
564 pub const DISPID_IeeDblClick: DISPID_InkEditEvents = DISPID_InkEditEvents(8i32);
565 pub const DISPID_IeeClick: DISPID_InkEditEvents = DISPID_InkEditEvents(9i32);
566 pub const DISPID_IeeMouseMove: DISPID_InkEditEvents = DISPID_InkEditEvents(10i32);
567 pub const DISPID_IeeCursorDown: DISPID_InkEditEvents = DISPID_InkEditEvents(21i32);
568 pub const DISPID_IeeStroke: DISPID_InkEditEvents = DISPID_InkEditEvents(22i32);
569 pub const DISPID_IeeGesture: DISPID_InkEditEvents = DISPID_InkEditEvents(23i32);
570 pub const DISPID_IeeRecognitionResult: DISPID_InkEditEvents = DISPID_InkEditEvents(24i32);
571 impl ::std::convert::From<i32> for DISPID_InkEditEvents {
from(value: i32) -> Self572     fn from(value: i32) -> Self {
573         Self(value)
574     }
575 }
576 unsafe impl ::windows::runtime::Abi for DISPID_InkEditEvents {
577     type Abi = Self;
578     type DefaultType = Self;
579 }
580 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
581 #[repr(transparent)]
582 pub struct DISPID_InkEvent(pub i32);
583 pub const DISPID_IEInkAdded: DISPID_InkEvent = DISPID_InkEvent(1i32);
584 pub const DISPID_IEInkDeleted: DISPID_InkEvent = DISPID_InkEvent(2i32);
585 impl ::std::convert::From<i32> for DISPID_InkEvent {
from(value: i32) -> Self586     fn from(value: i32) -> Self {
587         Self(value)
588     }
589 }
590 unsafe impl ::windows::runtime::Abi for DISPID_InkEvent {
591     type Abi = Self;
592     type DefaultType = Self;
593 }
594 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
595 #[repr(transparent)]
596 pub struct DISPID_InkExtendedProperties(pub i32);
597 pub const DISPID_IEPs_NewEnum: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(-4i32);
598 pub const DISPID_IEPsItem: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(0i32);
599 pub const DISPID_IEPsCount: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(1i32);
600 pub const DISPID_IEPsAdd: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(2i32);
601 pub const DISPID_IEPsRemove: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(3i32);
602 pub const DISPID_IEPsClear: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(4i32);
603 pub const DISPID_IEPsDoesPropertyExist: DISPID_InkExtendedProperties = DISPID_InkExtendedProperties(5i32);
604 impl ::std::convert::From<i32> for DISPID_InkExtendedProperties {
from(value: i32) -> Self605     fn from(value: i32) -> Self {
606         Self(value)
607     }
608 }
609 unsafe impl ::windows::runtime::Abi for DISPID_InkExtendedProperties {
610     type Abi = Self;
611     type DefaultType = Self;
612 }
613 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
614 #[repr(transparent)]
615 pub struct DISPID_InkExtendedProperty(pub i32);
616 pub const DISPID_IEPGuid: DISPID_InkExtendedProperty = DISPID_InkExtendedProperty(1i32);
617 pub const DISPID_IEPData: DISPID_InkExtendedProperty = DISPID_InkExtendedProperty(2i32);
618 impl ::std::convert::From<i32> for DISPID_InkExtendedProperty {
from(value: i32) -> Self619     fn from(value: i32) -> Self {
620         Self(value)
621     }
622 }
623 unsafe impl ::windows::runtime::Abi for DISPID_InkExtendedProperty {
624     type Abi = Self;
625     type DefaultType = Self;
626 }
627 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
628 #[repr(transparent)]
629 pub struct DISPID_InkGesture(pub i32);
630 pub const DISPID_IGId: DISPID_InkGesture = DISPID_InkGesture(0i32);
631 pub const DISPID_IGGetHotPoint: DISPID_InkGesture = DISPID_InkGesture(1i32);
632 pub const DISPID_IGConfidence: DISPID_InkGesture = DISPID_InkGesture(2i32);
633 impl ::std::convert::From<i32> for DISPID_InkGesture {
from(value: i32) -> Self634     fn from(value: i32) -> Self {
635         Self(value)
636     }
637 }
638 unsafe impl ::windows::runtime::Abi for DISPID_InkGesture {
639     type Abi = Self;
640     type DefaultType = Self;
641 }
642 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
643 #[repr(transparent)]
644 pub struct DISPID_InkRecoAlternate(pub i32);
645 pub const DISPID_InkRecoAlternate_String: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(1i32);
646 pub const DISPID_InkRecoAlternate_LineNumber: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(2i32);
647 pub const DISPID_InkRecoAlternate_Baseline: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(3i32);
648 pub const DISPID_InkRecoAlternate_Midline: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(4i32);
649 pub const DISPID_InkRecoAlternate_Ascender: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(5i32);
650 pub const DISPID_InkRecoAlternate_Descender: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(6i32);
651 pub const DISPID_InkRecoAlternate_Confidence: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(7i32);
652 pub const DISPID_InkRecoAlternate_Strokes: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(8i32);
653 pub const DISPID_InkRecoAlternate_GetStrokesFromStrokeRanges: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(9i32);
654 pub const DISPID_InkRecoAlternate_GetStrokesFromTextRange: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(10i32);
655 pub const DISPID_InkRecoAlternate_GetTextRangeFromStrokes: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(11i32);
656 pub const DISPID_InkRecoAlternate_GetPropertyValue: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(12i32);
657 pub const DISPID_InkRecoAlternate_LineAlternates: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(13i32);
658 pub const DISPID_InkRecoAlternate_ConfidenceAlternates: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(14i32);
659 pub const DISPID_InkRecoAlternate_AlternatesWithConstantPropertyValues: DISPID_InkRecoAlternate = DISPID_InkRecoAlternate(15i32);
660 impl ::std::convert::From<i32> for DISPID_InkRecoAlternate {
from(value: i32) -> Self661     fn from(value: i32) -> Self {
662         Self(value)
663     }
664 }
665 unsafe impl ::windows::runtime::Abi for DISPID_InkRecoAlternate {
666     type Abi = Self;
667     type DefaultType = Self;
668 }
669 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
670 #[repr(transparent)]
671 pub struct DISPID_InkRecoContext(pub i32);
672 pub const DISPID_IRecoCtx_Strokes: DISPID_InkRecoContext = DISPID_InkRecoContext(1i32);
673 pub const DISPID_IRecoCtx_CharacterAutoCompletionMode: DISPID_InkRecoContext = DISPID_InkRecoContext(2i32);
674 pub const DISPID_IRecoCtx_Factoid: DISPID_InkRecoContext = DISPID_InkRecoContext(3i32);
675 pub const DISPID_IRecoCtx_WordList: DISPID_InkRecoContext = DISPID_InkRecoContext(4i32);
676 pub const DISPID_IRecoCtx_Recognizer: DISPID_InkRecoContext = DISPID_InkRecoContext(5i32);
677 pub const DISPID_IRecoCtx_Guide: DISPID_InkRecoContext = DISPID_InkRecoContext(6i32);
678 pub const DISPID_IRecoCtx_Flags: DISPID_InkRecoContext = DISPID_InkRecoContext(7i32);
679 pub const DISPID_IRecoCtx_PrefixText: DISPID_InkRecoContext = DISPID_InkRecoContext(8i32);
680 pub const DISPID_IRecoCtx_SuffixText: DISPID_InkRecoContext = DISPID_InkRecoContext(9i32);
681 pub const DISPID_IRecoCtx_StopRecognition: DISPID_InkRecoContext = DISPID_InkRecoContext(10i32);
682 pub const DISPID_IRecoCtx_Clone: DISPID_InkRecoContext = DISPID_InkRecoContext(11i32);
683 pub const DISPID_IRecoCtx_Recognize: DISPID_InkRecoContext = DISPID_InkRecoContext(12i32);
684 pub const DISPID_IRecoCtx_StopBackgroundRecognition: DISPID_InkRecoContext = DISPID_InkRecoContext(13i32);
685 pub const DISPID_IRecoCtx_EndInkInput: DISPID_InkRecoContext = DISPID_InkRecoContext(14i32);
686 pub const DISPID_IRecoCtx_BackgroundRecognize: DISPID_InkRecoContext = DISPID_InkRecoContext(15i32);
687 pub const DISPID_IRecoCtx_BackgroundRecognizeWithAlternates: DISPID_InkRecoContext = DISPID_InkRecoContext(16i32);
688 pub const DISPID_IRecoCtx_IsStringSupported: DISPID_InkRecoContext = DISPID_InkRecoContext(17i32);
689 impl ::std::convert::From<i32> for DISPID_InkRecoContext {
from(value: i32) -> Self690     fn from(value: i32) -> Self {
691         Self(value)
692     }
693 }
694 unsafe impl ::windows::runtime::Abi for DISPID_InkRecoContext {
695     type Abi = Self;
696     type DefaultType = Self;
697 }
698 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
699 #[repr(transparent)]
700 pub struct DISPID_InkRecoContext2(pub i32);
701 pub const DISPID_IRecoCtx2_EnabledUnicodeRanges: DISPID_InkRecoContext2 = DISPID_InkRecoContext2(0i32);
702 impl ::std::convert::From<i32> for DISPID_InkRecoContext2 {
from(value: i32) -> Self703     fn from(value: i32) -> Self {
704         Self(value)
705     }
706 }
707 unsafe impl ::windows::runtime::Abi for DISPID_InkRecoContext2 {
708     type Abi = Self;
709     type DefaultType = Self;
710 }
711 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
712 #[repr(transparent)]
713 pub struct DISPID_InkRecognitionAlternates(pub i32);
714 pub const DISPID_InkRecognitionAlternates_NewEnum: DISPID_InkRecognitionAlternates = DISPID_InkRecognitionAlternates(-4i32);
715 pub const DISPID_InkRecognitionAlternates_Item: DISPID_InkRecognitionAlternates = DISPID_InkRecognitionAlternates(0i32);
716 pub const DISPID_InkRecognitionAlternates_Count: DISPID_InkRecognitionAlternates = DISPID_InkRecognitionAlternates(1i32);
717 pub const DISPID_InkRecognitionAlternates_Strokes: DISPID_InkRecognitionAlternates = DISPID_InkRecognitionAlternates(2i32);
718 impl ::std::convert::From<i32> for DISPID_InkRecognitionAlternates {
from(value: i32) -> Self719     fn from(value: i32) -> Self {
720         Self(value)
721     }
722 }
723 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognitionAlternates {
724     type Abi = Self;
725     type DefaultType = Self;
726 }
727 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
728 #[repr(transparent)]
729 pub struct DISPID_InkRecognitionEvent(pub i32);
730 pub const DISPID_IRERecognitionWithAlternates: DISPID_InkRecognitionEvent = DISPID_InkRecognitionEvent(1i32);
731 pub const DISPID_IRERecognition: DISPID_InkRecognitionEvent = DISPID_InkRecognitionEvent(2i32);
732 impl ::std::convert::From<i32> for DISPID_InkRecognitionEvent {
from(value: i32) -> Self733     fn from(value: i32) -> Self {
734         Self(value)
735     }
736 }
737 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognitionEvent {
738     type Abi = Self;
739     type DefaultType = Self;
740 }
741 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
742 #[repr(transparent)]
743 pub struct DISPID_InkRecognitionResult(pub i32);
744 pub const DISPID_InkRecognitionResult_TopString: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(1i32);
745 pub const DISPID_InkRecognitionResult_TopAlternate: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(2i32);
746 pub const DISPID_InkRecognitionResult_Strokes: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(3i32);
747 pub const DISPID_InkRecognitionResult_TopConfidence: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(4i32);
748 pub const DISPID_InkRecognitionResult_AlternatesFromSelection: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(5i32);
749 pub const DISPID_InkRecognitionResult_ModifyTopAlternate: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(6i32);
750 pub const DISPID_InkRecognitionResult_SetResultOnStrokes: DISPID_InkRecognitionResult = DISPID_InkRecognitionResult(7i32);
751 impl ::std::convert::From<i32> for DISPID_InkRecognitionResult {
from(value: i32) -> Self752     fn from(value: i32) -> Self {
753         Self(value)
754     }
755 }
756 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognitionResult {
757     type Abi = Self;
758     type DefaultType = Self;
759 }
760 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
761 #[repr(transparent)]
762 pub struct DISPID_InkRecognizer(pub i32);
763 pub const DISPID_RecoClsid: DISPID_InkRecognizer = DISPID_InkRecognizer(1i32);
764 pub const DISPID_RecoName: DISPID_InkRecognizer = DISPID_InkRecognizer(2i32);
765 pub const DISPID_RecoVendor: DISPID_InkRecognizer = DISPID_InkRecognizer(3i32);
766 pub const DISPID_RecoCapabilities: DISPID_InkRecognizer = DISPID_InkRecognizer(4i32);
767 pub const DISPID_RecoLanguageID: DISPID_InkRecognizer = DISPID_InkRecognizer(5i32);
768 pub const DISPID_RecoPreferredPacketDescription: DISPID_InkRecognizer = DISPID_InkRecognizer(6i32);
769 pub const DISPID_RecoCreateRecognizerContext: DISPID_InkRecognizer = DISPID_InkRecognizer(7i32);
770 pub const DISPID_RecoSupportedProperties: DISPID_InkRecognizer = DISPID_InkRecognizer(8i32);
771 impl ::std::convert::From<i32> for DISPID_InkRecognizer {
from(value: i32) -> Self772     fn from(value: i32) -> Self {
773         Self(value)
774     }
775 }
776 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognizer {
777     type Abi = Self;
778     type DefaultType = Self;
779 }
780 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
781 #[repr(transparent)]
782 pub struct DISPID_InkRecognizer2(pub i32);
783 pub const DISPID_RecoId: DISPID_InkRecognizer2 = DISPID_InkRecognizer2(0i32);
784 pub const DISPID_RecoUnicodeRanges: DISPID_InkRecognizer2 = DISPID_InkRecognizer2(1i32);
785 impl ::std::convert::From<i32> for DISPID_InkRecognizer2 {
from(value: i32) -> Self786     fn from(value: i32) -> Self {
787         Self(value)
788     }
789 }
790 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognizer2 {
791     type Abi = Self;
792     type DefaultType = Self;
793 }
794 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
795 #[repr(transparent)]
796 pub struct DISPID_InkRecognizerGuide(pub i32);
797 pub const DISPID_IRGWritingBox: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(1i32);
798 pub const DISPID_IRGDrawnBox: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(2i32);
799 pub const DISPID_IRGRows: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(3i32);
800 pub const DISPID_IRGColumns: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(4i32);
801 pub const DISPID_IRGMidline: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(5i32);
802 pub const DISPID_IRGGuideData: DISPID_InkRecognizerGuide = DISPID_InkRecognizerGuide(6i32);
803 impl ::std::convert::From<i32> for DISPID_InkRecognizerGuide {
from(value: i32) -> Self804     fn from(value: i32) -> Self {
805         Self(value)
806     }
807 }
808 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognizerGuide {
809     type Abi = Self;
810     type DefaultType = Self;
811 }
812 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
813 #[repr(transparent)]
814 pub struct DISPID_InkRecognizers(pub i32);
815 pub const DISPID_IRecos_NewEnum: DISPID_InkRecognizers = DISPID_InkRecognizers(-4i32);
816 pub const DISPID_IRecosItem: DISPID_InkRecognizers = DISPID_InkRecognizers(0i32);
817 pub const DISPID_IRecosCount: DISPID_InkRecognizers = DISPID_InkRecognizers(1i32);
818 pub const DISPID_IRecosGetDefaultRecognizer: DISPID_InkRecognizers = DISPID_InkRecognizers(2i32);
819 impl ::std::convert::From<i32> for DISPID_InkRecognizers {
from(value: i32) -> Self820     fn from(value: i32) -> Self {
821         Self(value)
822     }
823 }
824 unsafe impl ::windows::runtime::Abi for DISPID_InkRecognizers {
825     type Abi = Self;
826     type DefaultType = Self;
827 }
828 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
829 #[repr(transparent)]
830 pub struct DISPID_InkRectangle(pub i32);
831 pub const DISPID_IRTop: DISPID_InkRectangle = DISPID_InkRectangle(1i32);
832 pub const DISPID_IRLeft: DISPID_InkRectangle = DISPID_InkRectangle(2i32);
833 pub const DISPID_IRBottom: DISPID_InkRectangle = DISPID_InkRectangle(3i32);
834 pub const DISPID_IRRight: DISPID_InkRectangle = DISPID_InkRectangle(4i32);
835 pub const DISPID_IRGetRectangle: DISPID_InkRectangle = DISPID_InkRectangle(5i32);
836 pub const DISPID_IRSetRectangle: DISPID_InkRectangle = DISPID_InkRectangle(6i32);
837 pub const DISPID_IRData: DISPID_InkRectangle = DISPID_InkRectangle(7i32);
838 impl ::std::convert::From<i32> for DISPID_InkRectangle {
from(value: i32) -> Self839     fn from(value: i32) -> Self {
840         Self(value)
841     }
842 }
843 unsafe impl ::windows::runtime::Abi for DISPID_InkRectangle {
844     type Abi = Self;
845     type DefaultType = Self;
846 }
847 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
848 #[repr(transparent)]
849 pub struct DISPID_InkRenderer(pub i32);
850 pub const DISPID_IRGetViewTransform: DISPID_InkRenderer = DISPID_InkRenderer(1i32);
851 pub const DISPID_IRSetViewTransform: DISPID_InkRenderer = DISPID_InkRenderer(2i32);
852 pub const DISPID_IRGetObjectTransform: DISPID_InkRenderer = DISPID_InkRenderer(3i32);
853 pub const DISPID_IRSetObjectTransform: DISPID_InkRenderer = DISPID_InkRenderer(4i32);
854 pub const DISPID_IRDraw: DISPID_InkRenderer = DISPID_InkRenderer(5i32);
855 pub const DISPID_IRDrawStroke: DISPID_InkRenderer = DISPID_InkRenderer(6i32);
856 pub const DISPID_IRPixelToInkSpace: DISPID_InkRenderer = DISPID_InkRenderer(7i32);
857 pub const DISPID_IRInkSpaceToPixel: DISPID_InkRenderer = DISPID_InkRenderer(8i32);
858 pub const DISPID_IRPixelToInkSpaceFromPoints: DISPID_InkRenderer = DISPID_InkRenderer(9i32);
859 pub const DISPID_IRInkSpaceToPixelFromPoints: DISPID_InkRenderer = DISPID_InkRenderer(10i32);
860 pub const DISPID_IRMeasure: DISPID_InkRenderer = DISPID_InkRenderer(11i32);
861 pub const DISPID_IRMeasureStroke: DISPID_InkRenderer = DISPID_InkRenderer(12i32);
862 pub const DISPID_IRMove: DISPID_InkRenderer = DISPID_InkRenderer(13i32);
863 pub const DISPID_IRRotate: DISPID_InkRenderer = DISPID_InkRenderer(14i32);
864 pub const DISPID_IRScale: DISPID_InkRenderer = DISPID_InkRenderer(15i32);
865 impl ::std::convert::From<i32> for DISPID_InkRenderer {
from(value: i32) -> Self866     fn from(value: i32) -> Self {
867         Self(value)
868     }
869 }
870 unsafe impl ::windows::runtime::Abi for DISPID_InkRenderer {
871     type Abi = Self;
872     type DefaultType = Self;
873 }
874 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
875 #[repr(transparent)]
876 pub struct DISPID_InkStrokeDisp(pub i32);
877 pub const DISPID_ISDInkIndex: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(1i32);
878 pub const DISPID_ISDID: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(2i32);
879 pub const DISPID_ISDGetBoundingBox: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(3i32);
880 pub const DISPID_ISDDrawingAttributes: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(4i32);
881 pub const DISPID_ISDFindIntersections: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(5i32);
882 pub const DISPID_ISDGetRectangleIntersections: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(6i32);
883 pub const DISPID_ISDClip: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(7i32);
884 pub const DISPID_ISDHitTestCircle: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(8i32);
885 pub const DISPID_ISDNearestPoint: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(9i32);
886 pub const DISPID_ISDSplit: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(10i32);
887 pub const DISPID_ISDExtendedProperties: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(11i32);
888 pub const DISPID_ISDInk: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(12i32);
889 pub const DISPID_ISDBezierPoints: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(13i32);
890 pub const DISPID_ISDPolylineCusps: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(14i32);
891 pub const DISPID_ISDBezierCusps: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(15i32);
892 pub const DISPID_ISDSelfIntersections: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(16i32);
893 pub const DISPID_ISDPacketCount: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(17i32);
894 pub const DISPID_ISDPacketSize: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(18i32);
895 pub const DISPID_ISDPacketDescription: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(19i32);
896 pub const DISPID_ISDDeleted: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(20i32);
897 pub const DISPID_ISDGetPacketDescriptionPropertyMetrics: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(21i32);
898 pub const DISPID_ISDGetPoints: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(22i32);
899 pub const DISPID_ISDSetPoints: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(23i32);
900 pub const DISPID_ISDGetPacketData: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(24i32);
901 pub const DISPID_ISDGetPacketValuesByProperty: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(25i32);
902 pub const DISPID_ISDSetPacketValuesByProperty: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(26i32);
903 pub const DISPID_ISDGetFlattenedBezierPoints: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(27i32);
904 pub const DISPID_ISDScaleToRectangle: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(28i32);
905 pub const DISPID_ISDTransform: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(29i32);
906 pub const DISPID_ISDMove: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(30i32);
907 pub const DISPID_ISDRotate: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(31i32);
908 pub const DISPID_ISDShear: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(32i32);
909 pub const DISPID_ISDScale: DISPID_InkStrokeDisp = DISPID_InkStrokeDisp(33i32);
910 impl ::std::convert::From<i32> for DISPID_InkStrokeDisp {
from(value: i32) -> Self911     fn from(value: i32) -> Self {
912         Self(value)
913     }
914 }
915 unsafe impl ::windows::runtime::Abi for DISPID_InkStrokeDisp {
916     type Abi = Self;
917     type DefaultType = Self;
918 }
919 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
920 #[repr(transparent)]
921 pub struct DISPID_InkStrokes(pub i32);
922 pub const DISPID_ISs_NewEnum: DISPID_InkStrokes = DISPID_InkStrokes(-4i32);
923 pub const DISPID_ISsItem: DISPID_InkStrokes = DISPID_InkStrokes(0i32);
924 pub const DISPID_ISsCount: DISPID_InkStrokes = DISPID_InkStrokes(1i32);
925 pub const DISPID_ISsValid: DISPID_InkStrokes = DISPID_InkStrokes(2i32);
926 pub const DISPID_ISsInk: DISPID_InkStrokes = DISPID_InkStrokes(3i32);
927 pub const DISPID_ISsAdd: DISPID_InkStrokes = DISPID_InkStrokes(4i32);
928 pub const DISPID_ISsAddStrokes: DISPID_InkStrokes = DISPID_InkStrokes(5i32);
929 pub const DISPID_ISsRemove: DISPID_InkStrokes = DISPID_InkStrokes(6i32);
930 pub const DISPID_ISsRemoveStrokes: DISPID_InkStrokes = DISPID_InkStrokes(7i32);
931 pub const DISPID_ISsToString: DISPID_InkStrokes = DISPID_InkStrokes(8i32);
932 pub const DISPID_ISsModifyDrawingAttributes: DISPID_InkStrokes = DISPID_InkStrokes(9i32);
933 pub const DISPID_ISsGetBoundingBox: DISPID_InkStrokes = DISPID_InkStrokes(10i32);
934 pub const DISPID_ISsScaleToRectangle: DISPID_InkStrokes = DISPID_InkStrokes(11i32);
935 pub const DISPID_ISsTransform: DISPID_InkStrokes = DISPID_InkStrokes(12i32);
936 pub const DISPID_ISsMove: DISPID_InkStrokes = DISPID_InkStrokes(13i32);
937 pub const DISPID_ISsRotate: DISPID_InkStrokes = DISPID_InkStrokes(14i32);
938 pub const DISPID_ISsShear: DISPID_InkStrokes = DISPID_InkStrokes(15i32);
939 pub const DISPID_ISsScale: DISPID_InkStrokes = DISPID_InkStrokes(16i32);
940 pub const DISPID_ISsClip: DISPID_InkStrokes = DISPID_InkStrokes(17i32);
941 pub const DISPID_ISsRecognitionResult: DISPID_InkStrokes = DISPID_InkStrokes(18i32);
942 pub const DISPID_ISsRemoveRecognitionResult: DISPID_InkStrokes = DISPID_InkStrokes(19i32);
943 impl ::std::convert::From<i32> for DISPID_InkStrokes {
from(value: i32) -> Self944     fn from(value: i32) -> Self {
945         Self(value)
946     }
947 }
948 unsafe impl ::windows::runtime::Abi for DISPID_InkStrokes {
949     type Abi = Self;
950     type DefaultType = Self;
951 }
952 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
953 #[repr(transparent)]
954 pub struct DISPID_InkTablet(pub i32);
955 pub const DISPID_ITName: DISPID_InkTablet = DISPID_InkTablet(0i32);
956 pub const DISPID_ITPlugAndPlayId: DISPID_InkTablet = DISPID_InkTablet(1i32);
957 pub const DISPID_ITPropertyMetrics: DISPID_InkTablet = DISPID_InkTablet(2i32);
958 pub const DISPID_ITIsPacketPropertySupported: DISPID_InkTablet = DISPID_InkTablet(3i32);
959 pub const DISPID_ITMaximumInputRectangle: DISPID_InkTablet = DISPID_InkTablet(4i32);
960 pub const DISPID_ITHardwareCapabilities: DISPID_InkTablet = DISPID_InkTablet(5i32);
961 impl ::std::convert::From<i32> for DISPID_InkTablet {
from(value: i32) -> Self962     fn from(value: i32) -> Self {
963         Self(value)
964     }
965 }
966 unsafe impl ::windows::runtime::Abi for DISPID_InkTablet {
967     type Abi = Self;
968     type DefaultType = Self;
969 }
970 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
971 #[repr(transparent)]
972 pub struct DISPID_InkTablet2(pub i32);
973 pub const DISPID_IT2DeviceKind: DISPID_InkTablet2 = DISPID_InkTablet2(0i32);
974 impl ::std::convert::From<i32> for DISPID_InkTablet2 {
from(value: i32) -> Self975     fn from(value: i32) -> Self {
976         Self(value)
977     }
978 }
979 unsafe impl ::windows::runtime::Abi for DISPID_InkTablet2 {
980     type Abi = Self;
981     type DefaultType = Self;
982 }
983 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
984 #[repr(transparent)]
985 pub struct DISPID_InkTablet3(pub i32);
986 pub const DISPID_IT3IsMultiTouch: DISPID_InkTablet3 = DISPID_InkTablet3(0i32);
987 pub const DISPID_IT3MaximumCursors: DISPID_InkTablet3 = DISPID_InkTablet3(1i32);
988 impl ::std::convert::From<i32> for DISPID_InkTablet3 {
from(value: i32) -> Self989     fn from(value: i32) -> Self {
990         Self(value)
991     }
992 }
993 unsafe impl ::windows::runtime::Abi for DISPID_InkTablet3 {
994     type Abi = Self;
995     type DefaultType = Self;
996 }
997 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
998 #[repr(transparent)]
999 pub struct DISPID_InkTablets(pub i32);
1000 pub const DISPID_ITs_NewEnum: DISPID_InkTablets = DISPID_InkTablets(-4i32);
1001 pub const DISPID_ITsItem: DISPID_InkTablets = DISPID_InkTablets(0i32);
1002 pub const DISPID_ITsDefaultTablet: DISPID_InkTablets = DISPID_InkTablets(1i32);
1003 pub const DISPID_ITsCount: DISPID_InkTablets = DISPID_InkTablets(2i32);
1004 pub const DISPID_ITsIsPacketPropertySupported: DISPID_InkTablets = DISPID_InkTablets(3i32);
1005 impl ::std::convert::From<i32> for DISPID_InkTablets {
from(value: i32) -> Self1006     fn from(value: i32) -> Self {
1007         Self(value)
1008     }
1009 }
1010 unsafe impl ::windows::runtime::Abi for DISPID_InkTablets {
1011     type Abi = Self;
1012     type DefaultType = Self;
1013 }
1014 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1015 #[repr(transparent)]
1016 pub struct DISPID_InkTransform(pub i32);
1017 pub const DISPID_ITReset: DISPID_InkTransform = DISPID_InkTransform(1i32);
1018 pub const DISPID_ITTranslate: DISPID_InkTransform = DISPID_InkTransform(2i32);
1019 pub const DISPID_ITRotate: DISPID_InkTransform = DISPID_InkTransform(3i32);
1020 pub const DISPID_ITReflect: DISPID_InkTransform = DISPID_InkTransform(4i32);
1021 pub const DISPID_ITShear: DISPID_InkTransform = DISPID_InkTransform(5i32);
1022 pub const DISPID_ITScale: DISPID_InkTransform = DISPID_InkTransform(6i32);
1023 pub const DISPID_ITeM11: DISPID_InkTransform = DISPID_InkTransform(7i32);
1024 pub const DISPID_ITeM12: DISPID_InkTransform = DISPID_InkTransform(8i32);
1025 pub const DISPID_ITeM21: DISPID_InkTransform = DISPID_InkTransform(9i32);
1026 pub const DISPID_ITeM22: DISPID_InkTransform = DISPID_InkTransform(10i32);
1027 pub const DISPID_ITeDx: DISPID_InkTransform = DISPID_InkTransform(11i32);
1028 pub const DISPID_ITeDy: DISPID_InkTransform = DISPID_InkTransform(12i32);
1029 pub const DISPID_ITGetTransform: DISPID_InkTransform = DISPID_InkTransform(13i32);
1030 pub const DISPID_ITSetTransform: DISPID_InkTransform = DISPID_InkTransform(14i32);
1031 pub const DISPID_ITData: DISPID_InkTransform = DISPID_InkTransform(15i32);
1032 impl ::std::convert::From<i32> for DISPID_InkTransform {
from(value: i32) -> Self1033     fn from(value: i32) -> Self {
1034         Self(value)
1035     }
1036 }
1037 unsafe impl ::windows::runtime::Abi for DISPID_InkTransform {
1038     type Abi = Self;
1039     type DefaultType = Self;
1040 }
1041 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1042 #[repr(transparent)]
1043 pub struct DISPID_InkWordList(pub i32);
1044 pub const DISPID_InkWordList_AddWord: DISPID_InkWordList = DISPID_InkWordList(0i32);
1045 pub const DISPID_InkWordList_RemoveWord: DISPID_InkWordList = DISPID_InkWordList(1i32);
1046 pub const DISPID_InkWordList_Merge: DISPID_InkWordList = DISPID_InkWordList(2i32);
1047 impl ::std::convert::From<i32> for DISPID_InkWordList {
from(value: i32) -> Self1048     fn from(value: i32) -> Self {
1049         Self(value)
1050     }
1051 }
1052 unsafe impl ::windows::runtime::Abi for DISPID_InkWordList {
1053     type Abi = Self;
1054     type DefaultType = Self;
1055 }
1056 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1057 #[repr(transparent)]
1058 pub struct DISPID_InkWordList2(pub i32);
1059 pub const DISPID_InkWordList2_AddWords: DISPID_InkWordList2 = DISPID_InkWordList2(3i32);
1060 impl ::std::convert::From<i32> for DISPID_InkWordList2 {
from(value: i32) -> Self1061     fn from(value: i32) -> Self {
1062         Self(value)
1063     }
1064 }
1065 unsafe impl ::windows::runtime::Abi for DISPID_InkWordList2 {
1066     type Abi = Self;
1067     type DefaultType = Self;
1068 }
1069 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1070 #[repr(transparent)]
1071 pub struct DISPID_MathInputControlEvents(pub i32);
1072 pub const DISPID_MICInsert: DISPID_MathInputControlEvents = DISPID_MathInputControlEvents(0i32);
1073 pub const DISPID_MICClose: DISPID_MathInputControlEvents = DISPID_MathInputControlEvents(1i32);
1074 pub const DISPID_MICPaint: DISPID_MathInputControlEvents = DISPID_MathInputControlEvents(2i32);
1075 pub const DISPID_MICClear: DISPID_MathInputControlEvents = DISPID_MathInputControlEvents(3i32);
1076 impl ::std::convert::From<i32> for DISPID_MathInputControlEvents {
from(value: i32) -> Self1077     fn from(value: i32) -> Self {
1078         Self(value)
1079     }
1080 }
1081 unsafe impl ::windows::runtime::Abi for DISPID_MathInputControlEvents {
1082     type Abi = Self;
1083     type DefaultType = Self;
1084 }
1085 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1086 #[repr(transparent)]
1087 pub struct DISPID_PenInputPanel(pub i32);
1088 pub const DISPID_PIPAttachedEditWindow: DISPID_PenInputPanel = DISPID_PenInputPanel(0i32);
1089 pub const DISPID_PIPFactoid: DISPID_PenInputPanel = DISPID_PenInputPanel(1i32);
1090 pub const DISPID_PIPCurrentPanel: DISPID_PenInputPanel = DISPID_PenInputPanel(2i32);
1091 pub const DISPID_PIPDefaultPanel: DISPID_PenInputPanel = DISPID_PenInputPanel(3i32);
1092 pub const DISPID_PIPVisible: DISPID_PenInputPanel = DISPID_PenInputPanel(4i32);
1093 pub const DISPID_PIPTop: DISPID_PenInputPanel = DISPID_PenInputPanel(5i32);
1094 pub const DISPID_PIPLeft: DISPID_PenInputPanel = DISPID_PenInputPanel(6i32);
1095 pub const DISPID_PIPWidth: DISPID_PenInputPanel = DISPID_PenInputPanel(7i32);
1096 pub const DISPID_PIPHeight: DISPID_PenInputPanel = DISPID_PenInputPanel(8i32);
1097 pub const DISPID_PIPMoveTo: DISPID_PenInputPanel = DISPID_PenInputPanel(9i32);
1098 pub const DISPID_PIPCommitPendingInput: DISPID_PenInputPanel = DISPID_PenInputPanel(10i32);
1099 pub const DISPID_PIPRefresh: DISPID_PenInputPanel = DISPID_PenInputPanel(11i32);
1100 pub const DISPID_PIPBusy: DISPID_PenInputPanel = DISPID_PenInputPanel(12i32);
1101 pub const DISPID_PIPVerticalOffset: DISPID_PenInputPanel = DISPID_PenInputPanel(13i32);
1102 pub const DISPID_PIPHorizontalOffset: DISPID_PenInputPanel = DISPID_PenInputPanel(14i32);
1103 pub const DISPID_PIPEnableTsf: DISPID_PenInputPanel = DISPID_PenInputPanel(15i32);
1104 pub const DISPID_PIPAutoShow: DISPID_PenInputPanel = DISPID_PenInputPanel(16i32);
1105 impl ::std::convert::From<i32> for DISPID_PenInputPanel {
from(value: i32) -> Self1106     fn from(value: i32) -> Self {
1107         Self(value)
1108     }
1109 }
1110 unsafe impl ::windows::runtime::Abi for DISPID_PenInputPanel {
1111     type Abi = Self;
1112     type DefaultType = Self;
1113 }
1114 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1115 #[repr(transparent)]
1116 pub struct DISPID_PenInputPanelEvents(pub i32);
1117 pub const DISPID_PIPEVisibleChanged: DISPID_PenInputPanelEvents = DISPID_PenInputPanelEvents(0i32);
1118 pub const DISPID_PIPEPanelChanged: DISPID_PenInputPanelEvents = DISPID_PenInputPanelEvents(1i32);
1119 pub const DISPID_PIPEInputFailed: DISPID_PenInputPanelEvents = DISPID_PenInputPanelEvents(2i32);
1120 pub const DISPID_PIPEPanelMoving: DISPID_PenInputPanelEvents = DISPID_PenInputPanelEvents(3i32);
1121 impl ::std::convert::From<i32> for DISPID_PenInputPanelEvents {
from(value: i32) -> Self1122     fn from(value: i32) -> Self {
1123         Self(value)
1124     }
1125 }
1126 unsafe impl ::windows::runtime::Abi for DISPID_PenInputPanelEvents {
1127     type Abi = Self;
1128     type DefaultType = Self;
1129 }
1130 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1131 #[repr(transparent)]
1132 pub struct DISPID_StrokeEvent(pub i32);
1133 pub const DISPID_SEStrokesAdded: DISPID_StrokeEvent = DISPID_StrokeEvent(1i32);
1134 pub const DISPID_SEStrokesRemoved: DISPID_StrokeEvent = DISPID_StrokeEvent(2i32);
1135 impl ::std::convert::From<i32> for DISPID_StrokeEvent {
from(value: i32) -> Self1136     fn from(value: i32) -> Self {
1137         Self(value)
1138     }
1139 }
1140 unsafe impl ::windows::runtime::Abi for DISPID_StrokeEvent {
1141     type Abi = Self;
1142     type DefaultType = Self;
1143 }
1144 #[derive(:: std :: clone :: Clone)]
1145 #[repr(C)]
1146 pub struct DYNAMIC_RENDERER_CACHED_DATA {
1147     pub strokeId: i32,
1148     pub dynamicRenderer: ::std::option::Option<IDynamicRenderer>,
1149 }
1150 impl DYNAMIC_RENDERER_CACHED_DATA {}
1151 impl ::std::default::Default for DYNAMIC_RENDERER_CACHED_DATA {
default() -> Self1152     fn default() -> Self {
1153         unsafe { ::std::mem::zeroed() }
1154     }
1155 }
1156 impl ::std::fmt::Debug for DYNAMIC_RENDERER_CACHED_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1157     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1158         fmt.debug_struct("DYNAMIC_RENDERER_CACHED_DATA").field("strokeId", &self.strokeId).field("dynamicRenderer", &self.dynamicRenderer).finish()
1159     }
1160 }
1161 impl ::std::cmp::PartialEq for DYNAMIC_RENDERER_CACHED_DATA {
eq(&self, other: &Self) -> bool1162     fn eq(&self, other: &Self) -> bool {
1163         self.strokeId == other.strokeId && self.dynamicRenderer == other.dynamicRenderer
1164     }
1165 }
1166 impl ::std::cmp::Eq for DYNAMIC_RENDERER_CACHED_DATA {}
1167 unsafe impl ::windows::runtime::Abi for DYNAMIC_RENDERER_CACHED_DATA {
1168     type Abi = ::std::mem::ManuallyDrop<Self>;
1169     type DefaultType = Self;
1170 }
1171 #[inline]
DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0) -> ::windows::runtime::Result<()>1172 pub unsafe fn DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0) -> ::windows::runtime::Result<()> {
1173     #[cfg(windows)]
1174     {
1175         #[link(name = "windows")]
1176         extern "system" {
1177             fn DestroyContext(hrc: HRECOCONTEXT) -> ::windows::runtime::HRESULT;
1178         }
1179         DestroyContext(hrc.into_param().abi()).ok()
1180     }
1181     #[cfg(not(windows))]
1182     unimplemented!("Unsupported target OS");
1183 }
1184 #[inline]
DestroyRecognizer<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0) -> ::windows::runtime::Result<()>1185 pub unsafe fn DestroyRecognizer<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0) -> ::windows::runtime::Result<()> {
1186     #[cfg(windows)]
1187     {
1188         #[link(name = "windows")]
1189         extern "system" {
1190             fn DestroyRecognizer(hrec: HRECOGNIZER) -> ::windows::runtime::HRESULT;
1191         }
1192         DestroyRecognizer(hrec.into_param().abi()).ok()
1193     }
1194     #[cfg(not(windows))]
1195     unimplemented!("Unsupported target OS");
1196 }
1197 #[inline]
DestroyWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>>(hwl: Param0) -> ::windows::runtime::Result<()>1198 pub unsafe fn DestroyWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>>(hwl: Param0) -> ::windows::runtime::Result<()> {
1199     #[cfg(windows)]
1200     {
1201         #[link(name = "windows")]
1202         extern "system" {
1203             fn DestroyWordList(hwl: HRECOWORDLIST) -> ::windows::runtime::HRESULT;
1204         }
1205         DestroyWordList(hwl.into_param().abi()).ok()
1206     }
1207     #[cfg(not(windows))]
1208     unimplemented!("Unsupported target OS");
1209 }
1210 pub const DynamicRenderer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3973262058, 29807, 19915, [191, 104, 8, 39, 87, 250, 255, 24]);
1211 pub const EM_GETDRAWATTR: u32 = 1541u32;
1212 pub const EM_GETFACTOID: u32 = 1549u32;
1213 pub const EM_GETGESTURESTATUS: u32 = 1545u32;
1214 pub const EM_GETINKINSERTMODE: u32 = 1539u32;
1215 pub const EM_GETINKMODE: u32 = 1537u32;
1216 pub const EM_GETMOUSEICON: u32 = 1553u32;
1217 pub const EM_GETMOUSEPOINTER: u32 = 1555u32;
1218 pub const EM_GETRECOGNIZER: u32 = 1547u32;
1219 pub const EM_GETRECOTIMEOUT: u32 = 1543u32;
1220 pub const EM_GETSELINK: u32 = 1551u32;
1221 pub const EM_GETSELINKDISPLAYMODE: u32 = 1562u32;
1222 pub const EM_GETSTATUS: u32 = 1557u32;
1223 pub const EM_GETUSEMOUSEFORINPUT: u32 = 1559u32;
1224 pub const EM_RECOGNIZE: u32 = 1558u32;
1225 pub const EM_SETDRAWATTR: u32 = 1542u32;
1226 pub const EM_SETFACTOID: u32 = 1550u32;
1227 pub const EM_SETGESTURESTATUS: u32 = 1546u32;
1228 pub const EM_SETINKINSERTMODE: u32 = 1540u32;
1229 pub const EM_SETINKMODE: u32 = 1538u32;
1230 pub const EM_SETMOUSEICON: u32 = 1554u32;
1231 pub const EM_SETMOUSEPOINTER: u32 = 1556u32;
1232 pub const EM_SETRECOGNIZER: u32 = 1548u32;
1233 pub const EM_SETRECOTIMEOUT: u32 = 1544u32;
1234 pub const EM_SETSELINK: u32 = 1552u32;
1235 pub const EM_SETSELINKDISPLAYMODE: u32 = 1561u32;
1236 pub const EM_SETUSEMOUSEFORINPUT: u32 = 1560u32;
1237 #[inline]
EndInkInput<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0) -> ::windows::runtime::Result<()>1238 pub unsafe fn EndInkInput<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0) -> ::windows::runtime::Result<()> {
1239     #[cfg(windows)]
1240     {
1241         #[link(name = "windows")]
1242         extern "system" {
1243             fn EndInkInput(hrc: HRECOCONTEXT) -> ::windows::runtime::HRESULT;
1244         }
1245         EndInkInput(hrc.into_param().abi()).ok()
1246     }
1247     #[cfg(not(windows))]
1248     unimplemented!("Unsupported target OS");
1249 }
1250 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1251 #[repr(transparent)]
1252 pub struct EventMask(pub i32);
1253 pub const EventMask_InPlaceStateChanging: EventMask = EventMask(1i32);
1254 pub const EventMask_InPlaceStateChanged: EventMask = EventMask(2i32);
1255 pub const EventMask_InPlaceSizeChanging: EventMask = EventMask(4i32);
1256 pub const EventMask_InPlaceSizeChanged: EventMask = EventMask(8i32);
1257 pub const EventMask_InputAreaChanging: EventMask = EventMask(16i32);
1258 pub const EventMask_InputAreaChanged: EventMask = EventMask(32i32);
1259 pub const EventMask_CorrectionModeChanging: EventMask = EventMask(64i32);
1260 pub const EventMask_CorrectionModeChanged: EventMask = EventMask(128i32);
1261 pub const EventMask_InPlaceVisibilityChanging: EventMask = EventMask(256i32);
1262 pub const EventMask_InPlaceVisibilityChanged: EventMask = EventMask(512i32);
1263 pub const EventMask_TextInserting: EventMask = EventMask(1024i32);
1264 pub const EventMask_TextInserted: EventMask = EventMask(2048i32);
1265 pub const EventMask_All: EventMask = EventMask(4095i32);
1266 impl ::std::convert::From<i32> for EventMask {
from(value: i32) -> Self1267     fn from(value: i32) -> Self {
1268         Self(value)
1269     }
1270 }
1271 unsafe impl ::windows::runtime::Abi for EventMask {
1272     type Abi = Self;
1273     type DefaultType = Self;
1274 }
1275 pub const FACILITY_INK: u32 = 40u32;
1276 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1277 #[repr(transparent)]
1278 pub struct FLICKACTION_COMMANDCODE(pub i32);
1279 pub const FLICKACTION_COMMANDCODE_NULL: FLICKACTION_COMMANDCODE = FLICKACTION_COMMANDCODE(0i32);
1280 pub const FLICKACTION_COMMANDCODE_SCROLL: FLICKACTION_COMMANDCODE = FLICKACTION_COMMANDCODE(1i32);
1281 pub const FLICKACTION_COMMANDCODE_APPCOMMAND: FLICKACTION_COMMANDCODE = FLICKACTION_COMMANDCODE(2i32);
1282 pub const FLICKACTION_COMMANDCODE_CUSTOMKEY: FLICKACTION_COMMANDCODE = FLICKACTION_COMMANDCODE(3i32);
1283 pub const FLICKACTION_COMMANDCODE_KEYMODIFIER: FLICKACTION_COMMANDCODE = FLICKACTION_COMMANDCODE(4i32);
1284 impl ::std::convert::From<i32> for FLICKACTION_COMMANDCODE {
from(value: i32) -> Self1285     fn from(value: i32) -> Self {
1286         Self(value)
1287     }
1288 }
1289 unsafe impl ::windows::runtime::Abi for FLICKACTION_COMMANDCODE {
1290     type Abi = Self;
1291     type DefaultType = Self;
1292 }
1293 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1294 #[repr(transparent)]
1295 pub struct FLICKDIRECTION(pub i32);
1296 pub const FLICKDIRECTION_MIN: FLICKDIRECTION = FLICKDIRECTION(0i32);
1297 pub const FLICKDIRECTION_RIGHT: FLICKDIRECTION = FLICKDIRECTION(0i32);
1298 pub const FLICKDIRECTION_UPRIGHT: FLICKDIRECTION = FLICKDIRECTION(1i32);
1299 pub const FLICKDIRECTION_UP: FLICKDIRECTION = FLICKDIRECTION(2i32);
1300 pub const FLICKDIRECTION_UPLEFT: FLICKDIRECTION = FLICKDIRECTION(3i32);
1301 pub const FLICKDIRECTION_LEFT: FLICKDIRECTION = FLICKDIRECTION(4i32);
1302 pub const FLICKDIRECTION_DOWNLEFT: FLICKDIRECTION = FLICKDIRECTION(5i32);
1303 pub const FLICKDIRECTION_DOWN: FLICKDIRECTION = FLICKDIRECTION(6i32);
1304 pub const FLICKDIRECTION_DOWNRIGHT: FLICKDIRECTION = FLICKDIRECTION(7i32);
1305 pub const FLICKDIRECTION_INVALID: FLICKDIRECTION = FLICKDIRECTION(8i32);
1306 impl ::std::convert::From<i32> for FLICKDIRECTION {
from(value: i32) -> Self1307     fn from(value: i32) -> Self {
1308         Self(value)
1309     }
1310 }
1311 unsafe impl ::windows::runtime::Abi for FLICKDIRECTION {
1312     type Abi = Self;
1313     type DefaultType = Self;
1314 }
1315 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1316 #[repr(transparent)]
1317 pub struct FLICKMODE(pub i32);
1318 pub const FLICKMODE_MIN: FLICKMODE = FLICKMODE(0i32);
1319 pub const FLICKMODE_OFF: FLICKMODE = FLICKMODE(0i32);
1320 pub const FLICKMODE_ON: FLICKMODE = FLICKMODE(1i32);
1321 pub const FLICKMODE_LEARNING: FLICKMODE = FLICKMODE(2i32);
1322 pub const FLICKMODE_MAX: FLICKMODE = FLICKMODE(2i32);
1323 pub const FLICKMODE_DEFAULT: FLICKMODE = FLICKMODE(1i32);
1324 impl ::std::convert::From<i32> for FLICKMODE {
from(value: i32) -> Self1325     fn from(value: i32) -> Self {
1326         Self(value)
1327     }
1328 }
1329 unsafe impl ::windows::runtime::Abi for FLICKMODE {
1330     type Abi = Self;
1331     type DefaultType = Self;
1332 }
1333 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1334 #[repr(C)]
1335 pub struct FLICK_DATA {
1336     pub _bitfield: i32,
1337 }
1338 impl FLICK_DATA {}
1339 impl ::std::default::Default for FLICK_DATA {
default() -> Self1340     fn default() -> Self {
1341         unsafe { ::std::mem::zeroed() }
1342     }
1343 }
1344 impl ::std::fmt::Debug for FLICK_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1345     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1346         fmt.debug_struct("FLICK_DATA").field("_bitfield", &self._bitfield).finish()
1347     }
1348 }
1349 impl ::std::cmp::PartialEq for FLICK_DATA {
eq(&self, other: &Self) -> bool1350     fn eq(&self, other: &Self) -> bool {
1351         self._bitfield == other._bitfield
1352     }
1353 }
1354 impl ::std::cmp::Eq for FLICK_DATA {}
1355 unsafe impl ::windows::runtime::Abi for FLICK_DATA {
1356     type Abi = Self;
1357     type DefaultType = Self;
1358 }
1359 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1360 #[repr(C)]
1361 pub struct FLICK_POINT {
1362     pub _bitfield: i32,
1363 }
1364 impl FLICK_POINT {}
1365 impl ::std::default::Default for FLICK_POINT {
default() -> Self1366     fn default() -> Self {
1367         unsafe { ::std::mem::zeroed() }
1368     }
1369 }
1370 impl ::std::fmt::Debug for FLICK_POINT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1371     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1372         fmt.debug_struct("FLICK_POINT").field("_bitfield", &self._bitfield).finish()
1373     }
1374 }
1375 impl ::std::cmp::PartialEq for FLICK_POINT {
eq(&self, other: &Self) -> bool1376     fn eq(&self, other: &Self) -> bool {
1377         self._bitfield == other._bitfield
1378     }
1379 }
1380 impl ::std::cmp::Eq for FLICK_POINT {}
1381 unsafe impl ::windows::runtime::Abi for FLICK_POINT {
1382     type Abi = Self;
1383     type DefaultType = Self;
1384 }
1385 pub const FLICK_WM_HANDLED_MASK: u32 = 1u32;
1386 pub const GESTURE_ARROW_DOWN: u32 = 61497u32;
1387 pub const GESTURE_ARROW_LEFT: u32 = 61498u32;
1388 pub const GESTURE_ARROW_RIGHT: u32 = 61499u32;
1389 pub const GESTURE_ARROW_UP: u32 = 61496u32;
1390 pub const GESTURE_ASTERISK: u32 = 61608u32;
1391 pub const GESTURE_BRACE_LEFT: u32 = 61674u32;
1392 pub const GESTURE_BRACE_OVER: u32 = 61672u32;
1393 pub const GESTURE_BRACE_RIGHT: u32 = 61675u32;
1394 pub const GESTURE_BRACE_UNDER: u32 = 61673u32;
1395 pub const GESTURE_BRACKET_LEFT: u32 = 61670u32;
1396 pub const GESTURE_BRACKET_OVER: u32 = 61668u32;
1397 pub const GESTURE_BRACKET_RIGHT: u32 = 61671u32;
1398 pub const GESTURE_BRACKET_UNDER: u32 = 61669u32;
1399 pub const GESTURE_BULLET: u32 = 61450u32;
1400 pub const GESTURE_BULLET_CROSS: u32 = 61451u32;
1401 pub const GESTURE_CHECK: u32 = 61445u32;
1402 pub const GESTURE_CHEVRON_DOWN: u32 = 61489u32;
1403 pub const GESTURE_CHEVRON_LEFT: u32 = 61490u32;
1404 pub const GESTURE_CHEVRON_RIGHT: u32 = 61491u32;
1405 pub const GESTURE_CHEVRON_UP: u32 = 61488u32;
1406 pub const GESTURE_CIRCLE: u32 = 61472u32;
1407 pub const GESTURE_CIRCLE_CIRCLE: u32 = 61475u32;
1408 pub const GESTURE_CIRCLE_CROSS: u32 = 61477u32;
1409 pub const GESTURE_CIRCLE_LINE_HORZ: u32 = 61479u32;
1410 pub const GESTURE_CIRCLE_LINE_VERT: u32 = 61478u32;
1411 pub const GESTURE_CIRCLE_TAP: u32 = 61474u32;
1412 pub const GESTURE_CLOSEUP: u32 = 61455u32;
1413 pub const GESTURE_CROSS: u32 = 61447u32;
1414 pub const GESTURE_CURLICUE: u32 = 61456u32;
1415 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1416 #[repr(C)]
1417 pub struct GESTURE_DATA {
1418     pub gestureId: i32,
1419     pub recoConfidence: i32,
1420     pub strokeCount: i32,
1421 }
1422 impl GESTURE_DATA {}
1423 impl ::std::default::Default for GESTURE_DATA {
default() -> Self1424     fn default() -> Self {
1425         unsafe { ::std::mem::zeroed() }
1426     }
1427 }
1428 impl ::std::fmt::Debug for GESTURE_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1429     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1430         fmt.debug_struct("GESTURE_DATA").field("gestureId", &self.gestureId).field("recoConfidence", &self.recoConfidence).field("strokeCount", &self.strokeCount).finish()
1431     }
1432 }
1433 impl ::std::cmp::PartialEq for GESTURE_DATA {
eq(&self, other: &Self) -> bool1434     fn eq(&self, other: &Self) -> bool {
1435         self.gestureId == other.gestureId && self.recoConfidence == other.recoConfidence && self.strokeCount == other.strokeCount
1436     }
1437 }
1438 impl ::std::cmp::Eq for GESTURE_DATA {}
1439 unsafe impl ::windows::runtime::Abi for GESTURE_DATA {
1440     type Abi = Self;
1441     type DefaultType = Self;
1442 }
1443 pub const GESTURE_DIAGONAL_LEFTDOWN: u32 = 61534u32;
1444 pub const GESTURE_DIAGONAL_LEFTUP: u32 = 61532u32;
1445 pub const GESTURE_DIAGONAL_RIGHTDOWN: u32 = 61535u32;
1446 pub const GESTURE_DIAGONAL_RIGHTUP: u32 = 61533u32;
1447 pub const GESTURE_DIGIT_0: u32 = 61594u32;
1448 pub const GESTURE_DIGIT_1: u32 = 61595u32;
1449 pub const GESTURE_DIGIT_2: u32 = 61596u32;
1450 pub const GESTURE_DIGIT_3: u32 = 61597u32;
1451 pub const GESTURE_DIGIT_4: u32 = 61598u32;
1452 pub const GESTURE_DIGIT_5: u32 = 61599u32;
1453 pub const GESTURE_DIGIT_6: u32 = 61600u32;
1454 pub const GESTURE_DIGIT_7: u32 = 61601u32;
1455 pub const GESTURE_DIGIT_8: u32 = 61602u32;
1456 pub const GESTURE_DIGIT_9: u32 = 61603u32;
1457 pub const GESTURE_DOLLAR: u32 = 61607u32;
1458 pub const GESTURE_DOUBLE_ARROW_DOWN: u32 = 61501u32;
1459 pub const GESTURE_DOUBLE_ARROW_LEFT: u32 = 61502u32;
1460 pub const GESTURE_DOUBLE_ARROW_RIGHT: u32 = 61503u32;
1461 pub const GESTURE_DOUBLE_ARROW_UP: u32 = 61500u32;
1462 pub const GESTURE_DOUBLE_CIRCLE: u32 = 61473u32;
1463 pub const GESTURE_DOUBLE_CURLICUE: u32 = 61457u32;
1464 pub const GESTURE_DOUBLE_DOWN: u32 = 61625u32;
1465 pub const GESTURE_DOUBLE_LEFT: u32 = 61626u32;
1466 pub const GESTURE_DOUBLE_RIGHT: u32 = 61627u32;
1467 pub const GESTURE_DOUBLE_TAP: u32 = 61681u32;
1468 pub const GESTURE_DOUBLE_UP: u32 = 61624u32;
1469 pub const GESTURE_DOWN: u32 = 61529u32;
1470 pub const GESTURE_DOWN_ARROW_LEFT: u32 = 61506u32;
1471 pub const GESTURE_DOWN_ARROW_RIGHT: u32 = 61507u32;
1472 pub const GESTURE_DOWN_LEFT: u32 = 61546u32;
1473 pub const GESTURE_DOWN_LEFT_LONG: u32 = 61542u32;
1474 pub const GESTURE_DOWN_RIGHT: u32 = 61547u32;
1475 pub const GESTURE_DOWN_RIGHT_LONG: u32 = 61543u32;
1476 pub const GESTURE_DOWN_UP: u32 = 61537u32;
1477 pub const GESTURE_EXCLAMATION: u32 = 61604u32;
1478 pub const GESTURE_INFINITY: u32 = 61446u32;
1479 pub const GESTURE_LEFT: u32 = 61530u32;
1480 pub const GESTURE_LEFT_ARROW_DOWN: u32 = 61509u32;
1481 pub const GESTURE_LEFT_ARROW_UP: u32 = 61508u32;
1482 pub const GESTURE_LEFT_DOWN: u32 = 61549u32;
1483 pub const GESTURE_LEFT_RIGHT: u32 = 61538u32;
1484 pub const GESTURE_LEFT_UP: u32 = 61548u32;
1485 pub const GESTURE_LETTER_A: u32 = 61568u32;
1486 pub const GESTURE_LETTER_B: u32 = 61569u32;
1487 pub const GESTURE_LETTER_C: u32 = 61570u32;
1488 pub const GESTURE_LETTER_D: u32 = 61571u32;
1489 pub const GESTURE_LETTER_E: u32 = 61572u32;
1490 pub const GESTURE_LETTER_F: u32 = 61573u32;
1491 pub const GESTURE_LETTER_G: u32 = 61574u32;
1492 pub const GESTURE_LETTER_H: u32 = 61575u32;
1493 pub const GESTURE_LETTER_I: u32 = 61576u32;
1494 pub const GESTURE_LETTER_J: u32 = 61577u32;
1495 pub const GESTURE_LETTER_K: u32 = 61578u32;
1496 pub const GESTURE_LETTER_L: u32 = 61579u32;
1497 pub const GESTURE_LETTER_M: u32 = 61580u32;
1498 pub const GESTURE_LETTER_N: u32 = 61581u32;
1499 pub const GESTURE_LETTER_O: u32 = 61582u32;
1500 pub const GESTURE_LETTER_P: u32 = 61583u32;
1501 pub const GESTURE_LETTER_Q: u32 = 61584u32;
1502 pub const GESTURE_LETTER_R: u32 = 61585u32;
1503 pub const GESTURE_LETTER_S: u32 = 61586u32;
1504 pub const GESTURE_LETTER_T: u32 = 61587u32;
1505 pub const GESTURE_LETTER_U: u32 = 61588u32;
1506 pub const GESTURE_LETTER_V: u32 = 61589u32;
1507 pub const GESTURE_LETTER_W: u32 = 61590u32;
1508 pub const GESTURE_LETTER_X: u32 = 61591u32;
1509 pub const GESTURE_LETTER_Y: u32 = 61592u32;
1510 pub const GESTURE_LETTER_Z: u32 = 61593u32;
1511 pub const GESTURE_NULL: u32 = 61440u32;
1512 pub const GESTURE_OPENUP: u32 = 61454u32;
1513 pub const GESTURE_PARAGRAPH: u32 = 61448u32;
1514 pub const GESTURE_PLUS: u32 = 61609u32;
1515 pub const GESTURE_QUAD_TAP: u32 = 61683u32;
1516 pub const GESTURE_QUESTION: u32 = 61605u32;
1517 pub const GESTURE_RECTANGLE: u32 = 61458u32;
1518 pub const GESTURE_RIGHT: u32 = 61531u32;
1519 pub const GESTURE_RIGHT_ARROW_DOWN: u32 = 61511u32;
1520 pub const GESTURE_RIGHT_ARROW_UP: u32 = 61510u32;
1521 pub const GESTURE_RIGHT_DOWN: u32 = 61551u32;
1522 pub const GESTURE_RIGHT_LEFT: u32 = 61539u32;
1523 pub const GESTURE_RIGHT_UP: u32 = 61550u32;
1524 pub const GESTURE_SCRATCHOUT: u32 = 61441u32;
1525 pub const GESTURE_SECTION: u32 = 61449u32;
1526 pub const GESTURE_SEMICIRCLE_LEFT: u32 = 61480u32;
1527 pub const GESTURE_SEMICIRCLE_RIGHT: u32 = 61481u32;
1528 pub const GESTURE_SHARP: u32 = 61606u32;
1529 pub const GESTURE_SQUARE: u32 = 61443u32;
1530 pub const GESTURE_SQUIGGLE: u32 = 61452u32;
1531 pub const GESTURE_STAR: u32 = 61444u32;
1532 pub const GESTURE_SWAP: u32 = 61453u32;
1533 pub const GESTURE_TAP: u32 = 61680u32;
1534 pub const GESTURE_TRIANGLE: u32 = 61442u32;
1535 pub const GESTURE_TRIPLE_DOWN: u32 = 61629u32;
1536 pub const GESTURE_TRIPLE_LEFT: u32 = 61630u32;
1537 pub const GESTURE_TRIPLE_RIGHT: u32 = 61631u32;
1538 pub const GESTURE_TRIPLE_TAP: u32 = 61682u32;
1539 pub const GESTURE_TRIPLE_UP: u32 = 61628u32;
1540 pub const GESTURE_UP: u32 = 61528u32;
1541 pub const GESTURE_UP_ARROW_LEFT: u32 = 61504u32;
1542 pub const GESTURE_UP_ARROW_RIGHT: u32 = 61505u32;
1543 pub const GESTURE_UP_DOWN: u32 = 61536u32;
1544 pub const GESTURE_UP_LEFT: u32 = 61544u32;
1545 pub const GESTURE_UP_LEFT_LONG: u32 = 61540u32;
1546 pub const GESTURE_UP_RIGHT: u32 = 61545u32;
1547 pub const GESTURE_UP_RIGHT_LONG: u32 = 61541u32;
1548 pub const GUID_DYNAMIC_RENDERER_CACHED_DATA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3209894802, 9663, 19093, [137, 173, 14, 71, 107, 52, 180, 245]);
1549 pub const GUID_GESTURE_DATA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1105521679, 9898, 17754, [154, 165, 44, 211, 108, 246, 63, 185]);
1550 pub const GUID_PACKETPROPERTY_GUID_ALTITUDE_ORIENTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2195637703, 63162, 18694, [137, 79, 102, 214, 141, 252, 69, 108]);
1551 pub const GUID_PACKETPROPERTY_GUID_AZIMUTH_ORIENTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(43066292, 34856, 16651, [178, 80, 160, 83, 101, 149, 229, 220]);
1552 pub const GUID_PACKETPROPERTY_GUID_BUTTON_PRESSURE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2340417476, 38570, 19454, [172, 38, 138, 95, 11, 224, 123, 245]);
1553 pub const GUID_PACKETPROPERTY_GUID_DEVICE_CONTACT_ID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(39345041, 1179, 18256, [150, 21, 223, 137, 72, 171, 60, 156]);
1554 pub const GUID_PACKETPROPERTY_GUID_FINGERCONTACTCONFIDENCE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3875981316, 22512, 20224, [138, 12, 133, 61, 87, 120, 155, 233]);
1555 pub const GUID_PACKETPROPERTY_GUID_HEIGHT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3860355282, 58439, 16920, [157, 63, 24, 134, 92, 32, 61, 244]);
1556 pub const GUID_PACKETPROPERTY_GUID_NORMAL_PRESSURE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1929859117, 63988, 19992, [179, 242, 44, 225, 177, 163, 97, 12]);
1557 pub const GUID_PACKETPROPERTY_GUID_PACKET_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1846413247, 45031, 19703, [135, 209, 175, 100, 70, 32, 132, 24]);
1558 pub const GUID_PACKETPROPERTY_GUID_PITCH_ROTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2138986423, 48695, 19425, [163, 86, 122, 132, 22, 14, 24, 147]);
1559 pub const GUID_PACKETPROPERTY_GUID_ROLL_ROTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1566400086, 27561, 19547, [159, 176, 133, 28, 145, 113, 78, 86]);
1560 pub const GUID_PACKETPROPERTY_GUID_SERIAL_NUMBER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2024282966, 2357, 17555, [186, 174, 0, 84, 26, 138, 22, 196]);
1561 pub const GUID_PACKETPROPERTY_GUID_TANGENT_PRESSURE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1839483019, 21060, 16876, [144, 91, 50, 216, 154, 184, 8, 9]);
1562 pub const GUID_PACKETPROPERTY_GUID_TIMER_TICK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1130696901, 65235, 17873, [139, 118, 113, 211, 234, 122, 130, 157]);
1563 pub const GUID_PACKETPROPERTY_GUID_TWIST_ORIENTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(221399392, 5042, 16868, [172, 230, 122, 233, 212, 61, 45, 59]);
1564 pub const GUID_PACKETPROPERTY_GUID_WIDTH: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3131828557, 10002, 18677, [190, 157, 143, 139, 94, 160, 113, 26]);
1565 pub const GUID_PACKETPROPERTY_GUID_X: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1502243471, 21184, 19360, [147, 175, 175, 53, 116, 17, 165, 97]);
1566 pub const GUID_PACKETPROPERTY_GUID_X_TILT_ORIENTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2832235322, 35824, 16560, [149, 169, 184, 10, 107, 183, 135, 191]);
1567 pub const GUID_PACKETPROPERTY_GUID_Y: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3040845685, 1248, 17560, [167, 238, 195, 13, 187, 90, 144, 17]);
1568 pub const GUID_PACKETPROPERTY_GUID_YAW_ROTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1787074944, 31802, 17847, [170, 130, 144, 162, 98, 149, 14, 137]);
1569 pub const GUID_PACKETPROPERTY_GUID_Y_TILT_ORIENTATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(244523913, 7543, 17327, [172, 0, 91, 149, 13, 109, 75, 45]);
1570 pub const GUID_PACKETPROPERTY_GUID_Z: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1935334192, 3771, 18312, [160, 228, 15, 49, 100, 144, 5, 93]);
1571 pub const GestureRecognizer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3929065044, 50732, 17439, [172, 0, 149, 249, 161, 150, 120, 44]);
1572 #[inline]
GetAllRecognizers(recognizerclsids: *mut *mut ::windows::runtime::GUID, count: *mut u32) -> ::windows::runtime::Result<()>1573 pub unsafe fn GetAllRecognizers(recognizerclsids: *mut *mut ::windows::runtime::GUID, count: *mut u32) -> ::windows::runtime::Result<()> {
1574     #[cfg(windows)]
1575     {
1576         #[link(name = "windows")]
1577         extern "system" {
1578             fn GetAllRecognizers(recognizerclsids: *mut *mut ::windows::runtime::GUID, count: *mut u32) -> ::windows::runtime::HRESULT;
1579         }
1580         GetAllRecognizers(::std::mem::transmute(recognizerclsids), ::std::mem::transmute(count)).ok()
1581     }
1582     #[cfg(not(windows))]
1583     unimplemented!("Unsupported target OS");
1584 }
1585 #[cfg(feature = "Win32_Foundation")]
1586 #[inline]
GetBestResultString<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcbestresult: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>1587 pub unsafe fn GetBestResultString<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcbestresult: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
1588     #[cfg(windows)]
1589     {
1590         #[link(name = "windows")]
1591         extern "system" {
1592             fn GetBestResultString(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcbestresult: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
1593         }
1594         GetBestResultString(hrc.into_param().abi(), ::std::mem::transmute(pcsize), ::std::mem::transmute(pwcbestresult)).ok()
1595     }
1596     #[cfg(not(windows))]
1597     unimplemented!("Unsupported target OS");
1598 }
1599 #[inline]
GetLatticePtr<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pplattice: *mut *mut RECO_LATTICE) -> ::windows::runtime::Result<()>1600 pub unsafe fn GetLatticePtr<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pplattice: *mut *mut RECO_LATTICE) -> ::windows::runtime::Result<()> {
1601     #[cfg(windows)]
1602     {
1603         #[link(name = "windows")]
1604         extern "system" {
1605             fn GetLatticePtr(hrc: HRECOCONTEXT, pplattice: *mut *mut RECO_LATTICE) -> ::windows::runtime::HRESULT;
1606         }
1607         GetLatticePtr(hrc.into_param().abi(), ::std::mem::transmute(pplattice)).ok()
1608     }
1609     #[cfg(not(windows))]
1610     unimplemented!("Unsupported target OS");
1611 }
1612 #[cfg(feature = "Win32_Foundation")]
1613 #[inline]
GetLeftSeparator<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcleftseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>1614 pub unsafe fn GetLeftSeparator<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcleftseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
1615     #[cfg(windows)]
1616     {
1617         #[link(name = "windows")]
1618         extern "system" {
1619             fn GetLeftSeparator(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcleftseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
1620         }
1621         GetLeftSeparator(hrc.into_param().abi(), ::std::mem::transmute(pcsize), ::std::mem::transmute(pwcleftseparator)).ok()
1622     }
1623     #[cfg(not(windows))]
1624     unimplemented!("Unsupported target OS");
1625 }
1626 #[inline]
GetRecoAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, precoattrs: *mut RECO_ATTRS) -> ::windows::runtime::Result<()>1627 pub unsafe fn GetRecoAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, precoattrs: *mut RECO_ATTRS) -> ::windows::runtime::Result<()> {
1628     #[cfg(windows)]
1629     {
1630         #[link(name = "windows")]
1631         extern "system" {
1632             fn GetRecoAttributes(hrec: HRECOGNIZER, precoattrs: *mut RECO_ATTRS) -> ::windows::runtime::HRESULT;
1633         }
1634         GetRecoAttributes(hrec.into_param().abi(), ::std::mem::transmute(precoattrs)).ok()
1635     }
1636     #[cfg(not(windows))]
1637     unimplemented!("Unsupported target OS");
1638 }
1639 #[inline]
GetResultPropertyList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, ppropertycount: *mut u32, ppropertyguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1640 pub unsafe fn GetResultPropertyList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, ppropertycount: *mut u32, ppropertyguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
1641     #[cfg(windows)]
1642     {
1643         #[link(name = "windows")]
1644         extern "system" {
1645             fn GetResultPropertyList(hrec: HRECOGNIZER, ppropertycount: *mut u32, ppropertyguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT;
1646         }
1647         GetResultPropertyList(hrec.into_param().abi(), ::std::mem::transmute(ppropertycount), ::std::mem::transmute(ppropertyguid)).ok()
1648     }
1649     #[cfg(not(windows))]
1650     unimplemented!("Unsupported target OS");
1651 }
1652 #[cfg(feature = "Win32_Foundation")]
1653 #[inline]
GetRightSeparator<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcrightseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>1654 pub unsafe fn GetRightSeparator<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pcsize: *mut u32, pwcrightseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
1655     #[cfg(windows)]
1656     {
1657         #[link(name = "windows")]
1658         extern "system" {
1659             fn GetRightSeparator(hrc: HRECOCONTEXT, pcsize: *mut u32, pwcrightseparator: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
1660         }
1661         GetRightSeparator(hrc.into_param().abi(), ::std::mem::transmute(pcsize), ::std::mem::transmute(pwcrightseparator)).ok()
1662     }
1663     #[cfg(not(windows))]
1664     unimplemented!("Unsupported target OS");
1665 }
1666 #[inline]
GetUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, pcranges: *mut u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::Result<()>1667 pub unsafe fn GetUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>>(hrec: Param0, pcranges: *mut u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::Result<()> {
1668     #[cfg(windows)]
1669     {
1670         #[link(name = "windows")]
1671         extern "system" {
1672             fn GetUnicodeRanges(hrec: HRECOGNIZER, pcranges: *mut u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::HRESULT;
1673         }
1674         GetUnicodeRanges(hrec.into_param().abi(), ::std::mem::transmute(pcranges), ::std::mem::transmute(pcr)).ok()
1675     }
1676     #[cfg(not(windows))]
1677     unimplemented!("Unsupported target OS");
1678 }
1679 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1680 #[repr(transparent)]
1681 pub struct HRECOALT(pub isize);
1682 impl ::std::default::Default for HRECOALT {
default() -> Self1683     fn default() -> Self {
1684         unsafe { ::std::mem::zeroed() }
1685     }
1686 }
1687 unsafe impl ::windows::runtime::Handle for HRECOALT {}
1688 unsafe impl ::windows::runtime::Abi for HRECOALT {
1689     type Abi = Self;
1690     type DefaultType = Self;
1691 }
1692 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1693 #[repr(transparent)]
1694 pub struct HRECOCONTEXT(pub isize);
1695 impl ::std::default::Default for HRECOCONTEXT {
default() -> Self1696     fn default() -> Self {
1697         unsafe { ::std::mem::zeroed() }
1698     }
1699 }
1700 unsafe impl ::windows::runtime::Handle for HRECOCONTEXT {}
1701 unsafe impl ::windows::runtime::Abi for HRECOCONTEXT {
1702     type Abi = Self;
1703     type DefaultType = Self;
1704 }
1705 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1706 #[repr(transparent)]
1707 pub struct HRECOGNIZER(pub isize);
1708 impl ::std::default::Default for HRECOGNIZER {
default() -> Self1709     fn default() -> Self {
1710         unsafe { ::std::mem::zeroed() }
1711     }
1712 }
1713 unsafe impl ::windows::runtime::Handle for HRECOGNIZER {}
1714 unsafe impl ::windows::runtime::Abi for HRECOGNIZER {
1715     type Abi = Self;
1716     type DefaultType = Self;
1717 }
1718 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1719 #[repr(transparent)]
1720 pub struct HRECOLATTICE(pub isize);
1721 impl ::std::default::Default for HRECOLATTICE {
default() -> Self1722     fn default() -> Self {
1723         unsafe { ::std::mem::zeroed() }
1724     }
1725 }
1726 unsafe impl ::windows::runtime::Handle for HRECOLATTICE {}
1727 unsafe impl ::windows::runtime::Abi for HRECOLATTICE {
1728     type Abi = Self;
1729     type DefaultType = Self;
1730 }
1731 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1732 #[repr(transparent)]
1733 pub struct HRECOWORDLIST(pub isize);
1734 impl ::std::default::Default for HRECOWORDLIST {
default() -> Self1735     fn default() -> Self {
1736         unsafe { ::std::mem::zeroed() }
1737     }
1738 }
1739 unsafe impl ::windows::runtime::Handle for HRECOWORDLIST {}
1740 unsafe impl ::windows::runtime::Abi for HRECOWORDLIST {
1741     type Abi = Self;
1742     type DefaultType = Self;
1743 }
1744 pub const HandwrittenTextInsertion: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2668056290, 59113, 19850, [160, 71, 235, 91, 92, 60, 85, 218]);
1745 #[repr(transparent)]
1746 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1747 pub struct IDynamicRenderer(::windows::runtime::IUnknown);
1748 impl IDynamicRenderer {
1749     #[cfg(feature = "Win32_Foundation")]
Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1750     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1751         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1752         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1753     }
1754     #[cfg(feature = "Win32_Foundation")]
SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, benabled: Param0) -> ::windows::runtime::Result<()>1755     pub unsafe fn SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, benabled: Param0) -> ::windows::runtime::Result<()> {
1756         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), benabled.into_param().abi()).ok()
1757     }
1758     #[cfg(feature = "Win32_Foundation")]
HWND(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR>1759     pub unsafe fn HWND(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR> {
1760         let mut result__: <super::super::Foundation::HANDLE_PTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1761         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HANDLE_PTR>(result__)
1762     }
1763     #[cfg(feature = "Win32_Foundation")]
SetHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()>1764     pub unsafe fn SetHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()> {
1765         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), hwnd.into_param().abi()).ok()
1766     }
1767     #[cfg(feature = "Win32_Foundation")]
ClipRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>1768     pub unsafe fn ClipRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
1769         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1770         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
1771     }
1772     #[cfg(feature = "Win32_Foundation")]
SetClipRectangle(&self, prccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>1773     pub unsafe fn SetClipRectangle(&self, prccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
1774         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(prccliprect)).ok()
1775     }
1776     #[cfg(feature = "Win32_Foundation")]
ClipRegion(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR>1777     pub unsafe fn ClipRegion(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR> {
1778         let mut result__: <super::super::Foundation::HANDLE_PTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1779         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HANDLE_PTR>(result__)
1780     }
1781     #[cfg(feature = "Win32_Foundation")]
SetClipRegion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hcliprgn: Param0) -> ::windows::runtime::Result<()>1782     pub unsafe fn SetClipRegion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hcliprgn: Param0) -> ::windows::runtime::Result<()> {
1783         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), hcliprgn.into_param().abi()).ok()
1784     }
DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>1785     pub unsafe fn DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
1786         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1787         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
1788     }
putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, pida: Param0) -> ::windows::runtime::Result<()>1789     pub unsafe fn putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, pida: Param0) -> ::windows::runtime::Result<()> {
1790         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pida.into_param().abi()).ok()
1791     }
1792     #[cfg(feature = "Win32_Foundation")]
DataCacheEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1793     pub unsafe fn DataCacheEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1794         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1795         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1796     }
1797     #[cfg(feature = "Win32_Foundation")]
SetDataCacheEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fcachedata: Param0) -> ::windows::runtime::Result<()>1798     pub unsafe fn SetDataCacheEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fcachedata: Param0) -> ::windows::runtime::Result<()> {
1799         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), fcachedata.into_param().abi()).ok()
1800     }
ReleaseCachedData(&self, strokeid: u32) -> ::windows::runtime::Result<()>1801     pub unsafe fn ReleaseCachedData(&self, strokeid: u32) -> ::windows::runtime::Result<()> {
1802         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(strokeid)).ok()
1803     }
Refresh(&self) -> ::windows::runtime::Result<()>1804     pub unsafe fn Refresh(&self) -> ::windows::runtime::Result<()> {
1805         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
1806     }
1807     #[cfg(feature = "Win32_Foundation")]
Draw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hdc: Param0) -> ::windows::runtime::Result<()>1808     pub unsafe fn Draw<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hdc: Param0) -> ::windows::runtime::Result<()> {
1809         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), hdc.into_param().abi()).ok()
1810     }
1811 }
1812 unsafe impl ::windows::runtime::Interface for IDynamicRenderer {
1813     type Vtable = IDynamicRenderer_abi;
1814     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2692302478, 29029, 18169, [183, 175, 152, 173, 1, 169, 48, 9]);
1815 }
1816 impl ::std::convert::From<IDynamicRenderer> for ::windows::runtime::IUnknown {
from(value: IDynamicRenderer) -> Self1817     fn from(value: IDynamicRenderer) -> Self {
1818         unsafe { ::std::mem::transmute(value) }
1819     }
1820 }
1821 impl ::std::convert::From<&IDynamicRenderer> for ::windows::runtime::IUnknown {
from(value: &IDynamicRenderer) -> Self1822     fn from(value: &IDynamicRenderer) -> Self {
1823         ::std::convert::From::from(::std::clone::Clone::clone(value))
1824     }
1825 }
1826 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDynamicRenderer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1827     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1828         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1829     }
1830 }
1831 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDynamicRenderer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1832     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1833         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1834     }
1835 }
1836 #[repr(C)]
1837 #[doc(hidden)]
1838 pub struct IDynamicRenderer_abi(
1839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1842     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, benabled: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1843     #[cfg(not(feature = "Win32_Foundation"))] usize,
1844     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, benabled: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1845     #[cfg(not(feature = "Win32_Foundation"))] usize,
1846     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: *mut super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
1847     #[cfg(not(feature = "Win32_Foundation"))] usize,
1848     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
1849     #[cfg(not(feature = "Win32_Foundation"))] usize,
1850     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prccliprect: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
1851     #[cfg(not(feature = "Win32_Foundation"))] usize,
1852     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
1853     #[cfg(not(feature = "Win32_Foundation"))] usize,
1854     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phcliprgn: *mut super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
1855     #[cfg(not(feature = "Win32_Foundation"))] usize,
1856     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hcliprgn: super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
1857     #[cfg(not(feature = "Win32_Foundation"))] usize,
1858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppida: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pida: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1860     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfcachedata: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1861     #[cfg(not(feature = "Win32_Foundation"))] usize,
1862     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcachedata: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1863     #[cfg(not(feature = "Win32_Foundation"))] usize,
1864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokeid: u32) -> ::windows::runtime::HRESULT,
1865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1866     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
1867     #[cfg(not(feature = "Win32_Foundation"))] usize,
1868 );
1869 pub const IECN_GESTURE: u32 = 2050u32;
1870 pub const IECN_RECOGNITIONRESULT: u32 = 2051u32;
1871 pub const IECN_STROKE: u32 = 2049u32;
1872 pub const IECN__BASE: u32 = 2048u32;
1873 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1874 impl ::std::clone::Clone for IEC_GESTUREINFO {
clone(&self) -> Self1875     fn clone(&self) -> Self {
1876         unimplemented!()
1877     }
1878 }
1879 #[repr(C)]
1880 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1881 pub struct IEC_GESTUREINFO {
1882     pub nmhdr: super::Controls::NMHDR,
1883     pub Cursor: ::std::option::Option<IInkCursor>,
1884     pub Strokes: ::std::option::Option<IInkStrokes>,
1885     pub Gestures: super::super::System::Com::VARIANT,
1886 }
1887 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1888 impl IEC_GESTUREINFO {}
1889 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1890 impl ::std::default::Default for IEC_GESTUREINFO {
default() -> Self1891     fn default() -> Self {
1892         unsafe { ::std::mem::zeroed() }
1893     }
1894 }
1895 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1896 impl ::std::cmp::PartialEq for IEC_GESTUREINFO {
eq(&self, _other: &Self) -> bool1897     fn eq(&self, _other: &Self) -> bool {
1898         unimplemented!()
1899     }
1900 }
1901 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1902 impl ::std::cmp::Eq for IEC_GESTUREINFO {}
1903 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation", feature = "Win32_UI_Controls"))]
1904 unsafe impl ::windows::runtime::Abi for IEC_GESTUREINFO {
1905     type Abi = ::std::mem::ManuallyDrop<Self>;
1906     type DefaultType = Self;
1907 }
1908 #[derive(:: std :: clone :: Clone)]
1909 #[repr(C)]
1910 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1911 pub struct IEC_RECOGNITIONRESULTINFO {
1912     pub nmhdr: super::Controls::NMHDR,
1913     pub RecognitionResult: ::std::option::Option<IInkRecognitionResult>,
1914 }
1915 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1916 impl IEC_RECOGNITIONRESULTINFO {}
1917 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1918 impl ::std::default::Default for IEC_RECOGNITIONRESULTINFO {
default() -> Self1919     fn default() -> Self {
1920         unsafe { ::std::mem::zeroed() }
1921     }
1922 }
1923 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1924 impl ::std::fmt::Debug for IEC_RECOGNITIONRESULTINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1925     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1926         fmt.debug_struct("IEC_RECOGNITIONRESULTINFO").field("nmhdr", &self.nmhdr).field("RecognitionResult", &self.RecognitionResult).finish()
1927     }
1928 }
1929 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1930 impl ::std::cmp::PartialEq for IEC_RECOGNITIONRESULTINFO {
eq(&self, other: &Self) -> bool1931     fn eq(&self, other: &Self) -> bool {
1932         self.nmhdr == other.nmhdr && self.RecognitionResult == other.RecognitionResult
1933     }
1934 }
1935 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1936 impl ::std::cmp::Eq for IEC_RECOGNITIONRESULTINFO {}
1937 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1938 unsafe impl ::windows::runtime::Abi for IEC_RECOGNITIONRESULTINFO {
1939     type Abi = ::std::mem::ManuallyDrop<Self>;
1940     type DefaultType = Self;
1941 }
1942 #[derive(:: std :: clone :: Clone)]
1943 #[repr(C)]
1944 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1945 pub struct IEC_STROKEINFO {
1946     pub nmhdr: super::Controls::NMHDR,
1947     pub Cursor: ::std::option::Option<IInkCursor>,
1948     pub Stroke: ::std::option::Option<IInkStrokeDisp>,
1949 }
1950 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1951 impl IEC_STROKEINFO {}
1952 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1953 impl ::std::default::Default for IEC_STROKEINFO {
default() -> Self1954     fn default() -> Self {
1955         unsafe { ::std::mem::zeroed() }
1956     }
1957 }
1958 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1959 impl ::std::fmt::Debug for IEC_STROKEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1960     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1961         fmt.debug_struct("IEC_STROKEINFO").field("nmhdr", &self.nmhdr).field("Cursor", &self.Cursor).field("Stroke", &self.Stroke).finish()
1962     }
1963 }
1964 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1965 impl ::std::cmp::PartialEq for IEC_STROKEINFO {
eq(&self, other: &Self) -> bool1966     fn eq(&self, other: &Self) -> bool {
1967         self.nmhdr == other.nmhdr && self.Cursor == other.Cursor && self.Stroke == other.Stroke
1968     }
1969 }
1970 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1971 impl ::std::cmp::Eq for IEC_STROKEINFO {}
1972 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
1973 unsafe impl ::windows::runtime::Abi for IEC_STROKEINFO {
1974     type Abi = ::std::mem::ManuallyDrop<Self>;
1975     type DefaultType = Self;
1976 }
1977 pub const IEC__BASE: u32 = 1536u32;
1978 #[repr(transparent)]
1979 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1980 pub struct IGestureRecognizer(::windows::runtime::IUnknown);
1981 impl IGestureRecognizer {
1982     #[cfg(feature = "Win32_Foundation")]
Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1983     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1984         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1985         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1986     }
1987     #[cfg(feature = "Win32_Foundation")]
SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenabled: Param0) -> ::windows::runtime::Result<()>1988     pub unsafe fn SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenabled: Param0) -> ::windows::runtime::Result<()> {
1989         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fenabled.into_param().abi()).ok()
1990     }
MaxStrokeCount(&self) -> ::windows::runtime::Result<i32>1991     pub unsafe fn MaxStrokeCount(&self) -> ::windows::runtime::Result<i32> {
1992         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1993         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1994     }
SetMaxStrokeCount(&self, cstrokes: i32) -> ::windows::runtime::Result<()>1995     pub unsafe fn SetMaxStrokeCount(&self, cstrokes: i32) -> ::windows::runtime::Result<()> {
1996         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(cstrokes)).ok()
1997     }
EnableGestures(&self, cgestures: u32, pgestures: *const i32) -> ::windows::runtime::Result<()>1998     pub unsafe fn EnableGestures(&self, cgestures: u32, pgestures: *const i32) -> ::windows::runtime::Result<()> {
1999         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(cgestures), ::std::mem::transmute(pgestures)).ok()
2000     }
Reset(&self) -> ::windows::runtime::Result<()>2001     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
2002         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
2003     }
2004 }
2005 unsafe impl ::windows::runtime::Interface for IGestureRecognizer {
2006     type Vtable = IGestureRecognizer_abi;
2007     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2929653867, 28756, 17891, [174, 34, 49, 116, 220, 136, 17, 183]);
2008 }
2009 impl ::std::convert::From<IGestureRecognizer> for ::windows::runtime::IUnknown {
from(value: IGestureRecognizer) -> Self2010     fn from(value: IGestureRecognizer) -> Self {
2011         unsafe { ::std::mem::transmute(value) }
2012     }
2013 }
2014 impl ::std::convert::From<&IGestureRecognizer> for ::windows::runtime::IUnknown {
from(value: &IGestureRecognizer) -> Self2015     fn from(value: &IGestureRecognizer) -> Self {
2016         ::std::convert::From::from(::std::clone::Clone::clone(value))
2017     }
2018 }
2019 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IGestureRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2020     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2021         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2022     }
2023 }
2024 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IGestureRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2025     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2026         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2027     }
2028 }
2029 #[repr(C)]
2030 #[doc(hidden)]
2031 pub struct IGestureRecognizer_abi(
2032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2035     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2036     #[cfg(not(feature = "Win32_Foundation"))] usize,
2037     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenabled: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2038     #[cfg(not(feature = "Win32_Foundation"))] usize,
2039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcstrokes: *mut i32) -> ::windows::runtime::HRESULT,
2040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cstrokes: i32) -> ::windows::runtime::HRESULT,
2041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cgestures: u32, pgestures: *const i32) -> ::windows::runtime::HRESULT,
2042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2043 );
2044 #[repr(transparent)]
2045 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2046 pub struct IHandwrittenTextInsertion(::windows::runtime::IUnknown);
2047 impl IHandwrittenTextInsertion {
2048     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
InsertRecognitionResultsArray<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, psaalternates: *const super::super::System::Com::SAFEARRAY, locale: u32, falternatecontainsautospacinginformation: Param2) -> ::windows::runtime::Result<()>2049     pub unsafe fn InsertRecognitionResultsArray<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, psaalternates: *const super::super::System::Com::SAFEARRAY, locale: u32, falternatecontainsautospacinginformation: Param2) -> ::windows::runtime::Result<()> {
2050         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(psaalternates), ::std::mem::transmute(locale), falternatecontainsautospacinginformation.into_param().abi()).ok()
2051     }
2052     #[cfg(feature = "Win32_Foundation")]
InsertInkRecognitionResult<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognitionResult>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, piinkrecoresult: Param0, locale: u32, falternatecontainsautospacinginformation: Param2) -> ::windows::runtime::Result<()>2053     pub unsafe fn InsertInkRecognitionResult<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognitionResult>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, piinkrecoresult: Param0, locale: u32, falternatecontainsautospacinginformation: Param2) -> ::windows::runtime::Result<()> {
2054         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), piinkrecoresult.into_param().abi(), ::std::mem::transmute(locale), falternatecontainsautospacinginformation.into_param().abi()).ok()
2055     }
2056 }
2057 unsafe impl ::windows::runtime::Interface for IHandwrittenTextInsertion {
2058     type Vtable = IHandwrittenTextInsertion_abi;
2059     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1459481239, 60630, 17383, [170, 58, 129, 107, 231, 120, 88, 96]);
2060 }
2061 impl ::std::convert::From<IHandwrittenTextInsertion> for ::windows::runtime::IUnknown {
from(value: IHandwrittenTextInsertion) -> Self2062     fn from(value: IHandwrittenTextInsertion) -> Self {
2063         unsafe { ::std::mem::transmute(value) }
2064     }
2065 }
2066 impl ::std::convert::From<&IHandwrittenTextInsertion> for ::windows::runtime::IUnknown {
from(value: &IHandwrittenTextInsertion) -> Self2067     fn from(value: &IHandwrittenTextInsertion) -> Self {
2068         ::std::convert::From::from(::std::clone::Clone::clone(value))
2069     }
2070 }
2071 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IHandwrittenTextInsertion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2072     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2073         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2074     }
2075 }
2076 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IHandwrittenTextInsertion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2077     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2078         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2079     }
2080 }
2081 #[repr(C)]
2082 #[doc(hidden)]
2083 pub struct IHandwrittenTextInsertion_abi(
2084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2087     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psaalternates: *const super::super::System::Com::SAFEARRAY, locale: u32, falternatecontainsautospacinginformation: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2088     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2089     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piinkrecoresult: ::windows::runtime::RawPtr, locale: u32, falternatecontainsautospacinginformation: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2090     #[cfg(not(feature = "Win32_Foundation"))] usize,
2091 );
2092 #[repr(transparent)]
2093 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2094 pub struct IInk(::windows::runtime::IUnknown);
2095 impl IInk {}
2096 unsafe impl ::windows::runtime::Interface for IInk {
2097     type Vtable = IInk_abi;
2098     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(66643217, 17313, 4563, [139, 182, 0, 128, 199, 214, 186, 213]);
2099 }
2100 impl ::std::convert::From<IInk> for ::windows::runtime::IUnknown {
from(value: IInk) -> Self2101     fn from(value: IInk) -> Self {
2102         unsafe { ::std::mem::transmute(value) }
2103     }
2104 }
2105 impl ::std::convert::From<&IInk> for ::windows::runtime::IUnknown {
from(value: &IInk) -> Self2106     fn from(value: &IInk) -> Self {
2107         ::std::convert::From::from(::std::clone::Clone::clone(value))
2108     }
2109 }
2110 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInk {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2111     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2112         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2113     }
2114 }
2115 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInk {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2116     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2117         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2118     }
2119 }
2120 #[cfg(feature = "Win32_System_Ole_Automation")]
2121 impl ::std::convert::From<IInk> for super::super::System::Ole::Automation::IDispatch {
from(value: IInk) -> Self2122     fn from(value: IInk) -> Self {
2123         unsafe { ::std::mem::transmute(value) }
2124     }
2125 }
2126 #[cfg(feature = "Win32_System_Ole_Automation")]
2127 impl ::std::convert::From<&IInk> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInk) -> Self2128     fn from(value: &IInk) -> Self {
2129         ::std::convert::From::from(::std::clone::Clone::clone(value))
2130     }
2131 }
2132 #[cfg(feature = "Win32_System_Ole_Automation")]
2133 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInk {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2134     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2135         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2136     }
2137 }
2138 #[cfg(feature = "Win32_System_Ole_Automation")]
2139 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInk {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2140     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2141         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2142     }
2143 }
2144 #[repr(C)]
2145 #[doc(hidden)]
2146 pub struct IInk_abi(
2147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2151     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2152     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2153     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2154     #[cfg(not(feature = "Win32_Foundation"))] usize,
2155     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2156     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2157     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2158 );
2159 #[repr(transparent)]
2160 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2161 pub struct IInkCollector(::windows::runtime::IUnknown);
2162 impl IInkCollector {
hWnd(&self) -> ::windows::runtime::Result<isize>2163     pub unsafe fn hWnd(&self) -> ::windows::runtime::Result<isize> {
2164         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2165         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<isize>(result__)
2166     }
SethWnd(&self, newwindow: isize) -> ::windows::runtime::Result<()>2167     pub unsafe fn SethWnd(&self, newwindow: isize) -> ::windows::runtime::Result<()> {
2168         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(newwindow)).ok()
2169     }
Enabled(&self) -> ::windows::runtime::Result<i16>2170     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
2171         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2172         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2173     }
SetEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()>2174     pub unsafe fn SetEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()> {
2175         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(collecting)).ok()
2176     }
DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>2177     pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
2178         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2179         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
2180     }
putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()>2181     pub unsafe fn putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()> {
2182         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), newattributes.into_param().abi()).ok()
2183     }
Renderer(&self) -> ::windows::runtime::Result<IInkRenderer>2184     pub unsafe fn Renderer(&self) -> ::windows::runtime::Result<IInkRenderer> {
2185         let mut result__: <IInkRenderer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2186         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRenderer>(result__)
2187     }
putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()>2188     pub unsafe fn putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()> {
2189         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), newinkrenderer.into_param().abi()).ok()
2190     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>2191     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
2192         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2193         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
2194     }
putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()>2195     pub unsafe fn putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()> {
2196         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), newink.into_param().abi()).ok()
2197     }
AutoRedraw(&self) -> ::windows::runtime::Result<i16>2198     pub unsafe fn AutoRedraw(&self) -> ::windows::runtime::Result<i16> {
2199         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2200         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2201     }
SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()>2202     pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()> {
2203         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(autoredraw)).ok()
2204     }
CollectingInk(&self) -> ::windows::runtime::Result<i16>2205     pub unsafe fn CollectingInk(&self) -> ::windows::runtime::Result<i16> {
2206         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2207         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2208     }
CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode>2209     pub unsafe fn CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode> {
2210         let mut result__: <InkCollectionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2211         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkCollectionMode>(result__)
2212     }
SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()>2213     pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()> {
2214         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
2215     }
DynamicRendering(&self) -> ::windows::runtime::Result<i16>2216     pub unsafe fn DynamicRendering(&self) -> ::windows::runtime::Result<i16> {
2217         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2218         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2219     }
SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()>2220     pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()> {
2221         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(enabled)).ok()
2222     }
2223     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>2224     pub unsafe fn DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
2225         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2226         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
2227     }
2228     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()>2229     pub unsafe fn SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()> {
2230         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), packetguids.into_param().abi()).ok()
2231     }
2232     #[cfg(feature = "Win32_System_Ole")]
MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>2233     pub unsafe fn MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
2234         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2235         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
2236     }
2237     #[cfg(feature = "Win32_System_Ole")]
SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>2238     pub unsafe fn SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
2239         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
2240     }
2241     #[cfg(feature = "Win32_System_Ole")]
putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>2242     pub unsafe fn putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
2243         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
2244     }
MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer>2245     pub unsafe fn MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer> {
2246         let mut result__: <InkMousePointer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2247         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkMousePointer>(result__)
2248     }
SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()>2249     pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()> {
2250         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(mousepointer)).ok()
2251     }
Cursors(&self) -> ::windows::runtime::Result<IInkCursors>2252     pub unsafe fn Cursors(&self) -> ::windows::runtime::Result<IInkCursors> {
2253         let mut result__: <IInkCursors as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2254         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCursors>(result__)
2255     }
MarginX(&self) -> ::windows::runtime::Result<i32>2256     pub unsafe fn MarginX(&self) -> ::windows::runtime::Result<i32> {
2257         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2258         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2259     }
SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()>2260     pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()> {
2261         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginx)).ok()
2262     }
MarginY(&self) -> ::windows::runtime::Result<i32>2263     pub unsafe fn MarginY(&self) -> ::windows::runtime::Result<i32> {
2264         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2265         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2266     }
SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()>2267     pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()> {
2268         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginy)).ok()
2269     }
Tablet(&self) -> ::windows::runtime::Result<IInkTablet>2270     pub unsafe fn Tablet(&self) -> ::windows::runtime::Result<IInkTablet> {
2271         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2272         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
2273     }
SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16>2274     pub unsafe fn SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16> {
2275         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2276         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2277     }
SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()>2278     pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()> {
2279         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(support)).ok()
2280     }
SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()>2281     pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()> {
2282         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), ::std::mem::transmute(listen)).ok()
2283     }
GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16>2284     pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16> {
2285         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2286         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), &mut result__).from_abi::<i16>(result__)
2287     }
GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()>2288     pub unsafe fn GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()> {
2289         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(windowinputrectangle)).ok()
2290     }
SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()>2291     pub unsafe fn SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()> {
2292         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), windowinputrectangle.into_param().abi()).ok()
2293     }
SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()>2294     pub unsafe fn SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()> {
2295         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(usemouseforinput)).ok()
2296     }
SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()>2297     pub unsafe fn SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()> {
2298         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), tablet.into_param().abi()).ok()
2299     }
GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16>2300     pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16> {
2301         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2302         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), &mut result__).from_abi::<i16>(result__)
2303     }
SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()>2304     pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()> {
2305         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), ::std::mem::transmute(listen)).ok()
2306     }
2307 }
2308 unsafe impl ::windows::runtime::Interface for IInkCollector {
2309     type Vtable = IInkCollector_abi;
2310     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4042285237, 35615, 19068, [137, 236, 136, 6, 146, 88, 138, 79]);
2311 }
2312 impl ::std::convert::From<IInkCollector> for ::windows::runtime::IUnknown {
from(value: IInkCollector) -> Self2313     fn from(value: IInkCollector) -> Self {
2314         unsafe { ::std::mem::transmute(value) }
2315     }
2316 }
2317 impl ::std::convert::From<&IInkCollector> for ::windows::runtime::IUnknown {
from(value: &IInkCollector) -> Self2318     fn from(value: &IInkCollector) -> Self {
2319         ::std::convert::From::from(::std::clone::Clone::clone(value))
2320     }
2321 }
2322 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2323     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2324         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2325     }
2326 }
2327 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCollector {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2328     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2329         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2330     }
2331 }
2332 #[cfg(feature = "Win32_System_Ole_Automation")]
2333 impl ::std::convert::From<IInkCollector> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCollector) -> Self2334     fn from(value: IInkCollector) -> Self {
2335         unsafe { ::std::mem::transmute(value) }
2336     }
2337 }
2338 #[cfg(feature = "Win32_System_Ole_Automation")]
2339 impl ::std::convert::From<&IInkCollector> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCollector) -> Self2340     fn from(value: &IInkCollector) -> Self {
2341         ::std::convert::From::from(::std::clone::Clone::clone(value))
2342     }
2343 }
2344 #[cfg(feature = "Win32_System_Ole_Automation")]
2345 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2346     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2347         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2348     }
2349 }
2350 #[cfg(feature = "Win32_System_Ole_Automation")]
2351 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCollector {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2352     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2353         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2354     }
2355 }
2356 #[repr(C)]
2357 #[doc(hidden)]
2358 pub struct IInkCollector_abi(
2359     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2360     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2361     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2362     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2363     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2364     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2365     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2366     #[cfg(not(feature = "Win32_Foundation"))] usize,
2367     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2368     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2369     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2370     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentwindow: *mut isize) -> ::windows::runtime::HRESULT,
2371     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newwindow: isize) -> ::windows::runtime::HRESULT,
2372     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
2373     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: i16) -> ::windows::runtime::HRESULT,
2374     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentattributes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2375     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newattributes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2376     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentinkrenderer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newinkrenderer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2379     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: *mut i16) -> ::windows::runtime::HRESULT,
2381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: i16) -> ::windows::runtime::HRESULT,
2382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
2383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut InkCollectionMode) -> ::windows::runtime::HRESULT,
2384     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: InkCollectionMode) -> ::windows::runtime::HRESULT,
2385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: *mut i16) -> ::windows::runtime::HRESULT,
2386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: i16) -> ::windows::runtime::HRESULT,
2387     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2388     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2389     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2390     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2391     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2392     #[cfg(not(feature = "Win32_System_Ole"))] usize,
2393     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2394     #[cfg(not(feature = "Win32_System_Ole"))] usize,
2395     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2396     #[cfg(not(feature = "Win32_System_Ole"))] usize,
2397     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: *mut InkMousePointer) -> ::windows::runtime::HRESULT,
2398     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: InkMousePointer) -> ::windows::runtime::HRESULT,
2399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cursors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: *mut i32) -> ::windows::runtime::HRESULT,
2401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: i32) -> ::windows::runtime::HRESULT,
2402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: *mut i32) -> ::windows::runtime::HRESULT,
2403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: i32) -> ::windows::runtime::HRESULT,
2404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, singletablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: *mut i16) -> ::windows::runtime::HRESULT,
2406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: i16) -> ::windows::runtime::HRESULT,
2407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::HRESULT,
2408     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listening: *mut i16) -> ::windows::runtime::HRESULT,
2409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usemouseforinput: i16) -> ::windows::runtime::HRESULT,
2412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: *mut i16) -> ::windows::runtime::HRESULT,
2414     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::HRESULT,
2415 );
2416 #[repr(transparent)]
2417 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2418 pub struct IInkCursor(::windows::runtime::IUnknown);
2419 impl IInkCursor {
2420     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2421     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2422         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2423         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2424     }
Id(&self) -> ::windows::runtime::Result<i32>2425     pub unsafe fn Id(&self) -> ::windows::runtime::Result<i32> {
2426         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2427         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2428     }
Inverted(&self) -> ::windows::runtime::Result<i16>2429     pub unsafe fn Inverted(&self) -> ::windows::runtime::Result<i16> {
2430         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2431         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2432     }
DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>2433     pub unsafe fn DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
2434         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2435         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
2436     }
putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, attributes: Param0) -> ::windows::runtime::Result<()>2437     pub unsafe fn putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, attributes: Param0) -> ::windows::runtime::Result<()> {
2438         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), attributes.into_param().abi()).ok()
2439     }
Tablet(&self) -> ::windows::runtime::Result<IInkTablet>2440     pub unsafe fn Tablet(&self) -> ::windows::runtime::Result<IInkTablet> {
2441         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2442         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
2443     }
Buttons(&self) -> ::windows::runtime::Result<IInkCursorButtons>2444     pub unsafe fn Buttons(&self) -> ::windows::runtime::Result<IInkCursorButtons> {
2445         let mut result__: <IInkCursorButtons as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2446         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCursorButtons>(result__)
2447     }
2448 }
2449 unsafe impl ::windows::runtime::Interface for IInkCursor {
2450     type Vtable = IInkCursor_abi;
2451     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2905654832, 16581, 17232, [132, 5, 156, 113, 1, 47, 197, 88]);
2452 }
2453 impl ::std::convert::From<IInkCursor> for ::windows::runtime::IUnknown {
from(value: IInkCursor) -> Self2454     fn from(value: IInkCursor) -> Self {
2455         unsafe { ::std::mem::transmute(value) }
2456     }
2457 }
2458 impl ::std::convert::From<&IInkCursor> for ::windows::runtime::IUnknown {
from(value: &IInkCursor) -> Self2459     fn from(value: &IInkCursor) -> Self {
2460         ::std::convert::From::from(::std::clone::Clone::clone(value))
2461     }
2462 }
2463 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCursor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2464     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2465         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2466     }
2467 }
2468 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCursor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2469     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2470         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2471     }
2472 }
2473 #[cfg(feature = "Win32_System_Ole_Automation")]
2474 impl ::std::convert::From<IInkCursor> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCursor) -> Self2475     fn from(value: IInkCursor) -> Self {
2476         unsafe { ::std::mem::transmute(value) }
2477     }
2478 }
2479 #[cfg(feature = "Win32_System_Ole_Automation")]
2480 impl ::std::convert::From<&IInkCursor> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCursor) -> Self2481     fn from(value: &IInkCursor) -> Self {
2482         ::std::convert::From::from(::std::clone::Clone::clone(value))
2483     }
2484 }
2485 #[cfg(feature = "Win32_System_Ole_Automation")]
2486 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCursor {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2487     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2488         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2489     }
2490 }
2491 #[cfg(feature = "Win32_System_Ole_Automation")]
2492 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCursor {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2493     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2494         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2495     }
2496 }
2497 #[repr(C)]
2498 #[doc(hidden)]
2499 pub struct IInkCursor_abi(
2500     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2504     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2505     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2506     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2507     #[cfg(not(feature = "Win32_Foundation"))] usize,
2508     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2509     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2510     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2511     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2512     #[cfg(not(feature = "Win32_Foundation"))] usize,
2513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut i32) -> ::windows::runtime::HRESULT,
2514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, status: *mut i16) -> ::windows::runtime::HRESULT,
2515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attributes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attributes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttons: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2519 );
2520 #[repr(transparent)]
2521 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2522 pub struct IInkCursorButton(::windows::runtime::IUnknown);
2523 impl IInkCursorButton {
2524     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2525     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2526         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2527         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2528     }
2529     #[cfg(feature = "Win32_Foundation")]
Id(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2530     pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2531         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2532         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2533     }
State(&self) -> ::windows::runtime::Result<InkCursorButtonState>2534     pub unsafe fn State(&self) -> ::windows::runtime::Result<InkCursorButtonState> {
2535         let mut result__: <InkCursorButtonState as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2536         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkCursorButtonState>(result__)
2537     }
2538 }
2539 unsafe impl ::windows::runtime::Interface for IInkCursorButton {
2540     type Vtable = IInkCursorButton_abi;
2541     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2247070743, 7513, 18866, [161, 60, 112, 44, 133, 67, 8, 148]);
2542 }
2543 impl ::std::convert::From<IInkCursorButton> for ::windows::runtime::IUnknown {
from(value: IInkCursorButton) -> Self2544     fn from(value: IInkCursorButton) -> Self {
2545         unsafe { ::std::mem::transmute(value) }
2546     }
2547 }
2548 impl ::std::convert::From<&IInkCursorButton> for ::windows::runtime::IUnknown {
from(value: &IInkCursorButton) -> Self2549     fn from(value: &IInkCursorButton) -> Self {
2550         ::std::convert::From::from(::std::clone::Clone::clone(value))
2551     }
2552 }
2553 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCursorButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2554     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2555         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2556     }
2557 }
2558 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCursorButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2559     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2560         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2561     }
2562 }
2563 #[cfg(feature = "Win32_System_Ole_Automation")]
2564 impl ::std::convert::From<IInkCursorButton> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCursorButton) -> Self2565     fn from(value: IInkCursorButton) -> Self {
2566         unsafe { ::std::mem::transmute(value) }
2567     }
2568 }
2569 #[cfg(feature = "Win32_System_Ole_Automation")]
2570 impl ::std::convert::From<&IInkCursorButton> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCursorButton) -> Self2571     fn from(value: &IInkCursorButton) -> Self {
2572         ::std::convert::From::from(::std::clone::Clone::clone(value))
2573     }
2574 }
2575 #[cfg(feature = "Win32_System_Ole_Automation")]
2576 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCursorButton {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2577     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2578         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2579     }
2580 }
2581 #[cfg(feature = "Win32_System_Ole_Automation")]
2582 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCursorButton {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2583     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2584         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2585     }
2586 }
2587 #[repr(C)]
2588 #[doc(hidden)]
2589 pub struct IInkCursorButton_abi(
2590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2593     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2594     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2595     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2596     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2597     #[cfg(not(feature = "Win32_Foundation"))] usize,
2598     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2599     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2600     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2601     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2602     #[cfg(not(feature = "Win32_Foundation"))] usize,
2603     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2604     #[cfg(not(feature = "Win32_Foundation"))] usize,
2605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentstate: *mut InkCursorButtonState) -> ::windows::runtime::HRESULT,
2606 );
2607 #[repr(transparent)]
2608 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2609 pub struct IInkCursorButtons(::windows::runtime::IUnknown);
2610 impl IInkCursorButtons {
Count(&self) -> ::windows::runtime::Result<i32>2611     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2612         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2613         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2614     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2615     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2616         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2617         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2618     }
2619     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkCursorButton>2620     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkCursorButton> {
2621         let mut result__: <IInkCursorButton as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2622         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), identifier.into_param().abi(), &mut result__).from_abi::<IInkCursorButton>(result__)
2623     }
2624 }
2625 unsafe impl ::windows::runtime::Interface for IInkCursorButtons {
2626     type Vtable = IInkCursorButtons_abi;
2627     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(913427520, 46628, 18033, [159, 160, 219, 17, 157, 149, 45, 84]);
2628 }
2629 impl ::std::convert::From<IInkCursorButtons> for ::windows::runtime::IUnknown {
from(value: IInkCursorButtons) -> Self2630     fn from(value: IInkCursorButtons) -> Self {
2631         unsafe { ::std::mem::transmute(value) }
2632     }
2633 }
2634 impl ::std::convert::From<&IInkCursorButtons> for ::windows::runtime::IUnknown {
from(value: &IInkCursorButtons) -> Self2635     fn from(value: &IInkCursorButtons) -> Self {
2636         ::std::convert::From::from(::std::clone::Clone::clone(value))
2637     }
2638 }
2639 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCursorButtons {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2640     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2641         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2642     }
2643 }
2644 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCursorButtons {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2645     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2646         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2647     }
2648 }
2649 #[cfg(feature = "Win32_System_Ole_Automation")]
2650 impl ::std::convert::From<IInkCursorButtons> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCursorButtons) -> Self2651     fn from(value: IInkCursorButtons) -> Self {
2652         unsafe { ::std::mem::transmute(value) }
2653     }
2654 }
2655 #[cfg(feature = "Win32_System_Ole_Automation")]
2656 impl ::std::convert::From<&IInkCursorButtons> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCursorButtons) -> Self2657     fn from(value: &IInkCursorButtons) -> Self {
2658         ::std::convert::From::from(::std::clone::Clone::clone(value))
2659     }
2660 }
2661 #[cfg(feature = "Win32_System_Ole_Automation")]
2662 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCursorButtons {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2663     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2664         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2665     }
2666 }
2667 #[cfg(feature = "Win32_System_Ole_Automation")]
2668 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCursorButtons {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2669     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2670         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2671     }
2672 }
2673 #[repr(C)]
2674 #[doc(hidden)]
2675 pub struct IInkCursorButtons_abi(
2676     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2680     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2681     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2682     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2683     #[cfg(not(feature = "Win32_Foundation"))] usize,
2684     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2685     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2686     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
2688     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2689     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, button: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2690     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2691 );
2692 #[repr(transparent)]
2693 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2694 pub struct IInkCursors(::windows::runtime::IUnknown);
2695 impl IInkCursors {
Count(&self) -> ::windows::runtime::Result<i32>2696     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2697         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2698         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2699     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2700     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2701         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2702         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2703     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkCursor>2704     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkCursor> {
2705         let mut result__: <IInkCursor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2706         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkCursor>(result__)
2707     }
2708 }
2709 unsafe impl ::windows::runtime::Interface for IInkCursors {
2710     type Vtable = IInkCursors_abi;
2711     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2722677164, 50840, 19974, [158, 92, 213, 127, 119, 199, 230, 71]);
2712 }
2713 impl ::std::convert::From<IInkCursors> for ::windows::runtime::IUnknown {
from(value: IInkCursors) -> Self2714     fn from(value: IInkCursors) -> Self {
2715         unsafe { ::std::mem::transmute(value) }
2716     }
2717 }
2718 impl ::std::convert::From<&IInkCursors> for ::windows::runtime::IUnknown {
from(value: &IInkCursors) -> Self2719     fn from(value: &IInkCursors) -> Self {
2720         ::std::convert::From::from(::std::clone::Clone::clone(value))
2721     }
2722 }
2723 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCursors {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2724     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2725         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2726     }
2727 }
2728 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCursors {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2729     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2730         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2731     }
2732 }
2733 #[cfg(feature = "Win32_System_Ole_Automation")]
2734 impl ::std::convert::From<IInkCursors> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCursors) -> Self2735     fn from(value: IInkCursors) -> Self {
2736         unsafe { ::std::mem::transmute(value) }
2737     }
2738 }
2739 #[cfg(feature = "Win32_System_Ole_Automation")]
2740 impl ::std::convert::From<&IInkCursors> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCursors) -> Self2741     fn from(value: &IInkCursors) -> Self {
2742         ::std::convert::From::from(::std::clone::Clone::clone(value))
2743     }
2744 }
2745 #[cfg(feature = "Win32_System_Ole_Automation")]
2746 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCursors {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2747     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2748         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2749     }
2750 }
2751 #[cfg(feature = "Win32_System_Ole_Automation")]
2752 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCursors {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2753     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2754         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2755     }
2756 }
2757 #[repr(C)]
2758 #[doc(hidden)]
2759 pub struct IInkCursors_abi(
2760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2764     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2765     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2766     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2767     #[cfg(not(feature = "Win32_Foundation"))] usize,
2768     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2769     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2770     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
2772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, cursor: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2774 );
2775 #[repr(transparent)]
2776 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2777 pub struct IInkCustomStrokes(::windows::runtime::IUnknown);
2778 impl IInkCustomStrokes {
Count(&self) -> ::windows::runtime::Result<i32>2779     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
2780         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2781         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2782     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2783     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2784         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2785         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2786     }
2787     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkStrokes>2788     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkStrokes> {
2789         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2790         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), identifier.into_param().abi(), &mut result__).from_abi::<IInkStrokes>(result__)
2791     }
2792     #[cfg(feature = "Win32_Foundation")]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, name: Param0, strokes: Param1) -> ::windows::runtime::Result<()>2793     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, name: Param0, strokes: Param1) -> ::windows::runtime::Result<()> {
2794         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), name.into_param().abi(), strokes.into_param().abi()).ok()
2795     }
2796     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<()>2797     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<()> {
2798         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), identifier.into_param().abi()).ok()
2799     }
Clear(&self) -> ::windows::runtime::Result<()>2800     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
2801         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
2802     }
2803 }
2804 unsafe impl ::windows::runtime::Interface for IInkCustomStrokes {
2805     type Vtable = IInkCustomStrokes_abi;
2806     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2116266127, 49934, 16911, [155, 219, 40, 144, 37, 67, 240, 193]);
2807 }
2808 impl ::std::convert::From<IInkCustomStrokes> for ::windows::runtime::IUnknown {
from(value: IInkCustomStrokes) -> Self2809     fn from(value: IInkCustomStrokes) -> Self {
2810         unsafe { ::std::mem::transmute(value) }
2811     }
2812 }
2813 impl ::std::convert::From<&IInkCustomStrokes> for ::windows::runtime::IUnknown {
from(value: &IInkCustomStrokes) -> Self2814     fn from(value: &IInkCustomStrokes) -> Self {
2815         ::std::convert::From::from(::std::clone::Clone::clone(value))
2816     }
2817 }
2818 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkCustomStrokes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2819     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2820         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2821     }
2822 }
2823 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkCustomStrokes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2824     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2825         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2826     }
2827 }
2828 #[cfg(feature = "Win32_System_Ole_Automation")]
2829 impl ::std::convert::From<IInkCustomStrokes> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkCustomStrokes) -> Self2830     fn from(value: IInkCustomStrokes) -> Self {
2831         unsafe { ::std::mem::transmute(value) }
2832     }
2833 }
2834 #[cfg(feature = "Win32_System_Ole_Automation")]
2835 impl ::std::convert::From<&IInkCustomStrokes> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkCustomStrokes) -> Self2836     fn from(value: &IInkCustomStrokes) -> Self {
2837         ::std::convert::From::from(::std::clone::Clone::clone(value))
2838     }
2839 }
2840 #[cfg(feature = "Win32_System_Ole_Automation")]
2841 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkCustomStrokes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2842     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2843         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
2844     }
2845 }
2846 #[cfg(feature = "Win32_System_Ole_Automation")]
2847 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkCustomStrokes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>2848     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
2849         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2850     }
2851 }
2852 #[repr(C)]
2853 #[doc(hidden)]
2854 pub struct IInkCustomStrokes_abi(
2855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2859     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2860     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2861     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2862     #[cfg(not(feature = "Win32_Foundation"))] usize,
2863     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2864     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2865     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
2867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2868     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2869     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2870     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2871     #[cfg(not(feature = "Win32_Foundation"))] usize,
2872     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2873     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2874     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2875 );
2876 #[repr(transparent)]
2877 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2878 pub struct IInkDisp(::windows::runtime::IUnknown);
2879 impl IInkDisp {
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>2880     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
2881         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2882         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
2883     }
ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties>2884     pub unsafe fn ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties> {
2885         let mut result__: <IInkExtendedProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2886         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkExtendedProperties>(result__)
2887     }
Dirty(&self) -> ::windows::runtime::Result<i16>2888     pub unsafe fn Dirty(&self) -> ::windows::runtime::Result<i16> {
2889         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2890         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
2891     }
SetDirty(&self, dirty: i16) -> ::windows::runtime::Result<()>2892     pub unsafe fn SetDirty(&self, dirty: i16) -> ::windows::runtime::Result<()> {
2893         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dirty)).ok()
2894     }
CustomStrokes(&self) -> ::windows::runtime::Result<IInkCustomStrokes>2895     pub unsafe fn CustomStrokes(&self) -> ::windows::runtime::Result<IInkCustomStrokes> {
2896         let mut result__: <IInkCustomStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2897         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCustomStrokes>(result__)
2898     }
GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle>2899     pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle> {
2900         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2901         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(boundingboxmode), &mut result__).from_abi::<IInkRectangle>(result__)
2902     }
DeleteStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()>2903     pub unsafe fn DeleteStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()> {
2904         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), strokes.into_param().abi()).ok()
2905     }
DeleteStroke<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, stroke: Param0) -> ::windows::runtime::Result<()>2906     pub unsafe fn DeleteStroke<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, stroke: Param0) -> ::windows::runtime::Result<()> {
2907         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), stroke.into_param().abi()).ok()
2908     }
ExtractStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, extractflags: InkExtractFlags) -> ::windows::runtime::Result<IInkDisp>2909     pub unsafe fn ExtractStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, extractflags: InkExtractFlags) -> ::windows::runtime::Result<IInkDisp> {
2910         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2911         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), strokes.into_param().abi(), ::std::mem::transmute(extractflags), &mut result__).from_abi::<IInkDisp>(result__)
2912     }
ExtractWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0, extractflags: InkExtractFlags) -> ::windows::runtime::Result<IInkDisp>2913     pub unsafe fn ExtractWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0, extractflags: InkExtractFlags) -> ::windows::runtime::Result<IInkDisp> {
2914         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2915         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), rectangle.into_param().abi(), ::std::mem::transmute(extractflags), &mut result__).from_abi::<IInkDisp>(result__)
2916     }
Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>2917     pub unsafe fn Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
2918         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
2919     }
Clone(&self) -> ::windows::runtime::Result<IInkDisp>2920     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IInkDisp> {
2921         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2922         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
2923     }
HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::runtime::Result<IInkStrokes>2924     pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::runtime::Result<IInkStrokes> {
2925         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2926         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(radius), &mut result__).from_abi::<IInkStrokes>(result__)
2927     }
HitTestWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, selectionrectangle: Param0, intersectpercent: f32) -> ::windows::runtime::Result<IInkStrokes>2928     pub unsafe fn HitTestWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, selectionrectangle: Param0, intersectpercent: f32) -> ::windows::runtime::Result<IInkStrokes> {
2929         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2930         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), selectionrectangle.into_param().abi(), ::std::mem::transmute(intersectpercent), &mut result__).from_abi::<IInkStrokes>(result__)
2931     }
2932     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
HitTestWithLasso<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, points: Param0, intersectpercent: f32, lassopoints: *mut super::super::System::Com::VARIANT, strokes: *mut ::std::option::Option<IInkStrokes>) -> ::windows::runtime::Result<()>2933     pub unsafe fn HitTestWithLasso<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, points: Param0, intersectpercent: f32, lassopoints: *mut super::super::System::Com::VARIANT, strokes: *mut ::std::option::Option<IInkStrokes>) -> ::windows::runtime::Result<()> {
2934         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), points.into_param().abi(), ::std::mem::transmute(intersectpercent), ::std::mem::transmute(lassopoints), ::std::mem::transmute(strokes)).ok()
2935     }
NearestPoint(&self, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()>2936     pub unsafe fn NearestPoint(&self, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()> {
2937         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(pointonstroke), ::std::mem::transmute(distancefrompacket), ::std::mem::transmute(stroke)).ok()
2938     }
2939     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CreateStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, strokeids: Param0) -> ::windows::runtime::Result<IInkStrokes>2940     pub unsafe fn CreateStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, strokeids: Param0) -> ::windows::runtime::Result<IInkStrokes> {
2941         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2942         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), strokeids.into_param().abi(), &mut result__).from_abi::<IInkStrokes>(result__)
2943     }
AddStrokesAtRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>, Param1: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, sourcestrokes: Param0, targetrectangle: Param1) -> ::windows::runtime::Result<()>2944     pub unsafe fn AddStrokesAtRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>, Param1: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, sourcestrokes: Param0, targetrectangle: Param1) -> ::windows::runtime::Result<()> {
2945         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), sourcestrokes.into_param().abi(), targetrectangle.into_param().abi()).ok()
2946     }
2947     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Save(&self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>2948     pub unsafe fn Save(&self, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
2949         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2950         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(persistenceformat), ::std::mem::transmute(compressionmode), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
2951     }
2952     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Load<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, data: Param0) -> ::windows::runtime::Result<()>2953     pub unsafe fn Load<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, data: Param0) -> ::windows::runtime::Result<()> {
2954         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), data.into_param().abi()).ok()
2955     }
2956     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CreateStroke<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetdata: Param0, packetdescription: Param1) -> ::windows::runtime::Result<IInkStrokeDisp>2957     pub unsafe fn CreateStroke<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetdata: Param0, packetdescription: Param1) -> ::windows::runtime::Result<IInkStrokeDisp> {
2958         let mut result__: <IInkStrokeDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2959         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), packetdata.into_param().abi(), packetdescription.into_param().abi(), &mut result__).from_abi::<IInkStrokeDisp>(result__)
2960     }
2961     #[cfg(feature = "Win32_System_Com")]
ClipboardCopyWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>2962     pub unsafe fn ClipboardCopyWithRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
2963         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2964         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), rectangle.into_param().abi(), ::std::mem::transmute(clipboardformats), ::std::mem::transmute(clipboardmodes), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
2965     }
2966     #[cfg(feature = "Win32_System_Com")]
ClipboardCopy<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>2967     pub unsafe fn ClipboardCopy<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
2968         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2969         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), strokes.into_param().abi(), ::std::mem::transmute(clipboardformats), ::std::mem::transmute(clipboardmodes), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
2970     }
2971     #[cfg(feature = "Win32_System_Com")]
CanPaste<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dataobject: Param0) -> ::windows::runtime::Result<i16>2972     pub unsafe fn CanPaste<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dataobject: Param0) -> ::windows::runtime::Result<i16> {
2973         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2974         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), dataobject.into_param().abi(), &mut result__).from_abi::<i16>(result__)
2975     }
2976     #[cfg(feature = "Win32_System_Com")]
ClipboardPaste<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, x: i32, y: i32, dataobject: Param2) -> ::windows::runtime::Result<IInkStrokes>2977     pub unsafe fn ClipboardPaste<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, x: i32, y: i32, dataobject: Param2) -> ::windows::runtime::Result<IInkStrokes> {
2978         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2979         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), dataobject.into_param().abi(), &mut result__).from_abi::<IInkStrokes>(result__)
2980     }
2981 }
2982 unsafe impl ::windows::runtime::Interface for IInkDisp {
2983     type Vtable = IInkDisp_abi;
2984     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2637795232, 50402, 20429, [153, 115, 151, 92, 170, 244, 126, 166]);
2985 }
2986 impl ::std::convert::From<IInkDisp> for ::windows::runtime::IUnknown {
from(value: IInkDisp) -> Self2987     fn from(value: IInkDisp) -> Self {
2988         unsafe { ::std::mem::transmute(value) }
2989     }
2990 }
2991 impl ::std::convert::From<&IInkDisp> for ::windows::runtime::IUnknown {
from(value: &IInkDisp) -> Self2992     fn from(value: &IInkDisp) -> Self {
2993         ::std::convert::From::from(::std::clone::Clone::clone(value))
2994     }
2995 }
2996 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2997     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2998         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2999     }
3000 }
3001 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3002     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3003         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3004     }
3005 }
3006 #[cfg(feature = "Win32_System_Ole_Automation")]
3007 impl ::std::convert::From<IInkDisp> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDisp) -> Self3008     fn from(value: IInkDisp) -> Self {
3009         unsafe { ::std::mem::transmute(value) }
3010     }
3011 }
3012 #[cfg(feature = "Win32_System_Ole_Automation")]
3013 impl ::std::convert::From<&IInkDisp> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDisp) -> Self3014     fn from(value: &IInkDisp) -> Self {
3015         ::std::convert::From::from(::std::clone::Clone::clone(value))
3016     }
3017 }
3018 #[cfg(feature = "Win32_System_Ole_Automation")]
3019 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDisp {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3020     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3021         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3022     }
3023 }
3024 #[cfg(feature = "Win32_System_Ole_Automation")]
3025 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDisp {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3026     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3027         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3028     }
3029 }
3030 #[repr(C)]
3031 #[doc(hidden)]
3032 pub struct IInkDisp_abi(
3033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3037     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3038     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3039     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3040     #[cfg(not(feature = "Win32_Foundation"))] usize,
3041     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3042     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3043     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, properties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dirty: *mut i16) -> ::windows::runtime::HRESULT,
3047     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dirty: i16) -> ::windows::runtime::HRESULT,
3048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunkinkcustomstrokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, boundingboxmode: InkBoundingBoxMode, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stroke: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, extractflags: InkExtractFlags, extractedink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr, extractflags: InkExtractFlags, extractedink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, radius: f32, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectionrectangle: ::windows::runtime::RawPtr, intersectpercent: f32, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3058     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, points: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, intersectpercent: f32, lassopoints: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3059     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pointonstroke: *mut f32, distancefrompacket: *mut f32, stroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3061     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokeids: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3062     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sourcestrokes: ::windows::runtime::RawPtr, targetrectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3064     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, persistenceformat: InkPersistenceFormat, compressionmode: InkPersistenceCompressionMode, data: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3065     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3066     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3067     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3068     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetdata: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, packetdescription: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, stroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3069     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3070     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, dataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3071     #[cfg(not(feature = "Win32_System_Com"))] usize,
3072     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, clipboardformats: InkClipboardFormats, clipboardmodes: InkClipboardModes, dataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3073     #[cfg(not(feature = "Win32_System_Com"))] usize,
3074     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dataobject: ::windows::runtime::RawPtr, canpaste: *mut i16) -> ::windows::runtime::HRESULT,
3075     #[cfg(not(feature = "Win32_System_Com"))] usize,
3076     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, dataobject: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3077     #[cfg(not(feature = "Win32_System_Com"))] usize,
3078 );
3079 #[repr(transparent)]
3080 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3081 pub struct IInkDivider(::windows::runtime::IUnknown);
3082 impl IInkDivider {
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>3083     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
3084         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3085         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
3086     }
putref_Strokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()>3087     pub unsafe fn putref_Strokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()> {
3088         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strokes.into_param().abi()).ok()
3089     }
RecognizerContext(&self) -> ::windows::runtime::Result<IInkRecognizerContext>3090     pub unsafe fn RecognizerContext(&self) -> ::windows::runtime::Result<IInkRecognizerContext> {
3091         let mut result__: <IInkRecognizerContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3092         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizerContext>(result__)
3093     }
putref_RecognizerContext<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizerContext>>(&self, recognizercontext: Param0) -> ::windows::runtime::Result<()>3094     pub unsafe fn putref_RecognizerContext<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizerContext>>(&self, recognizercontext: Param0) -> ::windows::runtime::Result<()> {
3095         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), recognizercontext.into_param().abi()).ok()
3096     }
LineHeight(&self) -> ::windows::runtime::Result<i32>3097     pub unsafe fn LineHeight(&self) -> ::windows::runtime::Result<i32> {
3098         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3099         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3100     }
SetLineHeight(&self, lineheight: i32) -> ::windows::runtime::Result<()>3101     pub unsafe fn SetLineHeight(&self, lineheight: i32) -> ::windows::runtime::Result<()> {
3102         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(lineheight)).ok()
3103     }
Divide(&self) -> ::windows::runtime::Result<IInkDivisionResult>3104     pub unsafe fn Divide(&self) -> ::windows::runtime::Result<IInkDivisionResult> {
3105         let mut result__: <IInkDivisionResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3106         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDivisionResult>(result__)
3107     }
3108 }
3109 unsafe impl ::windows::runtime::Interface for IInkDivider {
3110     type Vtable = IInkDivider_abi;
3111     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1574962181, 63908, 18001, [176, 197, 195, 23, 222, 253, 88, 185]);
3112 }
3113 impl ::std::convert::From<IInkDivider> for ::windows::runtime::IUnknown {
from(value: IInkDivider) -> Self3114     fn from(value: IInkDivider) -> Self {
3115         unsafe { ::std::mem::transmute(value) }
3116     }
3117 }
3118 impl ::std::convert::From<&IInkDivider> for ::windows::runtime::IUnknown {
from(value: &IInkDivider) -> Self3119     fn from(value: &IInkDivider) -> Self {
3120         ::std::convert::From::from(::std::clone::Clone::clone(value))
3121     }
3122 }
3123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDivider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3124     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3125         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3126     }
3127 }
3128 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDivider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3129     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3130         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3131     }
3132 }
3133 #[cfg(feature = "Win32_System_Ole_Automation")]
3134 impl ::std::convert::From<IInkDivider> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDivider) -> Self3135     fn from(value: IInkDivider) -> Self {
3136         unsafe { ::std::mem::transmute(value) }
3137     }
3138 }
3139 #[cfg(feature = "Win32_System_Ole_Automation")]
3140 impl ::std::convert::From<&IInkDivider> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDivider) -> Self3141     fn from(value: &IInkDivider) -> Self {
3142         ::std::convert::From::from(::std::clone::Clone::clone(value))
3143     }
3144 }
3145 #[cfg(feature = "Win32_System_Ole_Automation")]
3146 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDivider {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3147     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3148         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3149     }
3150 }
3151 #[cfg(feature = "Win32_System_Ole_Automation")]
3152 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDivider {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3153     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3154         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3155     }
3156 }
3157 #[repr(C)]
3158 #[doc(hidden)]
3159 pub struct IInkDivider_abi(
3160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3164     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3165     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3166     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3167     #[cfg(not(feature = "Win32_Foundation"))] usize,
3168     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3169     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3170     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognizercontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognizercontext: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lineheight: *mut i32) -> ::windows::runtime::HRESULT,
3176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lineheight: i32) -> ::windows::runtime::HRESULT,
3177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkdivisionresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3178 );
3179 #[repr(transparent)]
3180 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3181 pub struct IInkDivisionResult(::windows::runtime::IUnknown);
3182 impl IInkDivisionResult {
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>3183     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
3184         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3185         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
3186     }
ResultByType(&self, divisiontype: InkDivisionType) -> ::windows::runtime::Result<IInkDivisionUnits>3187     pub unsafe fn ResultByType(&self, divisiontype: InkDivisionType) -> ::windows::runtime::Result<IInkDivisionUnits> {
3188         let mut result__: <IInkDivisionUnits as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3189         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(divisiontype), &mut result__).from_abi::<IInkDivisionUnits>(result__)
3190     }
3191 }
3192 unsafe impl ::windows::runtime::Interface for IInkDivisionResult {
3193     type Vtable = IInkDivisionResult_abi;
3194     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(767475879, 29895, 19256, [129, 235, 170, 142, 240, 194, 73, 0]);
3195 }
3196 impl ::std::convert::From<IInkDivisionResult> for ::windows::runtime::IUnknown {
from(value: IInkDivisionResult) -> Self3197     fn from(value: IInkDivisionResult) -> Self {
3198         unsafe { ::std::mem::transmute(value) }
3199     }
3200 }
3201 impl ::std::convert::From<&IInkDivisionResult> for ::windows::runtime::IUnknown {
from(value: &IInkDivisionResult) -> Self3202     fn from(value: &IInkDivisionResult) -> Self {
3203         ::std::convert::From::from(::std::clone::Clone::clone(value))
3204     }
3205 }
3206 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDivisionResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3207     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3208         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3209     }
3210 }
3211 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDivisionResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3212     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3213         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3214     }
3215 }
3216 #[cfg(feature = "Win32_System_Ole_Automation")]
3217 impl ::std::convert::From<IInkDivisionResult> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDivisionResult) -> Self3218     fn from(value: IInkDivisionResult) -> Self {
3219         unsafe { ::std::mem::transmute(value) }
3220     }
3221 }
3222 #[cfg(feature = "Win32_System_Ole_Automation")]
3223 impl ::std::convert::From<&IInkDivisionResult> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDivisionResult) -> Self3224     fn from(value: &IInkDivisionResult) -> Self {
3225         ::std::convert::From::from(::std::clone::Clone::clone(value))
3226     }
3227 }
3228 #[cfg(feature = "Win32_System_Ole_Automation")]
3229 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDivisionResult {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3230     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3231         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3232     }
3233 }
3234 #[cfg(feature = "Win32_System_Ole_Automation")]
3235 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDivisionResult {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3236     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3237         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3238     }
3239 }
3240 #[repr(C)]
3241 #[doc(hidden)]
3242 pub struct IInkDivisionResult_abi(
3243     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3244     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3245     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3246     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3247     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3248     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3249     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3250     #[cfg(not(feature = "Win32_Foundation"))] usize,
3251     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3252     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3253     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3254     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3255     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, divisiontype: InkDivisionType, inkdivisionunits: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3256 );
3257 #[repr(transparent)]
3258 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3259 pub struct IInkDivisionUnit(::windows::runtime::IUnknown);
3260 impl IInkDivisionUnit {
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>3261     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
3262         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3263         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
3264     }
DivisionType(&self) -> ::windows::runtime::Result<InkDivisionType>3265     pub unsafe fn DivisionType(&self) -> ::windows::runtime::Result<InkDivisionType> {
3266         let mut result__: <InkDivisionType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3267         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkDivisionType>(result__)
3268     }
3269     #[cfg(feature = "Win32_Foundation")]
RecognizedString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3270     pub unsafe fn RecognizedString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3271         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3272         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3273     }
RotationTransform(&self) -> ::windows::runtime::Result<IInkTransform>3274     pub unsafe fn RotationTransform(&self) -> ::windows::runtime::Result<IInkTransform> {
3275         let mut result__: <IInkTransform as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3276         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTransform>(result__)
3277     }
3278 }
3279 unsafe impl ::windows::runtime::Interface for IInkDivisionUnit {
3280     type Vtable = IInkDivisionUnit_abi;
3281     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2242831170, 18608, 16964, [157, 213, 30, 212, 53, 65, 15, 171]);
3282 }
3283 impl ::std::convert::From<IInkDivisionUnit> for ::windows::runtime::IUnknown {
from(value: IInkDivisionUnit) -> Self3284     fn from(value: IInkDivisionUnit) -> Self {
3285         unsafe { ::std::mem::transmute(value) }
3286     }
3287 }
3288 impl ::std::convert::From<&IInkDivisionUnit> for ::windows::runtime::IUnknown {
from(value: &IInkDivisionUnit) -> Self3289     fn from(value: &IInkDivisionUnit) -> Self {
3290         ::std::convert::From::from(::std::clone::Clone::clone(value))
3291     }
3292 }
3293 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDivisionUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3294     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3295         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3296     }
3297 }
3298 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDivisionUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3299     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3300         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3301     }
3302 }
3303 #[cfg(feature = "Win32_System_Ole_Automation")]
3304 impl ::std::convert::From<IInkDivisionUnit> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDivisionUnit) -> Self3305     fn from(value: IInkDivisionUnit) -> Self {
3306         unsafe { ::std::mem::transmute(value) }
3307     }
3308 }
3309 #[cfg(feature = "Win32_System_Ole_Automation")]
3310 impl ::std::convert::From<&IInkDivisionUnit> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDivisionUnit) -> Self3311     fn from(value: &IInkDivisionUnit) -> Self {
3312         ::std::convert::From::from(::std::clone::Clone::clone(value))
3313     }
3314 }
3315 #[cfg(feature = "Win32_System_Ole_Automation")]
3316 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDivisionUnit {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3317     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3318         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3319     }
3320 }
3321 #[cfg(feature = "Win32_System_Ole_Automation")]
3322 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDivisionUnit {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3323     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3324         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3325     }
3326 }
3327 #[repr(C)]
3328 #[doc(hidden)]
3329 pub struct IInkDivisionUnit_abi(
3330     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3331     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3332     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3333     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3334     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3335     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3336     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3337     #[cfg(not(feature = "Win32_Foundation"))] usize,
3338     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3339     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3340     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, divisiontype: *mut InkDivisionType) -> ::windows::runtime::HRESULT,
3343     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recostring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3344     #[cfg(not(feature = "Win32_Foundation"))] usize,
3345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rotationtransform: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3346 );
3347 #[repr(transparent)]
3348 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3349 pub struct IInkDivisionUnits(::windows::runtime::IUnknown);
3350 impl IInkDivisionUnits {
Count(&self) -> ::windows::runtime::Result<i32>3351     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
3352         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3353         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3354     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3355     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3356         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3357         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3358     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkDivisionUnit>3359     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkDivisionUnit> {
3360         let mut result__: <IInkDivisionUnit as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3361         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkDivisionUnit>(result__)
3362     }
3363 }
3364 unsafe impl ::windows::runtime::Interface for IInkDivisionUnits {
3365     type Vtable = IInkDivisionUnits_abi;
3366     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(464903618, 12748, 16693, [171, 130, 44, 102, 201, 240, 12, 65]);
3367 }
3368 impl ::std::convert::From<IInkDivisionUnits> for ::windows::runtime::IUnknown {
from(value: IInkDivisionUnits) -> Self3369     fn from(value: IInkDivisionUnits) -> Self {
3370         unsafe { ::std::mem::transmute(value) }
3371     }
3372 }
3373 impl ::std::convert::From<&IInkDivisionUnits> for ::windows::runtime::IUnknown {
from(value: &IInkDivisionUnits) -> Self3374     fn from(value: &IInkDivisionUnits) -> Self {
3375         ::std::convert::From::from(::std::clone::Clone::clone(value))
3376     }
3377 }
3378 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDivisionUnits {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3379     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3380         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3381     }
3382 }
3383 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDivisionUnits {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3384     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3385         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3386     }
3387 }
3388 #[cfg(feature = "Win32_System_Ole_Automation")]
3389 impl ::std::convert::From<IInkDivisionUnits> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDivisionUnits) -> Self3390     fn from(value: IInkDivisionUnits) -> Self {
3391         unsafe { ::std::mem::transmute(value) }
3392     }
3393 }
3394 #[cfg(feature = "Win32_System_Ole_Automation")]
3395 impl ::std::convert::From<&IInkDivisionUnits> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDivisionUnits) -> Self3396     fn from(value: &IInkDivisionUnits) -> Self {
3397         ::std::convert::From::from(::std::clone::Clone::clone(value))
3398     }
3399 }
3400 #[cfg(feature = "Win32_System_Ole_Automation")]
3401 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDivisionUnits {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3402     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3403         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3404     }
3405 }
3406 #[cfg(feature = "Win32_System_Ole_Automation")]
3407 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDivisionUnits {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3408     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3409         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3410     }
3411 }
3412 #[repr(C)]
3413 #[doc(hidden)]
3414 pub struct IInkDivisionUnits_abi(
3415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3418     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3419     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3420     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3421     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3422     #[cfg(not(feature = "Win32_Foundation"))] usize,
3423     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3424     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3425     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3426     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
3427     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, inkdivisionunit: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3429 );
3430 #[repr(transparent)]
3431 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3432 pub struct IInkDrawingAttributes(::windows::runtime::IUnknown);
3433 impl IInkDrawingAttributes {
Color(&self) -> ::windows::runtime::Result<i32>3434     pub unsafe fn Color(&self) -> ::windows::runtime::Result<i32> {
3435         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3436         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3437     }
SetColor(&self, newcolor: i32) -> ::windows::runtime::Result<()>3438     pub unsafe fn SetColor(&self, newcolor: i32) -> ::windows::runtime::Result<()> {
3439         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(newcolor)).ok()
3440     }
Width(&self) -> ::windows::runtime::Result<f32>3441     pub unsafe fn Width(&self) -> ::windows::runtime::Result<f32> {
3442         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3443         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3444     }
SetWidth(&self, newwidth: f32) -> ::windows::runtime::Result<()>3445     pub unsafe fn SetWidth(&self, newwidth: f32) -> ::windows::runtime::Result<()> {
3446         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(newwidth)).ok()
3447     }
Height(&self) -> ::windows::runtime::Result<f32>3448     pub unsafe fn Height(&self) -> ::windows::runtime::Result<f32> {
3449         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3450         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3451     }
SetHeight(&self, newheight: f32) -> ::windows::runtime::Result<()>3452     pub unsafe fn SetHeight(&self, newheight: f32) -> ::windows::runtime::Result<()> {
3453         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(newheight)).ok()
3454     }
FitToCurve(&self) -> ::windows::runtime::Result<i16>3455     pub unsafe fn FitToCurve(&self) -> ::windows::runtime::Result<i16> {
3456         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3457         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3458     }
SetFitToCurve(&self, flag: i16) -> ::windows::runtime::Result<()>3459     pub unsafe fn SetFitToCurve(&self, flag: i16) -> ::windows::runtime::Result<()> {
3460         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(flag)).ok()
3461     }
IgnorePressure(&self) -> ::windows::runtime::Result<i16>3462     pub unsafe fn IgnorePressure(&self) -> ::windows::runtime::Result<i16> {
3463         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3464         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3465     }
SetIgnorePressure(&self, flag: i16) -> ::windows::runtime::Result<()>3466     pub unsafe fn SetIgnorePressure(&self, flag: i16) -> ::windows::runtime::Result<()> {
3467         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(flag)).ok()
3468     }
AntiAliased(&self) -> ::windows::runtime::Result<i16>3469     pub unsafe fn AntiAliased(&self) -> ::windows::runtime::Result<i16> {
3470         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3471         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3472     }
SetAntiAliased(&self, flag: i16) -> ::windows::runtime::Result<()>3473     pub unsafe fn SetAntiAliased(&self, flag: i16) -> ::windows::runtime::Result<()> {
3474         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(flag)).ok()
3475     }
Transparency(&self) -> ::windows::runtime::Result<i32>3476     pub unsafe fn Transparency(&self) -> ::windows::runtime::Result<i32> {
3477         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3478         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3479     }
SetTransparency(&self, newtransparency: i32) -> ::windows::runtime::Result<()>3480     pub unsafe fn SetTransparency(&self, newtransparency: i32) -> ::windows::runtime::Result<()> {
3481         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(newtransparency)).ok()
3482     }
RasterOperation(&self) -> ::windows::runtime::Result<InkRasterOperation>3483     pub unsafe fn RasterOperation(&self) -> ::windows::runtime::Result<InkRasterOperation> {
3484         let mut result__: <InkRasterOperation as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3485         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRasterOperation>(result__)
3486     }
SetRasterOperation(&self, newrasteroperation: InkRasterOperation) -> ::windows::runtime::Result<()>3487     pub unsafe fn SetRasterOperation(&self, newrasteroperation: InkRasterOperation) -> ::windows::runtime::Result<()> {
3488         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(newrasteroperation)).ok()
3489     }
PenTip(&self) -> ::windows::runtime::Result<InkPenTip>3490     pub unsafe fn PenTip(&self) -> ::windows::runtime::Result<InkPenTip> {
3491         let mut result__: <InkPenTip as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3492         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkPenTip>(result__)
3493     }
SetPenTip(&self, newpentip: InkPenTip) -> ::windows::runtime::Result<()>3494     pub unsafe fn SetPenTip(&self, newpentip: InkPenTip) -> ::windows::runtime::Result<()> {
3495         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(newpentip)).ok()
3496     }
ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties>3497     pub unsafe fn ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties> {
3498         let mut result__: <IInkExtendedProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3499         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkExtendedProperties>(result__)
3500     }
Clone(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>3501     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
3502         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3503         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
3504     }
3505 }
3506 unsafe impl ::windows::runtime::Interface for IInkDrawingAttributes {
3507     type Vtable = IInkDrawingAttributes_abi;
3508     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3209796469, 2581, 17955, [173, 201, 192, 13, 67, 106, 128, 146]);
3509 }
3510 impl ::std::convert::From<IInkDrawingAttributes> for ::windows::runtime::IUnknown {
from(value: IInkDrawingAttributes) -> Self3511     fn from(value: IInkDrawingAttributes) -> Self {
3512         unsafe { ::std::mem::transmute(value) }
3513     }
3514 }
3515 impl ::std::convert::From<&IInkDrawingAttributes> for ::windows::runtime::IUnknown {
from(value: &IInkDrawingAttributes) -> Self3516     fn from(value: &IInkDrawingAttributes) -> Self {
3517         ::std::convert::From::from(::std::clone::Clone::clone(value))
3518     }
3519 }
3520 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkDrawingAttributes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3521     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3522         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3523     }
3524 }
3525 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkDrawingAttributes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3526     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3527         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3528     }
3529 }
3530 #[cfg(feature = "Win32_System_Ole_Automation")]
3531 impl ::std::convert::From<IInkDrawingAttributes> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkDrawingAttributes) -> Self3532     fn from(value: IInkDrawingAttributes) -> Self {
3533         unsafe { ::std::mem::transmute(value) }
3534     }
3535 }
3536 #[cfg(feature = "Win32_System_Ole_Automation")]
3537 impl ::std::convert::From<&IInkDrawingAttributes> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkDrawingAttributes) -> Self3538     fn from(value: &IInkDrawingAttributes) -> Self {
3539         ::std::convert::From::from(::std::clone::Clone::clone(value))
3540     }
3541 }
3542 #[cfg(feature = "Win32_System_Ole_Automation")]
3543 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkDrawingAttributes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3544     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3545         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3546     }
3547 }
3548 #[cfg(feature = "Win32_System_Ole_Automation")]
3549 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkDrawingAttributes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3550     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3551         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3552     }
3553 }
3554 #[repr(C)]
3555 #[doc(hidden)]
3556 pub struct IInkDrawingAttributes_abi(
3557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3561     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3562     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3563     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3564     #[cfg(not(feature = "Win32_Foundation"))] usize,
3565     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3566     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3567     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3568     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentcolor: *mut i32) -> ::windows::runtime::HRESULT,
3569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newcolor: i32) -> ::windows::runtime::HRESULT,
3570     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentwidth: *mut f32) -> ::windows::runtime::HRESULT,
3571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newwidth: f32) -> ::windows::runtime::HRESULT,
3572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentheight: *mut f32) -> ::windows::runtime::HRESULT,
3573     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newheight: f32) -> ::windows::runtime::HRESULT,
3574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: *mut i16) -> ::windows::runtime::HRESULT,
3575     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: i16) -> ::windows::runtime::HRESULT,
3576     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: *mut i16) -> ::windows::runtime::HRESULT,
3577     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: i16) -> ::windows::runtime::HRESULT,
3578     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: *mut i16) -> ::windows::runtime::HRESULT,
3579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flag: i16) -> ::windows::runtime::HRESULT,
3580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currenttransparency: *mut i32) -> ::windows::runtime::HRESULT,
3581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newtransparency: i32) -> ::windows::runtime::HRESULT,
3582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentrasteroperation: *mut InkRasterOperation) -> ::windows::runtime::HRESULT,
3583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newrasteroperation: InkRasterOperation) -> ::windows::runtime::HRESULT,
3584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentpentip: *mut InkPenTip) -> ::windows::runtime::HRESULT,
3585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newpentip: InkPenTip) -> ::windows::runtime::HRESULT,
3586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, properties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3587     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, drawingattributes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3588 );
3589 #[repr(transparent)]
3590 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3591 pub struct IInkEdit(::windows::runtime::IUnknown);
3592 impl IInkEdit {
Status(&self) -> ::windows::runtime::Result<InkEditStatus>3593     pub unsafe fn Status(&self) -> ::windows::runtime::Result<InkEditStatus> {
3594         let mut result__: <InkEditStatus as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3595         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkEditStatus>(result__)
3596     }
UseMouseForInput(&self) -> ::windows::runtime::Result<i16>3597     pub unsafe fn UseMouseForInput(&self) -> ::windows::runtime::Result<i16> {
3598         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3599         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3600     }
SetUseMouseForInput(&self, newval: i16) -> ::windows::runtime::Result<()>3601     pub unsafe fn SetUseMouseForInput(&self, newval: i16) -> ::windows::runtime::Result<()> {
3602         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3603     }
InkMode(&self) -> ::windows::runtime::Result<InkMode>3604     pub unsafe fn InkMode(&self) -> ::windows::runtime::Result<InkMode> {
3605         let mut result__: <InkMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3606         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkMode>(result__)
3607     }
SetInkMode(&self, newval: InkMode) -> ::windows::runtime::Result<()>3608     pub unsafe fn SetInkMode(&self, newval: InkMode) -> ::windows::runtime::Result<()> {
3609         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3610     }
InkInsertMode(&self) -> ::windows::runtime::Result<InkInsertMode>3611     pub unsafe fn InkInsertMode(&self) -> ::windows::runtime::Result<InkInsertMode> {
3612         let mut result__: <InkInsertMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3613         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkInsertMode>(result__)
3614     }
SetInkInsertMode(&self, newval: InkInsertMode) -> ::windows::runtime::Result<()>3615     pub unsafe fn SetInkInsertMode(&self, newval: InkInsertMode) -> ::windows::runtime::Result<()> {
3616         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3617     }
DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>3618     pub unsafe fn DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
3619         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3620         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
3621     }
putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3622     pub unsafe fn putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3623         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3624     }
RecognitionTimeout(&self) -> ::windows::runtime::Result<i32>3625     pub unsafe fn RecognitionTimeout(&self) -> ::windows::runtime::Result<i32> {
3626         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3627         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3628     }
SetRecognitionTimeout(&self, newval: i32) -> ::windows::runtime::Result<()>3629     pub unsafe fn SetRecognitionTimeout(&self, newval: i32) -> ::windows::runtime::Result<()> {
3630         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3631     }
Recognizer(&self) -> ::windows::runtime::Result<IInkRecognizer>3632     pub unsafe fn Recognizer(&self) -> ::windows::runtime::Result<IInkRecognizer> {
3633         let mut result__: <IInkRecognizer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3634         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizer>(result__)
3635     }
putref_Recognizer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizer>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3636     pub unsafe fn putref_Recognizer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizer>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3637         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3638     }
3639     #[cfg(feature = "Win32_Foundation")]
Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3640     pub unsafe fn Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3641         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3642         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3643     }
3644     #[cfg(feature = "Win32_Foundation")]
SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()>3645     pub unsafe fn SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newval: Param0) -> ::windows::runtime::Result<()> {
3646         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), newval.into_param().abi()).ok()
3647     }
3648     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelInks(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3649     pub unsafe fn SelInks(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3650         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3651         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3652     }
3653     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelInks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, selink: Param0) -> ::windows::runtime::Result<()>3654     pub unsafe fn SetSelInks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, selink: Param0) -> ::windows::runtime::Result<()> {
3655         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), selink.into_param().abi()).ok()
3656     }
SelInksDisplayMode(&self) -> ::windows::runtime::Result<InkDisplayMode>3657     pub unsafe fn SelInksDisplayMode(&self) -> ::windows::runtime::Result<InkDisplayMode> {
3658         let mut result__: <InkDisplayMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3659         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkDisplayMode>(result__)
3660     }
SetSelInksDisplayMode(&self, inkdisplaymode: InkDisplayMode) -> ::windows::runtime::Result<()>3661     pub unsafe fn SetSelInksDisplayMode(&self, inkdisplaymode: InkDisplayMode) -> ::windows::runtime::Result<()> {
3662         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(inkdisplaymode)).ok()
3663     }
Recognize(&self) -> ::windows::runtime::Result<()>3664     pub unsafe fn Recognize(&self) -> ::windows::runtime::Result<()> {
3665         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
3666     }
GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16>3667     pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16> {
3668         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3669         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), &mut result__).from_abi::<i16>(result__)
3670     }
SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()>3671     pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()> {
3672         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), ::std::mem::transmute(listen)).ok()
3673     }
SetBackColor(&self, clr: u32) -> ::windows::runtime::Result<()>3674     pub unsafe fn SetBackColor(&self, clr: u32) -> ::windows::runtime::Result<()> {
3675         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(clr)).ok()
3676     }
BackColor(&self) -> ::windows::runtime::Result<u32>3677     pub unsafe fn BackColor(&self) -> ::windows::runtime::Result<u32> {
3678         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3679         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3680     }
Appearance(&self) -> ::windows::runtime::Result<AppearanceConstants>3681     pub unsafe fn Appearance(&self) -> ::windows::runtime::Result<AppearanceConstants> {
3682         let mut result__: <AppearanceConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3683         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<AppearanceConstants>(result__)
3684     }
SetAppearance(&self, pappearance: AppearanceConstants) -> ::windows::runtime::Result<()>3685     pub unsafe fn SetAppearance(&self, pappearance: AppearanceConstants) -> ::windows::runtime::Result<()> {
3686         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(pappearance)).ok()
3687     }
BorderStyle(&self) -> ::windows::runtime::Result<BorderStyleConstants>3688     pub unsafe fn BorderStyle(&self) -> ::windows::runtime::Result<BorderStyleConstants> {
3689         let mut result__: <BorderStyleConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3690         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<BorderStyleConstants>(result__)
3691     }
SetBorderStyle(&self, pborderstyle: BorderStyleConstants) -> ::windows::runtime::Result<()>3692     pub unsafe fn SetBorderStyle(&self, pborderstyle: BorderStyleConstants) -> ::windows::runtime::Result<()> {
3693         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(pborderstyle)).ok()
3694     }
Hwnd(&self) -> ::windows::runtime::Result<u32>3695     pub unsafe fn Hwnd(&self) -> ::windows::runtime::Result<u32> {
3696         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3697         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3698     }
3699     #[cfg(feature = "Win32_System_Ole")]
Font(&self) -> ::windows::runtime::Result<super::super::System::Ole::IFontDisp>3700     pub unsafe fn Font(&self) -> ::windows::runtime::Result<super::super::System::Ole::IFontDisp> {
3701         let mut result__: <super::super::System::Ole::IFontDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3702         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IFontDisp>(result__)
3703     }
3704     #[cfg(feature = "Win32_System_Ole")]
putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IFontDisp>>(&self, ppfont: Param0) -> ::windows::runtime::Result<()>3705     pub unsafe fn putref_Font<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IFontDisp>>(&self, ppfont: Param0) -> ::windows::runtime::Result<()> {
3706         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ppfont.into_param().abi()).ok()
3707     }
3708     #[cfg(feature = "Win32_Foundation")]
Text(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3709     pub unsafe fn Text(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3710         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3711         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3712     }
3713     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrtext: Param0) -> ::windows::runtime::Result<()>3714     pub unsafe fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrtext: Param0) -> ::windows::runtime::Result<()> {
3715         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), pbstrtext.into_param().abi()).ok()
3716     }
3717     #[cfg(feature = "Win32_System_Ole")]
MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>3718     pub unsafe fn MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
3719         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3720         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
3721     }
3722     #[cfg(feature = "Win32_System_Ole")]
SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>3723     pub unsafe fn SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
3724         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
3725     }
3726     #[cfg(feature = "Win32_System_Ole")]
putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>3727     pub unsafe fn putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
3728         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
3729     }
MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer>3730     pub unsafe fn MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer> {
3731         let mut result__: <InkMousePointer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3732         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkMousePointer>(result__)
3733     }
SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()>3734     pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()> {
3735         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(mousepointer)).ok()
3736     }
Locked(&self) -> ::windows::runtime::Result<i16>3737     pub unsafe fn Locked(&self) -> ::windows::runtime::Result<i16> {
3738         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3739         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3740     }
SetLocked(&self, newval: i16) -> ::windows::runtime::Result<()>3741     pub unsafe fn SetLocked(&self, newval: i16) -> ::windows::runtime::Result<()> {
3742         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3743     }
Enabled(&self) -> ::windows::runtime::Result<i16>3744     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
3745         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3746         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3747     }
SetEnabled(&self, newval: i16) -> ::windows::runtime::Result<()>3748     pub unsafe fn SetEnabled(&self, newval: i16) -> ::windows::runtime::Result<()> {
3749         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3750     }
MaxLength(&self) -> ::windows::runtime::Result<i32>3751     pub unsafe fn MaxLength(&self) -> ::windows::runtime::Result<i32> {
3752         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3753         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3754     }
SetMaxLength(&self, lmaxlength: i32) -> ::windows::runtime::Result<()>3755     pub unsafe fn SetMaxLength(&self, lmaxlength: i32) -> ::windows::runtime::Result<()> {
3756         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(lmaxlength)).ok()
3757     }
MultiLine(&self) -> ::windows::runtime::Result<i16>3758     pub unsafe fn MultiLine(&self) -> ::windows::runtime::Result<i16> {
3759         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3760         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3761     }
SetMultiLine(&self, newval: i16) -> ::windows::runtime::Result<()>3762     pub unsafe fn SetMultiLine(&self, newval: i16) -> ::windows::runtime::Result<()> {
3763         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3764     }
ScrollBars(&self) -> ::windows::runtime::Result<ScrollBarsConstants>3765     pub unsafe fn ScrollBars(&self) -> ::windows::runtime::Result<ScrollBarsConstants> {
3766         let mut result__: <ScrollBarsConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3767         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ScrollBarsConstants>(result__)
3768     }
SetScrollBars(&self, newval: ScrollBarsConstants) -> ::windows::runtime::Result<()>3769     pub unsafe fn SetScrollBars(&self, newval: ScrollBarsConstants) -> ::windows::runtime::Result<()> {
3770         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3771     }
DisableNoScroll(&self) -> ::windows::runtime::Result<i16>3772     pub unsafe fn DisableNoScroll(&self) -> ::windows::runtime::Result<i16> {
3773         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3774         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3775     }
SetDisableNoScroll(&self, newval: i16) -> ::windows::runtime::Result<()>3776     pub unsafe fn SetDisableNoScroll(&self, newval: i16) -> ::windows::runtime::Result<()> {
3777         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(newval)).ok()
3778     }
3779     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelAlignment(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3780     pub unsafe fn SelAlignment(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3781         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3782         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3783     }
3784     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelAlignment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselalignment: Param0) -> ::windows::runtime::Result<()>3785     pub unsafe fn SetSelAlignment<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselalignment: Param0) -> ::windows::runtime::Result<()> {
3786         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), pvarselalignment.into_param().abi()).ok()
3787     }
3788     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelBold(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3789     pub unsafe fn SelBold(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3790         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3791         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3792     }
3793     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelBold<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselbold: Param0) -> ::windows::runtime::Result<()>3794     pub unsafe fn SetSelBold<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselbold: Param0) -> ::windows::runtime::Result<()> {
3795         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), pvarselbold.into_param().abi()).ok()
3796     }
3797     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelItalic(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3798     pub unsafe fn SelItalic(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3799         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3800         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3801     }
3802     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelItalic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselitalic: Param0) -> ::windows::runtime::Result<()>3803     pub unsafe fn SetSelItalic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselitalic: Param0) -> ::windows::runtime::Result<()> {
3804         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), pvarselitalic.into_param().abi()).ok()
3805     }
3806     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelUnderline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3807     pub unsafe fn SelUnderline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3808         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3809         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3810     }
3811     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelUnderline<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselunderline: Param0) -> ::windows::runtime::Result<()>3812     pub unsafe fn SetSelUnderline<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselunderline: Param0) -> ::windows::runtime::Result<()> {
3813         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), pvarselunderline.into_param().abi()).ok()
3814     }
3815     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelColor(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3816     pub unsafe fn SelColor(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3817         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3818         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3819     }
3820     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselcolor: Param0) -> ::windows::runtime::Result<()>3821     pub unsafe fn SetSelColor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselcolor: Param0) -> ::windows::runtime::Result<()> {
3822         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), pvarselcolor.into_param().abi()).ok()
3823     }
3824     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelFontName(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3825     pub unsafe fn SelFontName(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3826         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3827         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3828     }
3829     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelFontName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselfontname: Param0) -> ::windows::runtime::Result<()>3830     pub unsafe fn SetSelFontName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselfontname: Param0) -> ::windows::runtime::Result<()> {
3831         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), pvarselfontname.into_param().abi()).ok()
3832     }
3833     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelFontSize(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3834     pub unsafe fn SelFontSize(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3835         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3836         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3837     }
3838     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelFontSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselfontsize: Param0) -> ::windows::runtime::Result<()>3839     pub unsafe fn SetSelFontSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselfontsize: Param0) -> ::windows::runtime::Result<()> {
3840         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), pvarselfontsize.into_param().abi()).ok()
3841     }
3842     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelCharOffset(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3843     pub unsafe fn SelCharOffset(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3844         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3845         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3846     }
3847     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetSelCharOffset<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselcharoffset: Param0) -> ::windows::runtime::Result<()>3848     pub unsafe fn SetSelCharOffset<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, pvarselcharoffset: Param0) -> ::windows::runtime::Result<()> {
3849         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), pvarselcharoffset.into_param().abi()).ok()
3850     }
3851     #[cfg(feature = "Win32_Foundation")]
TextRTF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3852     pub unsafe fn TextRTF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3853         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3854         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3855     }
3856     #[cfg(feature = "Win32_Foundation")]
SetTextRTF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrtextrtf: Param0) -> ::windows::runtime::Result<()>3857     pub unsafe fn SetTextRTF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrtextrtf: Param0) -> ::windows::runtime::Result<()> {
3858         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), pbstrtextrtf.into_param().abi()).ok()
3859     }
SelStart(&self) -> ::windows::runtime::Result<i32>3860     pub unsafe fn SelStart(&self) -> ::windows::runtime::Result<i32> {
3861         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3862         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3863     }
SetSelStart(&self, plselstart: i32) -> ::windows::runtime::Result<()>3864     pub unsafe fn SetSelStart(&self, plselstart: i32) -> ::windows::runtime::Result<()> {
3865         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), ::std::mem::transmute(plselstart)).ok()
3866     }
SelLength(&self) -> ::windows::runtime::Result<i32>3867     pub unsafe fn SelLength(&self) -> ::windows::runtime::Result<i32> {
3868         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3869         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3870     }
SetSelLength(&self, plsellength: i32) -> ::windows::runtime::Result<()>3871     pub unsafe fn SetSelLength(&self, plsellength: i32) -> ::windows::runtime::Result<()> {
3872         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(plsellength)).ok()
3873     }
3874     #[cfg(feature = "Win32_Foundation")]
SelText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3875     pub unsafe fn SelText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3876         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3877         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3878     }
3879     #[cfg(feature = "Win32_Foundation")]
SetSelText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrseltext: Param0) -> ::windows::runtime::Result<()>3880     pub unsafe fn SetSelText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrseltext: Param0) -> ::windows::runtime::Result<()> {
3881         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pbstrseltext.into_param().abi()).ok()
3882     }
3883     #[cfg(feature = "Win32_Foundation")]
SelRTF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3884     pub unsafe fn SelRTF(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3885         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3886         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3887     }
3888     #[cfg(feature = "Win32_Foundation")]
SetSelRTF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrselrtf: Param0) -> ::windows::runtime::Result<()>3889     pub unsafe fn SetSelRTF<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, pbstrselrtf: Param0) -> ::windows::runtime::Result<()> {
3890         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), pbstrselrtf.into_param().abi()).ok()
3891     }
Refresh(&self) -> ::windows::runtime::Result<()>3892     pub unsafe fn Refresh(&self) -> ::windows::runtime::Result<()> {
3893         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self)).ok()
3894     }
3895 }
3896 unsafe impl ::windows::runtime::Interface for IInkEdit {
3897     type Vtable = IInkEdit_abi;
3898     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4061297177, 64507, 19181, [132, 100, 63, 54, 215, 140, 254, 251]);
3899 }
3900 impl ::std::convert::From<IInkEdit> for ::windows::runtime::IUnknown {
from(value: IInkEdit) -> Self3901     fn from(value: IInkEdit) -> Self {
3902         unsafe { ::std::mem::transmute(value) }
3903     }
3904 }
3905 impl ::std::convert::From<&IInkEdit> for ::windows::runtime::IUnknown {
from(value: &IInkEdit) -> Self3906     fn from(value: &IInkEdit) -> Self {
3907         ::std::convert::From::from(::std::clone::Clone::clone(value))
3908     }
3909 }
3910 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkEdit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3911     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3912         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3913     }
3914 }
3915 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkEdit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3916     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3917         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3918     }
3919 }
3920 #[cfg(feature = "Win32_System_Ole_Automation")]
3921 impl ::std::convert::From<IInkEdit> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkEdit) -> Self3922     fn from(value: IInkEdit) -> Self {
3923         unsafe { ::std::mem::transmute(value) }
3924     }
3925 }
3926 #[cfg(feature = "Win32_System_Ole_Automation")]
3927 impl ::std::convert::From<&IInkEdit> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkEdit) -> Self3928     fn from(value: &IInkEdit) -> Self {
3929         ::std::convert::From::from(::std::clone::Clone::clone(value))
3930     }
3931 }
3932 #[cfg(feature = "Win32_System_Ole_Automation")]
3933 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkEdit {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3934     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3935         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
3936     }
3937 }
3938 #[cfg(feature = "Win32_System_Ole_Automation")]
3939 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkEdit {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>3940     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
3941         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3942     }
3943 }
3944 #[repr(C)]
3945 #[doc(hidden)]
3946 pub struct IInkEdit_abi(
3947     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3949     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3951     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3952     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3953     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3954     #[cfg(not(feature = "Win32_Foundation"))] usize,
3955     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3956     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3957     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3958     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstatus: *mut InkEditStatus) -> ::windows::runtime::HRESULT,
3959     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
3960     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
3961     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut InkMode) -> ::windows::runtime::HRESULT,
3962     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: InkMode) -> ::windows::runtime::HRESULT,
3963     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut InkInsertMode) -> ::windows::runtime::HRESULT,
3964     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: InkInsertMode) -> ::windows::runtime::HRESULT,
3965     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3966     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3967     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i32) -> ::windows::runtime::HRESULT,
3968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i32) -> ::windows::runtime::HRESULT,
3969     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3970     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3971     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3972     #[cfg(not(feature = "Win32_Foundation"))] usize,
3973     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3974     #[cfg(not(feature = "Win32_Foundation"))] usize,
3975     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pselink: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3976     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3977     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selink: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3978     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3979     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinkdisplaymode: *mut InkDisplayMode) -> ::windows::runtime::HRESULT,
3980     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkdisplaymode: InkDisplayMode) -> ::windows::runtime::HRESULT,
3981     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3982     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, plisten: *mut i16) -> ::windows::runtime::HRESULT,
3983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::HRESULT,
3984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clr: u32) -> ::windows::runtime::HRESULT,
3985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclr: *mut u32) -> ::windows::runtime::HRESULT,
3986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pappearance: *mut AppearanceConstants) -> ::windows::runtime::HRESULT,
3987     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pappearance: AppearanceConstants) -> ::windows::runtime::HRESULT,
3988     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderstyle: *mut BorderStyleConstants) -> ::windows::runtime::HRESULT,
3989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderstyle: BorderStyleConstants) -> ::windows::runtime::HRESULT,
3990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pohhwnd: *mut u32) -> ::windows::runtime::HRESULT,
3991     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3992     #[cfg(not(feature = "Win32_System_Ole"))] usize,
3993     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3994     #[cfg(not(feature = "Win32_System_Ole"))] usize,
3995     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3996     #[cfg(not(feature = "Win32_Foundation"))] usize,
3997     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3998     #[cfg(not(feature = "Win32_Foundation"))] usize,
3999     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4000     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4001     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4002     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4003     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4004     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4005     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: *mut InkMousePointer) -> ::windows::runtime::HRESULT,
4006     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: InkMousePointer) -> ::windows::runtime::HRESULT,
4007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
4008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
4009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
4010     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
4011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmaxlength: *mut i32) -> ::windows::runtime::HRESULT,
4012     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lmaxlength: i32) -> ::windows::runtime::HRESULT,
4013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
4014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
4015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut ScrollBarsConstants) -> ::windows::runtime::HRESULT,
4016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: ScrollBarsConstants) -> ::windows::runtime::HRESULT,
4017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pval: *mut i16) -> ::windows::runtime::HRESULT,
4018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newval: i16) -> ::windows::runtime::HRESULT,
4019     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselalignment: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4020     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4021     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselalignment: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4022     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4023     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselbold: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4024     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4025     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselbold: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4026     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4027     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselitalic: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4028     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4029     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselitalic: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4030     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4031     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselunderline: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4032     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4033     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselunderline: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4034     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4035     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselcolor: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4036     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4037     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselcolor: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4038     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4039     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselfontname: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4040     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4041     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselfontname: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4042     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4043     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselfontsize: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4044     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4045     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselfontsize: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4046     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4047     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselcharoffset: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4048     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4049     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarselcharoffset: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4050     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4051     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtextrtf: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4052     #[cfg(not(feature = "Win32_Foundation"))] usize,
4053     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtextrtf: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4054     #[cfg(not(feature = "Win32_Foundation"))] usize,
4055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plselstart: *mut i32) -> ::windows::runtime::HRESULT,
4056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plselstart: i32) -> ::windows::runtime::HRESULT,
4057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsellength: *mut i32) -> ::windows::runtime::HRESULT,
4058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsellength: i32) -> ::windows::runtime::HRESULT,
4059     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrseltext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4060     #[cfg(not(feature = "Win32_Foundation"))] usize,
4061     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrseltext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4062     #[cfg(not(feature = "Win32_Foundation"))] usize,
4063     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrselrtf: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4064     #[cfg(not(feature = "Win32_Foundation"))] usize,
4065     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrselrtf: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4066     #[cfg(not(feature = "Win32_Foundation"))] usize,
4067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4068 );
4069 #[repr(transparent)]
4070 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4071 pub struct IInkExtendedProperties(::windows::runtime::IUnknown);
4072 impl IInkExtendedProperties {
Count(&self) -> ::windows::runtime::Result<i32>4073     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
4074         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4075         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4076     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>4077     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
4078         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4079         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
4080     }
4081     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkExtendedProperty>4082     pub unsafe fn Item<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<IInkExtendedProperty> {
4083         let mut result__: <IInkExtendedProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4084         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), identifier.into_param().abi(), &mut result__).from_abi::<IInkExtendedProperty>(result__)
4085     }
4086     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, guid: Param0, data: Param1) -> ::windows::runtime::Result<IInkExtendedProperty>4087     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, guid: Param0, data: Param1) -> ::windows::runtime::Result<IInkExtendedProperty> {
4088         let mut result__: <IInkExtendedProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4089         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), guid.into_param().abi(), data.into_param().abi(), &mut result__).from_abi::<IInkExtendedProperty>(result__)
4090     }
4091     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<()>4092     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, identifier: Param0) -> ::windows::runtime::Result<()> {
4093         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), identifier.into_param().abi()).ok()
4094     }
Clear(&self) -> ::windows::runtime::Result<()>4095     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
4096         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
4097     }
4098     #[cfg(feature = "Win32_Foundation")]
DoesPropertyExist<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, guid: Param0) -> ::windows::runtime::Result<i16>4099     pub unsafe fn DoesPropertyExist<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, guid: Param0) -> ::windows::runtime::Result<i16> {
4100         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4101         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), guid.into_param().abi(), &mut result__).from_abi::<i16>(result__)
4102     }
4103 }
4104 unsafe impl ::windows::runtime::Interface for IInkExtendedProperties {
4105     type Vtable = IInkExtendedProperties_abi;
4106     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2314381502, 38313, 17712, [139, 143, 136, 233, 113, 227, 226, 95]);
4107 }
4108 impl ::std::convert::From<IInkExtendedProperties> for ::windows::runtime::IUnknown {
from(value: IInkExtendedProperties) -> Self4109     fn from(value: IInkExtendedProperties) -> Self {
4110         unsafe { ::std::mem::transmute(value) }
4111     }
4112 }
4113 impl ::std::convert::From<&IInkExtendedProperties> for ::windows::runtime::IUnknown {
from(value: &IInkExtendedProperties) -> Self4114     fn from(value: &IInkExtendedProperties) -> Self {
4115         ::std::convert::From::from(::std::clone::Clone::clone(value))
4116     }
4117 }
4118 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkExtendedProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4119     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4120         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4121     }
4122 }
4123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkExtendedProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4124     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4125         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4126     }
4127 }
4128 #[cfg(feature = "Win32_System_Ole_Automation")]
4129 impl ::std::convert::From<IInkExtendedProperties> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkExtendedProperties) -> Self4130     fn from(value: IInkExtendedProperties) -> Self {
4131         unsafe { ::std::mem::transmute(value) }
4132     }
4133 }
4134 #[cfg(feature = "Win32_System_Ole_Automation")]
4135 impl ::std::convert::From<&IInkExtendedProperties> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkExtendedProperties) -> Self4136     fn from(value: &IInkExtendedProperties) -> Self {
4137         ::std::convert::From::from(::std::clone::Clone::clone(value))
4138     }
4139 }
4140 #[cfg(feature = "Win32_System_Ole_Automation")]
4141 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkExtendedProperties {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4142     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4143         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
4144     }
4145 }
4146 #[cfg(feature = "Win32_System_Ole_Automation")]
4147 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkExtendedProperties {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4148     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4149         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4150     }
4151 }
4152 #[repr(C)]
4153 #[doc(hidden)]
4154 pub struct IInkExtendedProperties_abi(
4155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4158     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4159     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4160     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4161     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4162     #[cfg(not(feature = "Win32_Foundation"))] usize,
4163     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4164     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4165     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
4167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4168     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, item: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4169     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4170     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, data: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, inkextendedproperty: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4171     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4172     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identifier: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4173     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4175     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, doespropertyexist: *mut i16) -> ::windows::runtime::HRESULT,
4176     #[cfg(not(feature = "Win32_Foundation"))] usize,
4177 );
4178 #[repr(transparent)]
4179 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4180 pub struct IInkExtendedProperty(::windows::runtime::IUnknown);
4181 impl IInkExtendedProperty {
4182     #[cfg(feature = "Win32_Foundation")]
Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4183     pub unsafe fn Guid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4184         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4185         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4186     }
4187     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Data(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>4188     pub unsafe fn Data(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
4189         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4190         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
4191     }
4192     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, data: Param0) -> ::windows::runtime::Result<()>4193     pub unsafe fn SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, data: Param0) -> ::windows::runtime::Result<()> {
4194         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), data.into_param().abi()).ok()
4195     }
4196 }
4197 unsafe impl ::windows::runtime::Interface for IInkExtendedProperty {
4198     type Vtable = IInkExtendedProperty_abi;
4199     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3678966281, 47043, 16669, [144, 246, 21, 72, 207, 255, 39, 30]);
4200 }
4201 impl ::std::convert::From<IInkExtendedProperty> for ::windows::runtime::IUnknown {
from(value: IInkExtendedProperty) -> Self4202     fn from(value: IInkExtendedProperty) -> Self {
4203         unsafe { ::std::mem::transmute(value) }
4204     }
4205 }
4206 impl ::std::convert::From<&IInkExtendedProperty> for ::windows::runtime::IUnknown {
from(value: &IInkExtendedProperty) -> Self4207     fn from(value: &IInkExtendedProperty) -> Self {
4208         ::std::convert::From::from(::std::clone::Clone::clone(value))
4209     }
4210 }
4211 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkExtendedProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4212     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4213         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4214     }
4215 }
4216 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkExtendedProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4217     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4218         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4219     }
4220 }
4221 #[cfg(feature = "Win32_System_Ole_Automation")]
4222 impl ::std::convert::From<IInkExtendedProperty> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkExtendedProperty) -> Self4223     fn from(value: IInkExtendedProperty) -> Self {
4224         unsafe { ::std::mem::transmute(value) }
4225     }
4226 }
4227 #[cfg(feature = "Win32_System_Ole_Automation")]
4228 impl ::std::convert::From<&IInkExtendedProperty> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkExtendedProperty) -> Self4229     fn from(value: &IInkExtendedProperty) -> Self {
4230         ::std::convert::From::from(::std::clone::Clone::clone(value))
4231     }
4232 }
4233 #[cfg(feature = "Win32_System_Ole_Automation")]
4234 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkExtendedProperty {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4235     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4236         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
4237     }
4238 }
4239 #[cfg(feature = "Win32_System_Ole_Automation")]
4240 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkExtendedProperty {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4241     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4242         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4243     }
4244 }
4245 #[repr(C)]
4246 #[doc(hidden)]
4247 pub struct IInkExtendedProperty_abi(
4248     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4249     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4250     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4251     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4252     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4253     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4254     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4255     #[cfg(not(feature = "Win32_Foundation"))] usize,
4256     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4257     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4258     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4259     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4260     #[cfg(not(feature = "Win32_Foundation"))] usize,
4261     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4262     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4263     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, data: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4264     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4265 );
4266 #[repr(transparent)]
4267 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4268 pub struct IInkGesture(::windows::runtime::IUnknown);
4269 impl IInkGesture {
Confidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence>4270     pub unsafe fn Confidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence> {
4271         let mut result__: <InkRecognitionConfidence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4272         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognitionConfidence>(result__)
4273     }
Id(&self) -> ::windows::runtime::Result<InkApplicationGesture>4274     pub unsafe fn Id(&self) -> ::windows::runtime::Result<InkApplicationGesture> {
4275         let mut result__: <InkApplicationGesture as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4276         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkApplicationGesture>(result__)
4277     }
GetHotPoint(&self, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()>4278     pub unsafe fn GetHotPoint(&self, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()> {
4279         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
4280     }
4281 }
4282 unsafe impl ::windows::runtime::Interface for IInkGesture {
4283     type Vtable = IInkGesture_abi;
4284     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1004276375, 1253, 20006, [184, 19, 24, 240, 82, 212, 29, 239]);
4285 }
4286 impl ::std::convert::From<IInkGesture> for ::windows::runtime::IUnknown {
from(value: IInkGesture) -> Self4287     fn from(value: IInkGesture) -> Self {
4288         unsafe { ::std::mem::transmute(value) }
4289     }
4290 }
4291 impl ::std::convert::From<&IInkGesture> for ::windows::runtime::IUnknown {
from(value: &IInkGesture) -> Self4292     fn from(value: &IInkGesture) -> Self {
4293         ::std::convert::From::from(::std::clone::Clone::clone(value))
4294     }
4295 }
4296 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkGesture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4297     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4298         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4299     }
4300 }
4301 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkGesture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4302     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4303         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4304     }
4305 }
4306 #[cfg(feature = "Win32_System_Ole_Automation")]
4307 impl ::std::convert::From<IInkGesture> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkGesture) -> Self4308     fn from(value: IInkGesture) -> Self {
4309         unsafe { ::std::mem::transmute(value) }
4310     }
4311 }
4312 #[cfg(feature = "Win32_System_Ole_Automation")]
4313 impl ::std::convert::From<&IInkGesture> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkGesture) -> Self4314     fn from(value: &IInkGesture) -> Self {
4315         ::std::convert::From::from(::std::clone::Clone::clone(value))
4316     }
4317 }
4318 #[cfg(feature = "Win32_System_Ole_Automation")]
4319 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkGesture {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4320     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4321         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
4322     }
4323 }
4324 #[cfg(feature = "Win32_System_Ole_Automation")]
4325 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkGesture {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4326     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4327         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4328     }
4329 }
4330 #[repr(C)]
4331 #[doc(hidden)]
4332 pub struct IInkGesture_abi(
4333     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4334     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4335     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4337     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4338     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4339     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4340     #[cfg(not(feature = "Win32_Foundation"))] usize,
4341     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4342     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4343     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, confidence: *mut InkRecognitionConfidence) -> ::windows::runtime::HRESULT,
4345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut InkApplicationGesture) -> ::windows::runtime::HRESULT,
4346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: *mut i32, y: *mut i32) -> ::windows::runtime::HRESULT,
4347 );
4348 #[repr(transparent)]
4349 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4350 pub struct IInkLineInfo(::windows::runtime::IUnknown);
4351 impl IInkLineInfo {
SetFormat(&self, pim: *const INKMETRIC) -> ::windows::runtime::Result<()>4352     pub unsafe fn SetFormat(&self, pim: *const INKMETRIC) -> ::windows::runtime::Result<()> {
4353         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pim)).ok()
4354     }
GetFormat(&self, pim: *const INKMETRIC) -> ::windows::runtime::Result<()>4355     pub unsafe fn GetFormat(&self, pim: *const INKMETRIC) -> ::windows::runtime::Result<()> {
4356         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pim)).ok()
4357     }
GetInkExtent(&self, pim: *const INKMETRIC, pnwidth: *const u32) -> ::windows::runtime::Result<()>4358     pub unsafe fn GetInkExtent(&self, pim: *const INKMETRIC, pnwidth: *const u32) -> ::windows::runtime::Result<()> {
4359         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pim), ::std::mem::transmute(pnwidth)).ok()
4360     }
4361     #[cfg(feature = "Win32_Foundation")]
GetCandidate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncandidatenum: u32, pwcrecogword: Param1, pcwcrecogword: *const u32, dwflags: u32) -> ::windows::runtime::Result<()>4362     pub unsafe fn GetCandidate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncandidatenum: u32, pwcrecogword: Param1, pcwcrecogword: *const u32, dwflags: u32) -> ::windows::runtime::Result<()> {
4363         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncandidatenum), pwcrecogword.into_param().abi(), ::std::mem::transmute(pcwcrecogword), ::std::mem::transmute(dwflags)).ok()
4364     }
4365     #[cfg(feature = "Win32_Foundation")]
SetCandidate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncandidatenum: u32, strrecogword: Param1) -> ::windows::runtime::Result<()>4366     pub unsafe fn SetCandidate<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncandidatenum: u32, strrecogword: Param1) -> ::windows::runtime::Result<()> {
4367         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncandidatenum), strrecogword.into_param().abi()).ok()
4368     }
Recognize(&self) -> ::windows::runtime::Result<()>4369     pub unsafe fn Recognize(&self) -> ::windows::runtime::Result<()> {
4370         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
4371     }
4372 }
4373 unsafe impl ::windows::runtime::Interface for IInkLineInfo {
4374     type Vtable = IInkLineInfo_abi;
4375     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2619103958, 61999, 19940, [180, 83, 162, 204, 72, 46, 124, 51]);
4376 }
4377 impl ::std::convert::From<IInkLineInfo> for ::windows::runtime::IUnknown {
from(value: IInkLineInfo) -> Self4378     fn from(value: IInkLineInfo) -> Self {
4379         unsafe { ::std::mem::transmute(value) }
4380     }
4381 }
4382 impl ::std::convert::From<&IInkLineInfo> for ::windows::runtime::IUnknown {
from(value: &IInkLineInfo) -> Self4383     fn from(value: &IInkLineInfo) -> Self {
4384         ::std::convert::From::from(::std::clone::Clone::clone(value))
4385     }
4386 }
4387 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkLineInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4388     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4389         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4390     }
4391 }
4392 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkLineInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4393     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4394         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4395     }
4396 }
4397 #[repr(C)]
4398 #[doc(hidden)]
4399 pub struct IInkLineInfo_abi(
4400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pim: *const INKMETRIC) -> ::windows::runtime::HRESULT,
4404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pim: *const INKMETRIC) -> ::windows::runtime::HRESULT,
4405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pim: *const INKMETRIC, pnwidth: *const u32) -> ::windows::runtime::HRESULT,
4406     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncandidatenum: u32, pwcrecogword: super::super::Foundation::PWSTR, pcwcrecogword: *const u32, dwflags: u32) -> ::windows::runtime::HRESULT,
4407     #[cfg(not(feature = "Win32_Foundation"))] usize,
4408     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncandidatenum: u32, strrecogword: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4409     #[cfg(not(feature = "Win32_Foundation"))] usize,
4410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4411 );
4412 #[repr(transparent)]
4413 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4414 pub struct IInkOverlay(::windows::runtime::IUnknown);
4415 impl IInkOverlay {
hWnd(&self) -> ::windows::runtime::Result<isize>4416     pub unsafe fn hWnd(&self) -> ::windows::runtime::Result<isize> {
4417         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4418         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<isize>(result__)
4419     }
SethWnd(&self, newwindow: isize) -> ::windows::runtime::Result<()>4420     pub unsafe fn SethWnd(&self, newwindow: isize) -> ::windows::runtime::Result<()> {
4421         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(newwindow)).ok()
4422     }
Enabled(&self) -> ::windows::runtime::Result<i16>4423     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
4424         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4425         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4426     }
SetEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()>4427     pub unsafe fn SetEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()> {
4428         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(collecting)).ok()
4429     }
DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>4430     pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
4431         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4432         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
4433     }
putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()>4434     pub unsafe fn putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()> {
4435         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), newattributes.into_param().abi()).ok()
4436     }
Renderer(&self) -> ::windows::runtime::Result<IInkRenderer>4437     pub unsafe fn Renderer(&self) -> ::windows::runtime::Result<IInkRenderer> {
4438         let mut result__: <IInkRenderer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4439         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRenderer>(result__)
4440     }
putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()>4441     pub unsafe fn putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()> {
4442         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), newinkrenderer.into_param().abi()).ok()
4443     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>4444     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
4445         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4446         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
4447     }
putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()>4448     pub unsafe fn putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()> {
4449         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), newink.into_param().abi()).ok()
4450     }
AutoRedraw(&self) -> ::windows::runtime::Result<i16>4451     pub unsafe fn AutoRedraw(&self) -> ::windows::runtime::Result<i16> {
4452         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4453         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4454     }
SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()>4455     pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()> {
4456         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(autoredraw)).ok()
4457     }
CollectingInk(&self) -> ::windows::runtime::Result<i16>4458     pub unsafe fn CollectingInk(&self) -> ::windows::runtime::Result<i16> {
4459         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4460         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4461     }
CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode>4462     pub unsafe fn CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode> {
4463         let mut result__: <InkCollectionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4464         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkCollectionMode>(result__)
4465     }
SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()>4466     pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()> {
4467         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
4468     }
DynamicRendering(&self) -> ::windows::runtime::Result<i16>4469     pub unsafe fn DynamicRendering(&self) -> ::windows::runtime::Result<i16> {
4470         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4471         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4472     }
SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()>4473     pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()> {
4474         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(enabled)).ok()
4475     }
4476     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>4477     pub unsafe fn DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
4478         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4479         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
4480     }
4481     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()>4482     pub unsafe fn SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()> {
4483         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), packetguids.into_param().abi()).ok()
4484     }
4485     #[cfg(feature = "Win32_System_Ole")]
MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>4486     pub unsafe fn MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
4487         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4488         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
4489     }
4490     #[cfg(feature = "Win32_System_Ole")]
SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>4491     pub unsafe fn SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
4492         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
4493     }
4494     #[cfg(feature = "Win32_System_Ole")]
putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>4495     pub unsafe fn putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
4496         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
4497     }
MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer>4498     pub unsafe fn MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer> {
4499         let mut result__: <InkMousePointer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4500         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkMousePointer>(result__)
4501     }
SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()>4502     pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()> {
4503         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(mousepointer)).ok()
4504     }
EditingMode(&self) -> ::windows::runtime::Result<InkOverlayEditingMode>4505     pub unsafe fn EditingMode(&self) -> ::windows::runtime::Result<InkOverlayEditingMode> {
4506         let mut result__: <InkOverlayEditingMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4507         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkOverlayEditingMode>(result__)
4508     }
SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::runtime::Result<()>4509     pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::runtime::Result<()> {
4510         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(editingmode)).ok()
4511     }
Selection(&self) -> ::windows::runtime::Result<IInkStrokes>4512     pub unsafe fn Selection(&self) -> ::windows::runtime::Result<IInkStrokes> {
4513         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4514         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
4515     }
SetSelection<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, selection: Param0) -> ::windows::runtime::Result<()>4516     pub unsafe fn SetSelection<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, selection: Param0) -> ::windows::runtime::Result<()> {
4517         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), selection.into_param().abi()).ok()
4518     }
EraserMode(&self) -> ::windows::runtime::Result<InkOverlayEraserMode>4519     pub unsafe fn EraserMode(&self) -> ::windows::runtime::Result<InkOverlayEraserMode> {
4520         let mut result__: <InkOverlayEraserMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4521         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkOverlayEraserMode>(result__)
4522     }
SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::runtime::Result<()>4523     pub unsafe fn SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::runtime::Result<()> {
4524         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(erasermode)).ok()
4525     }
EraserWidth(&self) -> ::windows::runtime::Result<i32>4526     pub unsafe fn EraserWidth(&self) -> ::windows::runtime::Result<i32> {
4527         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4528         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4529     }
SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::runtime::Result<()>4530     pub unsafe fn SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::runtime::Result<()> {
4531         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(neweraserwidth)).ok()
4532     }
AttachMode(&self) -> ::windows::runtime::Result<InkOverlayAttachMode>4533     pub unsafe fn AttachMode(&self) -> ::windows::runtime::Result<InkOverlayAttachMode> {
4534         let mut result__: <InkOverlayAttachMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4535         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkOverlayAttachMode>(result__)
4536     }
SetAttachMode(&self, attachmode: InkOverlayAttachMode) -> ::windows::runtime::Result<()>4537     pub unsafe fn SetAttachMode(&self, attachmode: InkOverlayAttachMode) -> ::windows::runtime::Result<()> {
4538         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(attachmode)).ok()
4539     }
Cursors(&self) -> ::windows::runtime::Result<IInkCursors>4540     pub unsafe fn Cursors(&self) -> ::windows::runtime::Result<IInkCursors> {
4541         let mut result__: <IInkCursors as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4542         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCursors>(result__)
4543     }
MarginX(&self) -> ::windows::runtime::Result<i32>4544     pub unsafe fn MarginX(&self) -> ::windows::runtime::Result<i32> {
4545         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4546         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4547     }
SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()>4548     pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()> {
4549         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginx)).ok()
4550     }
MarginY(&self) -> ::windows::runtime::Result<i32>4551     pub unsafe fn MarginY(&self) -> ::windows::runtime::Result<i32> {
4552         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4553         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4554     }
SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()>4555     pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()> {
4556         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginy)).ok()
4557     }
Tablet(&self) -> ::windows::runtime::Result<IInkTablet>4558     pub unsafe fn Tablet(&self) -> ::windows::runtime::Result<IInkTablet> {
4559         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4560         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
4561     }
SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16>4562     pub unsafe fn SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16> {
4563         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4564         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4565     }
SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()>4566     pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()> {
4567         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(support)).ok()
4568     }
SupportHighContrastSelectionUI(&self) -> ::windows::runtime::Result<i16>4569     pub unsafe fn SupportHighContrastSelectionUI(&self) -> ::windows::runtime::Result<i16> {
4570         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4571         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4572     }
SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::runtime::Result<()>4573     pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::runtime::Result<()> {
4574         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(support)).ok()
4575     }
HitTestSelection(&self, x: i32, y: i32) -> ::windows::runtime::Result<SelectionHitResult>4576     pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> ::windows::runtime::Result<SelectionHitResult> {
4577         let mut result__: <SelectionHitResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4578         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<SelectionHitResult>(result__)
4579     }
Draw<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rect: Param0) -> ::windows::runtime::Result<()>4580     pub unsafe fn Draw<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rect: Param0) -> ::windows::runtime::Result<()> {
4581         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), rect.into_param().abi()).ok()
4582     }
SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()>4583     pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()> {
4584         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), ::std::mem::transmute(listen)).ok()
4585     }
GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16>4586     pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16> {
4587         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4588         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), &mut result__).from_abi::<i16>(result__)
4589     }
GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()>4590     pub unsafe fn GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()> {
4591         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(windowinputrectangle)).ok()
4592     }
SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()>4593     pub unsafe fn SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()> {
4594         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), windowinputrectangle.into_param().abi()).ok()
4595     }
SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()>4596     pub unsafe fn SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()> {
4597         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(usemouseforinput)).ok()
4598     }
SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()>4599     pub unsafe fn SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()> {
4600         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), tablet.into_param().abi()).ok()
4601     }
GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16>4602     pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16> {
4603         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4604         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), &mut result__).from_abi::<i16>(result__)
4605     }
SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()>4606     pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()> {
4607         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), ::std::mem::transmute(listen)).ok()
4608     }
4609 }
4610 unsafe impl ::windows::runtime::Interface for IInkOverlay {
4611     type Vtable = IInkOverlay_abi;
4612     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3089778235, 49605, 17827, [153, 124, 222, 171, 86, 81, 182, 122]);
4613 }
4614 impl ::std::convert::From<IInkOverlay> for ::windows::runtime::IUnknown {
from(value: IInkOverlay) -> Self4615     fn from(value: IInkOverlay) -> Self {
4616         unsafe { ::std::mem::transmute(value) }
4617     }
4618 }
4619 impl ::std::convert::From<&IInkOverlay> for ::windows::runtime::IUnknown {
from(value: &IInkOverlay) -> Self4620     fn from(value: &IInkOverlay) -> Self {
4621         ::std::convert::From::from(::std::clone::Clone::clone(value))
4622     }
4623 }
4624 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkOverlay {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4625     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4626         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4627     }
4628 }
4629 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkOverlay {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4630     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4631         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4632     }
4633 }
4634 #[cfg(feature = "Win32_System_Ole_Automation")]
4635 impl ::std::convert::From<IInkOverlay> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkOverlay) -> Self4636     fn from(value: IInkOverlay) -> Self {
4637         unsafe { ::std::mem::transmute(value) }
4638     }
4639 }
4640 #[cfg(feature = "Win32_System_Ole_Automation")]
4641 impl ::std::convert::From<&IInkOverlay> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkOverlay) -> Self4642     fn from(value: &IInkOverlay) -> Self {
4643         ::std::convert::From::from(::std::clone::Clone::clone(value))
4644     }
4645 }
4646 #[cfg(feature = "Win32_System_Ole_Automation")]
4647 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkOverlay {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4648     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4649         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
4650     }
4651 }
4652 #[cfg(feature = "Win32_System_Ole_Automation")]
4653 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkOverlay {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4654     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4655         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4656     }
4657 }
4658 #[repr(C)]
4659 #[doc(hidden)]
4660 pub struct IInkOverlay_abi(
4661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4664     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4665     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4666     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4667     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4668     #[cfg(not(feature = "Win32_Foundation"))] usize,
4669     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4670     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4671     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4672     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentwindow: *mut isize) -> ::windows::runtime::HRESULT,
4673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newwindow: isize) -> ::windows::runtime::HRESULT,
4674     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
4675     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: i16) -> ::windows::runtime::HRESULT,
4676     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentattributes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newattributes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentinkrenderer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newinkrenderer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: *mut i16) -> ::windows::runtime::HRESULT,
4683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: i16) -> ::windows::runtime::HRESULT,
4684     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
4685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut InkCollectionMode) -> ::windows::runtime::HRESULT,
4686     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: InkCollectionMode) -> ::windows::runtime::HRESULT,
4687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: *mut i16) -> ::windows::runtime::HRESULT,
4688     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: i16) -> ::windows::runtime::HRESULT,
4689     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4690     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4691     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4692     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4693     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4694     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4695     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4696     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4697     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4698     #[cfg(not(feature = "Win32_System_Ole"))] usize,
4699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: *mut InkMousePointer) -> ::windows::runtime::HRESULT,
4700     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: InkMousePointer) -> ::windows::runtime::HRESULT,
4701     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, editingmode: *mut InkOverlayEditingMode) -> ::windows::runtime::HRESULT,
4702     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, editingmode: InkOverlayEditingMode) -> ::windows::runtime::HRESULT,
4703     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4704     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selection: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4705     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, erasermode: *mut InkOverlayEraserMode) -> ::windows::runtime::HRESULT,
4706     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, erasermode: InkOverlayEraserMode) -> ::windows::runtime::HRESULT,
4707     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eraserwidth: *mut i32) -> ::windows::runtime::HRESULT,
4708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, neweraserwidth: i32) -> ::windows::runtime::HRESULT,
4709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachmode: *mut InkOverlayAttachMode) -> ::windows::runtime::HRESULT,
4710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachmode: InkOverlayAttachMode) -> ::windows::runtime::HRESULT,
4711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cursors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: *mut i32) -> ::windows::runtime::HRESULT,
4713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: i32) -> ::windows::runtime::HRESULT,
4714     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: *mut i32) -> ::windows::runtime::HRESULT,
4715     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: i32) -> ::windows::runtime::HRESULT,
4716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, singletablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: *mut i16) -> ::windows::runtime::HRESULT,
4718     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: i16) -> ::windows::runtime::HRESULT,
4719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: *mut i16) -> ::windows::runtime::HRESULT,
4720     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: i16) -> ::windows::runtime::HRESULT,
4721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, selarea: *mut SelectionHitResult) -> ::windows::runtime::HRESULT,
4722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rect: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4723     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::HRESULT,
4724     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listening: *mut i16) -> ::windows::runtime::HRESULT,
4725     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4726     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4727     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usemouseforinput: i16) -> ::windows::runtime::HRESULT,
4728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4729     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: *mut i16) -> ::windows::runtime::HRESULT,
4730     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::HRESULT,
4731 );
4732 #[repr(transparent)]
4733 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4734 pub struct IInkPicture(::windows::runtime::IUnknown);
4735 impl IInkPicture {
hWnd(&self) -> ::windows::runtime::Result<isize>4736     pub unsafe fn hWnd(&self) -> ::windows::runtime::Result<isize> {
4737         let mut result__: <isize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4738         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<isize>(result__)
4739     }
DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>4740     pub unsafe fn DefaultDrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
4741         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4742         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
4743     }
putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()>4744     pub unsafe fn putref_DefaultDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, newattributes: Param0) -> ::windows::runtime::Result<()> {
4745         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), newattributes.into_param().abi()).ok()
4746     }
Renderer(&self) -> ::windows::runtime::Result<IInkRenderer>4747     pub unsafe fn Renderer(&self) -> ::windows::runtime::Result<IInkRenderer> {
4748         let mut result__: <IInkRenderer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4749         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRenderer>(result__)
4750     }
putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()>4751     pub unsafe fn putref_Renderer<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRenderer>>(&self, newinkrenderer: Param0) -> ::windows::runtime::Result<()> {
4752         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), newinkrenderer.into_param().abi()).ok()
4753     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>4754     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
4755         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4756         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
4757     }
putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()>4758     pub unsafe fn putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, newink: Param0) -> ::windows::runtime::Result<()> {
4759         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), newink.into_param().abi()).ok()
4760     }
AutoRedraw(&self) -> ::windows::runtime::Result<i16>4761     pub unsafe fn AutoRedraw(&self) -> ::windows::runtime::Result<i16> {
4762         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4763         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4764     }
SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()>4765     pub unsafe fn SetAutoRedraw(&self, autoredraw: i16) -> ::windows::runtime::Result<()> {
4766         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(autoredraw)).ok()
4767     }
CollectingInk(&self) -> ::windows::runtime::Result<i16>4768     pub unsafe fn CollectingInk(&self) -> ::windows::runtime::Result<i16> {
4769         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4770         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4771     }
CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode>4772     pub unsafe fn CollectionMode(&self) -> ::windows::runtime::Result<InkCollectionMode> {
4773         let mut result__: <InkCollectionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4774         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkCollectionMode>(result__)
4775     }
SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()>4776     pub unsafe fn SetCollectionMode(&self, mode: InkCollectionMode) -> ::windows::runtime::Result<()> {
4777         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
4778     }
DynamicRendering(&self) -> ::windows::runtime::Result<i16>4779     pub unsafe fn DynamicRendering(&self) -> ::windows::runtime::Result<i16> {
4780         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4781         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4782     }
SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()>4783     pub unsafe fn SetDynamicRendering(&self, enabled: i16) -> ::windows::runtime::Result<()> {
4784         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(enabled)).ok()
4785     }
4786     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>4787     pub unsafe fn DesiredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
4788         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4789         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
4790     }
4791     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()>4792     pub unsafe fn SetDesiredPacketDescription<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, packetguids: Param0) -> ::windows::runtime::Result<()> {
4793         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), packetguids.into_param().abi()).ok()
4794     }
4795     #[cfg(feature = "Win32_System_Ole")]
MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>4796     pub unsafe fn MouseIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
4797         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4798         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
4799     }
4800     #[cfg(feature = "Win32_System_Ole")]
SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>4801     pub unsafe fn SetMouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
4802         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
4803     }
4804     #[cfg(feature = "Win32_System_Ole")]
putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()>4805     pub unsafe fn putref_MouseIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, mouseicon: Param0) -> ::windows::runtime::Result<()> {
4806         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), mouseicon.into_param().abi()).ok()
4807     }
MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer>4808     pub unsafe fn MousePointer(&self) -> ::windows::runtime::Result<InkMousePointer> {
4809         let mut result__: <InkMousePointer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4810         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkMousePointer>(result__)
4811     }
SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()>4812     pub unsafe fn SetMousePointer(&self, mousepointer: InkMousePointer) -> ::windows::runtime::Result<()> {
4813         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(mousepointer)).ok()
4814     }
EditingMode(&self) -> ::windows::runtime::Result<InkOverlayEditingMode>4815     pub unsafe fn EditingMode(&self) -> ::windows::runtime::Result<InkOverlayEditingMode> {
4816         let mut result__: <InkOverlayEditingMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4817         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkOverlayEditingMode>(result__)
4818     }
SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::runtime::Result<()>4819     pub unsafe fn SetEditingMode(&self, editingmode: InkOverlayEditingMode) -> ::windows::runtime::Result<()> {
4820         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(editingmode)).ok()
4821     }
Selection(&self) -> ::windows::runtime::Result<IInkStrokes>4822     pub unsafe fn Selection(&self) -> ::windows::runtime::Result<IInkStrokes> {
4823         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4824         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
4825     }
SetSelection<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, selection: Param0) -> ::windows::runtime::Result<()>4826     pub unsafe fn SetSelection<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, selection: Param0) -> ::windows::runtime::Result<()> {
4827         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), selection.into_param().abi()).ok()
4828     }
EraserMode(&self) -> ::windows::runtime::Result<InkOverlayEraserMode>4829     pub unsafe fn EraserMode(&self) -> ::windows::runtime::Result<InkOverlayEraserMode> {
4830         let mut result__: <InkOverlayEraserMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4831         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkOverlayEraserMode>(result__)
4832     }
SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::runtime::Result<()>4833     pub unsafe fn SetEraserMode(&self, erasermode: InkOverlayEraserMode) -> ::windows::runtime::Result<()> {
4834         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(erasermode)).ok()
4835     }
EraserWidth(&self) -> ::windows::runtime::Result<i32>4836     pub unsafe fn EraserWidth(&self) -> ::windows::runtime::Result<i32> {
4837         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4838         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4839     }
SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::runtime::Result<()>4840     pub unsafe fn SetEraserWidth(&self, neweraserwidth: i32) -> ::windows::runtime::Result<()> {
4841         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(neweraserwidth)).ok()
4842     }
4843     #[cfg(feature = "Win32_System_Ole")]
putref_Picture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, ppicture: Param0) -> ::windows::runtime::Result<()>4844     pub unsafe fn putref_Picture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, ppicture: Param0) -> ::windows::runtime::Result<()> {
4845         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ppicture.into_param().abi()).ok()
4846     }
4847     #[cfg(feature = "Win32_System_Ole")]
SetPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, ppicture: Param0) -> ::windows::runtime::Result<()>4848     pub unsafe fn SetPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Ole::IPictureDisp>>(&self, ppicture: Param0) -> ::windows::runtime::Result<()> {
4849         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ppicture.into_param().abi()).ok()
4850     }
4851     #[cfg(feature = "Win32_System_Ole")]
Picture(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>4852     pub unsafe fn Picture(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
4853         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4854         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
4855     }
SetSizeMode(&self, smnewsizemode: InkPictureSizeMode) -> ::windows::runtime::Result<()>4856     pub unsafe fn SetSizeMode(&self, smnewsizemode: InkPictureSizeMode) -> ::windows::runtime::Result<()> {
4857         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(smnewsizemode)).ok()
4858     }
SizeMode(&self) -> ::windows::runtime::Result<InkPictureSizeMode>4859     pub unsafe fn SizeMode(&self) -> ::windows::runtime::Result<InkPictureSizeMode> {
4860         let mut result__: <InkPictureSizeMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4861         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkPictureSizeMode>(result__)
4862     }
SetBackColor(&self, newcolor: u32) -> ::windows::runtime::Result<()>4863     pub unsafe fn SetBackColor(&self, newcolor: u32) -> ::windows::runtime::Result<()> {
4864         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(newcolor)).ok()
4865     }
BackColor(&self) -> ::windows::runtime::Result<u32>4866     pub unsafe fn BackColor(&self) -> ::windows::runtime::Result<u32> {
4867         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4868         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4869     }
Cursors(&self) -> ::windows::runtime::Result<IInkCursors>4870     pub unsafe fn Cursors(&self) -> ::windows::runtime::Result<IInkCursors> {
4871         let mut result__: <IInkCursors as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4872         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCursors>(result__)
4873     }
MarginX(&self) -> ::windows::runtime::Result<i32>4874     pub unsafe fn MarginX(&self) -> ::windows::runtime::Result<i32> {
4875         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4876         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4877     }
SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()>4878     pub unsafe fn SetMarginX(&self, marginx: i32) -> ::windows::runtime::Result<()> {
4879         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginx)).ok()
4880     }
MarginY(&self) -> ::windows::runtime::Result<i32>4881     pub unsafe fn MarginY(&self) -> ::windows::runtime::Result<i32> {
4882         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4883         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4884     }
SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()>4885     pub unsafe fn SetMarginY(&self, marginy: i32) -> ::windows::runtime::Result<()> {
4886         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(marginy)).ok()
4887     }
Tablet(&self) -> ::windows::runtime::Result<IInkTablet>4888     pub unsafe fn Tablet(&self) -> ::windows::runtime::Result<IInkTablet> {
4889         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4890         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
4891     }
SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16>4892     pub unsafe fn SupportHighContrastInk(&self) -> ::windows::runtime::Result<i16> {
4893         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4894         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4895     }
SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()>4896     pub unsafe fn SetSupportHighContrastInk(&self, support: i16) -> ::windows::runtime::Result<()> {
4897         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(support)).ok()
4898     }
SupportHighContrastSelectionUI(&self) -> ::windows::runtime::Result<i16>4899     pub unsafe fn SupportHighContrastSelectionUI(&self) -> ::windows::runtime::Result<i16> {
4900         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4901         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4902     }
SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::runtime::Result<()>4903     pub unsafe fn SetSupportHighContrastSelectionUI(&self, support: i16) -> ::windows::runtime::Result<()> {
4904         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(support)).ok()
4905     }
HitTestSelection(&self, x: i32, y: i32) -> ::windows::runtime::Result<SelectionHitResult>4906     pub unsafe fn HitTestSelection(&self, x: i32, y: i32) -> ::windows::runtime::Result<SelectionHitResult> {
4907         let mut result__: <SelectionHitResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4908         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<SelectionHitResult>(result__)
4909     }
SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()>4910     pub unsafe fn SetGestureStatus(&self, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::Result<()> {
4911         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), ::std::mem::transmute(listen)).ok()
4912     }
GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16>4913     pub unsafe fn GetGestureStatus(&self, gesture: InkApplicationGesture) -> ::windows::runtime::Result<i16> {
4914         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4915         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(gesture), &mut result__).from_abi::<i16>(result__)
4916     }
GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()>4917     pub unsafe fn GetWindowInputRectangle(&self, windowinputrectangle: *mut ::std::option::Option<IInkRectangle>) -> ::windows::runtime::Result<()> {
4918         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(windowinputrectangle)).ok()
4919     }
SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()>4920     pub unsafe fn SetWindowInputRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, windowinputrectangle: Param0) -> ::windows::runtime::Result<()> {
4921         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), windowinputrectangle.into_param().abi()).ok()
4922     }
SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()>4923     pub unsafe fn SetAllTabletsMode(&self, usemouseforinput: i16) -> ::windows::runtime::Result<()> {
4924         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(usemouseforinput)).ok()
4925     }
SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()>4926     pub unsafe fn SetSingleTabletIntegratedMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, tablet: Param0) -> ::windows::runtime::Result<()> {
4927         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), tablet.into_param().abi()).ok()
4928     }
GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16>4929     pub unsafe fn GetEventInterest(&self, eventid: InkCollectorEventInterest) -> ::windows::runtime::Result<i16> {
4930         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4931         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), &mut result__).from_abi::<i16>(result__)
4932     }
SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()>4933     pub unsafe fn SetEventInterest(&self, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::Result<()> {
4934         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(eventid), ::std::mem::transmute(listen)).ok()
4935     }
InkEnabled(&self) -> ::windows::runtime::Result<i16>4936     pub unsafe fn InkEnabled(&self) -> ::windows::runtime::Result<i16> {
4937         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4938         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4939     }
SetInkEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()>4940     pub unsafe fn SetInkEnabled(&self, collecting: i16) -> ::windows::runtime::Result<()> {
4941         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(collecting)).ok()
4942     }
Enabled(&self) -> ::windows::runtime::Result<i16>4943     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<i16> {
4944         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4945         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4946     }
SetEnabled(&self, vbool: i16) -> ::windows::runtime::Result<()>4947     pub unsafe fn SetEnabled(&self, vbool: i16) -> ::windows::runtime::Result<()> {
4948         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), ::std::mem::transmute(vbool)).ok()
4949     }
4950 }
4951 unsafe impl ::windows::runtime::Interface for IInkPicture {
4952     type Vtable = IInkPicture_abi;
4953     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3897975520, 14234, 16599, [155, 92, 117, 125, 35, 63, 153, 35]);
4954 }
4955 impl ::std::convert::From<IInkPicture> for ::windows::runtime::IUnknown {
from(value: IInkPicture) -> Self4956     fn from(value: IInkPicture) -> Self {
4957         unsafe { ::std::mem::transmute(value) }
4958     }
4959 }
4960 impl ::std::convert::From<&IInkPicture> for ::windows::runtime::IUnknown {
from(value: &IInkPicture) -> Self4961     fn from(value: &IInkPicture) -> Self {
4962         ::std::convert::From::from(::std::clone::Clone::clone(value))
4963     }
4964 }
4965 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkPicture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4966     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4967         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4968     }
4969 }
4970 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkPicture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4971     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4972         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4973     }
4974 }
4975 #[cfg(feature = "Win32_System_Ole_Automation")]
4976 impl ::std::convert::From<IInkPicture> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkPicture) -> Self4977     fn from(value: IInkPicture) -> Self {
4978         unsafe { ::std::mem::transmute(value) }
4979     }
4980 }
4981 #[cfg(feature = "Win32_System_Ole_Automation")]
4982 impl ::std::convert::From<&IInkPicture> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkPicture) -> Self4983     fn from(value: &IInkPicture) -> Self {
4984         ::std::convert::From::from(::std::clone::Clone::clone(value))
4985     }
4986 }
4987 #[cfg(feature = "Win32_System_Ole_Automation")]
4988 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkPicture {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4989     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4990         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
4991     }
4992 }
4993 #[cfg(feature = "Win32_System_Ole_Automation")]
4994 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkPicture {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>4995     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
4996         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4997     }
4998 }
4999 #[repr(C)]
5000 #[doc(hidden)]
5001 pub struct IInkPicture_abi(
5002     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5003     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5004     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5005     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5006     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5007     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5008     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5009     #[cfg(not(feature = "Win32_Foundation"))] usize,
5010     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5011     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5012     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentwindow: *mut isize) -> ::windows::runtime::HRESULT,
5014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentattributes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newattributes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentinkrenderer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newinkrenderer: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: *mut i16) -> ::windows::runtime::HRESULT,
5021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoredraw: i16) -> ::windows::runtime::HRESULT,
5022     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
5023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut InkCollectionMode) -> ::windows::runtime::HRESULT,
5024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: InkCollectionMode) -> ::windows::runtime::HRESULT,
5025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: *mut i16) -> ::windows::runtime::HRESULT,
5026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enabled: i16) -> ::windows::runtime::HRESULT,
5027     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5028     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5029     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetguids: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5030     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5031     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5032     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5033     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5034     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5035     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mouseicon: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5036     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: *mut InkMousePointer) -> ::windows::runtime::HRESULT,
5038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mousepointer: InkMousePointer) -> ::windows::runtime::HRESULT,
5039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, editingmode: *mut InkOverlayEditingMode) -> ::windows::runtime::HRESULT,
5040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, editingmode: InkOverlayEditingMode) -> ::windows::runtime::HRESULT,
5041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selection: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, erasermode: *mut InkOverlayEraserMode) -> ::windows::runtime::HRESULT,
5044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, erasermode: InkOverlayEraserMode) -> ::windows::runtime::HRESULT,
5045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eraserwidth: *mut i32) -> ::windows::runtime::HRESULT,
5046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, neweraserwidth: i32) -> ::windows::runtime::HRESULT,
5047     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppicture: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5048     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5049     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppicture: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5050     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5051     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppicture: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5052     #[cfg(not(feature = "Win32_System_Ole"))] usize,
5053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, smnewsizemode: InkPictureSizeMode) -> ::windows::runtime::HRESULT,
5054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, smsizemode: *mut InkPictureSizeMode) -> ::windows::runtime::HRESULT,
5055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newcolor: u32) -> ::windows::runtime::HRESULT,
5056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcolor: *mut u32) -> ::windows::runtime::HRESULT,
5057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cursors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: *mut i32) -> ::windows::runtime::HRESULT,
5059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginx: i32) -> ::windows::runtime::HRESULT,
5060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: *mut i32) -> ::windows::runtime::HRESULT,
5061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, marginy: i32) -> ::windows::runtime::HRESULT,
5062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, singletablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: *mut i16) -> ::windows::runtime::HRESULT,
5064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: i16) -> ::windows::runtime::HRESULT,
5065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: *mut i16) -> ::windows::runtime::HRESULT,
5066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, support: i16) -> ::windows::runtime::HRESULT,
5067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, selarea: *mut SelectionHitResult) -> ::windows::runtime::HRESULT,
5068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listen: i16) -> ::windows::runtime::HRESULT,
5069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gesture: InkApplicationGesture, listening: *mut i16) -> ::windows::runtime::HRESULT,
5070     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5071     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, windowinputrectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5072     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, usemouseforinput: i16) -> ::windows::runtime::HRESULT,
5073     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5074     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: *mut i16) -> ::windows::runtime::HRESULT,
5075     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventid: InkCollectorEventInterest, listen: i16) -> ::windows::runtime::HRESULT,
5076     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: *mut i16) -> ::windows::runtime::HRESULT,
5077     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, collecting: i16) -> ::windows::runtime::HRESULT,
5078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
5079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vbool: i16) -> ::windows::runtime::HRESULT,
5080 );
5081 #[repr(transparent)]
5082 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5083 pub struct IInkRecognitionAlternate(::windows::runtime::IUnknown);
5084 impl IInkRecognitionAlternate {
5085     #[cfg(feature = "Win32_Foundation")]
String(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5086     pub unsafe fn String(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5087         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5088         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5089     }
Confidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence>5090     pub unsafe fn Confidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence> {
5091         let mut result__: <InkRecognitionConfidence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5092         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognitionConfidence>(result__)
5093     }
5094     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Baseline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5095     pub unsafe fn Baseline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5096         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5097         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5098     }
5099     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Midline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5100     pub unsafe fn Midline(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5101         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5102         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5103     }
5104     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Ascender(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5105     pub unsafe fn Ascender(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5106         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5107         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5108     }
5109     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Descender(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5110     pub unsafe fn Descender(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5111         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5112         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5113     }
LineNumber(&self) -> ::windows::runtime::Result<i32>5114     pub unsafe fn LineNumber(&self) -> ::windows::runtime::Result<i32> {
5115         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5116         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5117     }
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>5118     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
5119         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5120         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
5121     }
LineAlternates(&self) -> ::windows::runtime::Result<IInkRecognitionAlternates>5122     pub unsafe fn LineAlternates(&self) -> ::windows::runtime::Result<IInkRecognitionAlternates> {
5123         let mut result__: <IInkRecognitionAlternates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5124         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognitionAlternates>(result__)
5125     }
ConfidenceAlternates(&self) -> ::windows::runtime::Result<IInkRecognitionAlternates>5126     pub unsafe fn ConfidenceAlternates(&self) -> ::windows::runtime::Result<IInkRecognitionAlternates> {
5127         let mut result__: <IInkRecognitionAlternates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5128         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognitionAlternates>(result__)
5129     }
GetStrokesFromStrokeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<IInkStrokes>5130     pub unsafe fn GetStrokesFromStrokeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<IInkStrokes> {
5131         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5132         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strokes.into_param().abi(), &mut result__).from_abi::<IInkStrokes>(result__)
5133     }
GetStrokesFromTextRange(&self, selectionstart: *mut i32, selectionlength: *mut i32, getstrokesfromtextrange: *mut ::std::option::Option<IInkStrokes>) -> ::windows::runtime::Result<()>5134     pub unsafe fn GetStrokesFromTextRange(&self, selectionstart: *mut i32, selectionlength: *mut i32, getstrokesfromtextrange: *mut ::std::option::Option<IInkStrokes>) -> ::windows::runtime::Result<()> {
5135         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(selectionstart), ::std::mem::transmute(selectionlength), ::std::mem::transmute(getstrokesfromtextrange)).ok()
5136     }
GetTextRangeFromStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, selectionstart: *mut i32, selectionlength: *mut i32) -> ::windows::runtime::Result<()>5137     pub unsafe fn GetTextRangeFromStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0, selectionstart: *mut i32, selectionlength: *mut i32) -> ::windows::runtime::Result<()> {
5138         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), strokes.into_param().abi(), ::std::mem::transmute(selectionstart), ::std::mem::transmute(selectionlength)).ok()
5139     }
5140     #[cfg(feature = "Win32_Foundation")]
AlternatesWithConstantPropertyValues<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertytype: Param0) -> ::windows::runtime::Result<IInkRecognitionAlternates>5141     pub unsafe fn AlternatesWithConstantPropertyValues<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertytype: Param0) -> ::windows::runtime::Result<IInkRecognitionAlternates> {
5142         let mut result__: <IInkRecognitionAlternates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5143         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), propertytype.into_param().abi(), &mut result__).from_abi::<IInkRecognitionAlternates>(result__)
5144     }
5145     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPropertyValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertytype: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5146     pub unsafe fn GetPropertyValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertytype: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5147         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5148         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), propertytype.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5149     }
5150 }
5151 unsafe impl ::windows::runtime::Interface for IInkRecognitionAlternate {
5152     type Vtable = IInkRecognitionAlternate_abi;
5153     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3085328557, 30692, 17051, [173, 218, 135, 55, 128, 209, 252, 74]);
5154 }
5155 impl ::std::convert::From<IInkRecognitionAlternate> for ::windows::runtime::IUnknown {
from(value: IInkRecognitionAlternate) -> Self5156     fn from(value: IInkRecognitionAlternate) -> Self {
5157         unsafe { ::std::mem::transmute(value) }
5158     }
5159 }
5160 impl ::std::convert::From<&IInkRecognitionAlternate> for ::windows::runtime::IUnknown {
from(value: &IInkRecognitionAlternate) -> Self5161     fn from(value: &IInkRecognitionAlternate) -> Self {
5162         ::std::convert::From::from(::std::clone::Clone::clone(value))
5163     }
5164 }
5165 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognitionAlternate {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5166     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5167         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5168     }
5169 }
5170 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognitionAlternate {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5171     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5172         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5173     }
5174 }
5175 #[cfg(feature = "Win32_System_Ole_Automation")]
5176 impl ::std::convert::From<IInkRecognitionAlternate> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognitionAlternate) -> Self5177     fn from(value: IInkRecognitionAlternate) -> Self {
5178         unsafe { ::std::mem::transmute(value) }
5179     }
5180 }
5181 #[cfg(feature = "Win32_System_Ole_Automation")]
5182 impl ::std::convert::From<&IInkRecognitionAlternate> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognitionAlternate) -> Self5183     fn from(value: &IInkRecognitionAlternate) -> Self {
5184         ::std::convert::From::from(::std::clone::Clone::clone(value))
5185     }
5186 }
5187 #[cfg(feature = "Win32_System_Ole_Automation")]
5188 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognitionAlternate {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5189     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5190         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5191     }
5192 }
5193 #[cfg(feature = "Win32_System_Ole_Automation")]
5194 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognitionAlternate {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5195     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5196         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5197     }
5198 }
5199 #[repr(C)]
5200 #[doc(hidden)]
5201 pub struct IInkRecognitionAlternate_abi(
5202     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5203     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5204     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5205     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5206     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5207     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5208     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5209     #[cfg(not(feature = "Win32_Foundation"))] usize,
5210     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5211     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5212     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5213     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recostring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5214     #[cfg(not(feature = "Win32_Foundation"))] usize,
5215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, confidence: *mut InkRecognitionConfidence) -> ::windows::runtime::HRESULT,
5216     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, baseline: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5217     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5218     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, midline: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5219     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5220     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ascender: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5221     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5222     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, descender: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5223     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5224     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, linenumber: *mut i32) -> ::windows::runtime::HRESULT,
5225     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, linealternates: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, confidencealternates: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5228     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, getstrokesfromstrokeranges: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5229     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectionstart: *mut i32, selectionlength: *mut i32, getstrokesfromtextrange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, selectionstart: *mut i32, selectionlength: *mut i32) -> ::windows::runtime::HRESULT,
5231     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertytype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, alternateswithconstantpropertyvalues: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5232     #[cfg(not(feature = "Win32_Foundation"))] usize,
5233     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertytype: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, propertyvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5234     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5235 );
5236 #[repr(transparent)]
5237 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5238 pub struct IInkRecognitionAlternates(::windows::runtime::IUnknown);
5239 impl IInkRecognitionAlternates {
Count(&self) -> ::windows::runtime::Result<i32>5240     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
5241         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5242         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5243     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5244     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5245         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5246         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5247     }
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>5248     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
5249         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5250         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
5251     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkRecognitionAlternate>5252     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkRecognitionAlternate> {
5253         let mut result__: <IInkRecognitionAlternate as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5254         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkRecognitionAlternate>(result__)
5255     }
5256 }
5257 unsafe impl ::windows::runtime::Interface for IInkRecognitionAlternates {
5258     type Vtable = IInkRecognitionAlternates_abi;
5259     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(678041215, 40729, 19553, [157, 83, 79, 7, 190, 98, 43, 132]);
5260 }
5261 impl ::std::convert::From<IInkRecognitionAlternates> for ::windows::runtime::IUnknown {
from(value: IInkRecognitionAlternates) -> Self5262     fn from(value: IInkRecognitionAlternates) -> Self {
5263         unsafe { ::std::mem::transmute(value) }
5264     }
5265 }
5266 impl ::std::convert::From<&IInkRecognitionAlternates> for ::windows::runtime::IUnknown {
from(value: &IInkRecognitionAlternates) -> Self5267     fn from(value: &IInkRecognitionAlternates) -> Self {
5268         ::std::convert::From::from(::std::clone::Clone::clone(value))
5269     }
5270 }
5271 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognitionAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5272     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5273         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5274     }
5275 }
5276 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognitionAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5277     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5278         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5279     }
5280 }
5281 #[cfg(feature = "Win32_System_Ole_Automation")]
5282 impl ::std::convert::From<IInkRecognitionAlternates> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognitionAlternates) -> Self5283     fn from(value: IInkRecognitionAlternates) -> Self {
5284         unsafe { ::std::mem::transmute(value) }
5285     }
5286 }
5287 #[cfg(feature = "Win32_System_Ole_Automation")]
5288 impl ::std::convert::From<&IInkRecognitionAlternates> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognitionAlternates) -> Self5289     fn from(value: &IInkRecognitionAlternates) -> Self {
5290         ::std::convert::From::from(::std::clone::Clone::clone(value))
5291     }
5292 }
5293 #[cfg(feature = "Win32_System_Ole_Automation")]
5294 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognitionAlternates {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5295     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5296         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5297     }
5298 }
5299 #[cfg(feature = "Win32_System_Ole_Automation")]
5300 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognitionAlternates {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5301     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5302         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5303     }
5304 }
5305 #[repr(C)]
5306 #[doc(hidden)]
5307 pub struct IInkRecognitionAlternates_abi(
5308     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5309     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5310     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5311     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5312     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5313     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5314     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5315     #[cfg(not(feature = "Win32_Foundation"))] usize,
5316     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5317     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5318     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
5320     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5321     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5322     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, inkrecoalternate: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5323 );
5324 #[repr(transparent)]
5325 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5326 pub struct IInkRecognitionResult(::windows::runtime::IUnknown);
5327 impl IInkRecognitionResult {
5328     #[cfg(feature = "Win32_Foundation")]
TopString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5329     pub unsafe fn TopString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5330         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5331         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5332     }
TopAlternate(&self) -> ::windows::runtime::Result<IInkRecognitionAlternate>5333     pub unsafe fn TopAlternate(&self) -> ::windows::runtime::Result<IInkRecognitionAlternate> {
5334         let mut result__: <IInkRecognitionAlternate as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5335         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognitionAlternate>(result__)
5336     }
TopConfidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence>5337     pub unsafe fn TopConfidence(&self) -> ::windows::runtime::Result<InkRecognitionConfidence> {
5338         let mut result__: <InkRecognitionConfidence as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5339         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognitionConfidence>(result__)
5340     }
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>5341     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
5342         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5343         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
5344     }
AlternatesFromSelection(&self, selectionstart: i32, selectionlength: i32, maximumalternates: i32) -> ::windows::runtime::Result<IInkRecognitionAlternates>5345     pub unsafe fn AlternatesFromSelection(&self, selectionstart: i32, selectionlength: i32, maximumalternates: i32) -> ::windows::runtime::Result<IInkRecognitionAlternates> {
5346         let mut result__: <IInkRecognitionAlternates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5347         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(selectionstart), ::std::mem::transmute(selectionlength), ::std::mem::transmute(maximumalternates), &mut result__).from_abi::<IInkRecognitionAlternates>(result__)
5348     }
ModifyTopAlternate<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognitionAlternate>>(&self, alternate: Param0) -> ::windows::runtime::Result<()>5349     pub unsafe fn ModifyTopAlternate<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognitionAlternate>>(&self, alternate: Param0) -> ::windows::runtime::Result<()> {
5350         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), alternate.into_param().abi()).ok()
5351     }
SetResultOnStrokes(&self) -> ::windows::runtime::Result<()>5352     pub unsafe fn SetResultOnStrokes(&self) -> ::windows::runtime::Result<()> {
5353         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
5354     }
5355 }
5356 unsafe impl ::windows::runtime::Interface for IInkRecognitionResult {
5357     type Vtable = IInkRecognitionResult_abi;
5358     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1002514856, 34509, 17837, [189, 232, 224, 211, 45, 97, 193, 109]);
5359 }
5360 impl ::std::convert::From<IInkRecognitionResult> for ::windows::runtime::IUnknown {
from(value: IInkRecognitionResult) -> Self5361     fn from(value: IInkRecognitionResult) -> Self {
5362         unsafe { ::std::mem::transmute(value) }
5363     }
5364 }
5365 impl ::std::convert::From<&IInkRecognitionResult> for ::windows::runtime::IUnknown {
from(value: &IInkRecognitionResult) -> Self5366     fn from(value: &IInkRecognitionResult) -> Self {
5367         ::std::convert::From::from(::std::clone::Clone::clone(value))
5368     }
5369 }
5370 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognitionResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5371     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5372         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5373     }
5374 }
5375 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognitionResult {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5376     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5377         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5378     }
5379 }
5380 #[cfg(feature = "Win32_System_Ole_Automation")]
5381 impl ::std::convert::From<IInkRecognitionResult> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognitionResult) -> Self5382     fn from(value: IInkRecognitionResult) -> Self {
5383         unsafe { ::std::mem::transmute(value) }
5384     }
5385 }
5386 #[cfg(feature = "Win32_System_Ole_Automation")]
5387 impl ::std::convert::From<&IInkRecognitionResult> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognitionResult) -> Self5388     fn from(value: &IInkRecognitionResult) -> Self {
5389         ::std::convert::From::from(::std::clone::Clone::clone(value))
5390     }
5391 }
5392 #[cfg(feature = "Win32_System_Ole_Automation")]
5393 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognitionResult {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5394     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5395         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5396     }
5397 }
5398 #[cfg(feature = "Win32_System_Ole_Automation")]
5399 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognitionResult {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5400     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5401         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5402     }
5403 }
5404 #[repr(C)]
5405 #[doc(hidden)]
5406 pub struct IInkRecognitionResult_abi(
5407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5408     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5411     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5412     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5413     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5414     #[cfg(not(feature = "Win32_Foundation"))] usize,
5415     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5416     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5417     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5418     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, topstring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5419     #[cfg(not(feature = "Win32_Foundation"))] usize,
5420     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, topalternate: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5421     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, topconfidence: *mut InkRecognitionConfidence) -> ::windows::runtime::HRESULT,
5422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, selectionstart: i32, selectionlength: i32, maximumalternates: i32, alternatesfromselection: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5424     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, alternate: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5425     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5426 );
5427 #[repr(transparent)]
5428 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5429 pub struct IInkRecognizer(::windows::runtime::IUnknown);
5430 impl IInkRecognizer {
5431     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5432     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5433         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5434         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5435     }
5436     #[cfg(feature = "Win32_Foundation")]
Vendor(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5437     pub unsafe fn Vendor(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5438         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5439         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5440     }
Capabilities(&self) -> ::windows::runtime::Result<InkRecognizerCapabilities>5441     pub unsafe fn Capabilities(&self) -> ::windows::runtime::Result<InkRecognizerCapabilities> {
5442         let mut result__: <InkRecognizerCapabilities as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5443         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognizerCapabilities>(result__)
5444     }
5445     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Languages(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5446     pub unsafe fn Languages(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5447         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5448         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5449     }
5450     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SupportedProperties(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5451     pub unsafe fn SupportedProperties(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5452         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5453         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5454     }
5455     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
PreferredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5456     pub unsafe fn PreferredPacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5457         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5458         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5459     }
CreateRecognizerContext(&self) -> ::windows::runtime::Result<IInkRecognizerContext>5460     pub unsafe fn CreateRecognizerContext(&self) -> ::windows::runtime::Result<IInkRecognizerContext> {
5461         let mut result__: <IInkRecognizerContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5462         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizerContext>(result__)
5463     }
5464 }
5465 unsafe impl ::windows::runtime::Interface for IInkRecognizer {
5466     type Vtable = IInkRecognizer_abi;
5467     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2016147407, 843, 17302, [138, 50, 58, 24, 51, 207, 107, 86]);
5468 }
5469 impl ::std::convert::From<IInkRecognizer> for ::windows::runtime::IUnknown {
from(value: IInkRecognizer) -> Self5470     fn from(value: IInkRecognizer) -> Self {
5471         unsafe { ::std::mem::transmute(value) }
5472     }
5473 }
5474 impl ::std::convert::From<&IInkRecognizer> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizer) -> Self5475     fn from(value: &IInkRecognizer) -> Self {
5476         ::std::convert::From::from(::std::clone::Clone::clone(value))
5477     }
5478 }
5479 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5480     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5481         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5482     }
5483 }
5484 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5485     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5486         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5487     }
5488 }
5489 #[cfg(feature = "Win32_System_Ole_Automation")]
5490 impl ::std::convert::From<IInkRecognizer> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizer) -> Self5491     fn from(value: IInkRecognizer) -> Self {
5492         unsafe { ::std::mem::transmute(value) }
5493     }
5494 }
5495 #[cfg(feature = "Win32_System_Ole_Automation")]
5496 impl ::std::convert::From<&IInkRecognizer> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizer) -> Self5497     fn from(value: &IInkRecognizer) -> Self {
5498         ::std::convert::From::from(::std::clone::Clone::clone(value))
5499     }
5500 }
5501 #[cfg(feature = "Win32_System_Ole_Automation")]
5502 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5503     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5504         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5505     }
5506 }
5507 #[cfg(feature = "Win32_System_Ole_Automation")]
5508 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizer {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5509     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5510         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5511     }
5512 }
5513 #[repr(C)]
5514 #[doc(hidden)]
5515 pub struct IInkRecognizer_abi(
5516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5520     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5521     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5522     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5523     #[cfg(not(feature = "Win32_Foundation"))] usize,
5524     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5525     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5526     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5527     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5528     #[cfg(not(feature = "Win32_Foundation"))] usize,
5529     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vendor: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5530     #[cfg(not(feature = "Win32_Foundation"))] usize,
5531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, capabilitiesflags: *mut InkRecognizerCapabilities) -> ::windows::runtime::HRESULT,
5532     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, languages: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5533     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5534     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, supportedproperties: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5535     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5536     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, preferredpacketdescription: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5537     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5538     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5539 );
5540 #[repr(transparent)]
5541 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5542 pub struct IInkRecognizer2(::windows::runtime::IUnknown);
5543 impl IInkRecognizer2 {
5544     #[cfg(feature = "Win32_Foundation")]
Id(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5545     pub unsafe fn Id(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5546         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5547         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5548     }
5549     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
UnicodeRanges(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5550     pub unsafe fn UnicodeRanges(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5551         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5552         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5553     }
5554 }
5555 unsafe impl ::windows::runtime::Interface for IInkRecognizer2 {
5556     type Vtable = IInkRecognizer2_abi;
5557     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1628443018, 14965, 19158, [178, 170, 4, 178, 183, 43, 190, 101]);
5558 }
5559 impl ::std::convert::From<IInkRecognizer2> for ::windows::runtime::IUnknown {
from(value: IInkRecognizer2) -> Self5560     fn from(value: IInkRecognizer2) -> Self {
5561         unsafe { ::std::mem::transmute(value) }
5562     }
5563 }
5564 impl ::std::convert::From<&IInkRecognizer2> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizer2) -> Self5565     fn from(value: &IInkRecognizer2) -> Self {
5566         ::std::convert::From::from(::std::clone::Clone::clone(value))
5567     }
5568 }
5569 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizer2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5570     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5571         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5572     }
5573 }
5574 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizer2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5575     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5576         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5577     }
5578 }
5579 #[cfg(feature = "Win32_System_Ole_Automation")]
5580 impl ::std::convert::From<IInkRecognizer2> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizer2) -> Self5581     fn from(value: IInkRecognizer2) -> Self {
5582         unsafe { ::std::mem::transmute(value) }
5583     }
5584 }
5585 #[cfg(feature = "Win32_System_Ole_Automation")]
5586 impl ::std::convert::From<&IInkRecognizer2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizer2) -> Self5587     fn from(value: &IInkRecognizer2) -> Self {
5588         ::std::convert::From::from(::std::clone::Clone::clone(value))
5589     }
5590 }
5591 #[cfg(feature = "Win32_System_Ole_Automation")]
5592 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizer2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5593     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5594         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5595     }
5596 }
5597 #[cfg(feature = "Win32_System_Ole_Automation")]
5598 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizer2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5599     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5600         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5601     }
5602 }
5603 #[repr(C)]
5604 #[doc(hidden)]
5605 pub struct IInkRecognizer2_abi(
5606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5609     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5610     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5611     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5612     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5613     #[cfg(not(feature = "Win32_Foundation"))] usize,
5614     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5615     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5616     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5617     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5618     #[cfg(not(feature = "Win32_Foundation"))] usize,
5619     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicoderanges: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5620     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5621 );
5622 #[repr(transparent)]
5623 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5624 pub struct IInkRecognizerContext(::windows::runtime::IUnknown);
5625 impl IInkRecognizerContext {
Strokes(&self) -> ::windows::runtime::Result<IInkStrokes>5626     pub unsafe fn Strokes(&self) -> ::windows::runtime::Result<IInkStrokes> {
5627         let mut result__: <IInkStrokes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5628         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkStrokes>(result__)
5629     }
putref_Strokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()>5630     pub unsafe fn putref_Strokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<()> {
5631         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), strokes.into_param().abi()).ok()
5632     }
CharacterAutoCompletionMode(&self) -> ::windows::runtime::Result<InkRecognizerCharacterAutoCompletionMode>5633     pub unsafe fn CharacterAutoCompletionMode(&self) -> ::windows::runtime::Result<InkRecognizerCharacterAutoCompletionMode> {
5634         let mut result__: <InkRecognizerCharacterAutoCompletionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5635         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognizerCharacterAutoCompletionMode>(result__)
5636     }
SetCharacterAutoCompletionMode(&self, mode: InkRecognizerCharacterAutoCompletionMode) -> ::windows::runtime::Result<()>5637     pub unsafe fn SetCharacterAutoCompletionMode(&self, mode: InkRecognizerCharacterAutoCompletionMode) -> ::windows::runtime::Result<()> {
5638         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
5639     }
5640     #[cfg(feature = "Win32_Foundation")]
Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5641     pub unsafe fn Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5642         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5643         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5644     }
5645     #[cfg(feature = "Win32_Foundation")]
SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, factoid: Param0) -> ::windows::runtime::Result<()>5646     pub unsafe fn SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, factoid: Param0) -> ::windows::runtime::Result<()> {
5647         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), factoid.into_param().abi()).ok()
5648     }
Guide(&self) -> ::windows::runtime::Result<IInkRecognizerGuide>5649     pub unsafe fn Guide(&self) -> ::windows::runtime::Result<IInkRecognizerGuide> {
5650         let mut result__: <IInkRecognizerGuide as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5651         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizerGuide>(result__)
5652     }
putref_Guide<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizerGuide>>(&self, recognizerguide: Param0) -> ::windows::runtime::Result<()>5653     pub unsafe fn putref_Guide<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRecognizerGuide>>(&self, recognizerguide: Param0) -> ::windows::runtime::Result<()> {
5654         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), recognizerguide.into_param().abi()).ok()
5655     }
5656     #[cfg(feature = "Win32_Foundation")]
PrefixText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5657     pub unsafe fn PrefixText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5658         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5659         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5660     }
5661     #[cfg(feature = "Win32_Foundation")]
SetPrefixText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, prefix: Param0) -> ::windows::runtime::Result<()>5662     pub unsafe fn SetPrefixText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, prefix: Param0) -> ::windows::runtime::Result<()> {
5663         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), prefix.into_param().abi()).ok()
5664     }
5665     #[cfg(feature = "Win32_Foundation")]
SuffixText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5666     pub unsafe fn SuffixText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5667         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5668         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5669     }
5670     #[cfg(feature = "Win32_Foundation")]
SetSuffixText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, suffix: Param0) -> ::windows::runtime::Result<()>5671     pub unsafe fn SetSuffixText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, suffix: Param0) -> ::windows::runtime::Result<()> {
5672         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), suffix.into_param().abi()).ok()
5673     }
RecognitionFlags(&self) -> ::windows::runtime::Result<InkRecognitionModes>5674     pub unsafe fn RecognitionFlags(&self) -> ::windows::runtime::Result<InkRecognitionModes> {
5675         let mut result__: <InkRecognitionModes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5676         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecognitionModes>(result__)
5677     }
SetRecognitionFlags(&self, modes: InkRecognitionModes) -> ::windows::runtime::Result<()>5678     pub unsafe fn SetRecognitionFlags(&self, modes: InkRecognitionModes) -> ::windows::runtime::Result<()> {
5679         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(modes)).ok()
5680     }
WordList(&self) -> ::windows::runtime::Result<IInkWordList>5681     pub unsafe fn WordList(&self) -> ::windows::runtime::Result<IInkWordList> {
5682         let mut result__: <IInkWordList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5683         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkWordList>(result__)
5684     }
putref_WordList<'a, Param0: ::windows::runtime::IntoParam<'a, IInkWordList>>(&self, wordlist: Param0) -> ::windows::runtime::Result<()>5685     pub unsafe fn putref_WordList<'a, Param0: ::windows::runtime::IntoParam<'a, IInkWordList>>(&self, wordlist: Param0) -> ::windows::runtime::Result<()> {
5686         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), wordlist.into_param().abi()).ok()
5687     }
Recognizer(&self) -> ::windows::runtime::Result<IInkRecognizer>5688     pub unsafe fn Recognizer(&self) -> ::windows::runtime::Result<IInkRecognizer> {
5689         let mut result__: <IInkRecognizer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5690         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizer>(result__)
5691     }
Recognize(&self, recognitionstatus: *mut InkRecognitionStatus, recognitionresult: *mut ::std::option::Option<IInkRecognitionResult>) -> ::windows::runtime::Result<()>5692     pub unsafe fn Recognize(&self, recognitionstatus: *mut InkRecognitionStatus, recognitionresult: *mut ::std::option::Option<IInkRecognitionResult>) -> ::windows::runtime::Result<()> {
5693         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(recognitionstatus), ::std::mem::transmute(recognitionresult)).ok()
5694     }
StopBackgroundRecognition(&self) -> ::windows::runtime::Result<()>5695     pub unsafe fn StopBackgroundRecognition(&self) -> ::windows::runtime::Result<()> {
5696         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self)).ok()
5697     }
EndInkInput(&self) -> ::windows::runtime::Result<()>5698     pub unsafe fn EndInkInput(&self) -> ::windows::runtime::Result<()> {
5699         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
5700     }
5701     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
BackgroundRecognize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, customdata: Param0) -> ::windows::runtime::Result<()>5702     pub unsafe fn BackgroundRecognize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, customdata: Param0) -> ::windows::runtime::Result<()> {
5703         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), customdata.into_param().abi()).ok()
5704     }
5705     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
BackgroundRecognizeWithAlternates<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, customdata: Param0) -> ::windows::runtime::Result<()>5706     pub unsafe fn BackgroundRecognizeWithAlternates<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, customdata: Param0) -> ::windows::runtime::Result<()> {
5707         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), customdata.into_param().abi()).ok()
5708     }
Clone(&self) -> ::windows::runtime::Result<IInkRecognizerContext>5709     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IInkRecognizerContext> {
5710         let mut result__: <IInkRecognizerContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5711         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognizerContext>(result__)
5712     }
5713     #[cfg(feature = "Win32_Foundation")]
IsStringSupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, string: Param0) -> ::windows::runtime::Result<i16>5714     pub unsafe fn IsStringSupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, string: Param0) -> ::windows::runtime::Result<i16> {
5715         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5716         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), string.into_param().abi(), &mut result__).from_abi::<i16>(result__)
5717     }
5718 }
5719 unsafe impl ::windows::runtime::Interface for IInkRecognizerContext {
5720     type Vtable = IInkRecognizerContext_abi;
5721     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3331281657, 12963, 17957, [144, 108, 68, 252, 35, 180, 9, 88]);
5722 }
5723 impl ::std::convert::From<IInkRecognizerContext> for ::windows::runtime::IUnknown {
from(value: IInkRecognizerContext) -> Self5724     fn from(value: IInkRecognizerContext) -> Self {
5725         unsafe { ::std::mem::transmute(value) }
5726     }
5727 }
5728 impl ::std::convert::From<&IInkRecognizerContext> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizerContext) -> Self5729     fn from(value: &IInkRecognizerContext) -> Self {
5730         ::std::convert::From::from(::std::clone::Clone::clone(value))
5731     }
5732 }
5733 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizerContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5734     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5735         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5736     }
5737 }
5738 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizerContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5739     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5740         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5741     }
5742 }
5743 #[cfg(feature = "Win32_System_Ole_Automation")]
5744 impl ::std::convert::From<IInkRecognizerContext> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizerContext) -> Self5745     fn from(value: IInkRecognizerContext) -> Self {
5746         unsafe { ::std::mem::transmute(value) }
5747     }
5748 }
5749 #[cfg(feature = "Win32_System_Ole_Automation")]
5750 impl ::std::convert::From<&IInkRecognizerContext> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizerContext) -> Self5751     fn from(value: &IInkRecognizerContext) -> Self {
5752         ::std::convert::From::from(::std::clone::Clone::clone(value))
5753     }
5754 }
5755 #[cfg(feature = "Win32_System_Ole_Automation")]
5756 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizerContext {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5757     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5758         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5759     }
5760 }
5761 #[cfg(feature = "Win32_System_Ole_Automation")]
5762 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizerContext {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5763     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5764         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5765     }
5766 }
5767 #[repr(C)]
5768 #[doc(hidden)]
5769 pub struct IInkRecognizerContext_abi(
5770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5774     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5775     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5776     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5777     #[cfg(not(feature = "Win32_Foundation"))] usize,
5778     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5779     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5780     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5783     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut InkRecognizerCharacterAutoCompletionMode) -> ::windows::runtime::HRESULT,
5784     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: InkRecognizerCharacterAutoCompletionMode) -> ::windows::runtime::HRESULT,
5785     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factoid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5786     #[cfg(not(feature = "Win32_Foundation"))] usize,
5787     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factoid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5788     #[cfg(not(feature = "Win32_Foundation"))] usize,
5789     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognizerguide: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5790     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognizerguide: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5791     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prefix: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5792     #[cfg(not(feature = "Win32_Foundation"))] usize,
5793     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prefix: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5794     #[cfg(not(feature = "Win32_Foundation"))] usize,
5795     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, suffix: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5796     #[cfg(not(feature = "Win32_Foundation"))] usize,
5797     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, suffix: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5798     #[cfg(not(feature = "Win32_Foundation"))] usize,
5799     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modes: *mut InkRecognitionModes) -> ::windows::runtime::HRESULT,
5800     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, modes: InkRecognitionModes) -> ::windows::runtime::HRESULT,
5801     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wordlist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5802     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wordlist: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5803     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognizer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5804     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognitionstatus: *mut InkRecognitionStatus, recognitionresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5805     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5806     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5807     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customdata: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5808     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5809     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, customdata: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5810     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5811     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recocontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5812     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, string: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, supported: *mut i16) -> ::windows::runtime::HRESULT,
5813     #[cfg(not(feature = "Win32_Foundation"))] usize,
5814 );
5815 #[repr(transparent)]
5816 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5817 pub struct IInkRecognizerContext2(::windows::runtime::IUnknown);
5818 impl IInkRecognizerContext2 {
5819     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
EnabledUnicodeRanges(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>5820     pub unsafe fn EnabledUnicodeRanges(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
5821         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5822         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
5823     }
5824     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetEnabledUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, unicoderanges: Param0) -> ::windows::runtime::Result<()>5825     pub unsafe fn SetEnabledUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, unicoderanges: Param0) -> ::windows::runtime::Result<()> {
5826         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), unicoderanges.into_param().abi()).ok()
5827     }
5828 }
5829 unsafe impl ::windows::runtime::Interface for IInkRecognizerContext2 {
5830     type Vtable = IInkRecognizerContext2_abi;
5831     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3606111023, 29656, 16526, [142, 159, 95, 234, 89, 44, 54, 63]);
5832 }
5833 impl ::std::convert::From<IInkRecognizerContext2> for ::windows::runtime::IUnknown {
from(value: IInkRecognizerContext2) -> Self5834     fn from(value: IInkRecognizerContext2) -> Self {
5835         unsafe { ::std::mem::transmute(value) }
5836     }
5837 }
5838 impl ::std::convert::From<&IInkRecognizerContext2> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizerContext2) -> Self5839     fn from(value: &IInkRecognizerContext2) -> Self {
5840         ::std::convert::From::from(::std::clone::Clone::clone(value))
5841     }
5842 }
5843 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizerContext2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5844     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5845         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5846     }
5847 }
5848 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizerContext2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5849     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5850         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5851     }
5852 }
5853 #[cfg(feature = "Win32_System_Ole_Automation")]
5854 impl ::std::convert::From<IInkRecognizerContext2> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizerContext2) -> Self5855     fn from(value: IInkRecognizerContext2) -> Self {
5856         unsafe { ::std::mem::transmute(value) }
5857     }
5858 }
5859 #[cfg(feature = "Win32_System_Ole_Automation")]
5860 impl ::std::convert::From<&IInkRecognizerContext2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizerContext2) -> Self5861     fn from(value: &IInkRecognizerContext2) -> Self {
5862         ::std::convert::From::from(::std::clone::Clone::clone(value))
5863     }
5864 }
5865 #[cfg(feature = "Win32_System_Ole_Automation")]
5866 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizerContext2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5867     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5868         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5869     }
5870 }
5871 #[cfg(feature = "Win32_System_Ole_Automation")]
5872 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizerContext2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5873     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5874         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5875     }
5876 }
5877 #[repr(C)]
5878 #[doc(hidden)]
5879 pub struct IInkRecognizerContext2_abi(
5880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5884     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5885     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5886     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5887     #[cfg(not(feature = "Win32_Foundation"))] usize,
5888     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5889     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5890     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5891     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicoderanges: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5892     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5893     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unicoderanges: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5894     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5895 );
5896 #[repr(transparent)]
5897 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5898 pub struct IInkRecognizerGuide(::windows::runtime::IUnknown);
5899 impl IInkRecognizerGuide {
WritingBox(&self) -> ::windows::runtime::Result<IInkRectangle>5900     pub unsafe fn WritingBox(&self) -> ::windows::runtime::Result<IInkRectangle> {
5901         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5902         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRectangle>(result__)
5903     }
SetWritingBox<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>5904     pub unsafe fn SetWritingBox<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
5905         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
5906     }
DrawnBox(&self) -> ::windows::runtime::Result<IInkRectangle>5907     pub unsafe fn DrawnBox(&self) -> ::windows::runtime::Result<IInkRectangle> {
5908         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5909         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRectangle>(result__)
5910     }
SetDrawnBox<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>5911     pub unsafe fn SetDrawnBox<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
5912         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
5913     }
Rows(&self) -> ::windows::runtime::Result<i32>5914     pub unsafe fn Rows(&self) -> ::windows::runtime::Result<i32> {
5915         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5916         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5917     }
SetRows(&self, units: i32) -> ::windows::runtime::Result<()>5918     pub unsafe fn SetRows(&self, units: i32) -> ::windows::runtime::Result<()> {
5919         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
5920     }
Columns(&self) -> ::windows::runtime::Result<i32>5921     pub unsafe fn Columns(&self) -> ::windows::runtime::Result<i32> {
5922         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5923         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5924     }
SetColumns(&self, units: i32) -> ::windows::runtime::Result<()>5925     pub unsafe fn SetColumns(&self, units: i32) -> ::windows::runtime::Result<()> {
5926         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
5927     }
Midline(&self) -> ::windows::runtime::Result<i32>5928     pub unsafe fn Midline(&self) -> ::windows::runtime::Result<i32> {
5929         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5930         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5931     }
SetMidline(&self, units: i32) -> ::windows::runtime::Result<()>5932     pub unsafe fn SetMidline(&self, units: i32) -> ::windows::runtime::Result<()> {
5933         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
5934     }
5935     #[cfg(feature = "Win32_Foundation")]
GuideData(&self) -> ::windows::runtime::Result<InkRecoGuide>5936     pub unsafe fn GuideData(&self) -> ::windows::runtime::Result<InkRecoGuide> {
5937         let mut result__: <InkRecoGuide as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5938         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InkRecoGuide>(result__)
5939     }
5940     #[cfg(feature = "Win32_Foundation")]
SetGuideData<'a, Param0: ::windows::runtime::IntoParam<'a, InkRecoGuide>>(&self, recoguide: Param0) -> ::windows::runtime::Result<()>5941     pub unsafe fn SetGuideData<'a, Param0: ::windows::runtime::IntoParam<'a, InkRecoGuide>>(&self, recoguide: Param0) -> ::windows::runtime::Result<()> {
5942         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), recoguide.into_param().abi()).ok()
5943     }
5944 }
5945 unsafe impl ::windows::runtime::Interface for IInkRecognizerGuide {
5946     type Vtable = IInkRecognizerGuide_abi;
5947     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3644112391, 31620, 16904, [145, 54, 131, 194, 9, 148, 233, 5]);
5948 }
5949 impl ::std::convert::From<IInkRecognizerGuide> for ::windows::runtime::IUnknown {
from(value: IInkRecognizerGuide) -> Self5950     fn from(value: IInkRecognizerGuide) -> Self {
5951         unsafe { ::std::mem::transmute(value) }
5952     }
5953 }
5954 impl ::std::convert::From<&IInkRecognizerGuide> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizerGuide) -> Self5955     fn from(value: &IInkRecognizerGuide) -> Self {
5956         ::std::convert::From::from(::std::clone::Clone::clone(value))
5957     }
5958 }
5959 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizerGuide {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5960     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5961         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5962     }
5963 }
5964 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizerGuide {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5965     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5966         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5967     }
5968 }
5969 #[cfg(feature = "Win32_System_Ole_Automation")]
5970 impl ::std::convert::From<IInkRecognizerGuide> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizerGuide) -> Self5971     fn from(value: IInkRecognizerGuide) -> Self {
5972         unsafe { ::std::mem::transmute(value) }
5973     }
5974 }
5975 #[cfg(feature = "Win32_System_Ole_Automation")]
5976 impl ::std::convert::From<&IInkRecognizerGuide> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizerGuide) -> Self5977     fn from(value: &IInkRecognizerGuide) -> Self {
5978         ::std::convert::From::from(::std::clone::Clone::clone(value))
5979     }
5980 }
5981 #[cfg(feature = "Win32_System_Ole_Automation")]
5982 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizerGuide {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5983     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5984         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
5985     }
5986 }
5987 #[cfg(feature = "Win32_System_Ole_Automation")]
5988 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizerGuide {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>5989     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
5990         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5991     }
5992 }
5993 #[repr(C)]
5994 #[doc(hidden)]
5995 pub struct IInkRecognizerGuide_abi(
5996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5997     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5998     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5999     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6000     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6001     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6002     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6003     #[cfg(not(feature = "Win32_Foundation"))] usize,
6004     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6005     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6006     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6010     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6011     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6012     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6017     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, precoguide: *mut InkRecoGuide) -> ::windows::runtime::HRESULT,
6018     #[cfg(not(feature = "Win32_Foundation"))] usize,
6019     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recoguide: InkRecoGuide) -> ::windows::runtime::HRESULT,
6020     #[cfg(not(feature = "Win32_Foundation"))] usize,
6021 );
6022 #[repr(transparent)]
6023 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6024 pub struct IInkRecognizers(::windows::runtime::IUnknown);
6025 impl IInkRecognizers {
Count(&self) -> ::windows::runtime::Result<i32>6026     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
6027         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6028         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6029     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6030     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6031         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6032         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6033     }
GetDefaultRecognizer(&self, lcid: i32) -> ::windows::runtime::Result<IInkRecognizer>6034     pub unsafe fn GetDefaultRecognizer(&self, lcid: i32) -> ::windows::runtime::Result<IInkRecognizer> {
6035         let mut result__: <IInkRecognizer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6036         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcid), &mut result__).from_abi::<IInkRecognizer>(result__)
6037     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkRecognizer>6038     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkRecognizer> {
6039         let mut result__: <IInkRecognizer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6040         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkRecognizer>(result__)
6041     }
6042 }
6043 unsafe impl ::windows::runtime::Interface for IInkRecognizers {
6044     type Vtable = IInkRecognizers_abi;
6045     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2630635282, 45239, 19083, [191, 88, 74, 236, 164, 232, 206, 253]);
6046 }
6047 impl ::std::convert::From<IInkRecognizers> for ::windows::runtime::IUnknown {
from(value: IInkRecognizers) -> Self6048     fn from(value: IInkRecognizers) -> Self {
6049         unsafe { ::std::mem::transmute(value) }
6050     }
6051 }
6052 impl ::std::convert::From<&IInkRecognizers> for ::windows::runtime::IUnknown {
from(value: &IInkRecognizers) -> Self6053     fn from(value: &IInkRecognizers) -> Self {
6054         ::std::convert::From::from(::std::clone::Clone::clone(value))
6055     }
6056 }
6057 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRecognizers {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6058     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6059         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6060     }
6061 }
6062 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRecognizers {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6063     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6064         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6065     }
6066 }
6067 #[cfg(feature = "Win32_System_Ole_Automation")]
6068 impl ::std::convert::From<IInkRecognizers> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRecognizers) -> Self6069     fn from(value: IInkRecognizers) -> Self {
6070         unsafe { ::std::mem::transmute(value) }
6071     }
6072 }
6073 #[cfg(feature = "Win32_System_Ole_Automation")]
6074 impl ::std::convert::From<&IInkRecognizers> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRecognizers) -> Self6075     fn from(value: &IInkRecognizers) -> Self {
6076         ::std::convert::From::from(::std::clone::Clone::clone(value))
6077     }
6078 }
6079 #[cfg(feature = "Win32_System_Ole_Automation")]
6080 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRecognizers {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6081     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6082         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6083     }
6084 }
6085 #[cfg(feature = "Win32_System_Ole_Automation")]
6086 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRecognizers {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6087     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6088         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6089     }
6090 }
6091 #[repr(C)]
6092 #[doc(hidden)]
6093 pub struct IInkRecognizers_abi(
6094     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6098     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6099     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6100     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6101     #[cfg(not(feature = "Win32_Foundation"))] usize,
6102     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6103     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6104     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6105     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
6106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcid: i32, defaultrecognizer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, inkrecognizer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6109 );
6110 #[repr(transparent)]
6111 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6112 pub struct IInkRectangle(::windows::runtime::IUnknown);
6113 impl IInkRectangle {
Top(&self) -> ::windows::runtime::Result<i32>6114     pub unsafe fn Top(&self) -> ::windows::runtime::Result<i32> {
6115         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6116         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6117     }
SetTop(&self, units: i32) -> ::windows::runtime::Result<()>6118     pub unsafe fn SetTop(&self, units: i32) -> ::windows::runtime::Result<()> {
6119         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
6120     }
Left(&self) -> ::windows::runtime::Result<i32>6121     pub unsafe fn Left(&self) -> ::windows::runtime::Result<i32> {
6122         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6123         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6124     }
SetLeft(&self, units: i32) -> ::windows::runtime::Result<()>6125     pub unsafe fn SetLeft(&self, units: i32) -> ::windows::runtime::Result<()> {
6126         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
6127     }
Bottom(&self) -> ::windows::runtime::Result<i32>6128     pub unsafe fn Bottom(&self) -> ::windows::runtime::Result<i32> {
6129         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6130         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6131     }
SetBottom(&self, units: i32) -> ::windows::runtime::Result<()>6132     pub unsafe fn SetBottom(&self, units: i32) -> ::windows::runtime::Result<()> {
6133         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
6134     }
Right(&self) -> ::windows::runtime::Result<i32>6135     pub unsafe fn Right(&self) -> ::windows::runtime::Result<i32> {
6136         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6137         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6138     }
SetRight(&self, units: i32) -> ::windows::runtime::Result<()>6139     pub unsafe fn SetRight(&self, units: i32) -> ::windows::runtime::Result<()> {
6140         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(units)).ok()
6141     }
6142     #[cfg(feature = "Win32_Foundation")]
Data(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>6143     pub unsafe fn Data(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
6144         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6145         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
6146     }
6147     #[cfg(feature = "Win32_Foundation")]
SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, rect: Param0) -> ::windows::runtime::Result<()>6148     pub unsafe fn SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, rect: Param0) -> ::windows::runtime::Result<()> {
6149         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), rect.into_param().abi()).ok()
6150     }
GetRectangle(&self, top: *mut i32, left: *mut i32, bottom: *mut i32, right: *mut i32) -> ::windows::runtime::Result<()>6151     pub unsafe fn GetRectangle(&self, top: *mut i32, left: *mut i32, bottom: *mut i32, right: *mut i32) -> ::windows::runtime::Result<()> {
6152         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(top), ::std::mem::transmute(left), ::std::mem::transmute(bottom), ::std::mem::transmute(right)).ok()
6153     }
SetRectangle(&self, top: i32, left: i32, bottom: i32, right: i32) -> ::windows::runtime::Result<()>6154     pub unsafe fn SetRectangle(&self, top: i32, left: i32, bottom: i32, right: i32) -> ::windows::runtime::Result<()> {
6155         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(top), ::std::mem::transmute(left), ::std::mem::transmute(bottom), ::std::mem::transmute(right)).ok()
6156     }
6157 }
6158 unsafe impl ::windows::runtime::Interface for IInkRectangle {
6159     type Vtable = IInkRectangle_abi;
6160     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2543124354, 24689, 18199, [138, 139, 106, 199, 198, 74, 104, 110]);
6161 }
6162 impl ::std::convert::From<IInkRectangle> for ::windows::runtime::IUnknown {
from(value: IInkRectangle) -> Self6163     fn from(value: IInkRectangle) -> Self {
6164         unsafe { ::std::mem::transmute(value) }
6165     }
6166 }
6167 impl ::std::convert::From<&IInkRectangle> for ::windows::runtime::IUnknown {
from(value: &IInkRectangle) -> Self6168     fn from(value: &IInkRectangle) -> Self {
6169         ::std::convert::From::from(::std::clone::Clone::clone(value))
6170     }
6171 }
6172 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRectangle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6173     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6174         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6175     }
6176 }
6177 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRectangle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6178     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6179         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6180     }
6181 }
6182 #[cfg(feature = "Win32_System_Ole_Automation")]
6183 impl ::std::convert::From<IInkRectangle> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRectangle) -> Self6184     fn from(value: IInkRectangle) -> Self {
6185         unsafe { ::std::mem::transmute(value) }
6186     }
6187 }
6188 #[cfg(feature = "Win32_System_Ole_Automation")]
6189 impl ::std::convert::From<&IInkRectangle> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRectangle) -> Self6190     fn from(value: &IInkRectangle) -> Self {
6191         ::std::convert::From::from(::std::clone::Clone::clone(value))
6192     }
6193 }
6194 #[cfg(feature = "Win32_System_Ole_Automation")]
6195 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRectangle {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6196     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6197         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6198     }
6199 }
6200 #[cfg(feature = "Win32_System_Ole_Automation")]
6201 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRectangle {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6202     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6203         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6204     }
6205 }
6206 #[repr(C)]
6207 #[doc(hidden)]
6208 pub struct IInkRectangle_abi(
6209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6211     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6213     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6214     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6215     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6216     #[cfg(not(feature = "Win32_Foundation"))] usize,
6217     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6218     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6219     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6220     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6223     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6224     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6225     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: *mut i32) -> ::windows::runtime::HRESULT,
6227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, units: i32) -> ::windows::runtime::HRESULT,
6228     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rect: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
6229     #[cfg(not(feature = "Win32_Foundation"))] usize,
6230     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rect: super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
6231     #[cfg(not(feature = "Win32_Foundation"))] usize,
6232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, top: *mut i32, left: *mut i32, bottom: *mut i32, right: *mut i32) -> ::windows::runtime::HRESULT,
6233     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, top: i32, left: i32, bottom: i32, right: i32) -> ::windows::runtime::HRESULT,
6234 );
6235 #[repr(transparent)]
6236 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6237 pub struct IInkRenderer(::windows::runtime::IUnknown);
6238 impl IInkRenderer {
GetViewTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, viewtransform: Param0) -> ::windows::runtime::Result<()>6239     pub unsafe fn GetViewTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, viewtransform: Param0) -> ::windows::runtime::Result<()> {
6240         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), viewtransform.into_param().abi()).ok()
6241     }
SetViewTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, viewtransform: Param0) -> ::windows::runtime::Result<()>6242     pub unsafe fn SetViewTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, viewtransform: Param0) -> ::windows::runtime::Result<()> {
6243         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), viewtransform.into_param().abi()).ok()
6244     }
GetObjectTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, objecttransform: Param0) -> ::windows::runtime::Result<()>6245     pub unsafe fn GetObjectTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, objecttransform: Param0) -> ::windows::runtime::Result<()> {
6246         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), objecttransform.into_param().abi()).ok()
6247     }
SetObjectTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, objecttransform: Param0) -> ::windows::runtime::Result<()>6248     pub unsafe fn SetObjectTransform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, objecttransform: Param0) -> ::windows::runtime::Result<()> {
6249         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), objecttransform.into_param().abi()).ok()
6250     }
Draw<'a, Param1: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, hdc: isize, strokes: Param1) -> ::windows::runtime::Result<()>6251     pub unsafe fn Draw<'a, Param1: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, hdc: isize, strokes: Param1) -> ::windows::runtime::Result<()> {
6252         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdc), strokes.into_param().abi()).ok()
6253     }
DrawStroke<'a, Param1: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>, Param2: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, hdc: isize, stroke: Param1, drawingattributes: Param2) -> ::windows::runtime::Result<()>6254     pub unsafe fn DrawStroke<'a, Param1: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>, Param2: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, hdc: isize, stroke: Param1, drawingattributes: Param2) -> ::windows::runtime::Result<()> {
6255         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdc), stroke.into_param().abi(), drawingattributes.into_param().abi()).ok()
6256     }
PixelToInkSpace(&self, hdc: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()>6257     pub unsafe fn PixelToInkSpace(&self, hdc: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()> {
6258         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdc), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
6259     }
InkSpaceToPixel(&self, hdcdisplay: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()>6260     pub unsafe fn InkSpaceToPixel(&self, hdcdisplay: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::Result<()> {
6261         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdcdisplay), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
6262     }
6263     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
PixelToInkSpaceFromPoints(&self, hdc: isize, points: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>6264     pub unsafe fn PixelToInkSpaceFromPoints(&self, hdc: isize, points: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> {
6265         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdc), ::std::mem::transmute(points)).ok()
6266     }
6267     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
InkSpaceToPixelFromPoints(&self, hdc: isize, points: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>6268     pub unsafe fn InkSpaceToPixelFromPoints(&self, hdc: isize, points: *mut super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> {
6269         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(hdc), ::std::mem::transmute(points)).ok()
6270     }
Measure<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<IInkRectangle>6271     pub unsafe fn Measure<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<IInkRectangle> {
6272         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6273         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strokes.into_param().abi(), &mut result__).from_abi::<IInkRectangle>(result__)
6274     }
MeasureStroke<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>, Param1: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, stroke: Param0, drawingattributes: Param1) -> ::windows::runtime::Result<IInkRectangle>6275     pub unsafe fn MeasureStroke<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>, Param1: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, stroke: Param0, drawingattributes: Param1) -> ::windows::runtime::Result<IInkRectangle> {
6276         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6277         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), stroke.into_param().abi(), drawingattributes.into_param().abi(), &mut result__).from_abi::<IInkRectangle>(result__)
6278     }
Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()>6279     pub unsafe fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()> {
6280         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalcomponent), ::std::mem::transmute(verticalcomponent)).ok()
6281     }
Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()>6282     pub unsafe fn Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()> {
6283         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(degrees), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
6284     }
ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32, applyonpenwidth: i16) -> ::windows::runtime::Result<()>6285     pub unsafe fn ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32, applyonpenwidth: i16) -> ::windows::runtime::Result<()> {
6286         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier), ::std::mem::transmute(applyonpenwidth)).ok()
6287     }
6288 }
6289 unsafe impl ::windows::runtime::Interface for IInkRenderer {
6290     type Vtable = IInkRenderer_abi;
6291     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3861215900, 46353, 20300, [168, 176, 167, 219, 201, 80, 107, 131]);
6292 }
6293 impl ::std::convert::From<IInkRenderer> for ::windows::runtime::IUnknown {
from(value: IInkRenderer) -> Self6294     fn from(value: IInkRenderer) -> Self {
6295         unsafe { ::std::mem::transmute(value) }
6296     }
6297 }
6298 impl ::std::convert::From<&IInkRenderer> for ::windows::runtime::IUnknown {
from(value: &IInkRenderer) -> Self6299     fn from(value: &IInkRenderer) -> Self {
6300         ::std::convert::From::from(::std::clone::Clone::clone(value))
6301     }
6302 }
6303 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkRenderer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6304     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6305         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6306     }
6307 }
6308 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkRenderer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6309     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6310         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6311     }
6312 }
6313 #[cfg(feature = "Win32_System_Ole_Automation")]
6314 impl ::std::convert::From<IInkRenderer> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkRenderer) -> Self6315     fn from(value: IInkRenderer) -> Self {
6316         unsafe { ::std::mem::transmute(value) }
6317     }
6318 }
6319 #[cfg(feature = "Win32_System_Ole_Automation")]
6320 impl ::std::convert::From<&IInkRenderer> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkRenderer) -> Self6321     fn from(value: &IInkRenderer) -> Self {
6322         ::std::convert::From::from(::std::clone::Clone::clone(value))
6323     }
6324 }
6325 #[cfg(feature = "Win32_System_Ole_Automation")]
6326 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkRenderer {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6327     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6328         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6329     }
6330 }
6331 #[cfg(feature = "Win32_System_Ole_Automation")]
6332 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkRenderer {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6333     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6334         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6335     }
6336 }
6337 #[repr(C)]
6338 #[doc(hidden)]
6339 pub struct IInkRenderer_abi(
6340     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6344     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6345     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6346     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6347     #[cfg(not(feature = "Win32_Foundation"))] usize,
6348     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6349     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6350     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, viewtransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objecttransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6354     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, objecttransform: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6355     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: isize, strokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6356     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: isize, stroke: ::windows::runtime::RawPtr, drawingattributes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::HRESULT,
6358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdcdisplay: isize, x: *mut i32, y: *mut i32) -> ::windows::runtime::HRESULT,
6359     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: isize, points: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6360     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6361     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: isize, points: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6362     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6363     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6364     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, stroke: ::windows::runtime::RawPtr, drawingattributes: ::windows::runtime::RawPtr, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6365     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::HRESULT,
6366     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, degrees: f32, x: f32, y: f32) -> ::windows::runtime::HRESULT,
6367     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32, applyonpenwidth: i16) -> ::windows::runtime::HRESULT,
6368 );
6369 #[repr(transparent)]
6370 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6371 pub struct IInkStrokeDisp(::windows::runtime::IUnknown);
6372 impl IInkStrokeDisp {
ID(&self) -> ::windows::runtime::Result<i32>6373     pub unsafe fn ID(&self) -> ::windows::runtime::Result<i32> {
6374         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6375         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6376     }
6377     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
BezierPoints(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6378     pub unsafe fn BezierPoints(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6379         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6380         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6381     }
DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes>6382     pub unsafe fn DrawingAttributes(&self) -> ::windows::runtime::Result<IInkDrawingAttributes> {
6383         let mut result__: <IInkDrawingAttributes as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6384         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDrawingAttributes>(result__)
6385     }
putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, drawattrs: Param0) -> ::windows::runtime::Result<()>6386     pub unsafe fn putref_DrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, drawattrs: Param0) -> ::windows::runtime::Result<()> {
6387         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), drawattrs.into_param().abi()).ok()
6388     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>6389     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
6390         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6391         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
6392     }
ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties>6393     pub unsafe fn ExtendedProperties(&self) -> ::windows::runtime::Result<IInkExtendedProperties> {
6394         let mut result__: <IInkExtendedProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6395         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkExtendedProperties>(result__)
6396     }
6397     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
PolylineCusps(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6398     pub unsafe fn PolylineCusps(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6399         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6400         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6401     }
6402     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
BezierCusps(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6403     pub unsafe fn BezierCusps(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6404         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6405         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6406     }
6407     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SelfIntersections(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6408     pub unsafe fn SelfIntersections(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6409         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6410         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6411     }
PacketCount(&self) -> ::windows::runtime::Result<i32>6412     pub unsafe fn PacketCount(&self) -> ::windows::runtime::Result<i32> {
6413         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6414         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6415     }
PacketSize(&self) -> ::windows::runtime::Result<i32>6416     pub unsafe fn PacketSize(&self) -> ::windows::runtime::Result<i32> {
6417         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6418         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6419     }
6420     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
PacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6421     pub unsafe fn PacketDescription(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6422         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6423         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6424     }
Deleted(&self) -> ::windows::runtime::Result<i16>6425     pub unsafe fn Deleted(&self) -> ::windows::runtime::Result<i16> {
6426         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6427         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6428     }
GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle>6429     pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle> {
6430         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6431         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(boundingboxmode), &mut result__).from_abi::<IInkRectangle>(result__)
6432     }
6433     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
FindIntersections<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6434     pub unsafe fn FindIntersections<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, strokes: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6435         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6436         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), strokes.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6437     }
6438     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetRectangleIntersections<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6439     pub unsafe fn GetRectangleIntersections<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6440         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6441         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), rectangle.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6442     }
Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>6443     pub unsafe fn Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
6444         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
6445     }
HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::runtime::Result<i16>6446     pub unsafe fn HitTestCircle(&self, x: i32, y: i32, radius: f32) -> ::windows::runtime::Result<i16> {
6447         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6448         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(radius), &mut result__).from_abi::<i16>(result__)
6449     }
NearestPoint(&self, x: i32, y: i32, distance: *mut f32, point: *mut f32) -> ::windows::runtime::Result<()>6450     pub unsafe fn NearestPoint(&self, x: i32, y: i32, distance: *mut f32, point: *mut f32) -> ::windows::runtime::Result<()> {
6451         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(distance), ::std::mem::transmute(point)).ok()
6452     }
Split(&self, splitat: f32) -> ::windows::runtime::Result<IInkStrokeDisp>6453     pub unsafe fn Split(&self, splitat: f32) -> ::windows::runtime::Result<IInkStrokeDisp> {
6454         let mut result__: <IInkStrokeDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6455         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(splitat), &mut result__).from_abi::<IInkStrokeDisp>(result__)
6456     }
6457     #[cfg(feature = "Win32_Foundation")]
GetPacketDescriptionPropertyMetrics<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::Result<()>6458     pub unsafe fn GetPacketDescriptionPropertyMetrics<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::Result<()> {
6459         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), propertyname.into_param().abi(), ::std::mem::transmute(minimum), ::std::mem::transmute(maximum), ::std::mem::transmute(units), ::std::mem::transmute(resolution)).ok()
6460     }
6461     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPoints(&self, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6462     pub unsafe fn GetPoints(&self, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6463         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6464         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(count), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6465     }
6466     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetPoints<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, points: Param0, index: i32, count: i32) -> ::windows::runtime::Result<i32>6467     pub unsafe fn SetPoints<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, points: Param0, index: i32, count: i32) -> ::windows::runtime::Result<i32> {
6468         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6469         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), points.into_param().abi(), ::std::mem::transmute(index), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6470     }
6471     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPacketData(&self, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6472     pub unsafe fn GetPacketData(&self, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6473         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6474         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(count), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6475     }
6476     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPacketValuesByProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6477     pub unsafe fn GetPacketValuesByProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, index: i32, count: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6478         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6479         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), propertyname.into_param().abi(), ::std::mem::transmute(index), ::std::mem::transmute(count), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6480     }
6481     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetPacketValuesByProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, bstrpropertyname: Param0, packetvalues: Param1, index: i32, count: i32) -> ::windows::runtime::Result<i32>6482     pub unsafe fn SetPacketValuesByProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, bstrpropertyname: Param0, packetvalues: Param1, index: i32, count: i32) -> ::windows::runtime::Result<i32> {
6483         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6484         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), bstrpropertyname.into_param().abi(), packetvalues.into_param().abi(), ::std::mem::transmute(index), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6485     }
6486     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetFlattenedBezierPoints(&self, fittingerror: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>6487     pub unsafe fn GetFlattenedBezierPoints(&self, fittingerror: i32) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
6488         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6489         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fittingerror), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
6490     }
Transform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, transform: Param0, applyonpenwidth: i16) -> ::windows::runtime::Result<()>6491     pub unsafe fn Transform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, transform: Param0, applyonpenwidth: i16) -> ::windows::runtime::Result<()> {
6492         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), transform.into_param().abi(), ::std::mem::transmute(applyonpenwidth)).ok()
6493     }
ScaleToRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>6494     pub unsafe fn ScaleToRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
6495         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
6496     }
Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()>6497     pub unsafe fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()> {
6498         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalcomponent), ::std::mem::transmute(verticalcomponent)).ok()
6499     }
Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()>6500     pub unsafe fn Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()> {
6501         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(degrees), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
6502     }
Shear(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()>6503     pub unsafe fn Shear(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()> {
6504         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier)).ok()
6505     }
ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()>6506     pub unsafe fn ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()> {
6507         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier)).ok()
6508     }
6509 }
6510 unsafe impl ::windows::runtime::Interface for IInkStrokeDisp {
6511     type Vtable = IInkStrokeDisp_abi;
6512     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1126445034, 37329, 19058, [150, 62, 251, 185, 24, 41, 207, 162]);
6513 }
6514 impl ::std::convert::From<IInkStrokeDisp> for ::windows::runtime::IUnknown {
from(value: IInkStrokeDisp) -> Self6515     fn from(value: IInkStrokeDisp) -> Self {
6516         unsafe { ::std::mem::transmute(value) }
6517     }
6518 }
6519 impl ::std::convert::From<&IInkStrokeDisp> for ::windows::runtime::IUnknown {
from(value: &IInkStrokeDisp) -> Self6520     fn from(value: &IInkStrokeDisp) -> Self {
6521         ::std::convert::From::from(::std::clone::Clone::clone(value))
6522     }
6523 }
6524 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkStrokeDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6525     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6526         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6527     }
6528 }
6529 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkStrokeDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6530     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6531         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6532     }
6533 }
6534 #[cfg(feature = "Win32_System_Ole_Automation")]
6535 impl ::std::convert::From<IInkStrokeDisp> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkStrokeDisp) -> Self6536     fn from(value: IInkStrokeDisp) -> Self {
6537         unsafe { ::std::mem::transmute(value) }
6538     }
6539 }
6540 #[cfg(feature = "Win32_System_Ole_Automation")]
6541 impl ::std::convert::From<&IInkStrokeDisp> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkStrokeDisp) -> Self6542     fn from(value: &IInkStrokeDisp) -> Self {
6543         ::std::convert::From::from(::std::clone::Clone::clone(value))
6544     }
6545 }
6546 #[cfg(feature = "Win32_System_Ole_Automation")]
6547 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkStrokeDisp {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6548     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6549         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6550     }
6551 }
6552 #[cfg(feature = "Win32_System_Ole_Automation")]
6553 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkStrokeDisp {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6554     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6555         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6556     }
6557 }
6558 #[repr(C)]
6559 #[doc(hidden)]
6560 pub struct IInkStrokeDisp_abi(
6561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6565     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6566     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6567     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6568     #[cfg(not(feature = "Win32_Foundation"))] usize,
6569     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6570     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6571     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut i32) -> ::windows::runtime::HRESULT,
6573     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, points: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6574     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6575     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, drawattrs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6576     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, drawattrs: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6577     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6578     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, properties: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6579     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cusps: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6580     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6581     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cusps: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6582     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6583     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, intersections: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6584     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcount: *mut i32) -> ::windows::runtime::HRESULT,
6586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plsize: *mut i32) -> ::windows::runtime::HRESULT,
6587     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetdescription: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6588     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, deleted: *mut i16) -> ::windows::runtime::HRESULT,
6590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, boundingboxmode: InkBoundingBoxMode, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6591     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strokes: ::windows::runtime::RawPtr, intersections: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6592     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6593     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr, intersections: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6594     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6596     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, radius: f32, intersects: *mut i16) -> ::windows::runtime::HRESULT,
6597     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, distance: *mut f32, point: *mut f32) -> ::windows::runtime::HRESULT,
6598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, splitat: f32, newstroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6599     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::HRESULT,
6600     #[cfg(not(feature = "Win32_Foundation"))] usize,
6601     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, count: i32, points: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6602     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6603     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, points: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, index: i32, count: i32, numberofpointsset: *mut i32) -> ::windows::runtime::HRESULT,
6604     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6605     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, count: i32, packetdata: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6606     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6607     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, index: i32, count: i32, packetvalues: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6608     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6609     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrpropertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, packetvalues: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, index: i32, count: i32, numberofpacketsset: *mut i32) -> ::windows::runtime::HRESULT,
6610     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6611     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fittingerror: i32, flattenedbezierpoints: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6612     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6613     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr, applyonpenwidth: i16) -> ::windows::runtime::HRESULT,
6614     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6615     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::HRESULT,
6616     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, degrees: f32, x: f32, y: f32) -> ::windows::runtime::HRESULT,
6617     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::HRESULT,
6618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::HRESULT,
6619 );
6620 #[repr(transparent)]
6621 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6622 pub struct IInkStrokes(::windows::runtime::IUnknown);
6623 impl IInkStrokes {
Count(&self) -> ::windows::runtime::Result<i32>6624     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
6625         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6626         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6627     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6628     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6629         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6630         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6631     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>6632     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
6633         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6634         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
6635     }
RecognitionResult(&self) -> ::windows::runtime::Result<IInkRecognitionResult>6636     pub unsafe fn RecognitionResult(&self) -> ::windows::runtime::Result<IInkRecognitionResult> {
6637         let mut result__: <IInkRecognitionResult as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6638         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRecognitionResult>(result__)
6639     }
6640     #[cfg(feature = "Win32_Foundation")]
ToString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6641     pub unsafe fn ToString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6642         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6643         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6644     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkStrokeDisp>6645     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkStrokeDisp> {
6646         let mut result__: <IInkStrokeDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6647         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkStrokeDisp>(result__)
6648     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, inkstroke: Param0) -> ::windows::runtime::Result<()>6649     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, inkstroke: Param0) -> ::windows::runtime::Result<()> {
6650         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), inkstroke.into_param().abi()).ok()
6651     }
AddStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, inkstrokes: Param0) -> ::windows::runtime::Result<()>6652     pub unsafe fn AddStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, inkstrokes: Param0) -> ::windows::runtime::Result<()> {
6653         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), inkstrokes.into_param().abi()).ok()
6654     }
Remove<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, inkstroke: Param0) -> ::windows::runtime::Result<()>6655     pub unsafe fn Remove<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokeDisp>>(&self, inkstroke: Param0) -> ::windows::runtime::Result<()> {
6656         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), inkstroke.into_param().abi()).ok()
6657     }
RemoveStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, inkstrokes: Param0) -> ::windows::runtime::Result<()>6658     pub unsafe fn RemoveStrokes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkStrokes>>(&self, inkstrokes: Param0) -> ::windows::runtime::Result<()> {
6659         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), inkstrokes.into_param().abi()).ok()
6660     }
ModifyDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, drawattrs: Param0) -> ::windows::runtime::Result<()>6661     pub unsafe fn ModifyDrawingAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDrawingAttributes>>(&self, drawattrs: Param0) -> ::windows::runtime::Result<()> {
6662         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), drawattrs.into_param().abi()).ok()
6663     }
GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle>6664     pub unsafe fn GetBoundingBox(&self, boundingboxmode: InkBoundingBoxMode) -> ::windows::runtime::Result<IInkRectangle> {
6665         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6666         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(boundingboxmode), &mut result__).from_abi::<IInkRectangle>(result__)
6667     }
Transform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, transform: Param0, applyonpenwidth: i16) -> ::windows::runtime::Result<()>6668     pub unsafe fn Transform<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTransform>>(&self, transform: Param0, applyonpenwidth: i16) -> ::windows::runtime::Result<()> {
6669         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), transform.into_param().abi(), ::std::mem::transmute(applyonpenwidth)).ok()
6670     }
ScaleToRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>6671     pub unsafe fn ScaleToRectangle<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
6672         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
6673     }
Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()>6674     pub unsafe fn Move(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()> {
6675         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalcomponent), ::std::mem::transmute(verticalcomponent)).ok()
6676     }
Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()>6677     pub unsafe fn Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()> {
6678         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(degrees), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
6679     }
Shear(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()>6680     pub unsafe fn Shear(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()> {
6681         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier)).ok()
6682     }
ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()>6683     pub unsafe fn ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()> {
6684         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier)).ok()
6685     }
Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()>6686     pub unsafe fn Clip<'a, Param0: ::windows::runtime::IntoParam<'a, IInkRectangle>>(&self, rectangle: Param0) -> ::windows::runtime::Result<()> {
6687         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), rectangle.into_param().abi()).ok()
6688     }
RemoveRecognitionResult(&self) -> ::windows::runtime::Result<()>6689     pub unsafe fn RemoveRecognitionResult(&self) -> ::windows::runtime::Result<()> {
6690         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
6691     }
6692 }
6693 unsafe impl ::windows::runtime::Interface for IInkStrokes {
6694     type Vtable = IInkStrokes_abi;
6695     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4059351512, 22794, 18787, [179, 174, 25, 53, 103, 27, 182, 243]);
6696 }
6697 impl ::std::convert::From<IInkStrokes> for ::windows::runtime::IUnknown {
from(value: IInkStrokes) -> Self6698     fn from(value: IInkStrokes) -> Self {
6699         unsafe { ::std::mem::transmute(value) }
6700     }
6701 }
6702 impl ::std::convert::From<&IInkStrokes> for ::windows::runtime::IUnknown {
from(value: &IInkStrokes) -> Self6703     fn from(value: &IInkStrokes) -> Self {
6704         ::std::convert::From::from(::std::clone::Clone::clone(value))
6705     }
6706 }
6707 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkStrokes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6708     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6709         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6710     }
6711 }
6712 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkStrokes {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6713     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6714         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6715     }
6716 }
6717 #[cfg(feature = "Win32_System_Ole_Automation")]
6718 impl ::std::convert::From<IInkStrokes> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkStrokes) -> Self6719     fn from(value: IInkStrokes) -> Self {
6720         unsafe { ::std::mem::transmute(value) }
6721     }
6722 }
6723 #[cfg(feature = "Win32_System_Ole_Automation")]
6724 impl ::std::convert::From<&IInkStrokes> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkStrokes) -> Self6725     fn from(value: &IInkStrokes) -> Self {
6726         ::std::convert::From::from(::std::clone::Clone::clone(value))
6727     }
6728 }
6729 #[cfg(feature = "Win32_System_Ole_Automation")]
6730 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkStrokes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6731     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6732         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6733     }
6734 }
6735 #[cfg(feature = "Win32_System_Ole_Automation")]
6736 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkStrokes {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6737     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6738         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6739     }
6740 }
6741 #[repr(C)]
6742 #[doc(hidden)]
6743 pub struct IInkStrokes_abi(
6744     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6745     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6746     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6748     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6749     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6750     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6751     #[cfg(not(feature = "Win32_Foundation"))] usize,
6752     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6753     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6754     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
6756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, recognitionresult: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6759     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tostring: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6760     #[cfg(not(feature = "Win32_Foundation"))] usize,
6761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, stroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkstroke: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkstrokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkstroke: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inkstrokes: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, drawattrs: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6767     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, boundingboxmode: InkBoundingBoxMode, boundingbox: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, transform: ::windows::runtime::RawPtr, applyonpenwidth: i16) -> ::windows::runtime::HRESULT,
6769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::HRESULT,
6771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, degrees: f32, x: f32, y: f32) -> ::windows::runtime::HRESULT,
6772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::HRESULT,
6773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::HRESULT,
6774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6776 );
6777 #[repr(transparent)]
6778 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6779 pub struct IInkTablet(::windows::runtime::IUnknown);
6780 impl IInkTablet {
6781     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6782     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6783         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6784         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6785     }
6786     #[cfg(feature = "Win32_Foundation")]
PlugAndPlayId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6787     pub unsafe fn PlugAndPlayId(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6788         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6789         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6790     }
MaximumInputRectangle(&self) -> ::windows::runtime::Result<IInkRectangle>6791     pub unsafe fn MaximumInputRectangle(&self) -> ::windows::runtime::Result<IInkRectangle> {
6792         let mut result__: <IInkRectangle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6793         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkRectangle>(result__)
6794     }
HardwareCapabilities(&self) -> ::windows::runtime::Result<TabletHardwareCapabilities>6795     pub unsafe fn HardwareCapabilities(&self) -> ::windows::runtime::Result<TabletHardwareCapabilities> {
6796         let mut result__: <TabletHardwareCapabilities as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6797         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TabletHardwareCapabilities>(result__)
6798     }
6799     #[cfg(feature = "Win32_Foundation")]
IsPacketPropertySupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, packetpropertyname: Param0) -> ::windows::runtime::Result<i16>6800     pub unsafe fn IsPacketPropertySupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, packetpropertyname: Param0) -> ::windows::runtime::Result<i16> {
6801         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6802         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), packetpropertyname.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6803     }
6804     #[cfg(feature = "Win32_Foundation")]
GetPropertyMetrics<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::Result<()>6805     pub unsafe fn GetPropertyMetrics<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, propertyname: Param0, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::Result<()> {
6806         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), propertyname.into_param().abi(), ::std::mem::transmute(minimum), ::std::mem::transmute(maximum), ::std::mem::transmute(units), ::std::mem::transmute(resolution)).ok()
6807     }
6808 }
6809 unsafe impl ::windows::runtime::Interface for IInkTablet {
6810     type Vtable = IInkTablet_abi;
6811     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(769810090, 28408, 17109, [174, 233, 24, 91, 200, 27, 145, 45]);
6812 }
6813 impl ::std::convert::From<IInkTablet> for ::windows::runtime::IUnknown {
from(value: IInkTablet) -> Self6814     fn from(value: IInkTablet) -> Self {
6815         unsafe { ::std::mem::transmute(value) }
6816     }
6817 }
6818 impl ::std::convert::From<&IInkTablet> for ::windows::runtime::IUnknown {
from(value: &IInkTablet) -> Self6819     fn from(value: &IInkTablet) -> Self {
6820         ::std::convert::From::from(::std::clone::Clone::clone(value))
6821     }
6822 }
6823 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkTablet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6824     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6825         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6826     }
6827 }
6828 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkTablet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6829     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6830         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6831     }
6832 }
6833 #[cfg(feature = "Win32_System_Ole_Automation")]
6834 impl ::std::convert::From<IInkTablet> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkTablet) -> Self6835     fn from(value: IInkTablet) -> Self {
6836         unsafe { ::std::mem::transmute(value) }
6837     }
6838 }
6839 #[cfg(feature = "Win32_System_Ole_Automation")]
6840 impl ::std::convert::From<&IInkTablet> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkTablet) -> Self6841     fn from(value: &IInkTablet) -> Self {
6842         ::std::convert::From::from(::std::clone::Clone::clone(value))
6843     }
6844 }
6845 #[cfg(feature = "Win32_System_Ole_Automation")]
6846 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkTablet {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6847     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6848         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6849     }
6850 }
6851 #[cfg(feature = "Win32_System_Ole_Automation")]
6852 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkTablet {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6853     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6854         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6855     }
6856 }
6857 #[repr(C)]
6858 #[doc(hidden)]
6859 pub struct IInkTablet_abi(
6860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6864     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6865     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6866     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6867     #[cfg(not(feature = "Win32_Foundation"))] usize,
6868     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6869     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6870     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6871     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6872     #[cfg(not(feature = "Win32_Foundation"))] usize,
6873     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, id: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6874     #[cfg(not(feature = "Win32_Foundation"))] usize,
6875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rectangle: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, capabilities: *mut TabletHardwareCapabilities) -> ::windows::runtime::HRESULT,
6877     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetpropertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, supported: *mut i16) -> ::windows::runtime::HRESULT,
6878     #[cfg(not(feature = "Win32_Foundation"))] usize,
6879     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, minimum: *mut i32, maximum: *mut i32, units: *mut TabletPropertyMetricUnit, resolution: *mut f32) -> ::windows::runtime::HRESULT,
6880     #[cfg(not(feature = "Win32_Foundation"))] usize,
6881 );
6882 #[repr(transparent)]
6883 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6884 pub struct IInkTablet2(::windows::runtime::IUnknown);
6885 impl IInkTablet2 {
DeviceKind(&self) -> ::windows::runtime::Result<TabletDeviceKind>6886     pub unsafe fn DeviceKind(&self) -> ::windows::runtime::Result<TabletDeviceKind> {
6887         let mut result__: <TabletDeviceKind as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6888         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TabletDeviceKind>(result__)
6889     }
6890 }
6891 unsafe impl ::windows::runtime::Interface for IInkTablet2 {
6892     type Vtable = IInkTablet2_abi;
6893     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2429098706, 64054, 18902, [149, 22, 206, 141, 87, 15, 111, 133]);
6894 }
6895 impl ::std::convert::From<IInkTablet2> for ::windows::runtime::IUnknown {
from(value: IInkTablet2) -> Self6896     fn from(value: IInkTablet2) -> Self {
6897         unsafe { ::std::mem::transmute(value) }
6898     }
6899 }
6900 impl ::std::convert::From<&IInkTablet2> for ::windows::runtime::IUnknown {
from(value: &IInkTablet2) -> Self6901     fn from(value: &IInkTablet2) -> Self {
6902         ::std::convert::From::from(::std::clone::Clone::clone(value))
6903     }
6904 }
6905 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkTablet2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6906     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6907         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6908     }
6909 }
6910 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkTablet2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6911     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6912         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6913     }
6914 }
6915 #[cfg(feature = "Win32_System_Ole_Automation")]
6916 impl ::std::convert::From<IInkTablet2> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkTablet2) -> Self6917     fn from(value: IInkTablet2) -> Self {
6918         unsafe { ::std::mem::transmute(value) }
6919     }
6920 }
6921 #[cfg(feature = "Win32_System_Ole_Automation")]
6922 impl ::std::convert::From<&IInkTablet2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkTablet2) -> Self6923     fn from(value: &IInkTablet2) -> Self {
6924         ::std::convert::From::from(::std::clone::Clone::clone(value))
6925     }
6926 }
6927 #[cfg(feature = "Win32_System_Ole_Automation")]
6928 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkTablet2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6929     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6930         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
6931     }
6932 }
6933 #[cfg(feature = "Win32_System_Ole_Automation")]
6934 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkTablet2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>6935     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
6936         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6937     }
6938 }
6939 #[repr(C)]
6940 #[doc(hidden)]
6941 pub struct IInkTablet2_abi(
6942     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6946     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6947     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6948     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6949     #[cfg(not(feature = "Win32_Foundation"))] usize,
6950     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6951     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6952     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, kind: *mut TabletDeviceKind) -> ::windows::runtime::HRESULT,
6954 );
6955 #[repr(transparent)]
6956 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6957 pub struct IInkTablet3(::windows::runtime::IUnknown);
6958 impl IInkTablet3 {
IsMultiTouch(&self) -> ::windows::runtime::Result<i16>6959     pub unsafe fn IsMultiTouch(&self) -> ::windows::runtime::Result<i16> {
6960         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6961         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6962     }
MaximumCursors(&self) -> ::windows::runtime::Result<u32>6963     pub unsafe fn MaximumCursors(&self) -> ::windows::runtime::Result<u32> {
6964         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6965         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6966     }
6967 }
6968 unsafe impl ::windows::runtime::Interface for IInkTablet3 {
6969     type Vtable = IInkTablet3_abi;
6970     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2117155223, 4903, 16861, [140, 169, 121, 242, 75, 225, 114, 80]);
6971 }
6972 impl ::std::convert::From<IInkTablet3> for ::windows::runtime::IUnknown {
from(value: IInkTablet3) -> Self6973     fn from(value: IInkTablet3) -> Self {
6974         unsafe { ::std::mem::transmute(value) }
6975     }
6976 }
6977 impl ::std::convert::From<&IInkTablet3> for ::windows::runtime::IUnknown {
from(value: &IInkTablet3) -> Self6978     fn from(value: &IInkTablet3) -> Self {
6979         ::std::convert::From::from(::std::clone::Clone::clone(value))
6980     }
6981 }
6982 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkTablet3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6983     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6984         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6985     }
6986 }
6987 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkTablet3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6988     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6989         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6990     }
6991 }
6992 #[cfg(feature = "Win32_System_Ole_Automation")]
6993 impl ::std::convert::From<IInkTablet3> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkTablet3) -> Self6994     fn from(value: IInkTablet3) -> Self {
6995         unsafe { ::std::mem::transmute(value) }
6996     }
6997 }
6998 #[cfg(feature = "Win32_System_Ole_Automation")]
6999 impl ::std::convert::From<&IInkTablet3> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkTablet3) -> Self7000     fn from(value: &IInkTablet3) -> Self {
7001         ::std::convert::From::from(::std::clone::Clone::clone(value))
7002     }
7003 }
7004 #[cfg(feature = "Win32_System_Ole_Automation")]
7005 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkTablet3 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7006     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7007         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7008     }
7009 }
7010 #[cfg(feature = "Win32_System_Ole_Automation")]
7011 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkTablet3 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7012     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7013         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7014     }
7015 }
7016 #[repr(C)]
7017 #[doc(hidden)]
7018 pub struct IInkTablet3_abi(
7019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7022     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7023     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7024     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7025     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7026     #[cfg(not(feature = "Win32_Foundation"))] usize,
7027     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7028     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7029     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pismultitouch: *mut i16) -> ::windows::runtime::HRESULT,
7031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmaximumcursors: *mut u32) -> ::windows::runtime::HRESULT,
7032 );
7033 #[repr(transparent)]
7034 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7035 pub struct IInkTablets(::windows::runtime::IUnknown);
7036 impl IInkTablets {
Count(&self) -> ::windows::runtime::Result<i32>7037     pub unsafe fn Count(&self) -> ::windows::runtime::Result<i32> {
7038         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7039         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7040     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7041     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7042         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7043         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7044     }
DefaultTablet(&self) -> ::windows::runtime::Result<IInkTablet>7045     pub unsafe fn DefaultTablet(&self) -> ::windows::runtime::Result<IInkTablet> {
7046         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7047         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
7048     }
Item(&self, index: i32) -> ::windows::runtime::Result<IInkTablet>7049     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<IInkTablet> {
7050         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7051         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<IInkTablet>(result__)
7052     }
7053     #[cfg(feature = "Win32_Foundation")]
IsPacketPropertySupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, packetpropertyname: Param0) -> ::windows::runtime::Result<i16>7054     pub unsafe fn IsPacketPropertySupported<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, packetpropertyname: Param0) -> ::windows::runtime::Result<i16> {
7055         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7056         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), packetpropertyname.into_param().abi(), &mut result__).from_abi::<i16>(result__)
7057     }
7058 }
7059 unsafe impl ::windows::runtime::Interface for IInkTablets {
7060     type Vtable = IInkTablets_abi;
7061     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(287344345, 30585, 17717, [166, 153, 134, 43, 67, 172, 24, 99]);
7062 }
7063 impl ::std::convert::From<IInkTablets> for ::windows::runtime::IUnknown {
from(value: IInkTablets) -> Self7064     fn from(value: IInkTablets) -> Self {
7065         unsafe { ::std::mem::transmute(value) }
7066     }
7067 }
7068 impl ::std::convert::From<&IInkTablets> for ::windows::runtime::IUnknown {
from(value: &IInkTablets) -> Self7069     fn from(value: &IInkTablets) -> Self {
7070         ::std::convert::From::from(::std::clone::Clone::clone(value))
7071     }
7072 }
7073 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkTablets {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7074     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7075         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7076     }
7077 }
7078 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkTablets {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7079     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7080         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7081     }
7082 }
7083 #[cfg(feature = "Win32_System_Ole_Automation")]
7084 impl ::std::convert::From<IInkTablets> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkTablets) -> Self7085     fn from(value: IInkTablets) -> Self {
7086         unsafe { ::std::mem::transmute(value) }
7087     }
7088 }
7089 #[cfg(feature = "Win32_System_Ole_Automation")]
7090 impl ::std::convert::From<&IInkTablets> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkTablets) -> Self7091     fn from(value: &IInkTablets) -> Self {
7092         ::std::convert::From::from(::std::clone::Clone::clone(value))
7093     }
7094 }
7095 #[cfg(feature = "Win32_System_Ole_Automation")]
7096 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkTablets {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7097     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7098         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7099     }
7100 }
7101 #[cfg(feature = "Win32_System_Ole_Automation")]
7102 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkTablets {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7103     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7104         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7105     }
7106 }
7107 #[repr(C)]
7108 #[doc(hidden)]
7109 pub struct IInkTablets_abi(
7110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7114     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7115     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7116     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7117     #[cfg(not(feature = "Win32_Foundation"))] usize,
7118     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7119     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7120     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7121     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: *mut i32) -> ::windows::runtime::HRESULT,
7122     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, _newenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, defaulttablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, tablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7125     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, packetpropertyname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, supported: *mut i16) -> ::windows::runtime::HRESULT,
7126     #[cfg(not(feature = "Win32_Foundation"))] usize,
7127 );
7128 #[repr(transparent)]
7129 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7130 pub struct IInkTransform(::windows::runtime::IUnknown);
7131 impl IInkTransform {
Reset(&self) -> ::windows::runtime::Result<()>7132     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
7133         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
7134     }
Translate(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()>7135     pub unsafe fn Translate(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()> {
7136         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalcomponent), ::std::mem::transmute(verticalcomponent)).ok()
7137     }
Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()>7138     pub unsafe fn Rotate(&self, degrees: f32, x: f32, y: f32) -> ::windows::runtime::Result<()> {
7139         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(degrees), ::std::mem::transmute(x), ::std::mem::transmute(y)).ok()
7140     }
Reflect(&self, horizontally: i16, vertically: i16) -> ::windows::runtime::Result<()>7141     pub unsafe fn Reflect(&self, horizontally: i16, vertically: i16) -> ::windows::runtime::Result<()> {
7142         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontally), ::std::mem::transmute(vertically)).ok()
7143     }
Shear(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()>7144     pub unsafe fn Shear(&self, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::Result<()> {
7145         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalcomponent), ::std::mem::transmute(verticalcomponent)).ok()
7146     }
ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()>7147     pub unsafe fn ScaleTransform(&self, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::Result<()> {
7148         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontalmultiplier), ::std::mem::transmute(verticalmultiplier)).ok()
7149     }
GetTransform(&self, em11: *mut f32, em12: *mut f32, em21: *mut f32, em22: *mut f32, edx: *mut f32, edy: *mut f32) -> ::windows::runtime::Result<()>7150     pub unsafe fn GetTransform(&self, em11: *mut f32, em12: *mut f32, em21: *mut f32, em22: *mut f32, edx: *mut f32, edy: *mut f32) -> ::windows::runtime::Result<()> {
7151         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(em11), ::std::mem::transmute(em12), ::std::mem::transmute(em21), ::std::mem::transmute(em22), ::std::mem::transmute(edx), ::std::mem::transmute(edy)).ok()
7152     }
SetTransform(&self, em11: f32, em12: f32, em21: f32, em22: f32, edx: f32, edy: f32) -> ::windows::runtime::Result<()>7153     pub unsafe fn SetTransform(&self, em11: f32, em12: f32, em21: f32, em22: f32, edx: f32, edy: f32) -> ::windows::runtime::Result<()> {
7154         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(em11), ::std::mem::transmute(em12), ::std::mem::transmute(em21), ::std::mem::transmute(em22), ::std::mem::transmute(edx), ::std::mem::transmute(edy)).ok()
7155     }
eM11(&self) -> ::windows::runtime::Result<f32>7156     pub unsafe fn eM11(&self) -> ::windows::runtime::Result<f32> {
7157         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7158         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7159     }
SeteM11(&self, value: f32) -> ::windows::runtime::Result<()>7160     pub unsafe fn SeteM11(&self, value: f32) -> ::windows::runtime::Result<()> {
7161         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7162     }
eM12(&self) -> ::windows::runtime::Result<f32>7163     pub unsafe fn eM12(&self) -> ::windows::runtime::Result<f32> {
7164         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7165         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7166     }
SeteM12(&self, value: f32) -> ::windows::runtime::Result<()>7167     pub unsafe fn SeteM12(&self, value: f32) -> ::windows::runtime::Result<()> {
7168         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7169     }
eM21(&self) -> ::windows::runtime::Result<f32>7170     pub unsafe fn eM21(&self) -> ::windows::runtime::Result<f32> {
7171         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7172         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7173     }
SeteM21(&self, value: f32) -> ::windows::runtime::Result<()>7174     pub unsafe fn SeteM21(&self, value: f32) -> ::windows::runtime::Result<()> {
7175         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7176     }
eM22(&self) -> ::windows::runtime::Result<f32>7177     pub unsafe fn eM22(&self) -> ::windows::runtime::Result<f32> {
7178         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7179         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7180     }
SeteM22(&self, value: f32) -> ::windows::runtime::Result<()>7181     pub unsafe fn SeteM22(&self, value: f32) -> ::windows::runtime::Result<()> {
7182         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7183     }
eDx(&self) -> ::windows::runtime::Result<f32>7184     pub unsafe fn eDx(&self) -> ::windows::runtime::Result<f32> {
7185         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7186         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7187     }
SeteDx(&self, value: f32) -> ::windows::runtime::Result<()>7188     pub unsafe fn SeteDx(&self, value: f32) -> ::windows::runtime::Result<()> {
7189         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7190     }
eDy(&self) -> ::windows::runtime::Result<f32>7191     pub unsafe fn eDy(&self) -> ::windows::runtime::Result<f32> {
7192         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7193         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
7194     }
SeteDy(&self, value: f32) -> ::windows::runtime::Result<()>7195     pub unsafe fn SeteDy(&self, value: f32) -> ::windows::runtime::Result<()> {
7196         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7197     }
7198     #[cfg(feature = "Win32_Graphics_Gdi")]
Data(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::XFORM>7199     pub unsafe fn Data(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::XFORM> {
7200         let mut result__: <super::super::Graphics::Gdi::XFORM as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7201         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Graphics::Gdi::XFORM>(result__)
7202     }
7203     #[cfg(feature = "Win32_Graphics_Gdi")]
SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::XFORM>>(&self, xform: Param0) -> ::windows::runtime::Result<()>7204     pub unsafe fn SetData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::XFORM>>(&self, xform: Param0) -> ::windows::runtime::Result<()> {
7205         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), xform.into_param().abi()).ok()
7206     }
7207 }
7208 unsafe impl ::windows::runtime::Interface for IInkTransform {
7209     type Vtable = IInkTransform_abi;
7210     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1633623363, 34563, 17765, [136, 226, 130, 1, 210, 236, 215, 183]);
7211 }
7212 impl ::std::convert::From<IInkTransform> for ::windows::runtime::IUnknown {
from(value: IInkTransform) -> Self7213     fn from(value: IInkTransform) -> Self {
7214         unsafe { ::std::mem::transmute(value) }
7215     }
7216 }
7217 impl ::std::convert::From<&IInkTransform> for ::windows::runtime::IUnknown {
from(value: &IInkTransform) -> Self7218     fn from(value: &IInkTransform) -> Self {
7219         ::std::convert::From::from(::std::clone::Clone::clone(value))
7220     }
7221 }
7222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkTransform {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7225     }
7226 }
7227 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkTransform {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7228     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7229         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7230     }
7231 }
7232 #[cfg(feature = "Win32_System_Ole_Automation")]
7233 impl ::std::convert::From<IInkTransform> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkTransform) -> Self7234     fn from(value: IInkTransform) -> Self {
7235         unsafe { ::std::mem::transmute(value) }
7236     }
7237 }
7238 #[cfg(feature = "Win32_System_Ole_Automation")]
7239 impl ::std::convert::From<&IInkTransform> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkTransform) -> Self7240     fn from(value: &IInkTransform) -> Self {
7241         ::std::convert::From::from(::std::clone::Clone::clone(value))
7242     }
7243 }
7244 #[cfg(feature = "Win32_System_Ole_Automation")]
7245 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkTransform {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7246     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7247         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7248     }
7249 }
7250 #[cfg(feature = "Win32_System_Ole_Automation")]
7251 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkTransform {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7252     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7253         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7254     }
7255 }
7256 #[repr(C)]
7257 #[doc(hidden)]
7258 pub struct IInkTransform_abi(
7259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7260     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7261     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7263     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7264     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7265     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7266     #[cfg(not(feature = "Win32_Foundation"))] usize,
7267     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7268     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7269     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7271     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::HRESULT,
7272     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, degrees: f32, x: f32, y: f32) -> ::windows::runtime::HRESULT,
7273     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontally: i16, vertically: i16) -> ::windows::runtime::HRESULT,
7274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalcomponent: f32, verticalcomponent: f32) -> ::windows::runtime::HRESULT,
7275     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontalmultiplier: f32, verticalmultiplier: f32) -> ::windows::runtime::HRESULT,
7276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, em11: *mut f32, em12: *mut f32, em21: *mut f32, em22: *mut f32, edx: *mut f32, edy: *mut f32) -> ::windows::runtime::HRESULT,
7277     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, em11: f32, em12: f32, em21: f32, em22: f32, edx: f32, edy: f32) -> ::windows::runtime::HRESULT,
7278     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7279     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7280     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7281     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7283     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7284     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7285     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7286     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7287     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7288     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut f32) -> ::windows::runtime::HRESULT,
7289     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
7290     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xform: *mut super::super::Graphics::Gdi::XFORM) -> ::windows::runtime::HRESULT,
7291     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
7292     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xform: super::super::Graphics::Gdi::XFORM) -> ::windows::runtime::HRESULT,
7293     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
7294 );
7295 #[repr(transparent)]
7296 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7297 pub struct IInkWordList(::windows::runtime::IUnknown);
7298 impl IInkWordList {
7299     #[cfg(feature = "Win32_Foundation")]
AddWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newword: Param0) -> ::windows::runtime::Result<()>7300     pub unsafe fn AddWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newword: Param0) -> ::windows::runtime::Result<()> {
7301         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), newword.into_param().abi()).ok()
7302     }
7303     #[cfg(feature = "Win32_Foundation")]
RemoveWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, removeword: Param0) -> ::windows::runtime::Result<()>7304     pub unsafe fn RemoveWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, removeword: Param0) -> ::windows::runtime::Result<()> {
7305         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), removeword.into_param().abi()).ok()
7306     }
Merge<'a, Param0: ::windows::runtime::IntoParam<'a, IInkWordList>>(&self, mergewordlist: Param0) -> ::windows::runtime::Result<()>7307     pub unsafe fn Merge<'a, Param0: ::windows::runtime::IntoParam<'a, IInkWordList>>(&self, mergewordlist: Param0) -> ::windows::runtime::Result<()> {
7308         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), mergewordlist.into_param().abi()).ok()
7309     }
7310 }
7311 unsafe impl ::windows::runtime::Interface for IInkWordList {
7312     type Vtable = IInkWordList_abi;
7313     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1991914641, 52015, 16491, [153, 97, 14, 12, 76, 218, 174, 242]);
7314 }
7315 impl ::std::convert::From<IInkWordList> for ::windows::runtime::IUnknown {
from(value: IInkWordList) -> Self7316     fn from(value: IInkWordList) -> Self {
7317         unsafe { ::std::mem::transmute(value) }
7318     }
7319 }
7320 impl ::std::convert::From<&IInkWordList> for ::windows::runtime::IUnknown {
from(value: &IInkWordList) -> Self7321     fn from(value: &IInkWordList) -> Self {
7322         ::std::convert::From::from(::std::clone::Clone::clone(value))
7323     }
7324 }
7325 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkWordList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7326     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7327         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7328     }
7329 }
7330 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkWordList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7331     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7332         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7333     }
7334 }
7335 #[cfg(feature = "Win32_System_Ole_Automation")]
7336 impl ::std::convert::From<IInkWordList> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkWordList) -> Self7337     fn from(value: IInkWordList) -> Self {
7338         unsafe { ::std::mem::transmute(value) }
7339     }
7340 }
7341 #[cfg(feature = "Win32_System_Ole_Automation")]
7342 impl ::std::convert::From<&IInkWordList> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkWordList) -> Self7343     fn from(value: &IInkWordList) -> Self {
7344         ::std::convert::From::from(::std::clone::Clone::clone(value))
7345     }
7346 }
7347 #[cfg(feature = "Win32_System_Ole_Automation")]
7348 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkWordList {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7349     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7350         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7351     }
7352 }
7353 #[cfg(feature = "Win32_System_Ole_Automation")]
7354 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkWordList {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7355     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7356         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7357     }
7358 }
7359 #[repr(C)]
7360 #[doc(hidden)]
7361 pub struct IInkWordList_abi(
7362     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7363     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7364     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7365     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7366     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7367     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7368     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7369     #[cfg(not(feature = "Win32_Foundation"))] usize,
7370     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7371     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7372     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7373     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7374     #[cfg(not(feature = "Win32_Foundation"))] usize,
7375     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, removeword: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7376     #[cfg(not(feature = "Win32_Foundation"))] usize,
7377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mergewordlist: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7378 );
7379 #[repr(transparent)]
7380 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7381 pub struct IInkWordList2(::windows::runtime::IUnknown);
7382 impl IInkWordList2 {
7383     #[cfg(feature = "Win32_Foundation")]
AddWords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newwords: Param0) -> ::windows::runtime::Result<()>7384     pub unsafe fn AddWords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, newwords: Param0) -> ::windows::runtime::Result<()> {
7385         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), newwords.into_param().abi()).ok()
7386     }
7387 }
7388 unsafe impl ::windows::runtime::Interface for IInkWordList2 {
7389     type Vtable = IInkWordList2_abi;
7390     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(341058950, 4543, 20319, [182, 231, 73, 208, 116, 74, 171, 110]);
7391 }
7392 impl ::std::convert::From<IInkWordList2> for ::windows::runtime::IUnknown {
from(value: IInkWordList2) -> Self7393     fn from(value: IInkWordList2) -> Self {
7394         unsafe { ::std::mem::transmute(value) }
7395     }
7396 }
7397 impl ::std::convert::From<&IInkWordList2> for ::windows::runtime::IUnknown {
from(value: &IInkWordList2) -> Self7398     fn from(value: &IInkWordList2) -> Self {
7399         ::std::convert::From::from(::std::clone::Clone::clone(value))
7400     }
7401 }
7402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInkWordList2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7403     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7404         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7405     }
7406 }
7407 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInkWordList2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7408     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7409         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7410     }
7411 }
7412 #[cfg(feature = "Win32_System_Ole_Automation")]
7413 impl ::std::convert::From<IInkWordList2> for super::super::System::Ole::Automation::IDispatch {
from(value: IInkWordList2) -> Self7414     fn from(value: IInkWordList2) -> Self {
7415         unsafe { ::std::mem::transmute(value) }
7416     }
7417 }
7418 #[cfg(feature = "Win32_System_Ole_Automation")]
7419 impl ::std::convert::From<&IInkWordList2> for super::super::System::Ole::Automation::IDispatch {
from(value: &IInkWordList2) -> Self7420     fn from(value: &IInkWordList2) -> Self {
7421         ::std::convert::From::from(::std::clone::Clone::clone(value))
7422     }
7423 }
7424 #[cfg(feature = "Win32_System_Ole_Automation")]
7425 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IInkWordList2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7426     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7427         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7428     }
7429 }
7430 #[cfg(feature = "Win32_System_Ole_Automation")]
7431 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IInkWordList2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7432     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7433         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7434     }
7435 }
7436 #[repr(C)]
7437 #[doc(hidden)]
7438 pub struct IInkWordList2_abi(
7439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7443     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7444     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7445     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7446     #[cfg(not(feature = "Win32_Foundation"))] usize,
7447     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7448     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7449     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7450     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, newwords: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7451     #[cfg(not(feature = "Win32_Foundation"))] usize,
7452 );
7453 #[repr(transparent)]
7454 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7455 pub struct IInputPanelWindowHandle(::windows::runtime::IUnknown);
7456 impl IInputPanelWindowHandle {
AttachedEditWindow32(&self) -> ::windows::runtime::Result<i32>7457     pub unsafe fn AttachedEditWindow32(&self) -> ::windows::runtime::Result<i32> {
7458         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7459         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7460     }
SetAttachedEditWindow32(&self, attachededitwindow: i32) -> ::windows::runtime::Result<()>7461     pub unsafe fn SetAttachedEditWindow32(&self, attachededitwindow: i32) -> ::windows::runtime::Result<()> {
7462         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(attachededitwindow)).ok()
7463     }
AttachedEditWindow64(&self) -> ::windows::runtime::Result<i64>7464     pub unsafe fn AttachedEditWindow64(&self) -> ::windows::runtime::Result<i64> {
7465         let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7466         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__)
7467     }
SetAttachedEditWindow64(&self, attachededitwindow: i64) -> ::windows::runtime::Result<()>7468     pub unsafe fn SetAttachedEditWindow64(&self, attachededitwindow: i64) -> ::windows::runtime::Result<()> {
7469         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(attachededitwindow)).ok()
7470     }
7471 }
7472 unsafe impl ::windows::runtime::Interface for IInputPanelWindowHandle {
7473     type Vtable = IInputPanelWindowHandle_abi;
7474     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1257773127, 64964, 20419, [173, 11, 66, 36, 121, 193, 185, 53]);
7475 }
7476 impl ::std::convert::From<IInputPanelWindowHandle> for ::windows::runtime::IUnknown {
from(value: IInputPanelWindowHandle) -> Self7477     fn from(value: IInputPanelWindowHandle) -> Self {
7478         unsafe { ::std::mem::transmute(value) }
7479     }
7480 }
7481 impl ::std::convert::From<&IInputPanelWindowHandle> for ::windows::runtime::IUnknown {
from(value: &IInputPanelWindowHandle) -> Self7482     fn from(value: &IInputPanelWindowHandle) -> Self {
7483         ::std::convert::From::from(::std::clone::Clone::clone(value))
7484     }
7485 }
7486 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInputPanelWindowHandle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7487     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7488         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7489     }
7490 }
7491 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInputPanelWindowHandle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7492     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7493         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7494     }
7495 }
7496 #[repr(C)]
7497 #[doc(hidden)]
7498 pub struct IInputPanelWindowHandle_abi(
7499     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7500     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: *mut i32) -> ::windows::runtime::HRESULT,
7503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: i32) -> ::windows::runtime::HRESULT,
7504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: *mut i64) -> ::windows::runtime::HRESULT,
7505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: i64) -> ::windows::runtime::HRESULT,
7506 );
7507 #[repr(transparent)]
7508 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7509 pub struct IMathInputControl(::windows::runtime::IUnknown);
7510 impl IMathInputControl {
Show(&self) -> ::windows::runtime::Result<()>7511     pub unsafe fn Show(&self) -> ::windows::runtime::Result<()> {
7512         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
7513     }
Hide(&self) -> ::windows::runtime::Result<()>7514     pub unsafe fn Hide(&self) -> ::windows::runtime::Result<()> {
7515         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
7516     }
IsVisible(&self) -> ::windows::runtime::Result<i16>7517     pub unsafe fn IsVisible(&self) -> ::windows::runtime::Result<i16> {
7518         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7519         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
7520     }
GetPosition(&self, left: *mut i32, top: *mut i32, right: *mut i32, bottom: *mut i32) -> ::windows::runtime::Result<()>7521     pub unsafe fn GetPosition(&self, left: *mut i32, top: *mut i32, right: *mut i32, bottom: *mut i32) -> ::windows::runtime::Result<()> {
7522         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(right), ::std::mem::transmute(bottom)).ok()
7523     }
SetPosition(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()>7524     pub unsafe fn SetPosition(&self, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::Result<()> {
7525         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(right), ::std::mem::transmute(bottom)).ok()
7526     }
Clear(&self) -> ::windows::runtime::Result<()>7527     pub unsafe fn Clear(&self) -> ::windows::runtime::Result<()> {
7528         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
7529     }
SetCustomPaint(&self, element: i32, paint: i16) -> ::windows::runtime::Result<()>7530     pub unsafe fn SetCustomPaint(&self, element: i32, paint: i16) -> ::windows::runtime::Result<()> {
7531         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(element), ::std::mem::transmute(paint)).ok()
7532     }
7533     #[cfg(feature = "Win32_Foundation")]
SetCaptionText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, captiontext: Param0) -> ::windows::runtime::Result<()>7534     pub unsafe fn SetCaptionText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, captiontext: Param0) -> ::windows::runtime::Result<()> {
7535         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), captiontext.into_param().abi()).ok()
7536     }
LoadInk<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, ink: Param0) -> ::windows::runtime::Result<()>7537     pub unsafe fn LoadInk<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, ink: Param0) -> ::windows::runtime::Result<()> {
7538         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ink.into_param().abi()).ok()
7539     }
SetOwnerWindow(&self, ownerwindow: isize) -> ::windows::runtime::Result<()>7540     pub unsafe fn SetOwnerWindow(&self, ownerwindow: isize) -> ::windows::runtime::Result<()> {
7541         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ownerwindow)).ok()
7542     }
EnableExtendedButtons(&self, extended: i16) -> ::windows::runtime::Result<()>7543     pub unsafe fn EnableExtendedButtons(&self, extended: i16) -> ::windows::runtime::Result<()> {
7544         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(extended)).ok()
7545     }
GetPreviewHeight(&self) -> ::windows::runtime::Result<i32>7546     pub unsafe fn GetPreviewHeight(&self) -> ::windows::runtime::Result<i32> {
7547         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7548         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7549     }
SetPreviewHeight(&self, height: i32) -> ::windows::runtime::Result<()>7550     pub unsafe fn SetPreviewHeight(&self, height: i32) -> ::windows::runtime::Result<()> {
7551         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(height)).ok()
7552     }
EnableAutoGrow(&self, autogrow: i16) -> ::windows::runtime::Result<()>7553     pub unsafe fn EnableAutoGrow(&self, autogrow: i16) -> ::windows::runtime::Result<()> {
7554         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(autogrow)).ok()
7555     }
7556     #[cfg(feature = "Win32_Foundation")]
AddFunctionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, functionname: Param0) -> ::windows::runtime::Result<()>7557     pub unsafe fn AddFunctionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, functionname: Param0) -> ::windows::runtime::Result<()> {
7558         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), functionname.into_param().abi()).ok()
7559     }
7560     #[cfg(feature = "Win32_Foundation")]
RemoveFunctionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, functionname: Param0) -> ::windows::runtime::Result<()>7561     pub unsafe fn RemoveFunctionName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, functionname: Param0) -> ::windows::runtime::Result<()> {
7562         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), functionname.into_param().abi()).ok()
7563     }
7564     #[cfg(feature = "Win32_System_Ole")]
GetHoverIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp>7565     pub unsafe fn GetHoverIcon(&self) -> ::windows::runtime::Result<super::super::System::Ole::IPictureDisp> {
7566         let mut result__: <super::super::System::Ole::IPictureDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7567         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Ole::IPictureDisp>(result__)
7568     }
7569 }
7570 unsafe impl ::windows::runtime::Interface for IMathInputControl {
7571     type Vtable = IMathInputControl_abi;
7572     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3953530282, 64198, 18232, [186, 95, 255, 9, 233, 254, 71, 62]);
7573 }
7574 impl ::std::convert::From<IMathInputControl> for ::windows::runtime::IUnknown {
from(value: IMathInputControl) -> Self7575     fn from(value: IMathInputControl) -> Self {
7576         unsafe { ::std::mem::transmute(value) }
7577     }
7578 }
7579 impl ::std::convert::From<&IMathInputControl> for ::windows::runtime::IUnknown {
from(value: &IMathInputControl) -> Self7580     fn from(value: &IMathInputControl) -> Self {
7581         ::std::convert::From::from(::std::clone::Clone::clone(value))
7582     }
7583 }
7584 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMathInputControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7585     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7586         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7587     }
7588 }
7589 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMathInputControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7590     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7591         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7592     }
7593 }
7594 #[cfg(feature = "Win32_System_Ole_Automation")]
7595 impl ::std::convert::From<IMathInputControl> for super::super::System::Ole::Automation::IDispatch {
from(value: IMathInputControl) -> Self7596     fn from(value: IMathInputControl) -> Self {
7597         unsafe { ::std::mem::transmute(value) }
7598     }
7599 }
7600 #[cfg(feature = "Win32_System_Ole_Automation")]
7601 impl ::std::convert::From<&IMathInputControl> for super::super::System::Ole::Automation::IDispatch {
from(value: &IMathInputControl) -> Self7602     fn from(value: &IMathInputControl) -> Self {
7603         ::std::convert::From::from(::std::clone::Clone::clone(value))
7604     }
7605 }
7606 #[cfg(feature = "Win32_System_Ole_Automation")]
7607 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IMathInputControl {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7608     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7609         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7610     }
7611 }
7612 #[cfg(feature = "Win32_System_Ole_Automation")]
7613 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IMathInputControl {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7614     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7615         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7616     }
7617 }
7618 #[repr(C)]
7619 #[doc(hidden)]
7620 pub struct IMathInputControl_abi(
7621     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7622     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7625     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7626     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7627     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7628     #[cfg(not(feature = "Win32_Foundation"))] usize,
7629     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7630     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7631     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvbshown: *mut i16) -> ::windows::runtime::HRESULT,
7635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: *mut i32, top: *mut i32, right: *mut i32, bottom: *mut i32) -> ::windows::runtime::HRESULT,
7636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: i32, top: i32, right: i32, bottom: i32) -> ::windows::runtime::HRESULT,
7637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7638     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, element: i32, paint: i16) -> ::windows::runtime::HRESULT,
7639     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, captiontext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7640     #[cfg(not(feature = "Win32_Foundation"))] usize,
7641     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7642     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ownerwindow: isize) -> ::windows::runtime::HRESULT,
7643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, extended: i16) -> ::windows::runtime::HRESULT,
7644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, height: *mut i32) -> ::windows::runtime::HRESULT,
7645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, height: i32) -> ::windows::runtime::HRESULT,
7646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autogrow: i16) -> ::windows::runtime::HRESULT,
7647     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, functionname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7648     #[cfg(not(feature = "Win32_Foundation"))] usize,
7649     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, functionname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7650     #[cfg(not(feature = "Win32_Foundation"))] usize,
7651     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hoverimage: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7652     #[cfg(not(feature = "Win32_System_Ole"))] usize,
7653 );
7654 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7655 #[repr(C)]
7656 pub struct INKMETRIC {
7657     pub iHeight: i32,
7658     pub iFontAscent: i32,
7659     pub iFontDescent: i32,
7660     pub dwFlags: u32,
7661     pub color: u32,
7662 }
7663 impl INKMETRIC {}
7664 impl ::std::default::Default for INKMETRIC {
default() -> Self7665     fn default() -> Self {
7666         unsafe { ::std::mem::zeroed() }
7667     }
7668 }
7669 impl ::std::fmt::Debug for INKMETRIC {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7670     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7671         fmt.debug_struct("INKMETRIC").field("iHeight", &self.iHeight).field("iFontAscent", &self.iFontAscent).field("iFontDescent", &self.iFontDescent).field("dwFlags", &self.dwFlags).field("color", &self.color).finish()
7672     }
7673 }
7674 impl ::std::cmp::PartialEq for INKMETRIC {
eq(&self, other: &Self) -> bool7675     fn eq(&self, other: &Self) -> bool {
7676         self.iHeight == other.iHeight && self.iFontAscent == other.iFontAscent && self.iFontDescent == other.iFontDescent && self.dwFlags == other.dwFlags && self.color == other.color
7677     }
7678 }
7679 impl ::std::cmp::Eq for INKMETRIC {}
7680 unsafe impl ::windows::runtime::Abi for INKMETRIC {
7681     type Abi = Self;
7682     type DefaultType = Self;
7683 }
7684 pub const IP_CURSOR_DOWN: u32 = 1u32;
7685 pub const IP_INVERTED: u32 = 2u32;
7686 pub const IP_MARGIN: u32 = 4u32;
7687 #[repr(transparent)]
7688 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7689 pub struct IPenInputPanel(::windows::runtime::IUnknown);
7690 impl IPenInputPanel {
Busy(&self) -> ::windows::runtime::Result<i16>7691     pub unsafe fn Busy(&self) -> ::windows::runtime::Result<i16> {
7692         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7693         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
7694     }
7695     #[cfg(feature = "Win32_Foundation")]
Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7696     pub unsafe fn Factoid(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7697         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7698         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7699     }
7700     #[cfg(feature = "Win32_Foundation")]
SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, factoid: Param0) -> ::windows::runtime::Result<()>7701     pub unsafe fn SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, factoid: Param0) -> ::windows::runtime::Result<()> {
7702         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), factoid.into_param().abi()).ok()
7703     }
AttachedEditWindow(&self) -> ::windows::runtime::Result<i32>7704     pub unsafe fn AttachedEditWindow(&self) -> ::windows::runtime::Result<i32> {
7705         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7706         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7707     }
SetAttachedEditWindow(&self, attachededitwindow: i32) -> ::windows::runtime::Result<()>7708     pub unsafe fn SetAttachedEditWindow(&self, attachededitwindow: i32) -> ::windows::runtime::Result<()> {
7709         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(attachededitwindow)).ok()
7710     }
CurrentPanel(&self) -> ::windows::runtime::Result<PanelType>7711     pub unsafe fn CurrentPanel(&self) -> ::windows::runtime::Result<PanelType> {
7712         let mut result__: <PanelType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7713         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PanelType>(result__)
7714     }
SetCurrentPanel(&self, currentpanel: PanelType) -> ::windows::runtime::Result<()>7715     pub unsafe fn SetCurrentPanel(&self, currentpanel: PanelType) -> ::windows::runtime::Result<()> {
7716         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(currentpanel)).ok()
7717     }
DefaultPanel(&self) -> ::windows::runtime::Result<PanelType>7718     pub unsafe fn DefaultPanel(&self) -> ::windows::runtime::Result<PanelType> {
7719         let mut result__: <PanelType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7720         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PanelType>(result__)
7721     }
SetDefaultPanel(&self, defaultpanel: PanelType) -> ::windows::runtime::Result<()>7722     pub unsafe fn SetDefaultPanel(&self, defaultpanel: PanelType) -> ::windows::runtime::Result<()> {
7723         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(defaultpanel)).ok()
7724     }
Visible(&self) -> ::windows::runtime::Result<i16>7725     pub unsafe fn Visible(&self) -> ::windows::runtime::Result<i16> {
7726         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7727         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
7728     }
SetVisible(&self, visible: i16) -> ::windows::runtime::Result<()>7729     pub unsafe fn SetVisible(&self, visible: i16) -> ::windows::runtime::Result<()> {
7730         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(visible)).ok()
7731     }
Top(&self) -> ::windows::runtime::Result<i32>7732     pub unsafe fn Top(&self) -> ::windows::runtime::Result<i32> {
7733         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7734         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7735     }
Left(&self) -> ::windows::runtime::Result<i32>7736     pub unsafe fn Left(&self) -> ::windows::runtime::Result<i32> {
7737         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7738         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7739     }
Width(&self) -> ::windows::runtime::Result<i32>7740     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
7741         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7742         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7743     }
Height(&self) -> ::windows::runtime::Result<i32>7744     pub unsafe fn Height(&self) -> ::windows::runtime::Result<i32> {
7745         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7746         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7747     }
VerticalOffset(&self) -> ::windows::runtime::Result<i32>7748     pub unsafe fn VerticalOffset(&self) -> ::windows::runtime::Result<i32> {
7749         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7750         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7751     }
SetVerticalOffset(&self, verticaloffset: i32) -> ::windows::runtime::Result<()>7752     pub unsafe fn SetVerticalOffset(&self, verticaloffset: i32) -> ::windows::runtime::Result<()> {
7753         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(verticaloffset)).ok()
7754     }
HorizontalOffset(&self) -> ::windows::runtime::Result<i32>7755     pub unsafe fn HorizontalOffset(&self) -> ::windows::runtime::Result<i32> {
7756         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7757         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7758     }
SetHorizontalOffset(&self, horizontaloffset: i32) -> ::windows::runtime::Result<()>7759     pub unsafe fn SetHorizontalOffset(&self, horizontaloffset: i32) -> ::windows::runtime::Result<()> {
7760         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(horizontaloffset)).ok()
7761     }
AutoShow(&self) -> ::windows::runtime::Result<i16>7762     pub unsafe fn AutoShow(&self) -> ::windows::runtime::Result<i16> {
7763         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7764         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
7765     }
SetAutoShow(&self, autoshow: i16) -> ::windows::runtime::Result<()>7766     pub unsafe fn SetAutoShow(&self, autoshow: i16) -> ::windows::runtime::Result<()> {
7767         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(autoshow)).ok()
7768     }
MoveTo(&self, left: i32, top: i32) -> ::windows::runtime::Result<()>7769     pub unsafe fn MoveTo(&self, left: i32, top: i32) -> ::windows::runtime::Result<()> {
7770         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(left), ::std::mem::transmute(top)).ok()
7771     }
CommitPendingInput(&self) -> ::windows::runtime::Result<()>7772     pub unsafe fn CommitPendingInput(&self) -> ::windows::runtime::Result<()> {
7773         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self)).ok()
7774     }
Refresh(&self) -> ::windows::runtime::Result<()>7775     pub unsafe fn Refresh(&self) -> ::windows::runtime::Result<()> {
7776         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self)).ok()
7777     }
EnableTsf(&self, enable: i16) -> ::windows::runtime::Result<()>7778     pub unsafe fn EnableTsf(&self, enable: i16) -> ::windows::runtime::Result<()> {
7779         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(enable)).ok()
7780     }
7781 }
7782 unsafe impl ::windows::runtime::Interface for IPenInputPanel {
7783     type Vtable = IPenInputPanel_abi;
7784     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4202315907, 22343, 16448, [161, 130, 11, 14, 159, 212, 250, 199]);
7785 }
7786 impl ::std::convert::From<IPenInputPanel> for ::windows::runtime::IUnknown {
from(value: IPenInputPanel) -> Self7787     fn from(value: IPenInputPanel) -> Self {
7788         unsafe { ::std::mem::transmute(value) }
7789     }
7790 }
7791 impl ::std::convert::From<&IPenInputPanel> for ::windows::runtime::IUnknown {
from(value: &IPenInputPanel) -> Self7792     fn from(value: &IPenInputPanel) -> Self {
7793         ::std::convert::From::from(::std::clone::Clone::clone(value))
7794     }
7795 }
7796 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPenInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7797     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7798         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7799     }
7800 }
7801 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPenInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7802     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7803         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7804     }
7805 }
7806 #[cfg(feature = "Win32_System_Ole_Automation")]
7807 impl ::std::convert::From<IPenInputPanel> for super::super::System::Ole::Automation::IDispatch {
from(value: IPenInputPanel) -> Self7808     fn from(value: IPenInputPanel) -> Self {
7809         unsafe { ::std::mem::transmute(value) }
7810     }
7811 }
7812 #[cfg(feature = "Win32_System_Ole_Automation")]
7813 impl ::std::convert::From<&IPenInputPanel> for super::super::System::Ole::Automation::IDispatch {
from(value: &IPenInputPanel) -> Self7814     fn from(value: &IPenInputPanel) -> Self {
7815         ::std::convert::From::from(::std::clone::Clone::clone(value))
7816     }
7817 }
7818 #[cfg(feature = "Win32_System_Ole_Automation")]
7819 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for IPenInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7820     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7821         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
7822     }
7823 }
7824 #[cfg(feature = "Win32_System_Ole_Automation")]
7825 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &IPenInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>7826     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
7827         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7828     }
7829 }
7830 #[repr(C)]
7831 #[doc(hidden)]
7832 pub struct IPenInputPanel_abi(
7833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7837     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7838     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7839     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7840     #[cfg(not(feature = "Win32_Foundation"))] usize,
7841     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7842     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7843     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, busy: *mut i16) -> ::windows::runtime::HRESULT,
7845     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factoid: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7846     #[cfg(not(feature = "Win32_Foundation"))] usize,
7847     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factoid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7848     #[cfg(not(feature = "Win32_Foundation"))] usize,
7849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: *mut i32) -> ::windows::runtime::HRESULT,
7850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: i32) -> ::windows::runtime::HRESULT,
7851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentpanel: *mut PanelType) -> ::windows::runtime::HRESULT,
7852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentpanel: PanelType) -> ::windows::runtime::HRESULT,
7853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdefaultpanel: *mut PanelType) -> ::windows::runtime::HRESULT,
7854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, defaultpanel: PanelType) -> ::windows::runtime::HRESULT,
7855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visible: *mut i16) -> ::windows::runtime::HRESULT,
7856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visible: i16) -> ::windows::runtime::HRESULT,
7857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, top: *mut i32) -> ::windows::runtime::HRESULT,
7858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: *mut i32) -> ::windows::runtime::HRESULT,
7859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, width: *mut i32) -> ::windows::runtime::HRESULT,
7860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, height: *mut i32) -> ::windows::runtime::HRESULT,
7861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, verticaloffset: *mut i32) -> ::windows::runtime::HRESULT,
7862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, verticaloffset: i32) -> ::windows::runtime::HRESULT,
7863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontaloffset: *mut i32) -> ::windows::runtime::HRESULT,
7864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, horizontaloffset: i32) -> ::windows::runtime::HRESULT,
7865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pautoshow: *mut i16) -> ::windows::runtime::HRESULT,
7866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, autoshow: i16) -> ::windows::runtime::HRESULT,
7867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, left: i32, top: i32) -> ::windows::runtime::HRESULT,
7868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enable: i16) -> ::windows::runtime::HRESULT,
7871 );
7872 #[repr(transparent)]
7873 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7874 pub struct IRealTimeStylus(::windows::runtime::IUnknown);
7875 impl IRealTimeStylus {
7876     #[cfg(feature = "Win32_Foundation")]
Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7877     pub unsafe fn Enabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7878         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7879         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7880     }
7881     #[cfg(feature = "Win32_Foundation")]
SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>7882     pub unsafe fn SetEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
7883         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
7884     }
7885     #[cfg(feature = "Win32_Foundation")]
HWND(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR>7886     pub unsafe fn HWND(&self) -> ::windows::runtime::Result<super::super::Foundation::HANDLE_PTR> {
7887         let mut result__: <super::super::Foundation::HANDLE_PTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7888         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HANDLE_PTR>(result__)
7889     }
7890     #[cfg(feature = "Win32_Foundation")]
SetHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()>7891     pub unsafe fn SetHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE_PTR>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()> {
7892         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), hwnd.into_param().abi()).ok()
7893     }
7894     #[cfg(feature = "Win32_Foundation")]
WindowInputRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>7895     pub unsafe fn WindowInputRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
7896         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7897         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
7898     }
7899     #[cfg(feature = "Win32_Foundation")]
SetWindowInputRectangle(&self, prcwndinputrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7900     pub unsafe fn SetWindowInputRectangle(&self, prcwndinputrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7901         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcwndinputrect)).ok()
7902     }
AddStylusSyncPlugin<'a, Param1: ::windows::runtime::IntoParam<'a, IStylusSyncPlugin>>(&self, iindex: u32, piplugin: Param1) -> ::windows::runtime::Result<()>7903     pub unsafe fn AddStylusSyncPlugin<'a, Param1: ::windows::runtime::IntoParam<'a, IStylusSyncPlugin>>(&self, iindex: u32, piplugin: Param1) -> ::windows::runtime::Result<()> {
7904         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), piplugin.into_param().abi()).ok()
7905     }
RemoveStylusSyncPlugin(&self, iindex: u32, ppiplugin: *mut ::std::option::Option<IStylusSyncPlugin>) -> ::windows::runtime::Result<()>7906     pub unsafe fn RemoveStylusSyncPlugin(&self, iindex: u32, ppiplugin: *mut ::std::option::Option<IStylusSyncPlugin>) -> ::windows::runtime::Result<()> {
7907         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), ::std::mem::transmute(ppiplugin)).ok()
7908     }
RemoveAllStylusSyncPlugins(&self) -> ::windows::runtime::Result<()>7909     pub unsafe fn RemoveAllStylusSyncPlugins(&self) -> ::windows::runtime::Result<()> {
7910         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
7911     }
GetStylusSyncPlugin(&self, iindex: u32) -> ::windows::runtime::Result<IStylusSyncPlugin>7912     pub unsafe fn GetStylusSyncPlugin(&self, iindex: u32) -> ::windows::runtime::Result<IStylusSyncPlugin> {
7913         let mut result__: <IStylusSyncPlugin as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7914         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<IStylusSyncPlugin>(result__)
7915     }
GetStylusSyncPluginCount(&self) -> ::windows::runtime::Result<u32>7916     pub unsafe fn GetStylusSyncPluginCount(&self) -> ::windows::runtime::Result<u32> {
7917         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7918         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7919     }
AddStylusAsyncPlugin<'a, Param1: ::windows::runtime::IntoParam<'a, IStylusAsyncPlugin>>(&self, iindex: u32, piplugin: Param1) -> ::windows::runtime::Result<()>7920     pub unsafe fn AddStylusAsyncPlugin<'a, Param1: ::windows::runtime::IntoParam<'a, IStylusAsyncPlugin>>(&self, iindex: u32, piplugin: Param1) -> ::windows::runtime::Result<()> {
7921         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), piplugin.into_param().abi()).ok()
7922     }
RemoveStylusAsyncPlugin(&self, iindex: u32, ppiplugin: *mut ::std::option::Option<IStylusAsyncPlugin>) -> ::windows::runtime::Result<()>7923     pub unsafe fn RemoveStylusAsyncPlugin(&self, iindex: u32, ppiplugin: *mut ::std::option::Option<IStylusAsyncPlugin>) -> ::windows::runtime::Result<()> {
7924         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), ::std::mem::transmute(ppiplugin)).ok()
7925     }
RemoveAllStylusAsyncPlugins(&self) -> ::windows::runtime::Result<()>7926     pub unsafe fn RemoveAllStylusAsyncPlugins(&self) -> ::windows::runtime::Result<()> {
7927         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
7928     }
GetStylusAsyncPlugin(&self, iindex: u32) -> ::windows::runtime::Result<IStylusAsyncPlugin>7929     pub unsafe fn GetStylusAsyncPlugin(&self, iindex: u32) -> ::windows::runtime::Result<IStylusAsyncPlugin> {
7930         let mut result__: <IStylusAsyncPlugin as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7931         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(iindex), &mut result__).from_abi::<IStylusAsyncPlugin>(result__)
7932     }
GetStylusAsyncPluginCount(&self) -> ::windows::runtime::Result<u32>7933     pub unsafe fn GetStylusAsyncPluginCount(&self) -> ::windows::runtime::Result<u32> {
7934         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7935         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7936     }
ChildRealTimeStylusPlugin(&self) -> ::windows::runtime::Result<IRealTimeStylus>7937     pub unsafe fn ChildRealTimeStylusPlugin(&self) -> ::windows::runtime::Result<IRealTimeStylus> {
7938         let mut result__: <IRealTimeStylus as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7939         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IRealTimeStylus>(result__)
7940     }
putref_ChildRealTimeStylusPlugin<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirts: Param0) -> ::windows::runtime::Result<()>7941     pub unsafe fn putref_ChildRealTimeStylusPlugin<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirts: Param0) -> ::windows::runtime::Result<()> {
7942         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), pirts.into_param().abi()).ok()
7943     }
AddCustomStylusDataToQueue(&self, sq: StylusQueue, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()>7944     pub unsafe fn AddCustomStylusDataToQueue(&self, sq: StylusQueue, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()> {
7945         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(sq), ::std::mem::transmute(pguidid), ::std::mem::transmute(cbdata), ::std::mem::transmute(pbdata)).ok()
7946     }
ClearStylusQueues(&self) -> ::windows::runtime::Result<()>7947     pub unsafe fn ClearStylusQueues(&self) -> ::windows::runtime::Result<()> {
7948         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
7949     }
7950     #[cfg(feature = "Win32_Foundation")]
SetAllTabletsMode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fusemouseforinput: Param0) -> ::windows::runtime::Result<()>7951     pub unsafe fn SetAllTabletsMode<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fusemouseforinput: Param0) -> ::windows::runtime::Result<()> {
7952         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), fusemouseforinput.into_param().abi()).ok()
7953     }
SetSingleTabletMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pitablet: Param0) -> ::windows::runtime::Result<()>7954     pub unsafe fn SetSingleTabletMode<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pitablet: Param0) -> ::windows::runtime::Result<()> {
7955         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), pitablet.into_param().abi()).ok()
7956     }
GetTablet(&self) -> ::windows::runtime::Result<IInkTablet>7957     pub unsafe fn GetTablet(&self) -> ::windows::runtime::Result<IInkTablet> {
7958         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7959         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkTablet>(result__)
7960     }
GetTabletContextIdFromTablet<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pitablet: Param0) -> ::windows::runtime::Result<u32>7961     pub unsafe fn GetTabletContextIdFromTablet<'a, Param0: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pitablet: Param0) -> ::windows::runtime::Result<u32> {
7962         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7963         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), pitablet.into_param().abi(), &mut result__).from_abi::<u32>(result__)
7964     }
GetTabletFromTabletContextId(&self, tcid: u32) -> ::windows::runtime::Result<IInkTablet>7965     pub unsafe fn GetTabletFromTabletContextId(&self, tcid: u32) -> ::windows::runtime::Result<IInkTablet> {
7966         let mut result__: <IInkTablet as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7967         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(tcid), &mut result__).from_abi::<IInkTablet>(result__)
7968     }
GetAllTabletContextIds(&self, pctcidcount: *mut u32, pptcids: *mut *mut u32) -> ::windows::runtime::Result<()>7969     pub unsafe fn GetAllTabletContextIds(&self, pctcidcount: *mut u32, pptcids: *mut *mut u32) -> ::windows::runtime::Result<()> {
7970         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(pctcidcount), ::std::mem::transmute(pptcids)).ok()
7971     }
GetStyluses(&self) -> ::windows::runtime::Result<IInkCursors>7972     pub unsafe fn GetStyluses(&self) -> ::windows::runtime::Result<IInkCursors> {
7973         let mut result__: <IInkCursors as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7974         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkCursors>(result__)
7975     }
GetStylusForId(&self, sid: u32) -> ::windows::runtime::Result<IInkCursor>7976     pub unsafe fn GetStylusForId(&self, sid: u32) -> ::windows::runtime::Result<IInkCursor> {
7977         let mut result__: <IInkCursor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7978         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(sid), &mut result__).from_abi::<IInkCursor>(result__)
7979     }
SetDesiredPacketDescription(&self, cproperties: u32, ppropertyguids: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>7980     pub unsafe fn SetDesiredPacketDescription(&self, cproperties: u32, ppropertyguids: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
7981         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(cproperties), ::std::mem::transmute(ppropertyguids)).ok()
7982     }
GetDesiredPacketDescription(&self, pcproperties: *mut u32, pppropertyguids: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>7983     pub unsafe fn GetDesiredPacketDescription(&self, pcproperties: *mut u32, pppropertyguids: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
7984         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcproperties), ::std::mem::transmute(pppropertyguids)).ok()
7985     }
GetPacketDescriptionData(&self, tcid: u32, pfinktodevicescalex: *mut f32, pfinktodevicescaley: *mut f32, pcpacketproperties: *mut u32, pppacketproperties: *mut *mut PACKET_PROPERTY) -> ::windows::runtime::Result<()>7986     pub unsafe fn GetPacketDescriptionData(&self, tcid: u32, pfinktodevicescalex: *mut f32, pfinktodevicescaley: *mut f32, pcpacketproperties: *mut u32, pppacketproperties: *mut *mut PACKET_PROPERTY) -> ::windows::runtime::Result<()> {
7987         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(tcid), ::std::mem::transmute(pfinktodevicescalex), ::std::mem::transmute(pfinktodevicescaley), ::std::mem::transmute(pcpacketproperties), ::std::mem::transmute(pppacketproperties)).ok()
7988     }
7989 }
7990 unsafe impl ::windows::runtime::Interface for IRealTimeStylus {
7991     type Vtable = IRealTimeStylus_abi;
7992     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2830851362, 12612, 19067, [147, 205, 243, 74, 22, 190, 81, 58]);
7993 }
7994 impl ::std::convert::From<IRealTimeStylus> for ::windows::runtime::IUnknown {
from(value: IRealTimeStylus) -> Self7995     fn from(value: IRealTimeStylus) -> Self {
7996         unsafe { ::std::mem::transmute(value) }
7997     }
7998 }
7999 impl ::std::convert::From<&IRealTimeStylus> for ::windows::runtime::IUnknown {
from(value: &IRealTimeStylus) -> Self8000     fn from(value: &IRealTimeStylus) -> Self {
8001         ::std::convert::From::from(::std::clone::Clone::clone(value))
8002     }
8003 }
8004 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRealTimeStylus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8005     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8006         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8007     }
8008 }
8009 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRealTimeStylus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8010     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8011         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8012     }
8013 }
8014 #[repr(C)]
8015 #[doc(hidden)]
8016 pub struct IRealTimeStylus_abi(
8017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8020     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8021     #[cfg(not(feature = "Win32_Foundation"))] usize,
8022     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8023     #[cfg(not(feature = "Win32_Foundation"))] usize,
8024     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
8025     #[cfg(not(feature = "Win32_Foundation"))] usize,
8026     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HANDLE_PTR) -> ::windows::runtime::HRESULT,
8027     #[cfg(not(feature = "Win32_Foundation"))] usize,
8028     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcwndinputrect: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8029     #[cfg(not(feature = "Win32_Foundation"))] usize,
8030     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcwndinputrect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8031     #[cfg(not(feature = "Win32_Foundation"))] usize,
8032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, piplugin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, ppiplugin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, ppiplugin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplugins: *mut u32) -> ::windows::runtime::HRESULT,
8037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, piplugin: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, ppiplugin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iindex: u32, ppiplugin: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplugins: *mut u32) -> ::windows::runtime::HRESULT,
8042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppirts: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirts: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sq: StylusQueue, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::HRESULT,
8045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8046     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fusemouseforinput: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8047     #[cfg(not(feature = "Win32_Foundation"))] usize,
8048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppisingletablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitablet: ::windows::runtime::RawPtr, ptcid: *mut u32) -> ::windows::runtime::HRESULT,
8051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tcid: u32, ppitablet: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctcidcount: *mut u32, pptcids: *mut *mut u32) -> ::windows::runtime::HRESULT,
8053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiinkcursors: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sid: u32, ppiinkcursor: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cproperties: u32, ppropertyguids: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcproperties: *mut u32, pppropertyguids: *mut *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tcid: u32, pfinktodevicescalex: *mut f32, pfinktodevicescaley: *mut f32, pcpacketproperties: *mut u32, pppacketproperties: *mut *mut PACKET_PROPERTY) -> ::windows::runtime::HRESULT,
8058 );
8059 #[repr(transparent)]
8060 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8061 pub struct IRealTimeStylus2(::windows::runtime::IUnknown);
8062 impl IRealTimeStylus2 {
8063     #[cfg(feature = "Win32_Foundation")]
FlicksEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8064     pub unsafe fn FlicksEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8065         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8066         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8067     }
8068     #[cfg(feature = "Win32_Foundation")]
SetFlicksEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>8069     pub unsafe fn SetFlicksEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
8070         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
8071     }
8072 }
8073 unsafe impl ::windows::runtime::Interface for IRealTimeStylus2 {
8074     type Vtable = IRealTimeStylus2_abi;
8075     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3052578509, 12665, 19006, [185, 196, 187, 88, 101, 150, 43, 226]);
8076 }
8077 impl ::std::convert::From<IRealTimeStylus2> for ::windows::runtime::IUnknown {
from(value: IRealTimeStylus2) -> Self8078     fn from(value: IRealTimeStylus2) -> Self {
8079         unsafe { ::std::mem::transmute(value) }
8080     }
8081 }
8082 impl ::std::convert::From<&IRealTimeStylus2> for ::windows::runtime::IUnknown {
from(value: &IRealTimeStylus2) -> Self8083     fn from(value: &IRealTimeStylus2) -> Self {
8084         ::std::convert::From::from(::std::clone::Clone::clone(value))
8085     }
8086 }
8087 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRealTimeStylus2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8088     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8089         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8090     }
8091 }
8092 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRealTimeStylus2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8093     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8094         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8095     }
8096 }
8097 #[repr(C)]
8098 #[doc(hidden)]
8099 pub struct IRealTimeStylus2_abi(
8100     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8101     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8102     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8103     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8104     #[cfg(not(feature = "Win32_Foundation"))] usize,
8105     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8106     #[cfg(not(feature = "Win32_Foundation"))] usize,
8107 );
8108 #[repr(transparent)]
8109 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8110 pub struct IRealTimeStylus3(::windows::runtime::IUnknown);
8111 impl IRealTimeStylus3 {
8112     #[cfg(feature = "Win32_Foundation")]
MultiTouchEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8113     pub unsafe fn MultiTouchEnabled(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8114         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8115         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8116     }
8117     #[cfg(feature = "Win32_Foundation")]
SetMultiTouchEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>8118     pub unsafe fn SetMultiTouchEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
8119         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
8120     }
8121 }
8122 unsafe impl ::windows::runtime::Interface for IRealTimeStylus3 {
8123     type Vtable = IRealTimeStylus3_abi;
8124     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3607244963, 27014, 16465, [181, 122, 28, 246, 159, 77, 157, 181]);
8125 }
8126 impl ::std::convert::From<IRealTimeStylus3> for ::windows::runtime::IUnknown {
from(value: IRealTimeStylus3) -> Self8127     fn from(value: IRealTimeStylus3) -> Self {
8128         unsafe { ::std::mem::transmute(value) }
8129     }
8130 }
8131 impl ::std::convert::From<&IRealTimeStylus3> for ::windows::runtime::IUnknown {
from(value: &IRealTimeStylus3) -> Self8132     fn from(value: &IRealTimeStylus3) -> Self {
8133         ::std::convert::From::from(::std::clone::Clone::clone(value))
8134     }
8135 }
8136 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRealTimeStylus3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8137     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8138         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8139     }
8140 }
8141 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRealTimeStylus3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8142     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8143         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8144     }
8145 }
8146 #[repr(C)]
8147 #[doc(hidden)]
8148 pub struct IRealTimeStylus3_abi(
8149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8152     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8153     #[cfg(not(feature = "Win32_Foundation"))] usize,
8154     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8155     #[cfg(not(feature = "Win32_Foundation"))] usize,
8156 );
8157 #[repr(transparent)]
8158 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8159 pub struct IRealTimeStylusSynchronization(::windows::runtime::IUnknown);
8160 impl IRealTimeStylusSynchronization {
AcquireLock(&self, lock: RealTimeStylusLockType) -> ::windows::runtime::Result<()>8161     pub unsafe fn AcquireLock(&self, lock: RealTimeStylusLockType) -> ::windows::runtime::Result<()> {
8162         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(lock)).ok()
8163     }
ReleaseLock(&self, lock: RealTimeStylusLockType) -> ::windows::runtime::Result<()>8164     pub unsafe fn ReleaseLock(&self, lock: RealTimeStylusLockType) -> ::windows::runtime::Result<()> {
8165         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lock)).ok()
8166     }
8167 }
8168 unsafe impl ::windows::runtime::Interface for IRealTimeStylusSynchronization {
8169     type Vtable = IRealTimeStylusSynchronization_abi;
8170     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2861034168, 43850, 19690, [181, 203, 70, 216, 76, 106, 37, 9]);
8171 }
8172 impl ::std::convert::From<IRealTimeStylusSynchronization> for ::windows::runtime::IUnknown {
from(value: IRealTimeStylusSynchronization) -> Self8173     fn from(value: IRealTimeStylusSynchronization) -> Self {
8174         unsafe { ::std::mem::transmute(value) }
8175     }
8176 }
8177 impl ::std::convert::From<&IRealTimeStylusSynchronization> for ::windows::runtime::IUnknown {
from(value: &IRealTimeStylusSynchronization) -> Self8178     fn from(value: &IRealTimeStylusSynchronization) -> Self {
8179         ::std::convert::From::from(::std::clone::Clone::clone(value))
8180     }
8181 }
8182 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRealTimeStylusSynchronization {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8183     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8184         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8185     }
8186 }
8187 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRealTimeStylusSynchronization {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8188     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8189         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8190     }
8191 }
8192 #[repr(C)]
8193 #[doc(hidden)]
8194 pub struct IRealTimeStylusSynchronization_abi(
8195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8198     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lock: RealTimeStylusLockType) -> ::windows::runtime::HRESULT,
8199     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lock: RealTimeStylusLockType) -> ::windows::runtime::HRESULT,
8200 );
8201 #[repr(transparent)]
8202 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8203 pub struct ISketchInk(::windows::runtime::IUnknown);
8204 impl ISketchInk {}
8205 unsafe impl ::windows::runtime::Interface for ISketchInk {
8206     type Vtable = ISketchInk_abi;
8207     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3025548936, 39147, 17990, [178, 121, 68, 218, 20, 212, 87, 72]);
8208 }
8209 impl ::std::convert::From<ISketchInk> for ::windows::runtime::IUnknown {
from(value: ISketchInk) -> Self8210     fn from(value: ISketchInk) -> Self {
8211         unsafe { ::std::mem::transmute(value) }
8212     }
8213 }
8214 impl ::std::convert::From<&ISketchInk> for ::windows::runtime::IUnknown {
from(value: &ISketchInk) -> Self8215     fn from(value: &ISketchInk) -> Self {
8216         ::std::convert::From::from(::std::clone::Clone::clone(value))
8217     }
8218 }
8219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISketchInk {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8220     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8221         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8222     }
8223 }
8224 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISketchInk {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8225     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8226         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8227     }
8228 }
8229 #[cfg(feature = "Win32_System_Ole_Automation")]
8230 impl ::std::convert::From<ISketchInk> for super::super::System::Ole::Automation::IDispatch {
from(value: ISketchInk) -> Self8231     fn from(value: ISketchInk) -> Self {
8232         unsafe { ::std::mem::transmute(value) }
8233     }
8234 }
8235 #[cfg(feature = "Win32_System_Ole_Automation")]
8236 impl ::std::convert::From<&ISketchInk> for super::super::System::Ole::Automation::IDispatch {
from(value: &ISketchInk) -> Self8237     fn from(value: &ISketchInk) -> Self {
8238         ::std::convert::From::from(::std::clone::Clone::clone(value))
8239     }
8240 }
8241 #[cfg(feature = "Win32_System_Ole_Automation")]
8242 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for ISketchInk {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>8243     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
8244         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
8245     }
8246 }
8247 #[cfg(feature = "Win32_System_Ole_Automation")]
8248 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &ISketchInk {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>8249     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
8250         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
8251     }
8252 }
8253 #[repr(C)]
8254 #[doc(hidden)]
8255 pub struct ISketchInk_abi(
8256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8257     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8258     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
8260     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8261     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
8262     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
8263     #[cfg(not(feature = "Win32_Foundation"))] usize,
8264     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
8265     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
8266     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8267 );
8268 #[repr(transparent)]
8269 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8270 pub struct IStrokeBuilder(::windows::runtime::IUnknown);
8271 impl IStrokeBuilder {
CreateStroke(&self, cpktbufflength: u32, ppackets: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()>8272     pub unsafe fn CreateStroke(&self, cpktbufflength: u32, ppackets: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()> {
8273         (::windows::runtime::Interface::vtable(self).3)(
8274             ::std::mem::transmute_copy(self),
8275             ::std::mem::transmute(cpktbufflength),
8276             ::std::mem::transmute(ppackets),
8277             ::std::mem::transmute(cpacketproperties),
8278             ::std::mem::transmute(ppacketproperties),
8279             ::std::mem::transmute(finktodevicescalex),
8280             ::std::mem::transmute(finktodevicescaley),
8281             ::std::mem::transmute(ppiinkstroke),
8282         )
8283         .ok()
8284     }
BeginStroke(&self, tcid: u32, sid: u32, ppacket: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()>8285     pub unsafe fn BeginStroke(&self, tcid: u32, sid: u32, ppacket: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>) -> ::windows::runtime::Result<()> {
8286         (::windows::runtime::Interface::vtable(self).4)(
8287             ::std::mem::transmute_copy(self),
8288             ::std::mem::transmute(tcid),
8289             ::std::mem::transmute(sid),
8290             ::std::mem::transmute(ppacket),
8291             ::std::mem::transmute(cpacketproperties),
8292             ::std::mem::transmute(ppacketproperties),
8293             ::std::mem::transmute(finktodevicescalex),
8294             ::std::mem::transmute(finktodevicescaley),
8295             ::std::mem::transmute(ppiinkstroke),
8296         )
8297         .ok()
8298     }
AppendPackets(&self, tcid: u32, sid: u32, cpktbufflength: u32, ppackets: *const i32) -> ::windows::runtime::Result<()>8299     pub unsafe fn AppendPackets(&self, tcid: u32, sid: u32, cpktbufflength: u32, ppackets: *const i32) -> ::windows::runtime::Result<()> {
8300         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(tcid), ::std::mem::transmute(sid), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets)).ok()
8301     }
8302     #[cfg(feature = "Win32_Foundation")]
EndStroke(&self, tcid: u32, sid: u32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>, pdirtyrect: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()>8303     pub unsafe fn EndStroke(&self, tcid: u32, sid: u32, ppiinkstroke: *mut ::std::option::Option<IInkStrokeDisp>, pdirtyrect: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
8304         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(tcid), ::std::mem::transmute(sid), ::std::mem::transmute(ppiinkstroke), ::std::mem::transmute(pdirtyrect)).ok()
8305     }
Ink(&self) -> ::windows::runtime::Result<IInkDisp>8306     pub unsafe fn Ink(&self) -> ::windows::runtime::Result<IInkDisp> {
8307         let mut result__: <IInkDisp as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8308         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IInkDisp>(result__)
8309     }
putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, piinkobj: Param0) -> ::windows::runtime::Result<()>8310     pub unsafe fn putref_Ink<'a, Param0: ::windows::runtime::IntoParam<'a, IInkDisp>>(&self, piinkobj: Param0) -> ::windows::runtime::Result<()> {
8311         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), piinkobj.into_param().abi()).ok()
8312     }
8313 }
8314 unsafe impl ::windows::runtime::Interface for IStrokeBuilder {
8315     type Vtable = IStrokeBuilder_abi;
8316     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2784841261, 50251, 16530, [145, 119, 38, 9, 5, 235, 103, 43]);
8317 }
8318 impl ::std::convert::From<IStrokeBuilder> for ::windows::runtime::IUnknown {
from(value: IStrokeBuilder) -> Self8319     fn from(value: IStrokeBuilder) -> Self {
8320         unsafe { ::std::mem::transmute(value) }
8321     }
8322 }
8323 impl ::std::convert::From<&IStrokeBuilder> for ::windows::runtime::IUnknown {
from(value: &IStrokeBuilder) -> Self8324     fn from(value: &IStrokeBuilder) -> Self {
8325         ::std::convert::From::from(::std::clone::Clone::clone(value))
8326     }
8327 }
8328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IStrokeBuilder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8329     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8330         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8331     }
8332 }
8333 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IStrokeBuilder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8334     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8335         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8336     }
8337 }
8338 #[repr(C)]
8339 #[doc(hidden)]
8340 pub struct IStrokeBuilder_abi(
8341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpktbufflength: u32, ppackets: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tcid: u32, sid: u32, ppacket: *const i32, cpacketproperties: u32, ppacketproperties: *const PACKET_PROPERTY, finktodevicescalex: f32, finktodevicescaley: f32, ppiinkstroke: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tcid: u32, sid: u32, cpktbufflength: u32, ppackets: *const i32) -> ::windows::runtime::HRESULT,
8347     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tcid: u32, sid: u32, ppiinkstroke: *mut ::windows::runtime::RawPtr, pdirtyrect: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8348     #[cfg(not(feature = "Win32_Foundation"))] usize,
8349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppiinkobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piinkobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8351 );
8352 #[repr(transparent)]
8353 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8354 pub struct IStylusAsyncPlugin(::windows::runtime::IUnknown);
8355 impl IStylusAsyncPlugin {
RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8356     pub unsafe fn RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8357         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8358     }
RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8359     pub unsafe fn RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8360         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8361     }
StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8362     pub unsafe fn StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8363         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8364     }
StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8365     pub unsafe fn StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8366         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8367     }
8368     #[cfg(feature = "Win32_Foundation")]
StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8369     pub unsafe fn StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8370         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8371     }
8372     #[cfg(feature = "Win32_Foundation")]
StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8373     pub unsafe fn StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8374         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8375     }
8376     #[cfg(feature = "Win32_Foundation")]
StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8377     pub unsafe fn StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8378         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8379     }
8380     #[cfg(feature = "Win32_Foundation")]
StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8381     pub unsafe fn StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8382         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8383     }
8384     #[cfg(feature = "Win32_Foundation")]
InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8385     pub unsafe fn InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8386         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8387     }
8388     #[cfg(feature = "Win32_Foundation")]
Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8389     pub unsafe fn Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8390         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8391     }
CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()>8392     pub unsafe fn CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()> {
8393         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pguidid), ::std::mem::transmute(cbdata), ::std::mem::transmute(pbdata)).ok()
8394     }
SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()>8395     pub unsafe fn SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()> {
8396         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid), ::std::mem::transmute(event), eventdata.into_param().abi()).ok()
8397     }
TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()>8398     pub unsafe fn TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()> {
8399         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), pitablet.into_param().abi()).ok()
8400     }
TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()>8401     pub unsafe fn TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()> {
8402         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(itabletindex)).ok()
8403     }
Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()>8404     pub unsafe fn Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()> {
8405         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), piplugin.into_param().abi(), ::std::mem::transmute(datainterest), ::std::mem::transmute(hrerrorcode), ::std::mem::transmute(lptrkey)).ok()
8406     }
UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()>8407     pub unsafe fn UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()> {
8408         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi()).ok()
8409     }
DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest>8410     pub unsafe fn DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest> {
8411         let mut result__: <RealTimeStylusDataInterest as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8412         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<RealTimeStylusDataInterest>(result__)
8413     }
8414 }
8415 unsafe impl ::windows::runtime::Interface for IStylusAsyncPlugin {
8416     type Vtable = IStylusAsyncPlugin_abi;
8417     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2815207514, 12732, 19666, [170, 220, 50, 137, 163, 175, 17, 200]);
8418 }
8419 impl ::std::convert::From<IStylusAsyncPlugin> for ::windows::runtime::IUnknown {
from(value: IStylusAsyncPlugin) -> Self8420     fn from(value: IStylusAsyncPlugin) -> Self {
8421         unsafe { ::std::mem::transmute(value) }
8422     }
8423 }
8424 impl ::std::convert::From<&IStylusAsyncPlugin> for ::windows::runtime::IUnknown {
from(value: &IStylusAsyncPlugin) -> Self8425     fn from(value: &IStylusAsyncPlugin) -> Self {
8426         ::std::convert::From::from(::std::clone::Clone::clone(value))
8427     }
8428 }
8429 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IStylusAsyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8430     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8431         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8432     }
8433 }
8434 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IStylusAsyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8435     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8436         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8437     }
8438 }
8439 impl ::std::convert::From<IStylusAsyncPlugin> for IStylusPlugin {
from(value: IStylusAsyncPlugin) -> Self8440     fn from(value: IStylusAsyncPlugin) -> Self {
8441         unsafe { ::std::mem::transmute(value) }
8442     }
8443 }
8444 impl ::std::convert::From<&IStylusAsyncPlugin> for IStylusPlugin {
from(value: &IStylusAsyncPlugin) -> Self8445     fn from(value: &IStylusAsyncPlugin) -> Self {
8446         ::std::convert::From::from(::std::clone::Clone::clone(value))
8447     }
8448 }
8449 impl<'a> ::windows::runtime::IntoParam<'a, IStylusPlugin> for IStylusAsyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin>8450     fn into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin> {
8451         ::windows::runtime::Param::Owned(::std::convert::Into::<IStylusPlugin>::into(self))
8452     }
8453 }
8454 impl<'a> ::windows::runtime::IntoParam<'a, IStylusPlugin> for &IStylusAsyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin>8455     fn into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin> {
8456         ::windows::runtime::Param::Owned(::std::convert::Into::<IStylusPlugin>::into(::std::clone::Clone::clone(self)))
8457     }
8458 }
8459 #[repr(C)]
8460 #[doc(hidden)]
8461 pub struct IStylusAsyncPlugin_abi(
8462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8469     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8470     #[cfg(not(feature = "Win32_Foundation"))] usize,
8471     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8472     #[cfg(not(feature = "Win32_Foundation"))] usize,
8473     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8474     #[cfg(not(feature = "Win32_Foundation"))] usize,
8475     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8476     #[cfg(not(feature = "Win32_Foundation"))] usize,
8477     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8478     #[cfg(not(feature = "Win32_Foundation"))] usize,
8479     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8480     #[cfg(not(feature = "Win32_Foundation"))] usize,
8481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::HRESULT,
8482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32, event: u16, eventdata: SYSTEM_EVENT_DATA) -> ::windows::runtime::HRESULT,
8483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pitablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, itabletindex: i32) -> ::windows::runtime::HRESULT,
8485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, piplugin: ::windows::runtime::RawPtr, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::HRESULT,
8486     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdatainterest: *mut RealTimeStylusDataInterest) -> ::windows::runtime::HRESULT,
8488 );
8489 #[repr(transparent)]
8490 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8491 pub struct IStylusPlugin(::windows::runtime::IUnknown);
8492 impl IStylusPlugin {
RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8493     pub unsafe fn RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8494         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8495     }
RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8496     pub unsafe fn RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8497         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8498     }
StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8499     pub unsafe fn StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8500         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8501     }
StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8502     pub unsafe fn StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8503         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8504     }
8505     #[cfg(feature = "Win32_Foundation")]
StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8506     pub unsafe fn StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8507         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8508     }
8509     #[cfg(feature = "Win32_Foundation")]
StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8510     pub unsafe fn StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8511         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8512     }
8513     #[cfg(feature = "Win32_Foundation")]
StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8514     pub unsafe fn StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8515         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8516     }
8517     #[cfg(feature = "Win32_Foundation")]
StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8518     pub unsafe fn StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8519         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8520     }
8521     #[cfg(feature = "Win32_Foundation")]
InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8522     pub unsafe fn InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8523         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8524     }
8525     #[cfg(feature = "Win32_Foundation")]
Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8526     pub unsafe fn Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8527         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8528     }
CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()>8529     pub unsafe fn CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()> {
8530         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pguidid), ::std::mem::transmute(cbdata), ::std::mem::transmute(pbdata)).ok()
8531     }
SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()>8532     pub unsafe fn SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()> {
8533         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid), ::std::mem::transmute(event), eventdata.into_param().abi()).ok()
8534     }
TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()>8535     pub unsafe fn TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()> {
8536         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), pitablet.into_param().abi()).ok()
8537     }
TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()>8538     pub unsafe fn TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()> {
8539         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(itabletindex)).ok()
8540     }
Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()>8541     pub unsafe fn Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()> {
8542         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), piplugin.into_param().abi(), ::std::mem::transmute(datainterest), ::std::mem::transmute(hrerrorcode), ::std::mem::transmute(lptrkey)).ok()
8543     }
UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()>8544     pub unsafe fn UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()> {
8545         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi()).ok()
8546     }
DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest>8547     pub unsafe fn DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest> {
8548         let mut result__: <RealTimeStylusDataInterest as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8549         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<RealTimeStylusDataInterest>(result__)
8550     }
8551 }
8552 unsafe impl ::windows::runtime::Interface for IStylusPlugin {
8553     type Vtable = IStylusPlugin_abi;
8554     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2819897048, 18263, 20433, [161, 133, 19, 63, 151, 198, 197, 69]);
8555 }
8556 impl ::std::convert::From<IStylusPlugin> for ::windows::runtime::IUnknown {
from(value: IStylusPlugin) -> Self8557     fn from(value: IStylusPlugin) -> Self {
8558         unsafe { ::std::mem::transmute(value) }
8559     }
8560 }
8561 impl ::std::convert::From<&IStylusPlugin> for ::windows::runtime::IUnknown {
from(value: &IStylusPlugin) -> Self8562     fn from(value: &IStylusPlugin) -> Self {
8563         ::std::convert::From::from(::std::clone::Clone::clone(value))
8564     }
8565 }
8566 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IStylusPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8567     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8568         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8569     }
8570 }
8571 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IStylusPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8572     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8573         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8574     }
8575 }
8576 #[repr(C)]
8577 #[doc(hidden)]
8578 pub struct IStylusPlugin_abi(
8579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8586     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8587     #[cfg(not(feature = "Win32_Foundation"))] usize,
8588     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8589     #[cfg(not(feature = "Win32_Foundation"))] usize,
8590     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8591     #[cfg(not(feature = "Win32_Foundation"))] usize,
8592     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8593     #[cfg(not(feature = "Win32_Foundation"))] usize,
8594     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8595     #[cfg(not(feature = "Win32_Foundation"))] usize,
8596     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8597     #[cfg(not(feature = "Win32_Foundation"))] usize,
8598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::HRESULT,
8599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32, event: u16, eventdata: SYSTEM_EVENT_DATA) -> ::windows::runtime::HRESULT,
8600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pitablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, itabletindex: i32) -> ::windows::runtime::HRESULT,
8602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, piplugin: ::windows::runtime::RawPtr, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::HRESULT,
8603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdatainterest: *mut RealTimeStylusDataInterest) -> ::windows::runtime::HRESULT,
8605 );
8606 #[repr(transparent)]
8607 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8608 pub struct IStylusSyncPlugin(::windows::runtime::IUnknown);
8609 impl IStylusSyncPlugin {
RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8610     pub unsafe fn RealTimeStylusEnabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8611         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8612     }
RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()>8613     pub unsafe fn RealTimeStylusDisabled<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::Result<()> {
8614         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(ctcidcount), ::std::mem::transmute(ptcids)).ok()
8615     }
StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8616     pub unsafe fn StylusInRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8617         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8618     }
StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()>8619     pub unsafe fn StylusOutOfRange<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, tcid: u32, sid: u32) -> ::windows::runtime::Result<()> {
8620         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid)).ok()
8621     }
8622     #[cfg(feature = "Win32_Foundation")]
StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8623     pub unsafe fn StylusDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8624         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8625     }
8626     #[cfg(feature = "Win32_Foundation")]
StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()>8627     pub unsafe fn StylusUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::Result<()> {
8628         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpropcountperpkt), ::std::mem::transmute(ppacket), ::std::mem::transmute(ppinoutpkt)).ok()
8629     }
8630     #[cfg(feature = "Win32_Foundation")]
StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8631     pub unsafe fn StylusButtonDown<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8632         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8633     }
8634     #[cfg(feature = "Win32_Foundation")]
StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()>8635     pub unsafe fn StylusButtonUp<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
8636         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(sid), ::std::mem::transmute(pguidstylusbutton), ::std::mem::transmute(pstyluspos)).ok()
8637     }
8638     #[cfg(feature = "Win32_Foundation")]
InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8639     pub unsafe fn InAirPackets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8640         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8641     }
8642     #[cfg(feature = "Win32_Foundation")]
Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()>8643     pub unsafe fn Packets<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::Result<()> {
8644         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pstylusinfo), ::std::mem::transmute(cpktcount), ::std::mem::transmute(cpktbufflength), ::std::mem::transmute(ppackets), ::std::mem::transmute(pcinoutpkts), ::std::mem::transmute(ppinoutpkts)).ok()
8645     }
CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()>8646     pub unsafe fn CustomStylusDataAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::Result<()> {
8647         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(pguidid), ::std::mem::transmute(cbdata), ::std::mem::transmute(pbdata)).ok()
8648     }
SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()>8649     pub unsafe fn SystemEvent<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param4: ::windows::runtime::IntoParam<'a, SYSTEM_EVENT_DATA>>(&self, pirtssrc: Param0, tcid: u32, sid: u32, event: u16, eventdata: Param4) -> ::windows::runtime::Result<()> {
8650         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(tcid), ::std::mem::transmute(sid), ::std::mem::transmute(event), eventdata.into_param().abi()).ok()
8651     }
TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()>8652     pub unsafe fn TabletAdded<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IInkTablet>>(&self, pirtssrc: Param0, pitablet: Param1) -> ::windows::runtime::Result<()> {
8653         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), pitablet.into_param().abi()).ok()
8654     }
TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()>8655     pub unsafe fn TabletRemoved<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0, itabletindex: i32) -> ::windows::runtime::Result<()> {
8656         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), ::std::mem::transmute(itabletindex)).ok()
8657     }
Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()>8658     pub unsafe fn Error<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>, Param1: ::windows::runtime::IntoParam<'a, IStylusPlugin>>(&self, pirtssrc: Param0, piplugin: Param1, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::Result<()> {
8659         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi(), piplugin.into_param().abi(), ::std::mem::transmute(datainterest), ::std::mem::transmute(hrerrorcode), ::std::mem::transmute(lptrkey)).ok()
8660     }
UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()>8661     pub unsafe fn UpdateMapping<'a, Param0: ::windows::runtime::IntoParam<'a, IRealTimeStylus>>(&self, pirtssrc: Param0) -> ::windows::runtime::Result<()> {
8662         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pirtssrc.into_param().abi()).ok()
8663     }
DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest>8664     pub unsafe fn DataInterest(&self) -> ::windows::runtime::Result<RealTimeStylusDataInterest> {
8665         let mut result__: <RealTimeStylusDataInterest as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8666         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<RealTimeStylusDataInterest>(result__)
8667     }
8668 }
8669 unsafe impl ::windows::runtime::Interface for IStylusSyncPlugin {
8670     type Vtable = IStylusSyncPlugin_abi;
8671     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2706878836, 18479, 19825, [163, 246, 58, 65, 221, 209, 27, 233]);
8672 }
8673 impl ::std::convert::From<IStylusSyncPlugin> for ::windows::runtime::IUnknown {
from(value: IStylusSyncPlugin) -> Self8674     fn from(value: IStylusSyncPlugin) -> Self {
8675         unsafe { ::std::mem::transmute(value) }
8676     }
8677 }
8678 impl ::std::convert::From<&IStylusSyncPlugin> for ::windows::runtime::IUnknown {
from(value: &IStylusSyncPlugin) -> Self8679     fn from(value: &IStylusSyncPlugin) -> Self {
8680         ::std::convert::From::from(::std::clone::Clone::clone(value))
8681     }
8682 }
8683 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IStylusSyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8684     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8685         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8686     }
8687 }
8688 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IStylusSyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8689     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8690         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8691     }
8692 }
8693 impl ::std::convert::From<IStylusSyncPlugin> for IStylusPlugin {
from(value: IStylusSyncPlugin) -> Self8694     fn from(value: IStylusSyncPlugin) -> Self {
8695         unsafe { ::std::mem::transmute(value) }
8696     }
8697 }
8698 impl ::std::convert::From<&IStylusSyncPlugin> for IStylusPlugin {
from(value: &IStylusSyncPlugin) -> Self8699     fn from(value: &IStylusSyncPlugin) -> Self {
8700         ::std::convert::From::from(::std::clone::Clone::clone(value))
8701     }
8702 }
8703 impl<'a> ::windows::runtime::IntoParam<'a, IStylusPlugin> for IStylusSyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin>8704     fn into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin> {
8705         ::windows::runtime::Param::Owned(::std::convert::Into::<IStylusPlugin>::into(self))
8706     }
8707 }
8708 impl<'a> ::windows::runtime::IntoParam<'a, IStylusPlugin> for &IStylusSyncPlugin {
into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin>8709     fn into_param(self) -> ::windows::runtime::Param<'a, IStylusPlugin> {
8710         ::windows::runtime::Param::Owned(::std::convert::Into::<IStylusPlugin>::into(::std::clone::Clone::clone(self)))
8711     }
8712 }
8713 #[repr(C)]
8714 #[doc(hidden)]
8715 pub struct IStylusSyncPlugin_abi(
8716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8718     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8719     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8720     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, ctcidcount: u32, ptcids: *const u32) -> ::windows::runtime::HRESULT,
8721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32) -> ::windows::runtime::HRESULT,
8723     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8724     #[cfg(not(feature = "Win32_Foundation"))] usize,
8725     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpropcountperpkt: u32, ppacket: *const i32, ppinoutpkt: *mut *mut i32) -> ::windows::runtime::HRESULT,
8726     #[cfg(not(feature = "Win32_Foundation"))] usize,
8727     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8728     #[cfg(not(feature = "Win32_Foundation"))] usize,
8729     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, sid: u32, pguidstylusbutton: *const ::windows::runtime::GUID, pstyluspos: *mut super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
8730     #[cfg(not(feature = "Win32_Foundation"))] usize,
8731     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8732     #[cfg(not(feature = "Win32_Foundation"))] usize,
8733     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pstylusinfo: *const StylusInfo, cpktcount: u32, cpktbufflength: u32, ppackets: *const i32, pcinoutpkts: *mut u32, ppinoutpkts: *mut *mut i32) -> ::windows::runtime::HRESULT,
8734     #[cfg(not(feature = "Win32_Foundation"))] usize,
8735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pguidid: *const ::windows::runtime::GUID, cbdata: u32, pbdata: *const u8) -> ::windows::runtime::HRESULT,
8736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, tcid: u32, sid: u32, event: u16, eventdata: SYSTEM_EVENT_DATA) -> ::windows::runtime::HRESULT,
8737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, pitablet: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, itabletindex: i32) -> ::windows::runtime::HRESULT,
8739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr, piplugin: ::windows::runtime::RawPtr, datainterest: RealTimeStylusDataInterest, hrerrorcode: ::windows::runtime::HRESULT, lptrkey: *mut isize) -> ::windows::runtime::HRESULT,
8740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pirtssrc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdatainterest: *mut RealTimeStylusDataInterest) -> ::windows::runtime::HRESULT,
8742 );
8743 #[repr(transparent)]
8744 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8745 pub struct ITextInputPanel(::windows::runtime::IUnknown);
8746 impl ITextInputPanel {
8747     #[cfg(feature = "Win32_Foundation")]
AttachedEditWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>8748     pub unsafe fn AttachedEditWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
8749         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8750         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
8751     }
8752     #[cfg(feature = "Win32_Foundation")]
SetAttachedEditWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, attachededitwindow: Param0) -> ::windows::runtime::Result<()>8753     pub unsafe fn SetAttachedEditWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, attachededitwindow: Param0) -> ::windows::runtime::Result<()> {
8754         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), attachededitwindow.into_param().abi()).ok()
8755     }
CurrentInteractionMode(&self) -> ::windows::runtime::Result<InteractionMode>8756     pub unsafe fn CurrentInteractionMode(&self) -> ::windows::runtime::Result<InteractionMode> {
8757         let mut result__: <InteractionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8758         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InteractionMode>(result__)
8759     }
DefaultInPlaceState(&self) -> ::windows::runtime::Result<InPlaceState>8760     pub unsafe fn DefaultInPlaceState(&self) -> ::windows::runtime::Result<InPlaceState> {
8761         let mut result__: <InPlaceState as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8762         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InPlaceState>(result__)
8763     }
SetDefaultInPlaceState(&self, state: InPlaceState) -> ::windows::runtime::Result<()>8764     pub unsafe fn SetDefaultInPlaceState(&self, state: InPlaceState) -> ::windows::runtime::Result<()> {
8765         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(state)).ok()
8766     }
CurrentInPlaceState(&self) -> ::windows::runtime::Result<InPlaceState>8767     pub unsafe fn CurrentInPlaceState(&self) -> ::windows::runtime::Result<InPlaceState> {
8768         let mut result__: <InPlaceState as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8769         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InPlaceState>(result__)
8770     }
DefaultInputArea(&self) -> ::windows::runtime::Result<PanelInputArea>8771     pub unsafe fn DefaultInputArea(&self) -> ::windows::runtime::Result<PanelInputArea> {
8772         let mut result__: <PanelInputArea as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8773         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PanelInputArea>(result__)
8774     }
SetDefaultInputArea(&self, area: PanelInputArea) -> ::windows::runtime::Result<()>8775     pub unsafe fn SetDefaultInputArea(&self, area: PanelInputArea) -> ::windows::runtime::Result<()> {
8776         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(area)).ok()
8777     }
CurrentInputArea(&self) -> ::windows::runtime::Result<PanelInputArea>8778     pub unsafe fn CurrentInputArea(&self) -> ::windows::runtime::Result<PanelInputArea> {
8779         let mut result__: <PanelInputArea as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8780         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PanelInputArea>(result__)
8781     }
CurrentCorrectionMode(&self) -> ::windows::runtime::Result<CorrectionMode>8782     pub unsafe fn CurrentCorrectionMode(&self) -> ::windows::runtime::Result<CorrectionMode> {
8783         let mut result__: <CorrectionMode as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8784         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<CorrectionMode>(result__)
8785     }
PreferredInPlaceDirection(&self) -> ::windows::runtime::Result<InPlaceDirection>8786     pub unsafe fn PreferredInPlaceDirection(&self) -> ::windows::runtime::Result<InPlaceDirection> {
8787         let mut result__: <InPlaceDirection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8788         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<InPlaceDirection>(result__)
8789     }
SetPreferredInPlaceDirection(&self, direction: InPlaceDirection) -> ::windows::runtime::Result<()>8790     pub unsafe fn SetPreferredInPlaceDirection(&self, direction: InPlaceDirection) -> ::windows::runtime::Result<()> {
8791         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(direction)).ok()
8792     }
8793     #[cfg(feature = "Win32_Foundation")]
ExpandPostInsertionCorrection(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8794     pub unsafe fn ExpandPostInsertionCorrection(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8795         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8796         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8797     }
8798     #[cfg(feature = "Win32_Foundation")]
SetExpandPostInsertionCorrection<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, expand: Param0) -> ::windows::runtime::Result<()>8799     pub unsafe fn SetExpandPostInsertionCorrection<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, expand: Param0) -> ::windows::runtime::Result<()> {
8800         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), expand.into_param().abi()).ok()
8801     }
8802     #[cfg(feature = "Win32_Foundation")]
InPlaceVisibleOnFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8803     pub unsafe fn InPlaceVisibleOnFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8804         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8805         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8806     }
8807     #[cfg(feature = "Win32_Foundation")]
SetInPlaceVisibleOnFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, visible: Param0) -> ::windows::runtime::Result<()>8808     pub unsafe fn SetInPlaceVisibleOnFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, visible: Param0) -> ::windows::runtime::Result<()> {
8809         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), visible.into_param().abi()).ok()
8810     }
8811     #[cfg(feature = "Win32_Foundation")]
InPlaceBoundingRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>8812     pub unsafe fn InPlaceBoundingRectangle(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
8813         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8814         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
8815     }
PopUpCorrectionHeight(&self) -> ::windows::runtime::Result<i32>8816     pub unsafe fn PopUpCorrectionHeight(&self) -> ::windows::runtime::Result<i32> {
8817         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8818         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
8819     }
PopDownCorrectionHeight(&self) -> ::windows::runtime::Result<i32>8820     pub unsafe fn PopDownCorrectionHeight(&self) -> ::windows::runtime::Result<i32> {
8821         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8822         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
8823     }
CommitPendingInput(&self) -> ::windows::runtime::Result<()>8824     pub unsafe fn CommitPendingInput(&self) -> ::windows::runtime::Result<()> {
8825         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
8826     }
8827     #[cfg(feature = "Win32_Foundation")]
SetInPlaceVisibility<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, visible: Param0) -> ::windows::runtime::Result<()>8828     pub unsafe fn SetInPlaceVisibility<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, visible: Param0) -> ::windows::runtime::Result<()> {
8829         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), visible.into_param().abi()).ok()
8830     }
SetInPlacePosition(&self, xposition: i32, yposition: i32, position: CorrectionPosition) -> ::windows::runtime::Result<()>8831     pub unsafe fn SetInPlacePosition(&self, xposition: i32, yposition: i32, position: CorrectionPosition) -> ::windows::runtime::Result<()> {
8832         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(xposition), ::std::mem::transmute(yposition), ::std::mem::transmute(position)).ok()
8833     }
SetInPlaceHoverTargetPosition(&self, xposition: i32, yposition: i32) -> ::windows::runtime::Result<()>8834     pub unsafe fn SetInPlaceHoverTargetPosition(&self, xposition: i32, yposition: i32) -> ::windows::runtime::Result<()> {
8835         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(xposition), ::std::mem::transmute(yposition)).ok()
8836     }
Advise<'a, Param0: ::windows::runtime::IntoParam<'a, ITextInputPanelEventSink>>(&self, eventsink: Param0, eventmask: u32) -> ::windows::runtime::Result<()>8837     pub unsafe fn Advise<'a, Param0: ::windows::runtime::IntoParam<'a, ITextInputPanelEventSink>>(&self, eventsink: Param0, eventmask: u32) -> ::windows::runtime::Result<()> {
8838         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), eventsink.into_param().abi(), ::std::mem::transmute(eventmask)).ok()
8839     }
Unadvise<'a, Param0: ::windows::runtime::IntoParam<'a, ITextInputPanelEventSink>>(&self, eventsink: Param0) -> ::windows::runtime::Result<()>8840     pub unsafe fn Unadvise<'a, Param0: ::windows::runtime::IntoParam<'a, ITextInputPanelEventSink>>(&self, eventsink: Param0) -> ::windows::runtime::Result<()> {
8841         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), eventsink.into_param().abi()).ok()
8842     }
8843 }
8844 unsafe impl ::windows::runtime::Interface for ITextInputPanel {
8845     type Vtable = ITextInputPanel_abi;
8846     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1802134949, 27379, 18114, [182, 234, 86, 205, 31, 128, 223, 113]);
8847 }
8848 impl ::std::convert::From<ITextInputPanel> for ::windows::runtime::IUnknown {
from(value: ITextInputPanel) -> Self8849     fn from(value: ITextInputPanel) -> Self {
8850         unsafe { ::std::mem::transmute(value) }
8851     }
8852 }
8853 impl ::std::convert::From<&ITextInputPanel> for ::windows::runtime::IUnknown {
from(value: &ITextInputPanel) -> Self8854     fn from(value: &ITextInputPanel) -> Self {
8855         ::std::convert::From::from(::std::clone::Clone::clone(value))
8856     }
8857 }
8858 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8859     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8860         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8861     }
8862 }
8863 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextInputPanel {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8864     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8865         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8866     }
8867 }
8868 #[repr(C)]
8869 #[doc(hidden)]
8870 pub struct ITextInputPanel_abi(
8871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8874     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
8875     #[cfg(not(feature = "Win32_Foundation"))] usize,
8876     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, attachededitwindow: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
8877     #[cfg(not(feature = "Win32_Foundation"))] usize,
8878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, currentinteractionmode: *mut InteractionMode) -> ::windows::runtime::HRESULT,
8879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, state: *mut InPlaceState) -> ::windows::runtime::HRESULT,
8880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, state: InPlaceState) -> ::windows::runtime::HRESULT,
8881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, state: *mut InPlaceState) -> ::windows::runtime::HRESULT,
8882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, area: *mut PanelInputArea) -> ::windows::runtime::HRESULT,
8883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, area: PanelInputArea) -> ::windows::runtime::HRESULT,
8884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, area: *mut PanelInputArea) -> ::windows::runtime::HRESULT,
8885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: *mut CorrectionMode) -> ::windows::runtime::HRESULT,
8886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, direction: *mut InPlaceDirection) -> ::windows::runtime::HRESULT,
8887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, direction: InPlaceDirection) -> ::windows::runtime::HRESULT,
8888     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, expand: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8889     #[cfg(not(feature = "Win32_Foundation"))] usize,
8890     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, expand: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8891     #[cfg(not(feature = "Win32_Foundation"))] usize,
8892     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visible: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8893     #[cfg(not(feature = "Win32_Foundation"))] usize,
8894     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visible: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8895     #[cfg(not(feature = "Win32_Foundation"))] usize,
8896     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, boundingrectangle: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8897     #[cfg(not(feature = "Win32_Foundation"))] usize,
8898     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, height: *mut i32) -> ::windows::runtime::HRESULT,
8899     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, height: *mut i32) -> ::windows::runtime::HRESULT,
8900     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8901     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, visible: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8902     #[cfg(not(feature = "Win32_Foundation"))] usize,
8903     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xposition: i32, yposition: i32, position: CorrectionPosition) -> ::windows::runtime::HRESULT,
8904     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, xposition: i32, yposition: i32) -> ::windows::runtime::HRESULT,
8905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventsink: ::windows::runtime::RawPtr, eventmask: u32) -> ::windows::runtime::HRESULT,
8906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, eventsink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8907 );
8908 #[repr(transparent)]
8909 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8910 pub struct ITextInputPanelEventSink(::windows::runtime::IUnknown);
8911 impl ITextInputPanelEventSink {
InPlaceStateChanging(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::Result<()>8912     pub unsafe fn InPlaceStateChanging(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::Result<()> {
8913         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldinplacestate), ::std::mem::transmute(newinplacestate)).ok()
8914     }
InPlaceStateChanged(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::Result<()>8915     pub unsafe fn InPlaceStateChanged(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::Result<()> {
8916         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldinplacestate), ::std::mem::transmute(newinplacestate)).ok()
8917     }
8918     #[cfg(feature = "Win32_Foundation")]
InPlaceSizeChanging<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, oldboundingrectangle: Param0, newboundingrectangle: Param1) -> ::windows::runtime::Result<()>8919     pub unsafe fn InPlaceSizeChanging<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, oldboundingrectangle: Param0, newboundingrectangle: Param1) -> ::windows::runtime::Result<()> {
8920         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), oldboundingrectangle.into_param().abi(), newboundingrectangle.into_param().abi()).ok()
8921     }
8922     #[cfg(feature = "Win32_Foundation")]
InPlaceSizeChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, oldboundingrectangle: Param0, newboundingrectangle: Param1) -> ::windows::runtime::Result<()>8923     pub unsafe fn InPlaceSizeChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, oldboundingrectangle: Param0, newboundingrectangle: Param1) -> ::windows::runtime::Result<()> {
8924         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), oldboundingrectangle.into_param().abi(), newboundingrectangle.into_param().abi()).ok()
8925     }
InputAreaChanging(&self, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::Result<()>8926     pub unsafe fn InputAreaChanging(&self, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::Result<()> {
8927         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldinputarea), ::std::mem::transmute(newinputarea)).ok()
8928     }
InputAreaChanged(&self, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::Result<()>8929     pub unsafe fn InputAreaChanged(&self, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::Result<()> {
8930         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldinputarea), ::std::mem::transmute(newinputarea)).ok()
8931     }
CorrectionModeChanging(&self, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::Result<()>8932     pub unsafe fn CorrectionModeChanging(&self, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::Result<()> {
8933         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldcorrectionmode), ::std::mem::transmute(newcorrectionmode)).ok()
8934     }
CorrectionModeChanged(&self, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::Result<()>8935     pub unsafe fn CorrectionModeChanged(&self, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::Result<()> {
8936         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(oldcorrectionmode), ::std::mem::transmute(newcorrectionmode)).ok()
8937     }
8938     #[cfg(feature = "Win32_Foundation")]
InPlaceVisibilityChanging<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, oldvisible: Param0, newvisible: Param1) -> ::windows::runtime::Result<()>8939     pub unsafe fn InPlaceVisibilityChanging<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, oldvisible: Param0, newvisible: Param1) -> ::windows::runtime::Result<()> {
8940         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), oldvisible.into_param().abi(), newvisible.into_param().abi()).ok()
8941     }
8942     #[cfg(feature = "Win32_Foundation")]
InPlaceVisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, oldvisible: Param0, newvisible: Param1) -> ::windows::runtime::Result<()>8943     pub unsafe fn InPlaceVisibilityChanged<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, oldvisible: Param0, newvisible: Param1) -> ::windows::runtime::Result<()> {
8944         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), oldvisible.into_param().abi(), newvisible.into_param().abi()).ok()
8945     }
8946     #[cfg(feature = "Win32_System_Com")]
TextInserting(&self, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()>8947     pub unsafe fn TextInserting(&self, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
8948         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ink)).ok()
8949     }
8950     #[cfg(feature = "Win32_System_Com")]
TextInserted(&self, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()>8951     pub unsafe fn TextInserted(&self, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
8952         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ink)).ok()
8953     }
8954 }
8955 unsafe impl ::windows::runtime::Interface for ITextInputPanelEventSink {
8956     type Vtable = ITextInputPanelEventSink_abi;
8957     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(659948552, 36452, 20449, [128, 78, 66, 18, 1, 88, 75, 49]);
8958 }
8959 impl ::std::convert::From<ITextInputPanelEventSink> for ::windows::runtime::IUnknown {
from(value: ITextInputPanelEventSink) -> Self8960     fn from(value: ITextInputPanelEventSink) -> Self {
8961         unsafe { ::std::mem::transmute(value) }
8962     }
8963 }
8964 impl ::std::convert::From<&ITextInputPanelEventSink> for ::windows::runtime::IUnknown {
from(value: &ITextInputPanelEventSink) -> Self8965     fn from(value: &ITextInputPanelEventSink) -> Self {
8966         ::std::convert::From::from(::std::clone::Clone::clone(value))
8967     }
8968 }
8969 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextInputPanelEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8970     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8971         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8972     }
8973 }
8974 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextInputPanelEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8975     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8976         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8977     }
8978 }
8979 #[repr(C)]
8980 #[doc(hidden)]
8981 pub struct ITextInputPanelEventSink_abi(
8982     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::HRESULT,
8986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> ::windows::runtime::HRESULT,
8987     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldboundingrectangle: super::super::Foundation::RECT, newboundingrectangle: super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8988     #[cfg(not(feature = "Win32_Foundation"))] usize,
8989     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldboundingrectangle: super::super::Foundation::RECT, newboundingrectangle: super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
8990     #[cfg(not(feature = "Win32_Foundation"))] usize,
8991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::HRESULT,
8992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldinputarea: PanelInputArea, newinputarea: PanelInputArea) -> ::windows::runtime::HRESULT,
8993     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::HRESULT,
8994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldcorrectionmode: CorrectionMode, newcorrectionmode: CorrectionMode) -> ::windows::runtime::HRESULT,
8995     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldvisible: super::super::Foundation::BOOL, newvisible: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8996     #[cfg(not(feature = "Win32_Foundation"))] usize,
8997     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, oldvisible: super::super::Foundation::BOOL, newvisible: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8998     #[cfg(not(feature = "Win32_Foundation"))] usize,
8999     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
9000     #[cfg(not(feature = "Win32_System_Com"))] usize,
9001     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ink: *const super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
9002     #[cfg(not(feature = "Win32_System_Com"))] usize,
9003 );
9004 #[repr(transparent)]
9005 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9006 pub struct ITextInputPanelRunInfo(::windows::runtime::IUnknown);
9007 impl ITextInputPanelRunInfo {
9008     #[cfg(feature = "Win32_Foundation")]
IsTipRunning(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>9009     pub unsafe fn IsTipRunning(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
9010         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9011         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
9012     }
9013 }
9014 unsafe impl ::windows::runtime::Interface for ITextInputPanelRunInfo {
9015     type Vtable = ITextInputPanelRunInfo_abi;
9016     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2671920488, 6432, 18636, [152, 17, 169, 147, 203, 245, 173, 186]);
9017 }
9018 impl ::std::convert::From<ITextInputPanelRunInfo> for ::windows::runtime::IUnknown {
from(value: ITextInputPanelRunInfo) -> Self9019     fn from(value: ITextInputPanelRunInfo) -> Self {
9020         unsafe { ::std::mem::transmute(value) }
9021     }
9022 }
9023 impl ::std::convert::From<&ITextInputPanelRunInfo> for ::windows::runtime::IUnknown {
from(value: &ITextInputPanelRunInfo) -> Self9024     fn from(value: &ITextInputPanelRunInfo) -> Self {
9025         ::std::convert::From::from(::std::clone::Clone::clone(value))
9026     }
9027 }
9028 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextInputPanelRunInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9029     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9030         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9031     }
9032 }
9033 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextInputPanelRunInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9034     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9035         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9036     }
9037 }
9038 #[repr(C)]
9039 #[doc(hidden)]
9040 pub struct ITextInputPanelRunInfo_abi(
9041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9044     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfrunning: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9045     #[cfg(not(feature = "Win32_Foundation"))] usize,
9046 );
9047 #[repr(transparent)]
9048 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9049 pub struct ITipAutoCompleteClient(::windows::runtime::IUnknown);
9050 impl ITipAutoCompleteClient {
9051     #[cfg(feature = "Win32_Foundation")]
AdviseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITipAutoCompleteProvider>>(&self, hwndfield: Param0, piprovider: Param1) -> ::windows::runtime::Result<()>9052     pub unsafe fn AdviseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITipAutoCompleteProvider>>(&self, hwndfield: Param0, piprovider: Param1) -> ::windows::runtime::Result<()> {
9053         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hwndfield.into_param().abi(), piprovider.into_param().abi()).ok()
9054     }
9055     #[cfg(feature = "Win32_Foundation")]
UnadviseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITipAutoCompleteProvider>>(&self, hwndfield: Param0, piprovider: Param1) -> ::windows::runtime::Result<()>9056     pub unsafe fn UnadviseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITipAutoCompleteProvider>>(&self, hwndfield: Param0, piprovider: Param1) -> ::windows::runtime::Result<()> {
9057         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndfield.into_param().abi(), piprovider.into_param().abi()).ok()
9058     }
UserSelection(&self) -> ::windows::runtime::Result<()>9059     pub unsafe fn UserSelection(&self) -> ::windows::runtime::Result<()> {
9060         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
9061     }
9062     #[cfg(feature = "Win32_Foundation")]
PreferredRects(&self, prcaclist: *const super::super::Foundation::RECT, prcfield: *const super::super::Foundation::RECT, prcmodifiedaclist: *mut super::super::Foundation::RECT, pfshownabovetip: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>9063     pub unsafe fn PreferredRects(&self, prcaclist: *const super::super::Foundation::RECT, prcfield: *const super::super::Foundation::RECT, prcmodifiedaclist: *mut super::super::Foundation::RECT, pfshownabovetip: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
9064         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcaclist), ::std::mem::transmute(prcfield), ::std::mem::transmute(prcmodifiedaclist), ::std::mem::transmute(pfshownabovetip)).ok()
9065     }
9066     #[cfg(feature = "Win32_Foundation")]
RequestShowUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndlist: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL>9067     pub unsafe fn RequestShowUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndlist: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
9068         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9069         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), hwndlist.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
9070     }
9071 }
9072 unsafe impl ::windows::runtime::Interface for ITipAutoCompleteClient {
9073     type Vtable = ITipAutoCompleteClient_abi;
9074     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1577553411, 33381, 19390, [148, 135, 210, 66, 237, 190, 249, 16]);
9075 }
9076 impl ::std::convert::From<ITipAutoCompleteClient> for ::windows::runtime::IUnknown {
from(value: ITipAutoCompleteClient) -> Self9077     fn from(value: ITipAutoCompleteClient) -> Self {
9078         unsafe { ::std::mem::transmute(value) }
9079     }
9080 }
9081 impl ::std::convert::From<&ITipAutoCompleteClient> for ::windows::runtime::IUnknown {
from(value: &ITipAutoCompleteClient) -> Self9082     fn from(value: &ITipAutoCompleteClient) -> Self {
9083         ::std::convert::From::from(::std::clone::Clone::clone(value))
9084     }
9085 }
9086 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITipAutoCompleteClient {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9087     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9088         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9089     }
9090 }
9091 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITipAutoCompleteClient {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9092     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9093         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9094     }
9095 }
9096 #[repr(C)]
9097 #[doc(hidden)]
9098 pub struct ITipAutoCompleteClient_abi(
9099     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9100     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9101     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9102     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndfield: super::super::Foundation::HWND, piprovider: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9103     #[cfg(not(feature = "Win32_Foundation"))] usize,
9104     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndfield: super::super::Foundation::HWND, piprovider: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9105     #[cfg(not(feature = "Win32_Foundation"))] usize,
9106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9107     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcaclist: *const super::super::Foundation::RECT, prcfield: *const super::super::Foundation::RECT, prcmodifiedaclist: *mut super::super::Foundation::RECT, pfshownabovetip: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9108     #[cfg(not(feature = "Win32_Foundation"))] usize,
9109     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndlist: super::super::Foundation::HWND, pfallowshowing: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9110     #[cfg(not(feature = "Win32_Foundation"))] usize,
9111 );
9112 #[repr(transparent)]
9113 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9114 pub struct ITipAutoCompleteProvider(::windows::runtime::IUnknown);
9115 impl ITipAutoCompleteProvider {
9116     #[cfg(feature = "Win32_Foundation")]
UpdatePendingText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpendingtext: Param0) -> ::windows::runtime::Result<()>9117     pub unsafe fn UpdatePendingText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrpendingtext: Param0) -> ::windows::runtime::Result<()> {
9118         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), bstrpendingtext.into_param().abi()).ok()
9119     }
9120     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>9121     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
9122         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
9123     }
9124 }
9125 unsafe impl ::windows::runtime::Interface for ITipAutoCompleteProvider {
9126     type Vtable = ITipAutoCompleteProvider_abi;
9127     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2087515245, 33796, 18105, [173, 51, 245, 182, 3, 109, 64, 7]);
9128 }
9129 impl ::std::convert::From<ITipAutoCompleteProvider> for ::windows::runtime::IUnknown {
from(value: ITipAutoCompleteProvider) -> Self9130     fn from(value: ITipAutoCompleteProvider) -> Self {
9131         unsafe { ::std::mem::transmute(value) }
9132     }
9133 }
9134 impl ::std::convert::From<&ITipAutoCompleteProvider> for ::windows::runtime::IUnknown {
from(value: &ITipAutoCompleteProvider) -> Self9135     fn from(value: &ITipAutoCompleteProvider) -> Self {
9136         ::std::convert::From::from(::std::clone::Clone::clone(value))
9137     }
9138 }
9139 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITipAutoCompleteProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9140     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9141         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9142     }
9143 }
9144 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITipAutoCompleteProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9145     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9146         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9147     }
9148 }
9149 #[repr(C)]
9150 #[doc(hidden)]
9151 pub struct ITipAutoCompleteProvider_abi(
9152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9155     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrpendingtext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
9156     #[cfg(not(feature = "Win32_Foundation"))] usize,
9157     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9158     #[cfg(not(feature = "Win32_Foundation"))] usize,
9159 );
9160 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9161 #[repr(transparent)]
9162 pub struct InPlaceDirection(pub i32);
9163 pub const InPlaceDirection_Auto: InPlaceDirection = InPlaceDirection(0i32);
9164 pub const InPlaceDirection_Bottom: InPlaceDirection = InPlaceDirection(1i32);
9165 pub const InPlaceDirection_Top: InPlaceDirection = InPlaceDirection(2i32);
9166 impl ::std::convert::From<i32> for InPlaceDirection {
from(value: i32) -> Self9167     fn from(value: i32) -> Self {
9168         Self(value)
9169     }
9170 }
9171 unsafe impl ::windows::runtime::Abi for InPlaceDirection {
9172     type Abi = Self;
9173     type DefaultType = Self;
9174 }
9175 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9176 #[repr(transparent)]
9177 pub struct InPlaceState(pub i32);
9178 pub const InPlaceState_Auto: InPlaceState = InPlaceState(0i32);
9179 pub const InPlaceState_HoverTarget: InPlaceState = InPlaceState(1i32);
9180 pub const InPlaceState_Expanded: InPlaceState = InPlaceState(2i32);
9181 impl ::std::convert::From<i32> for InPlaceState {
from(value: i32) -> Self9182     fn from(value: i32) -> Self {
9183         Self(value)
9184     }
9185 }
9186 unsafe impl ::windows::runtime::Abi for InPlaceState {
9187     type Abi = Self;
9188     type DefaultType = Self;
9189 }
9190 pub const Ink: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(333335106, 36129, 19598, [191, 156, 143, 105, 203, 6, 143, 202]);
9191 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9192 #[repr(transparent)]
9193 pub struct InkApplicationGesture(pub i32);
9194 pub const IAG_AllGestures: InkApplicationGesture = InkApplicationGesture(0i32);
9195 pub const IAG_NoGesture: InkApplicationGesture = InkApplicationGesture(61440i32);
9196 pub const IAG_Scratchout: InkApplicationGesture = InkApplicationGesture(61441i32);
9197 pub const IAG_Triangle: InkApplicationGesture = InkApplicationGesture(61442i32);
9198 pub const IAG_Square: InkApplicationGesture = InkApplicationGesture(61443i32);
9199 pub const IAG_Star: InkApplicationGesture = InkApplicationGesture(61444i32);
9200 pub const IAG_Check: InkApplicationGesture = InkApplicationGesture(61445i32);
9201 pub const IAG_Curlicue: InkApplicationGesture = InkApplicationGesture(61456i32);
9202 pub const IAG_DoubleCurlicue: InkApplicationGesture = InkApplicationGesture(61457i32);
9203 pub const IAG_Circle: InkApplicationGesture = InkApplicationGesture(61472i32);
9204 pub const IAG_DoubleCircle: InkApplicationGesture = InkApplicationGesture(61473i32);
9205 pub const IAG_SemiCircleLeft: InkApplicationGesture = InkApplicationGesture(61480i32);
9206 pub const IAG_SemiCircleRight: InkApplicationGesture = InkApplicationGesture(61481i32);
9207 pub const IAG_ChevronUp: InkApplicationGesture = InkApplicationGesture(61488i32);
9208 pub const IAG_ChevronDown: InkApplicationGesture = InkApplicationGesture(61489i32);
9209 pub const IAG_ChevronLeft: InkApplicationGesture = InkApplicationGesture(61490i32);
9210 pub const IAG_ChevronRight: InkApplicationGesture = InkApplicationGesture(61491i32);
9211 pub const IAG_ArrowUp: InkApplicationGesture = InkApplicationGesture(61496i32);
9212 pub const IAG_ArrowDown: InkApplicationGesture = InkApplicationGesture(61497i32);
9213 pub const IAG_ArrowLeft: InkApplicationGesture = InkApplicationGesture(61498i32);
9214 pub const IAG_ArrowRight: InkApplicationGesture = InkApplicationGesture(61499i32);
9215 pub const IAG_Up: InkApplicationGesture = InkApplicationGesture(61528i32);
9216 pub const IAG_Down: InkApplicationGesture = InkApplicationGesture(61529i32);
9217 pub const IAG_Left: InkApplicationGesture = InkApplicationGesture(61530i32);
9218 pub const IAG_Right: InkApplicationGesture = InkApplicationGesture(61531i32);
9219 pub const IAG_UpDown: InkApplicationGesture = InkApplicationGesture(61536i32);
9220 pub const IAG_DownUp: InkApplicationGesture = InkApplicationGesture(61537i32);
9221 pub const IAG_LeftRight: InkApplicationGesture = InkApplicationGesture(61538i32);
9222 pub const IAG_RightLeft: InkApplicationGesture = InkApplicationGesture(61539i32);
9223 pub const IAG_UpLeftLong: InkApplicationGesture = InkApplicationGesture(61540i32);
9224 pub const IAG_UpRightLong: InkApplicationGesture = InkApplicationGesture(61541i32);
9225 pub const IAG_DownLeftLong: InkApplicationGesture = InkApplicationGesture(61542i32);
9226 pub const IAG_DownRightLong: InkApplicationGesture = InkApplicationGesture(61543i32);
9227 pub const IAG_UpLeft: InkApplicationGesture = InkApplicationGesture(61544i32);
9228 pub const IAG_UpRight: InkApplicationGesture = InkApplicationGesture(61545i32);
9229 pub const IAG_DownLeft: InkApplicationGesture = InkApplicationGesture(61546i32);
9230 pub const IAG_DownRight: InkApplicationGesture = InkApplicationGesture(61547i32);
9231 pub const IAG_LeftUp: InkApplicationGesture = InkApplicationGesture(61548i32);
9232 pub const IAG_LeftDown: InkApplicationGesture = InkApplicationGesture(61549i32);
9233 pub const IAG_RightUp: InkApplicationGesture = InkApplicationGesture(61550i32);
9234 pub const IAG_RightDown: InkApplicationGesture = InkApplicationGesture(61551i32);
9235 pub const IAG_Exclamation: InkApplicationGesture = InkApplicationGesture(61604i32);
9236 pub const IAG_Tap: InkApplicationGesture = InkApplicationGesture(61680i32);
9237 pub const IAG_DoubleTap: InkApplicationGesture = InkApplicationGesture(61681i32);
9238 impl ::std::convert::From<i32> for InkApplicationGesture {
from(value: i32) -> Self9239     fn from(value: i32) -> Self {
9240         Self(value)
9241     }
9242 }
9243 unsafe impl ::windows::runtime::Abi for InkApplicationGesture {
9244     type Abi = Self;
9245     type DefaultType = Self;
9246 }
9247 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9248 #[repr(transparent)]
9249 pub struct InkBoundingBoxMode(pub i32);
9250 pub const IBBM_Default: InkBoundingBoxMode = InkBoundingBoxMode(0i32);
9251 pub const IBBM_NoCurveFit: InkBoundingBoxMode = InkBoundingBoxMode(1i32);
9252 pub const IBBM_CurveFit: InkBoundingBoxMode = InkBoundingBoxMode(2i32);
9253 pub const IBBM_PointsOnly: InkBoundingBoxMode = InkBoundingBoxMode(3i32);
9254 pub const IBBM_Union: InkBoundingBoxMode = InkBoundingBoxMode(4i32);
9255 impl ::std::convert::From<i32> for InkBoundingBoxMode {
from(value: i32) -> Self9256     fn from(value: i32) -> Self {
9257         Self(value)
9258     }
9259 }
9260 unsafe impl ::windows::runtime::Abi for InkBoundingBoxMode {
9261     type Abi = Self;
9262     type DefaultType = Self;
9263 }
9264 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9265 #[repr(transparent)]
9266 pub struct InkClipboardFormats(pub i32);
9267 pub const ICF_None: InkClipboardFormats = InkClipboardFormats(0i32);
9268 pub const ICF_InkSerializedFormat: InkClipboardFormats = InkClipboardFormats(1i32);
9269 pub const ICF_SketchInk: InkClipboardFormats = InkClipboardFormats(2i32);
9270 pub const ICF_TextInk: InkClipboardFormats = InkClipboardFormats(6i32);
9271 pub const ICF_EnhancedMetafile: InkClipboardFormats = InkClipboardFormats(8i32);
9272 pub const ICF_Metafile: InkClipboardFormats = InkClipboardFormats(32i32);
9273 pub const ICF_Bitmap: InkClipboardFormats = InkClipboardFormats(64i32);
9274 pub const ICF_PasteMask: InkClipboardFormats = InkClipboardFormats(7i32);
9275 pub const ICF_CopyMask: InkClipboardFormats = InkClipboardFormats(127i32);
9276 pub const ICF_Default: InkClipboardFormats = InkClipboardFormats(127i32);
9277 impl ::std::convert::From<i32> for InkClipboardFormats {
from(value: i32) -> Self9278     fn from(value: i32) -> Self {
9279         Self(value)
9280     }
9281 }
9282 unsafe impl ::windows::runtime::Abi for InkClipboardFormats {
9283     type Abi = Self;
9284     type DefaultType = Self;
9285 }
9286 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9287 #[repr(transparent)]
9288 pub struct InkClipboardModes(pub i32);
9289 pub const ICB_Copy: InkClipboardModes = InkClipboardModes(0i32);
9290 pub const ICB_Cut: InkClipboardModes = InkClipboardModes(1i32);
9291 pub const ICB_ExtractOnly: InkClipboardModes = InkClipboardModes(48i32);
9292 pub const ICB_DelayedCopy: InkClipboardModes = InkClipboardModes(32i32);
9293 pub const ICB_Default: InkClipboardModes = InkClipboardModes(0i32);
9294 impl ::std::convert::From<i32> for InkClipboardModes {
from(value: i32) -> Self9295     fn from(value: i32) -> Self {
9296         Self(value)
9297     }
9298 }
9299 unsafe impl ::windows::runtime::Abi for InkClipboardModes {
9300     type Abi = Self;
9301     type DefaultType = Self;
9302 }
9303 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9304 #[repr(transparent)]
9305 pub struct InkCollectionMode(pub i32);
9306 pub const ICM_InkOnly: InkCollectionMode = InkCollectionMode(0i32);
9307 pub const ICM_GestureOnly: InkCollectionMode = InkCollectionMode(1i32);
9308 pub const ICM_InkAndGesture: InkCollectionMode = InkCollectionMode(2i32);
9309 impl ::std::convert::From<i32> for InkCollectionMode {
from(value: i32) -> Self9310     fn from(value: i32) -> Self {
9311         Self(value)
9312     }
9313 }
9314 unsafe impl ::windows::runtime::Abi for InkCollectionMode {
9315     type Abi = Self;
9316     type DefaultType = Self;
9317 }
9318 pub const InkCollector: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1140528467, 44404, 20200, [136, 228, 62, 109, 170, 201, 21, 219]);
9319 pub const InkCollectorClipInkToMargin: i32 = 0i32;
9320 pub const InkCollectorDefaultMargin: i32 = -2147483648i32;
9321 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9322 #[repr(transparent)]
9323 pub struct InkCollectorEventInterest(pub i32);
9324 pub const ICEI_DefaultEvents: InkCollectorEventInterest = InkCollectorEventInterest(-1i32);
9325 pub const ICEI_CursorDown: InkCollectorEventInterest = InkCollectorEventInterest(0i32);
9326 pub const ICEI_Stroke: InkCollectorEventInterest = InkCollectorEventInterest(1i32);
9327 pub const ICEI_NewPackets: InkCollectorEventInterest = InkCollectorEventInterest(2i32);
9328 pub const ICEI_NewInAirPackets: InkCollectorEventInterest = InkCollectorEventInterest(3i32);
9329 pub const ICEI_CursorButtonDown: InkCollectorEventInterest = InkCollectorEventInterest(4i32);
9330 pub const ICEI_CursorButtonUp: InkCollectorEventInterest = InkCollectorEventInterest(5i32);
9331 pub const ICEI_CursorInRange: InkCollectorEventInterest = InkCollectorEventInterest(6i32);
9332 pub const ICEI_CursorOutOfRange: InkCollectorEventInterest = InkCollectorEventInterest(7i32);
9333 pub const ICEI_SystemGesture: InkCollectorEventInterest = InkCollectorEventInterest(8i32);
9334 pub const ICEI_TabletAdded: InkCollectorEventInterest = InkCollectorEventInterest(9i32);
9335 pub const ICEI_TabletRemoved: InkCollectorEventInterest = InkCollectorEventInterest(10i32);
9336 pub const ICEI_MouseDown: InkCollectorEventInterest = InkCollectorEventInterest(11i32);
9337 pub const ICEI_MouseMove: InkCollectorEventInterest = InkCollectorEventInterest(12i32);
9338 pub const ICEI_MouseUp: InkCollectorEventInterest = InkCollectorEventInterest(13i32);
9339 pub const ICEI_MouseWheel: InkCollectorEventInterest = InkCollectorEventInterest(14i32);
9340 pub const ICEI_DblClick: InkCollectorEventInterest = InkCollectorEventInterest(15i32);
9341 pub const ICEI_AllEvents: InkCollectorEventInterest = InkCollectorEventInterest(16i32);
9342 impl ::std::convert::From<i32> for InkCollectorEventInterest {
from(value: i32) -> Self9343     fn from(value: i32) -> Self {
9344         Self(value)
9345     }
9346 }
9347 unsafe impl ::windows::runtime::Abi for InkCollectorEventInterest {
9348     type Abi = Self;
9349     type DefaultType = Self;
9350 }
9351 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9352 #[repr(transparent)]
9353 pub struct InkCursorButtonState(pub i32);
9354 pub const ICBS_Unavailable: InkCursorButtonState = InkCursorButtonState(0i32);
9355 pub const ICBS_Up: InkCursorButtonState = InkCursorButtonState(1i32);
9356 pub const ICBS_Down: InkCursorButtonState = InkCursorButtonState(2i32);
9357 impl ::std::convert::From<i32> for InkCursorButtonState {
from(value: i32) -> Self9358     fn from(value: i32) -> Self {
9359         Self(value)
9360     }
9361 }
9362 unsafe impl ::windows::runtime::Abi for InkCursorButtonState {
9363     type Abi = Self;
9364     type DefaultType = Self;
9365 }
9366 pub const InkDisp: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2474383924, 5405, 17936, [156, 166, 168, 204, 155, 219, 93, 131]);
9367 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9368 #[repr(transparent)]
9369 pub struct InkDisplayMode(pub i32);
9370 pub const IDM_Ink: InkDisplayMode = InkDisplayMode(0i32);
9371 pub const IDM_Text: InkDisplayMode = InkDisplayMode(1i32);
9372 impl ::std::convert::From<i32> for InkDisplayMode {
from(value: i32) -> Self9373     fn from(value: i32) -> Self {
9374         Self(value)
9375     }
9376 }
9377 unsafe impl ::windows::runtime::Abi for InkDisplayMode {
9378     type Abi = Self;
9379     type DefaultType = Self;
9380 }
9381 pub const InkDivider: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2287269536, 18051, 19175, [145, 145, 117, 47, 230, 70, 18, 195]);
9382 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9383 #[repr(transparent)]
9384 pub struct InkDivisionType(pub i32);
9385 pub const IDT_Segment: InkDivisionType = InkDivisionType(0i32);
9386 pub const IDT_Line: InkDivisionType = InkDivisionType(1i32);
9387 pub const IDT_Paragraph: InkDivisionType = InkDivisionType(2i32);
9388 pub const IDT_Drawing: InkDivisionType = InkDivisionType(3i32);
9389 impl ::std::convert::From<i32> for InkDivisionType {
from(value: i32) -> Self9390     fn from(value: i32) -> Self {
9391         Self(value)
9392     }
9393 }
9394 unsafe impl ::windows::runtime::Abi for InkDivisionType {
9395     type Abi = Self;
9396     type DefaultType = Self;
9397 }
9398 pub const InkDrawingAttributes: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3636408994, 1445, 17603, [179, 170, 94, 128, 172, 125, 37, 118]);
9399 pub const InkEdit: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3855243765, 22468, 19928, [155, 214, 29, 238, 237, 210, 122, 244]);
9400 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9401 #[repr(transparent)]
9402 pub struct InkEditStatus(pub i32);
9403 pub const IES_Idle: InkEditStatus = InkEditStatus(0i32);
9404 pub const IES_Collecting: InkEditStatus = InkEditStatus(1i32);
9405 pub const IES_Recognizing: InkEditStatus = InkEditStatus(2i32);
9406 impl ::std::convert::From<i32> for InkEditStatus {
from(value: i32) -> Self9407     fn from(value: i32) -> Self {
9408         Self(value)
9409     }
9410 }
9411 unsafe impl ::windows::runtime::Abi for InkEditStatus {
9412     type Abi = Self;
9413     type DefaultType = Self;
9414 }
9415 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9416 #[repr(transparent)]
9417 pub struct InkExtractFlags(pub i32);
9418 pub const IEF_CopyFromOriginal: InkExtractFlags = InkExtractFlags(0i32);
9419 pub const IEF_RemoveFromOriginal: InkExtractFlags = InkExtractFlags(1i32);
9420 pub const IEF_Default: InkExtractFlags = InkExtractFlags(1i32);
9421 impl ::std::convert::From<i32> for InkExtractFlags {
from(value: i32) -> Self9422     fn from(value: i32) -> Self {
9423         Self(value)
9424     }
9425 }
9426 unsafe impl ::windows::runtime::Abi for InkExtractFlags {
9427     type Abi = Self;
9428     type DefaultType = Self;
9429 }
9430 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9431 #[repr(transparent)]
9432 pub struct InkInsertMode(pub i32);
9433 pub const IEM_InsertText: InkInsertMode = InkInsertMode(0i32);
9434 pub const IEM_InsertInk: InkInsertMode = InkInsertMode(1i32);
9435 impl ::std::convert::From<i32> for InkInsertMode {
from(value: i32) -> Self9436     fn from(value: i32) -> Self {
9437         Self(value)
9438     }
9439 }
9440 unsafe impl ::windows::runtime::Abi for InkInsertMode {
9441     type Abi = Self;
9442     type DefaultType = Self;
9443 }
9444 pub const InkMaxTransparencyValue: i32 = 255i32;
9445 pub const InkMinTransparencyValue: i32 = 0i32;
9446 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9447 #[repr(transparent)]
9448 pub struct InkMode(pub i32);
9449 pub const IEM_Disabled: InkMode = InkMode(0i32);
9450 pub const IEM_Ink: InkMode = InkMode(1i32);
9451 pub const IEM_InkAndGesture: InkMode = InkMode(2i32);
9452 impl ::std::convert::From<i32> for InkMode {
from(value: i32) -> Self9453     fn from(value: i32) -> Self {
9454         Self(value)
9455     }
9456 }
9457 unsafe impl ::windows::runtime::Abi for InkMode {
9458     type Abi = Self;
9459     type DefaultType = Self;
9460 }
9461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9462 #[repr(transparent)]
9463 pub struct InkMouseButton(pub i32);
9464 pub const IMF_Left: InkMouseButton = InkMouseButton(1i32);
9465 pub const IMF_Right: InkMouseButton = InkMouseButton(2i32);
9466 pub const IMF_Middle: InkMouseButton = InkMouseButton(4i32);
9467 impl ::std::convert::From<i32> for InkMouseButton {
from(value: i32) -> Self9468     fn from(value: i32) -> Self {
9469         Self(value)
9470     }
9471 }
9472 unsafe impl ::windows::runtime::Abi for InkMouseButton {
9473     type Abi = Self;
9474     type DefaultType = Self;
9475 }
9476 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9477 #[repr(transparent)]
9478 pub struct InkMousePointer(pub i32);
9479 pub const IMP_Default: InkMousePointer = InkMousePointer(0i32);
9480 pub const IMP_Arrow: InkMousePointer = InkMousePointer(1i32);
9481 pub const IMP_Crosshair: InkMousePointer = InkMousePointer(2i32);
9482 pub const IMP_Ibeam: InkMousePointer = InkMousePointer(3i32);
9483 pub const IMP_SizeNESW: InkMousePointer = InkMousePointer(4i32);
9484 pub const IMP_SizeNS: InkMousePointer = InkMousePointer(5i32);
9485 pub const IMP_SizeNWSE: InkMousePointer = InkMousePointer(6i32);
9486 pub const IMP_SizeWE: InkMousePointer = InkMousePointer(7i32);
9487 pub const IMP_UpArrow: InkMousePointer = InkMousePointer(8i32);
9488 pub const IMP_Hourglass: InkMousePointer = InkMousePointer(9i32);
9489 pub const IMP_NoDrop: InkMousePointer = InkMousePointer(10i32);
9490 pub const IMP_ArrowHourglass: InkMousePointer = InkMousePointer(11i32);
9491 pub const IMP_ArrowQuestion: InkMousePointer = InkMousePointer(12i32);
9492 pub const IMP_SizeAll: InkMousePointer = InkMousePointer(13i32);
9493 pub const IMP_Hand: InkMousePointer = InkMousePointer(14i32);
9494 pub const IMP_Custom: InkMousePointer = InkMousePointer(99i32);
9495 impl ::std::convert::From<i32> for InkMousePointer {
from(value: i32) -> Self9496     fn from(value: i32) -> Self {
9497         Self(value)
9498     }
9499 }
9500 unsafe impl ::windows::runtime::Abi for InkMousePointer {
9501     type Abi = Self;
9502     type DefaultType = Self;
9503 }
9504 pub const InkOverlay: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1708131910, 52707, 19080, [145, 99, 103, 105, 240, 241, 169, 125]);
9505 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9506 #[repr(transparent)]
9507 pub struct InkOverlayAttachMode(pub i32);
9508 pub const IOAM_Behind: InkOverlayAttachMode = InkOverlayAttachMode(0i32);
9509 pub const IOAM_InFront: InkOverlayAttachMode = InkOverlayAttachMode(1i32);
9510 impl ::std::convert::From<i32> for InkOverlayAttachMode {
from(value: i32) -> Self9511     fn from(value: i32) -> Self {
9512         Self(value)
9513     }
9514 }
9515 unsafe impl ::windows::runtime::Abi for InkOverlayAttachMode {
9516     type Abi = Self;
9517     type DefaultType = Self;
9518 }
9519 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9520 #[repr(transparent)]
9521 pub struct InkOverlayEditingMode(pub i32);
9522 pub const IOEM_Ink: InkOverlayEditingMode = InkOverlayEditingMode(0i32);
9523 pub const IOEM_Delete: InkOverlayEditingMode = InkOverlayEditingMode(1i32);
9524 pub const IOEM_Select: InkOverlayEditingMode = InkOverlayEditingMode(2i32);
9525 impl ::std::convert::From<i32> for InkOverlayEditingMode {
from(value: i32) -> Self9526     fn from(value: i32) -> Self {
9527         Self(value)
9528     }
9529 }
9530 unsafe impl ::windows::runtime::Abi for InkOverlayEditingMode {
9531     type Abi = Self;
9532     type DefaultType = Self;
9533 }
9534 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9535 #[repr(transparent)]
9536 pub struct InkOverlayEraserMode(pub i32);
9537 pub const IOERM_StrokeErase: InkOverlayEraserMode = InkOverlayEraserMode(0i32);
9538 pub const IOERM_PointErase: InkOverlayEraserMode = InkOverlayEraserMode(1i32);
9539 impl ::std::convert::From<i32> for InkOverlayEraserMode {
from(value: i32) -> Self9540     fn from(value: i32) -> Self {
9541         Self(value)
9542     }
9543 }
9544 unsafe impl ::windows::runtime::Abi for InkOverlayEraserMode {
9545     type Abi = Self;
9546     type DefaultType = Self;
9547 }
9548 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9549 #[repr(transparent)]
9550 pub struct InkPenTip(pub i32);
9551 pub const IPT_Ball: InkPenTip = InkPenTip(0i32);
9552 pub const IPT_Rectangle: InkPenTip = InkPenTip(1i32);
9553 impl ::std::convert::From<i32> for InkPenTip {
from(value: i32) -> Self9554     fn from(value: i32) -> Self {
9555         Self(value)
9556     }
9557 }
9558 unsafe impl ::windows::runtime::Abi for InkPenTip {
9559     type Abi = Self;
9560     type DefaultType = Self;
9561 }
9562 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9563 #[repr(transparent)]
9564 pub struct InkPersistenceCompressionMode(pub i32);
9565 pub const IPCM_Default: InkPersistenceCompressionMode = InkPersistenceCompressionMode(0i32);
9566 pub const IPCM_MaximumCompression: InkPersistenceCompressionMode = InkPersistenceCompressionMode(1i32);
9567 pub const IPCM_NoCompression: InkPersistenceCompressionMode = InkPersistenceCompressionMode(2i32);
9568 impl ::std::convert::From<i32> for InkPersistenceCompressionMode {
from(value: i32) -> Self9569     fn from(value: i32) -> Self {
9570         Self(value)
9571     }
9572 }
9573 unsafe impl ::windows::runtime::Abi for InkPersistenceCompressionMode {
9574     type Abi = Self;
9575     type DefaultType = Self;
9576 }
9577 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9578 #[repr(transparent)]
9579 pub struct InkPersistenceFormat(pub i32);
9580 pub const IPF_InkSerializedFormat: InkPersistenceFormat = InkPersistenceFormat(0i32);
9581 pub const IPF_Base64InkSerializedFormat: InkPersistenceFormat = InkPersistenceFormat(1i32);
9582 pub const IPF_GIF: InkPersistenceFormat = InkPersistenceFormat(2i32);
9583 pub const IPF_Base64GIF: InkPersistenceFormat = InkPersistenceFormat(3i32);
9584 impl ::std::convert::From<i32> for InkPersistenceFormat {
from(value: i32) -> Self9585     fn from(value: i32) -> Self {
9586         Self(value)
9587     }
9588 }
9589 unsafe impl ::windows::runtime::Abi for InkPersistenceFormat {
9590     type Abi = Self;
9591     type DefaultType = Self;
9592 }
9593 pub const InkPicture: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(77718867, 65078, 20446, [134, 94, 52, 65, 148, 230, 148, 36]);
9594 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9595 #[repr(transparent)]
9596 pub struct InkPictureSizeMode(pub i32);
9597 pub const IPSM_AutoSize: InkPictureSizeMode = InkPictureSizeMode(0i32);
9598 pub const IPSM_CenterImage: InkPictureSizeMode = InkPictureSizeMode(1i32);
9599 pub const IPSM_Normal: InkPictureSizeMode = InkPictureSizeMode(2i32);
9600 pub const IPSM_StretchImage: InkPictureSizeMode = InkPictureSizeMode(3i32);
9601 impl ::std::convert::From<i32> for InkPictureSizeMode {
from(value: i32) -> Self9602     fn from(value: i32) -> Self {
9603         Self(value)
9604     }
9605 }
9606 unsafe impl ::windows::runtime::Abi for InkPictureSizeMode {
9607     type Abi = Self;
9608     type DefaultType = Self;
9609 }
9610 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9611 #[repr(transparent)]
9612 pub struct InkRasterOperation(pub i32);
9613 pub const IRO_Black: InkRasterOperation = InkRasterOperation(1i32);
9614 pub const IRO_NotMergePen: InkRasterOperation = InkRasterOperation(2i32);
9615 pub const IRO_MaskNotPen: InkRasterOperation = InkRasterOperation(3i32);
9616 pub const IRO_NotCopyPen: InkRasterOperation = InkRasterOperation(4i32);
9617 pub const IRO_MaskPenNot: InkRasterOperation = InkRasterOperation(5i32);
9618 pub const IRO_Not: InkRasterOperation = InkRasterOperation(6i32);
9619 pub const IRO_XOrPen: InkRasterOperation = InkRasterOperation(7i32);
9620 pub const IRO_NotMaskPen: InkRasterOperation = InkRasterOperation(8i32);
9621 pub const IRO_MaskPen: InkRasterOperation = InkRasterOperation(9i32);
9622 pub const IRO_NotXOrPen: InkRasterOperation = InkRasterOperation(10i32);
9623 pub const IRO_NoOperation: InkRasterOperation = InkRasterOperation(11i32);
9624 pub const IRO_MergeNotPen: InkRasterOperation = InkRasterOperation(12i32);
9625 pub const IRO_CopyPen: InkRasterOperation = InkRasterOperation(13i32);
9626 pub const IRO_MergePenNot: InkRasterOperation = InkRasterOperation(14i32);
9627 pub const IRO_MergePen: InkRasterOperation = InkRasterOperation(15i32);
9628 pub const IRO_White: InkRasterOperation = InkRasterOperation(16i32);
9629 impl ::std::convert::From<i32> for InkRasterOperation {
from(value: i32) -> Self9630     fn from(value: i32) -> Self {
9631         Self(value)
9632     }
9633 }
9634 unsafe impl ::windows::runtime::Abi for InkRasterOperation {
9635     type Abi = Self;
9636     type DefaultType = Self;
9637 }
9638 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9639 #[repr(C)]
9640 #[cfg(feature = "Win32_Foundation")]
9641 pub struct InkRecoGuide {
9642     pub rectWritingBox: super::super::Foundation::RECT,
9643     pub rectDrawnBox: super::super::Foundation::RECT,
9644     pub cRows: i32,
9645     pub cColumns: i32,
9646     pub midline: i32,
9647 }
9648 #[cfg(feature = "Win32_Foundation")]
9649 impl InkRecoGuide {}
9650 #[cfg(feature = "Win32_Foundation")]
9651 impl ::std::default::Default for InkRecoGuide {
default() -> Self9652     fn default() -> Self {
9653         unsafe { ::std::mem::zeroed() }
9654     }
9655 }
9656 #[cfg(feature = "Win32_Foundation")]
9657 impl ::std::fmt::Debug for InkRecoGuide {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9658     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9659         fmt.debug_struct("InkRecoGuide").field("rectWritingBox", &self.rectWritingBox).field("rectDrawnBox", &self.rectDrawnBox).field("cRows", &self.cRows).field("cColumns", &self.cColumns).field("midline", &self.midline).finish()
9660     }
9661 }
9662 #[cfg(feature = "Win32_Foundation")]
9663 impl ::std::cmp::PartialEq for InkRecoGuide {
eq(&self, other: &Self) -> bool9664     fn eq(&self, other: &Self) -> bool {
9665         self.rectWritingBox == other.rectWritingBox && self.rectDrawnBox == other.rectDrawnBox && self.cRows == other.cRows && self.cColumns == other.cColumns && self.midline == other.midline
9666     }
9667 }
9668 #[cfg(feature = "Win32_Foundation")]
9669 impl ::std::cmp::Eq for InkRecoGuide {}
9670 #[cfg(feature = "Win32_Foundation")]
9671 unsafe impl ::windows::runtime::Abi for InkRecoGuide {
9672     type Abi = Self;
9673     type DefaultType = Self;
9674 }
9675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9676 #[repr(transparent)]
9677 pub struct InkRecognitionAlternatesSelection(pub i32);
9678 pub const IRAS_Start: InkRecognitionAlternatesSelection = InkRecognitionAlternatesSelection(0i32);
9679 pub const IRAS_DefaultCount: InkRecognitionAlternatesSelection = InkRecognitionAlternatesSelection(10i32);
9680 pub const IRAS_All: InkRecognitionAlternatesSelection = InkRecognitionAlternatesSelection(-1i32);
9681 impl ::std::convert::From<i32> for InkRecognitionAlternatesSelection {
from(value: i32) -> Self9682     fn from(value: i32) -> Self {
9683         Self(value)
9684     }
9685 }
9686 unsafe impl ::windows::runtime::Abi for InkRecognitionAlternatesSelection {
9687     type Abi = Self;
9688     type DefaultType = Self;
9689 }
9690 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9691 #[repr(transparent)]
9692 pub struct InkRecognitionConfidence(pub i32);
9693 pub const IRC_Strong: InkRecognitionConfidence = InkRecognitionConfidence(0i32);
9694 pub const IRC_Intermediate: InkRecognitionConfidence = InkRecognitionConfidence(1i32);
9695 pub const IRC_Poor: InkRecognitionConfidence = InkRecognitionConfidence(2i32);
9696 impl ::std::convert::From<i32> for InkRecognitionConfidence {
from(value: i32) -> Self9697     fn from(value: i32) -> Self {
9698         Self(value)
9699     }
9700 }
9701 unsafe impl ::windows::runtime::Abi for InkRecognitionConfidence {
9702     type Abi = Self;
9703     type DefaultType = Self;
9704 }
9705 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9706 #[repr(transparent)]
9707 pub struct InkRecognitionModes(pub i32);
9708 pub const IRM_None: InkRecognitionModes = InkRecognitionModes(0i32);
9709 pub const IRM_WordModeOnly: InkRecognitionModes = InkRecognitionModes(1i32);
9710 pub const IRM_Coerce: InkRecognitionModes = InkRecognitionModes(2i32);
9711 pub const IRM_TopInkBreaksOnly: InkRecognitionModes = InkRecognitionModes(4i32);
9712 pub const IRM_PrefixOk: InkRecognitionModes = InkRecognitionModes(8i32);
9713 pub const IRM_LineMode: InkRecognitionModes = InkRecognitionModes(16i32);
9714 pub const IRM_DisablePersonalization: InkRecognitionModes = InkRecognitionModes(32i32);
9715 pub const IRM_AutoSpace: InkRecognitionModes = InkRecognitionModes(64i32);
9716 pub const IRM_Max: InkRecognitionModes = InkRecognitionModes(128i32);
9717 impl ::std::convert::From<i32> for InkRecognitionModes {
from(value: i32) -> Self9718     fn from(value: i32) -> Self {
9719         Self(value)
9720     }
9721 }
9722 unsafe impl ::windows::runtime::Abi for InkRecognitionModes {
9723     type Abi = Self;
9724     type DefaultType = Self;
9725 }
9726 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9727 #[repr(transparent)]
9728 pub struct InkRecognitionStatus(pub i32);
9729 pub const IRS_NoError: InkRecognitionStatus = InkRecognitionStatus(0i32);
9730 pub const IRS_Interrupted: InkRecognitionStatus = InkRecognitionStatus(1i32);
9731 pub const IRS_ProcessFailed: InkRecognitionStatus = InkRecognitionStatus(2i32);
9732 pub const IRS_InkAddedFailed: InkRecognitionStatus = InkRecognitionStatus(4i32);
9733 pub const IRS_SetAutoCompletionModeFailed: InkRecognitionStatus = InkRecognitionStatus(8i32);
9734 pub const IRS_SetStrokesFailed: InkRecognitionStatus = InkRecognitionStatus(16i32);
9735 pub const IRS_SetGuideFailed: InkRecognitionStatus = InkRecognitionStatus(32i32);
9736 pub const IRS_SetFlagsFailed: InkRecognitionStatus = InkRecognitionStatus(64i32);
9737 pub const IRS_SetFactoidFailed: InkRecognitionStatus = InkRecognitionStatus(128i32);
9738 pub const IRS_SetPrefixSuffixFailed: InkRecognitionStatus = InkRecognitionStatus(256i32);
9739 pub const IRS_SetWordListFailed: InkRecognitionStatus = InkRecognitionStatus(512i32);
9740 impl ::std::convert::From<i32> for InkRecognitionStatus {
from(value: i32) -> Self9741     fn from(value: i32) -> Self {
9742         Self(value)
9743     }
9744 }
9745 unsafe impl ::windows::runtime::Abi for InkRecognitionStatus {
9746     type Abi = Self;
9747     type DefaultType = Self;
9748 }
9749 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9750 #[repr(transparent)]
9751 pub struct InkRecognizerCapabilities(pub i32);
9752 pub const IRC_DontCare: InkRecognizerCapabilities = InkRecognizerCapabilities(1i32);
9753 pub const IRC_Object: InkRecognizerCapabilities = InkRecognizerCapabilities(2i32);
9754 pub const IRC_FreeInput: InkRecognizerCapabilities = InkRecognizerCapabilities(4i32);
9755 pub const IRC_LinedInput: InkRecognizerCapabilities = InkRecognizerCapabilities(8i32);
9756 pub const IRC_BoxedInput: InkRecognizerCapabilities = InkRecognizerCapabilities(16i32);
9757 pub const IRC_CharacterAutoCompletionInput: InkRecognizerCapabilities = InkRecognizerCapabilities(32i32);
9758 pub const IRC_RightAndDown: InkRecognizerCapabilities = InkRecognizerCapabilities(64i32);
9759 pub const IRC_LeftAndDown: InkRecognizerCapabilities = InkRecognizerCapabilities(128i32);
9760 pub const IRC_DownAndLeft: InkRecognizerCapabilities = InkRecognizerCapabilities(256i32);
9761 pub const IRC_DownAndRight: InkRecognizerCapabilities = InkRecognizerCapabilities(512i32);
9762 pub const IRC_ArbitraryAngle: InkRecognizerCapabilities = InkRecognizerCapabilities(1024i32);
9763 pub const IRC_Lattice: InkRecognizerCapabilities = InkRecognizerCapabilities(2048i32);
9764 pub const IRC_AdviseInkChange: InkRecognizerCapabilities = InkRecognizerCapabilities(4096i32);
9765 pub const IRC_StrokeReorder: InkRecognizerCapabilities = InkRecognizerCapabilities(8192i32);
9766 pub const IRC_Personalizable: InkRecognizerCapabilities = InkRecognizerCapabilities(16384i32);
9767 pub const IRC_PrefersArbitraryAngle: InkRecognizerCapabilities = InkRecognizerCapabilities(32768i32);
9768 pub const IRC_PrefersParagraphBreaking: InkRecognizerCapabilities = InkRecognizerCapabilities(65536i32);
9769 pub const IRC_PrefersSegmentation: InkRecognizerCapabilities = InkRecognizerCapabilities(131072i32);
9770 pub const IRC_Cursive: InkRecognizerCapabilities = InkRecognizerCapabilities(262144i32);
9771 pub const IRC_TextPrediction: InkRecognizerCapabilities = InkRecognizerCapabilities(524288i32);
9772 pub const IRC_Alpha: InkRecognizerCapabilities = InkRecognizerCapabilities(1048576i32);
9773 pub const IRC_Beta: InkRecognizerCapabilities = InkRecognizerCapabilities(2097152i32);
9774 impl ::std::convert::From<i32> for InkRecognizerCapabilities {
from(value: i32) -> Self9775     fn from(value: i32) -> Self {
9776         Self(value)
9777     }
9778 }
9779 unsafe impl ::windows::runtime::Abi for InkRecognizerCapabilities {
9780     type Abi = Self;
9781     type DefaultType = Self;
9782 }
9783 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9784 #[repr(transparent)]
9785 pub struct InkRecognizerCharacterAutoCompletionMode(pub i32);
9786 pub const IRCACM_Full: InkRecognizerCharacterAutoCompletionMode = InkRecognizerCharacterAutoCompletionMode(0i32);
9787 pub const IRCACM_Prefix: InkRecognizerCharacterAutoCompletionMode = InkRecognizerCharacterAutoCompletionMode(1i32);
9788 pub const IRCACM_Random: InkRecognizerCharacterAutoCompletionMode = InkRecognizerCharacterAutoCompletionMode(2i32);
9789 impl ::std::convert::From<i32> for InkRecognizerCharacterAutoCompletionMode {
from(value: i32) -> Self9790     fn from(value: i32) -> Self {
9791         Self(value)
9792     }
9793 }
9794 unsafe impl ::windows::runtime::Abi for InkRecognizerCharacterAutoCompletionMode {
9795     type Abi = Self;
9796     type DefaultType = Self;
9797 }
9798 pub const InkRecognizerContext: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2864998967, 37417, 20416, [140, 206, 68, 151, 86, 155, 244, 209]);
9799 pub const InkRecognizerGuide: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2272319809, 42554, 18033, [163, 117, 40, 85, 161, 142, 186, 115]);
9800 pub const InkRecognizers: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2681530376, 63206, 20069, [152, 211, 170, 57, 5, 76, 18, 85]);
9801 pub const InkRectangle: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1135637286, 43744, 19298, [168, 61, 95, 215, 104, 183, 53, 60]);
9802 pub const InkRenderer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2619131620, 55275, 20203, [144, 145, 21, 167, 200, 121, 30, 217]);
9803 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9804 #[repr(transparent)]
9805 pub struct InkSelectionConstants(pub i32);
9806 pub const ISC_FirstElement: InkSelectionConstants = InkSelectionConstants(0i32);
9807 pub const ISC_AllElements: InkSelectionConstants = InkSelectionConstants(-1i32);
9808 impl ::std::convert::From<i32> for InkSelectionConstants {
from(value: i32) -> Self9809     fn from(value: i32) -> Self {
9810         Self(value)
9811     }
9812 }
9813 unsafe impl ::windows::runtime::Abi for InkSelectionConstants {
9814     type Abi = Self;
9815     type DefaultType = Self;
9816 }
9817 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9818 #[repr(transparent)]
9819 pub struct InkShiftKeyModifierFlags(pub i32);
9820 pub const IKM_Shift: InkShiftKeyModifierFlags = InkShiftKeyModifierFlags(1i32);
9821 pub const IKM_Control: InkShiftKeyModifierFlags = InkShiftKeyModifierFlags(2i32);
9822 pub const IKM_Alt: InkShiftKeyModifierFlags = InkShiftKeyModifierFlags(4i32);
9823 impl ::std::convert::From<i32> for InkShiftKeyModifierFlags {
from(value: i32) -> Self9824     fn from(value: i32) -> Self {
9825         Self(value)
9826     }
9827 }
9828 unsafe impl ::windows::runtime::Abi for InkShiftKeyModifierFlags {
9829     type Abi = Self;
9830     type DefaultType = Self;
9831 }
9832 pub const InkStrokes: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1223987644, 9230, 18528, [176, 121, 161, 233, 77, 61, 44, 134]);
9833 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9834 #[repr(transparent)]
9835 pub struct InkSystemGesture(pub i32);
9836 pub const ISG_Tap: InkSystemGesture = InkSystemGesture(16i32);
9837 pub const ISG_DoubleTap: InkSystemGesture = InkSystemGesture(17i32);
9838 pub const ISG_RightTap: InkSystemGesture = InkSystemGesture(18i32);
9839 pub const ISG_Drag: InkSystemGesture = InkSystemGesture(19i32);
9840 pub const ISG_RightDrag: InkSystemGesture = InkSystemGesture(20i32);
9841 pub const ISG_HoldEnter: InkSystemGesture = InkSystemGesture(21i32);
9842 pub const ISG_HoldLeave: InkSystemGesture = InkSystemGesture(22i32);
9843 pub const ISG_HoverEnter: InkSystemGesture = InkSystemGesture(23i32);
9844 pub const ISG_HoverLeave: InkSystemGesture = InkSystemGesture(24i32);
9845 pub const ISG_Flick: InkSystemGesture = InkSystemGesture(31i32);
9846 impl ::std::convert::From<i32> for InkSystemGesture {
from(value: i32) -> Self9847     fn from(value: i32) -> Self {
9848         Self(value)
9849     }
9850 }
9851 unsafe impl ::windows::runtime::Abi for InkSystemGesture {
9852     type Abi = Self;
9853     type DefaultType = Self;
9854 }
9855 pub const InkTablets: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1850723090, 20746, 19776, [147, 4, 29, 161, 10, 233, 20, 124]);
9856 pub const InkTransform: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3822442812, 5731, 19064, [161, 167, 34, 55, 93, 254, 186, 238]);
9857 pub const InkWordList: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2649247892, 63263, 17649, [132, 113, 21, 162, 250, 118, 252, 243]);
9858 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9859 #[repr(transparent)]
9860 pub struct InteractionMode(pub i32);
9861 pub const InteractionMode_InPlace: InteractionMode = InteractionMode(0i32);
9862 pub const InteractionMode_Floating: InteractionMode = InteractionMode(1i32);
9863 pub const InteractionMode_DockedTop: InteractionMode = InteractionMode(2i32);
9864 pub const InteractionMode_DockedBottom: InteractionMode = InteractionMode(3i32);
9865 impl ::std::convert::From<i32> for InteractionMode {
from(value: i32) -> Self9866     fn from(value: i32) -> Self {
9867         Self(value)
9868     }
9869 }
9870 unsafe impl ::windows::runtime::Abi for InteractionMode {
9871     type Abi = Self;
9872     type DefaultType = Self;
9873 }
9874 #[cfg(feature = "Win32_Foundation")]
9875 #[inline]
IsStringSupported<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, wcstring: u32, pwcstring: Param2) -> ::windows::runtime::Result<()>9876 pub unsafe fn IsStringSupported<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, wcstring: u32, pwcstring: Param2) -> ::windows::runtime::Result<()> {
9877     #[cfg(windows)]
9878     {
9879         #[link(name = "windows")]
9880         extern "system" {
9881             fn IsStringSupported(hrc: HRECOCONTEXT, wcstring: u32, pwcstring: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
9882         }
9883         IsStringSupported(hrc.into_param().abi(), ::std::mem::transmute(wcstring), pwcstring.into_param().abi()).ok()
9884     }
9885     #[cfg(not(windows))]
9886     unimplemented!("Unsupported target OS");
9887 }
9888 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9889 #[repr(transparent)]
9890 pub struct KEYMODIFIER(pub i32);
9891 pub const KEYMODIFIER_CONTROL: KEYMODIFIER = KEYMODIFIER(1i32);
9892 pub const KEYMODIFIER_MENU: KEYMODIFIER = KEYMODIFIER(2i32);
9893 pub const KEYMODIFIER_SHIFT: KEYMODIFIER = KEYMODIFIER(4i32);
9894 pub const KEYMODIFIER_WIN: KEYMODIFIER = KEYMODIFIER(8i32);
9895 pub const KEYMODIFIER_ALTGR: KEYMODIFIER = KEYMODIFIER(16i32);
9896 pub const KEYMODIFIER_EXT: KEYMODIFIER = KEYMODIFIER(32i32);
9897 impl ::std::convert::From<i32> for KEYMODIFIER {
from(value: i32) -> Self9898     fn from(value: i32) -> Self {
9899         Self(value)
9900     }
9901 }
9902 unsafe impl ::windows::runtime::Abi for KEYMODIFIER {
9903     type Abi = Self;
9904     type DefaultType = Self;
9905 }
9906 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9907 #[repr(C)]
9908 #[cfg(feature = "Win32_Foundation")]
9909 pub struct LATTICE_METRICS {
9910     pub lsBaseline: LINE_SEGMENT,
9911     pub iMidlineOffset: i16,
9912 }
9913 #[cfg(feature = "Win32_Foundation")]
9914 impl LATTICE_METRICS {}
9915 #[cfg(feature = "Win32_Foundation")]
9916 impl ::std::default::Default for LATTICE_METRICS {
default() -> Self9917     fn default() -> Self {
9918         unsafe { ::std::mem::zeroed() }
9919     }
9920 }
9921 #[cfg(feature = "Win32_Foundation")]
9922 impl ::std::fmt::Debug for LATTICE_METRICS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9923     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9924         fmt.debug_struct("LATTICE_METRICS").field("lsBaseline", &self.lsBaseline).field("iMidlineOffset", &self.iMidlineOffset).finish()
9925     }
9926 }
9927 #[cfg(feature = "Win32_Foundation")]
9928 impl ::std::cmp::PartialEq for LATTICE_METRICS {
eq(&self, other: &Self) -> bool9929     fn eq(&self, other: &Self) -> bool {
9930         self.lsBaseline == other.lsBaseline && self.iMidlineOffset == other.iMidlineOffset
9931     }
9932 }
9933 #[cfg(feature = "Win32_Foundation")]
9934 impl ::std::cmp::Eq for LATTICE_METRICS {}
9935 #[cfg(feature = "Win32_Foundation")]
9936 unsafe impl ::windows::runtime::Abi for LATTICE_METRICS {
9937     type Abi = Self;
9938     type DefaultType = Self;
9939 }
9940 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9941 #[repr(transparent)]
9942 pub struct LINE_METRICS(pub i32);
9943 pub const LM_BASELINE: LINE_METRICS = LINE_METRICS(0i32);
9944 pub const LM_MIDLINE: LINE_METRICS = LINE_METRICS(1i32);
9945 pub const LM_ASCENDER: LINE_METRICS = LINE_METRICS(2i32);
9946 pub const LM_DESCENDER: LINE_METRICS = LINE_METRICS(3i32);
9947 impl ::std::convert::From<i32> for LINE_METRICS {
from(value: i32) -> Self9948     fn from(value: i32) -> Self {
9949         Self(value)
9950     }
9951 }
9952 unsafe impl ::windows::runtime::Abi for LINE_METRICS {
9953     type Abi = Self;
9954     type DefaultType = Self;
9955 }
9956 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9957 #[repr(C)]
9958 #[cfg(feature = "Win32_Foundation")]
9959 pub struct LINE_SEGMENT {
9960     pub PtA: super::super::Foundation::POINT,
9961     pub PtB: super::super::Foundation::POINT,
9962 }
9963 #[cfg(feature = "Win32_Foundation")]
9964 impl LINE_SEGMENT {}
9965 #[cfg(feature = "Win32_Foundation")]
9966 impl ::std::default::Default for LINE_SEGMENT {
default() -> Self9967     fn default() -> Self {
9968         unsafe { ::std::mem::zeroed() }
9969     }
9970 }
9971 #[cfg(feature = "Win32_Foundation")]
9972 impl ::std::fmt::Debug for LINE_SEGMENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9973     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9974         fmt.debug_struct("LINE_SEGMENT").field("PtA", &self.PtA).field("PtB", &self.PtB).finish()
9975     }
9976 }
9977 #[cfg(feature = "Win32_Foundation")]
9978 impl ::std::cmp::PartialEq for LINE_SEGMENT {
eq(&self, other: &Self) -> bool9979     fn eq(&self, other: &Self) -> bool {
9980         self.PtA == other.PtA && self.PtB == other.PtB
9981     }
9982 }
9983 #[cfg(feature = "Win32_Foundation")]
9984 impl ::std::cmp::Eq for LINE_SEGMENT {}
9985 #[cfg(feature = "Win32_Foundation")]
9986 unsafe impl ::windows::runtime::Abi for LINE_SEGMENT {
9987     type Abi = Self;
9988     type DefaultType = Self;
9989 }
9990 #[inline]
LoadCachedAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(clsid: Param0, precoattributes: *mut RECO_ATTRS) -> ::windows::runtime::Result<()>9991 pub unsafe fn LoadCachedAttributes<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(clsid: Param0, precoattributes: *mut RECO_ATTRS) -> ::windows::runtime::Result<()> {
9992     #[cfg(windows)]
9993     {
9994         #[link(name = "windows")]
9995         extern "system" {
9996             fn LoadCachedAttributes(clsid: ::windows::runtime::GUID, precoattributes: *mut RECO_ATTRS) -> ::windows::runtime::HRESULT;
9997         }
9998         LoadCachedAttributes(clsid.into_param().abi(), ::std::mem::transmute(precoattributes)).ok()
9999     }
10000     #[cfg(not(windows))]
10001     unimplemented!("Unsupported target OS");
10002 }
10003 pub const MAX_FRIENDLYNAME: u32 = 64u32;
10004 pub const MAX_LANGUAGES: u32 = 64u32;
10005 pub const MAX_PACKET_BUTTON_COUNT: u32 = 32u32;
10006 pub const MAX_PACKET_PROPERTY_COUNT: u32 = 32u32;
10007 pub const MAX_VENDORNAME: u32 = 32u32;
10008 pub const MICROSOFT_TIP_COMBOBOXLIST_PROPERTY: &'static str = "Microsoft TIP ComboBox List Window Identifier";
10009 pub const MICROSOFT_TIP_NO_INSERT_BUTTON_PROPERTY: &'static str = "Microsoft TIP No Insert Option";
10010 pub const MICROSOFT_TIP_OPENING_MSG: &'static str = "TabletInputPanelOpening";
10011 pub const MICROSOFT_URL_EXPERIENCE_PROPERTY: &'static str = "Microsoft TIP URL Experience";
10012 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10013 #[repr(transparent)]
10014 pub struct MICUIELEMENT(pub i32);
10015 pub const MICUIELEMENT_BUTTON_WRITE: MICUIELEMENT = MICUIELEMENT(1i32);
10016 pub const MICUIELEMENT_BUTTON_ERASE: MICUIELEMENT = MICUIELEMENT(2i32);
10017 pub const MICUIELEMENT_BUTTON_CORRECT: MICUIELEMENT = MICUIELEMENT(4i32);
10018 pub const MICUIELEMENT_BUTTON_CLEAR: MICUIELEMENT = MICUIELEMENT(8i32);
10019 pub const MICUIELEMENT_BUTTON_UNDO: MICUIELEMENT = MICUIELEMENT(16i32);
10020 pub const MICUIELEMENT_BUTTON_REDO: MICUIELEMENT = MICUIELEMENT(32i32);
10021 pub const MICUIELEMENT_BUTTON_INSERT: MICUIELEMENT = MICUIELEMENT(64i32);
10022 pub const MICUIELEMENT_BUTTON_CANCEL: MICUIELEMENT = MICUIELEMENT(128i32);
10023 pub const MICUIELEMENT_INKPANEL_BACKGROUND: MICUIELEMENT = MICUIELEMENT(256i32);
10024 pub const MICUIELEMENT_RESULTPANEL_BACKGROUND: MICUIELEMENT = MICUIELEMENT(512i32);
10025 impl ::std::convert::From<i32> for MICUIELEMENT {
from(value: i32) -> Self10026     fn from(value: i32) -> Self {
10027         Self(value)
10028     }
10029 }
10030 unsafe impl ::windows::runtime::Abi for MICUIELEMENT {
10031     type Abi = Self;
10032     type DefaultType = Self;
10033 }
10034 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10035 #[repr(transparent)]
10036 pub struct MICUIELEMENTSTATE(pub i32);
10037 pub const MICUIELEMENTSTATE_NORMAL: MICUIELEMENTSTATE = MICUIELEMENTSTATE(1i32);
10038 pub const MICUIELEMENTSTATE_HOT: MICUIELEMENTSTATE = MICUIELEMENTSTATE(2i32);
10039 pub const MICUIELEMENTSTATE_PRESSED: MICUIELEMENTSTATE = MICUIELEMENTSTATE(3i32);
10040 pub const MICUIELEMENTSTATE_DISABLED: MICUIELEMENTSTATE = MICUIELEMENTSTATE(4i32);
10041 impl ::std::convert::From<i32> for MICUIELEMENTSTATE {
from(value: i32) -> Self10042     fn from(value: i32) -> Self {
10043         Self(value)
10044     }
10045 }
10046 unsafe impl ::windows::runtime::Abi for MICUIELEMENTSTATE {
10047     type Abi = Self;
10048     type DefaultType = Self;
10049 }
10050 #[cfg(feature = "Win32_Foundation")]
10051 #[inline]
MakeWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrec: Param0, pbuffer: Param1, phwl: *mut HRECOWORDLIST) -> ::windows::runtime::Result<()>10052 pub unsafe fn MakeWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOGNIZER>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrec: Param0, pbuffer: Param1, phwl: *mut HRECOWORDLIST) -> ::windows::runtime::Result<()> {
10053     #[cfg(windows)]
10054     {
10055         #[link(name = "windows")]
10056         extern "system" {
10057             fn MakeWordList(hrec: HRECOGNIZER, pbuffer: super::super::Foundation::PWSTR, phwl: *mut HRECOWORDLIST) -> ::windows::runtime::HRESULT;
10058         }
10059         MakeWordList(hrec.into_param().abi(), pbuffer.into_param().abi(), ::std::mem::transmute(phwl)).ok()
10060     }
10061     #[cfg(not(windows))]
10062     unimplemented!("Unsupported target OS");
10063 }
10064 pub const MathInputControl: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3311501676, 5336, 16528, [131, 12, 152, 217, 148, 178, 28, 123]);
10065 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10066 #[repr(transparent)]
10067 pub struct MouseButton(pub i32);
10068 pub const NO_BUTTON: MouseButton = MouseButton(0i32);
10069 pub const LEFT_BUTTON: MouseButton = MouseButton(1i32);
10070 pub const RIGHT_BUTTON: MouseButton = MouseButton(2i32);
10071 pub const MIDDLE_BUTTON: MouseButton = MouseButton(4i32);
10072 impl ::std::convert::From<i32> for MouseButton {
from(value: i32) -> Self10073     fn from(value: i32) -> Self {
10074         Self(value)
10075     }
10076 }
10077 unsafe impl ::windows::runtime::Abi for MouseButton {
10078     type Abi = Self;
10079     type DefaultType = Self;
10080 }
10081 pub const NUM_FLICK_DIRECTIONS: u32 = 8u32;
10082 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10083 #[repr(C)]
10084 pub struct PACKET_DESCRIPTION {
10085     pub cbPacketSize: u32,
10086     pub cPacketProperties: u32,
10087     pub pPacketProperties: *mut PACKET_PROPERTY,
10088     pub cButtons: u32,
10089     pub pguidButtons: *mut ::windows::runtime::GUID,
10090 }
10091 impl PACKET_DESCRIPTION {}
10092 impl ::std::default::Default for PACKET_DESCRIPTION {
default() -> Self10093     fn default() -> Self {
10094         unsafe { ::std::mem::zeroed() }
10095     }
10096 }
10097 impl ::std::fmt::Debug for PACKET_DESCRIPTION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10098     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10099         fmt.debug_struct("PACKET_DESCRIPTION").field("cbPacketSize", &self.cbPacketSize).field("cPacketProperties", &self.cPacketProperties).field("pPacketProperties", &self.pPacketProperties).field("cButtons", &self.cButtons).field("pguidButtons", &self.pguidButtons).finish()
10100     }
10101 }
10102 impl ::std::cmp::PartialEq for PACKET_DESCRIPTION {
eq(&self, other: &Self) -> bool10103     fn eq(&self, other: &Self) -> bool {
10104         self.cbPacketSize == other.cbPacketSize && self.cPacketProperties == other.cPacketProperties && self.pPacketProperties == other.pPacketProperties && self.cButtons == other.cButtons && self.pguidButtons == other.pguidButtons
10105     }
10106 }
10107 impl ::std::cmp::Eq for PACKET_DESCRIPTION {}
10108 unsafe impl ::windows::runtime::Abi for PACKET_DESCRIPTION {
10109     type Abi = Self;
10110     type DefaultType = Self;
10111 }
10112 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10113 #[repr(C)]
10114 pub struct PACKET_PROPERTY {
10115     pub guid: ::windows::runtime::GUID,
10116     pub PropertyMetrics: PROPERTY_METRICS,
10117 }
10118 impl PACKET_PROPERTY {}
10119 impl ::std::default::Default for PACKET_PROPERTY {
default() -> Self10120     fn default() -> Self {
10121         unsafe { ::std::mem::zeroed() }
10122     }
10123 }
10124 impl ::std::fmt::Debug for PACKET_PROPERTY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10125     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10126         fmt.debug_struct("PACKET_PROPERTY").field("guid", &self.guid).field("PropertyMetrics", &self.PropertyMetrics).finish()
10127     }
10128 }
10129 impl ::std::cmp::PartialEq for PACKET_PROPERTY {
eq(&self, other: &Self) -> bool10130     fn eq(&self, other: &Self) -> bool {
10131         self.guid == other.guid && self.PropertyMetrics == other.PropertyMetrics
10132     }
10133 }
10134 impl ::std::cmp::Eq for PACKET_PROPERTY {}
10135 unsafe impl ::windows::runtime::Abi for PACKET_PROPERTY {
10136     type Abi = Self;
10137     type DefaultType = Self;
10138 }
10139 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10140 #[repr(C)]
10141 pub struct PROPERTY_METRICS {
10142     pub nLogicalMin: i32,
10143     pub nLogicalMax: i32,
10144     pub Units: PROPERTY_UNITS,
10145     pub fResolution: f32,
10146 }
10147 impl PROPERTY_METRICS {}
10148 impl ::std::default::Default for PROPERTY_METRICS {
default() -> Self10149     fn default() -> Self {
10150         unsafe { ::std::mem::zeroed() }
10151     }
10152 }
10153 impl ::std::fmt::Debug for PROPERTY_METRICS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10154     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10155         fmt.debug_struct("PROPERTY_METRICS").field("nLogicalMin", &self.nLogicalMin).field("nLogicalMax", &self.nLogicalMax).field("Units", &self.Units).field("fResolution", &self.fResolution).finish()
10156     }
10157 }
10158 impl ::std::cmp::PartialEq for PROPERTY_METRICS {
eq(&self, other: &Self) -> bool10159     fn eq(&self, other: &Self) -> bool {
10160         self.nLogicalMin == other.nLogicalMin && self.nLogicalMax == other.nLogicalMax && self.Units == other.Units && self.fResolution == other.fResolution
10161     }
10162 }
10163 impl ::std::cmp::Eq for PROPERTY_METRICS {}
10164 unsafe impl ::windows::runtime::Abi for PROPERTY_METRICS {
10165     type Abi = Self;
10166     type DefaultType = Self;
10167 }
10168 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10169 #[repr(transparent)]
10170 pub struct PROPERTY_UNITS(pub i32);
10171 pub const PROPERTY_UNITS_DEFAULT: PROPERTY_UNITS = PROPERTY_UNITS(0i32);
10172 pub const PROPERTY_UNITS_INCHES: PROPERTY_UNITS = PROPERTY_UNITS(1i32);
10173 pub const PROPERTY_UNITS_CENTIMETERS: PROPERTY_UNITS = PROPERTY_UNITS(2i32);
10174 pub const PROPERTY_UNITS_DEGREES: PROPERTY_UNITS = PROPERTY_UNITS(3i32);
10175 pub const PROPERTY_UNITS_RADIANS: PROPERTY_UNITS = PROPERTY_UNITS(4i32);
10176 pub const PROPERTY_UNITS_SECONDS: PROPERTY_UNITS = PROPERTY_UNITS(5i32);
10177 pub const PROPERTY_UNITS_POUNDS: PROPERTY_UNITS = PROPERTY_UNITS(6i32);
10178 pub const PROPERTY_UNITS_GRAMS: PROPERTY_UNITS = PROPERTY_UNITS(7i32);
10179 pub const PROPERTY_UNITS_SILINEAR: PROPERTY_UNITS = PROPERTY_UNITS(8i32);
10180 pub const PROPERTY_UNITS_SIROTATION: PROPERTY_UNITS = PROPERTY_UNITS(9i32);
10181 pub const PROPERTY_UNITS_ENGLINEAR: PROPERTY_UNITS = PROPERTY_UNITS(10i32);
10182 pub const PROPERTY_UNITS_ENGROTATION: PROPERTY_UNITS = PROPERTY_UNITS(11i32);
10183 pub const PROPERTY_UNITS_SLUGS: PROPERTY_UNITS = PROPERTY_UNITS(12i32);
10184 pub const PROPERTY_UNITS_KELVIN: PROPERTY_UNITS = PROPERTY_UNITS(13i32);
10185 pub const PROPERTY_UNITS_FAHRENHEIT: PROPERTY_UNITS = PROPERTY_UNITS(14i32);
10186 pub const PROPERTY_UNITS_AMPERE: PROPERTY_UNITS = PROPERTY_UNITS(15i32);
10187 pub const PROPERTY_UNITS_CANDELA: PROPERTY_UNITS = PROPERTY_UNITS(16i32);
10188 impl ::std::convert::From<i32> for PROPERTY_UNITS {
from(value: i32) -> Self10189     fn from(value: i32) -> Self {
10190         Self(value)
10191     }
10192 }
10193 unsafe impl ::windows::runtime::Abi for PROPERTY_UNITS {
10194     type Abi = Self;
10195     type DefaultType = Self;
10196 }
10197 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10198 #[repr(transparent)]
10199 pub struct PanelInputArea(pub i32);
10200 pub const PanelInputArea_Auto: PanelInputArea = PanelInputArea(0i32);
10201 pub const PanelInputArea_Keyboard: PanelInputArea = PanelInputArea(1i32);
10202 pub const PanelInputArea_WritingPad: PanelInputArea = PanelInputArea(2i32);
10203 pub const PanelInputArea_CharacterPad: PanelInputArea = PanelInputArea(3i32);
10204 impl ::std::convert::From<i32> for PanelInputArea {
from(value: i32) -> Self10205     fn from(value: i32) -> Self {
10206         Self(value)
10207     }
10208 }
10209 unsafe impl ::windows::runtime::Abi for PanelInputArea {
10210     type Abi = Self;
10211     type DefaultType = Self;
10212 }
10213 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10214 #[repr(transparent)]
10215 pub struct PanelType(pub i32);
10216 pub const PT_Default: PanelType = PanelType(0i32);
10217 pub const PT_Inactive: PanelType = PanelType(1i32);
10218 pub const PT_Handwriting: PanelType = PanelType(2i32);
10219 pub const PT_Keyboard: PanelType = PanelType(3i32);
10220 impl ::std::convert::From<i32> for PanelType {
from(value: i32) -> Self10221     fn from(value: i32) -> Self {
10222         Self(value)
10223     }
10224 }
10225 unsafe impl ::windows::runtime::Abi for PanelType {
10226     type Abi = Self;
10227     type DefaultType = Self;
10228 }
10229 pub const PenInputPanel: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4148487318, 7002, 18590, [129, 220, 251, 215, 172, 98, 152, 168]);
10230 pub const PenInputPanel_Internal: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2150309817, 1387, 18208, [176, 204, 128, 210, 59, 113, 23, 30]);
10231 pub type PfnRecoCallback = unsafe extern "system" fn(param0: u32, param1: *mut u8, param2: HRECOCONTEXT) -> ::windows::runtime::HRESULT;
10232 #[cfg(feature = "Win32_Foundation")]
10233 #[inline]
Process<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pbpartialprocessing: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>10234 pub unsafe fn Process<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pbpartialprocessing: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
10235     #[cfg(windows)]
10236     {
10237         #[link(name = "windows")]
10238         extern "system" {
10239             fn Process(hrc: HRECOCONTEXT, pbpartialprocessing: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
10240         }
10241         Process(hrc.into_param().abi(), ::std::mem::transmute(pbpartialprocessing)).ok()
10242     }
10243     #[cfg(not(windows))]
10244     unimplemented!("Unsupported target OS");
10245 }
10246 pub const RECOCONF_HIGHCONFIDENCE: u32 = 1u32;
10247 pub const RECOCONF_LOWCONFIDENCE: i32 = -1i32;
10248 pub const RECOCONF_MEDIUMCONFIDENCE: u32 = 0u32;
10249 pub const RECOCONF_NOTSET: u32 = 128u32;
10250 pub const RECOFLAG_AUTOSPACE: u32 = 64u32;
10251 pub const RECOFLAG_COERCE: u32 = 2u32;
10252 pub const RECOFLAG_DISABLEPERSONALIZATION: u32 = 32u32;
10253 pub const RECOFLAG_LINEMODE: u32 = 16u32;
10254 pub const RECOFLAG_PREFIXOK: u32 = 8u32;
10255 pub const RECOFLAG_SINGLESEG: u32 = 4u32;
10256 pub const RECOFLAG_WORDMODE: u32 = 1u32;
10257 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10258 #[repr(C)]
10259 pub struct RECO_ATTRS {
10260     pub dwRecoCapabilityFlags: u32,
10261     pub awcVendorName: [u16; 32],
10262     pub awcFriendlyName: [u16; 64],
10263     pub awLanguageId: [u16; 64],
10264 }
10265 impl RECO_ATTRS {}
10266 impl ::std::default::Default for RECO_ATTRS {
default() -> Self10267     fn default() -> Self {
10268         unsafe { ::std::mem::zeroed() }
10269     }
10270 }
10271 impl ::std::fmt::Debug for RECO_ATTRS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10272     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10273         fmt.debug_struct("RECO_ATTRS").field("dwRecoCapabilityFlags", &self.dwRecoCapabilityFlags).field("awcVendorName", &self.awcVendorName).field("awcFriendlyName", &self.awcFriendlyName).field("awLanguageId", &self.awLanguageId).finish()
10274     }
10275 }
10276 impl ::std::cmp::PartialEq for RECO_ATTRS {
eq(&self, other: &Self) -> bool10277     fn eq(&self, other: &Self) -> bool {
10278         self.dwRecoCapabilityFlags == other.dwRecoCapabilityFlags && self.awcVendorName == other.awcVendorName && self.awcFriendlyName == other.awcFriendlyName && self.awLanguageId == other.awLanguageId
10279     }
10280 }
10281 impl ::std::cmp::Eq for RECO_ATTRS {}
10282 unsafe impl ::windows::runtime::Abi for RECO_ATTRS {
10283     type Abi = Self;
10284     type DefaultType = Self;
10285 }
10286 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10287 #[repr(C)]
10288 pub struct RECO_GUIDE {
10289     pub xOrigin: i32,
10290     pub yOrigin: i32,
10291     pub cxBox: i32,
10292     pub cyBox: i32,
10293     pub cxBase: i32,
10294     pub cyBase: i32,
10295     pub cHorzBox: i32,
10296     pub cVertBox: i32,
10297     pub cyMid: i32,
10298 }
10299 impl RECO_GUIDE {}
10300 impl ::std::default::Default for RECO_GUIDE {
default() -> Self10301     fn default() -> Self {
10302         unsafe { ::std::mem::zeroed() }
10303     }
10304 }
10305 impl ::std::fmt::Debug for RECO_GUIDE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10306     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10307         fmt.debug_struct("RECO_GUIDE")
10308             .field("xOrigin", &self.xOrigin)
10309             .field("yOrigin", &self.yOrigin)
10310             .field("cxBox", &self.cxBox)
10311             .field("cyBox", &self.cyBox)
10312             .field("cxBase", &self.cxBase)
10313             .field("cyBase", &self.cyBase)
10314             .field("cHorzBox", &self.cHorzBox)
10315             .field("cVertBox", &self.cVertBox)
10316             .field("cyMid", &self.cyMid)
10317             .finish()
10318     }
10319 }
10320 impl ::std::cmp::PartialEq for RECO_GUIDE {
eq(&self, other: &Self) -> bool10321     fn eq(&self, other: &Self) -> bool {
10322         self.xOrigin == other.xOrigin && self.yOrigin == other.yOrigin && self.cxBox == other.cxBox && self.cyBox == other.cyBox && self.cxBase == other.cxBase && self.cyBase == other.cyBase && self.cHorzBox == other.cHorzBox && self.cVertBox == other.cVertBox && self.cyMid == other.cyMid
10323     }
10324 }
10325 impl ::std::cmp::Eq for RECO_GUIDE {}
10326 unsafe impl ::windows::runtime::Abi for RECO_GUIDE {
10327     type Abi = Self;
10328     type DefaultType = Self;
10329 }
10330 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10331 #[repr(C)]
10332 pub struct RECO_LATTICE {
10333     pub ulColumnCount: u32,
10334     pub pLatticeColumns: *mut RECO_LATTICE_COLUMN,
10335     pub ulPropertyCount: u32,
10336     pub pGuidProperties: *mut ::windows::runtime::GUID,
10337     pub ulBestResultColumnCount: u32,
10338     pub pulBestResultColumns: *mut u32,
10339     pub pulBestResultIndexes: *mut u32,
10340 }
10341 impl RECO_LATTICE {}
10342 impl ::std::default::Default for RECO_LATTICE {
default() -> Self10343     fn default() -> Self {
10344         unsafe { ::std::mem::zeroed() }
10345     }
10346 }
10347 impl ::std::fmt::Debug for RECO_LATTICE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10348     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10349         fmt.debug_struct("RECO_LATTICE")
10350             .field("ulColumnCount", &self.ulColumnCount)
10351             .field("pLatticeColumns", &self.pLatticeColumns)
10352             .field("ulPropertyCount", &self.ulPropertyCount)
10353             .field("pGuidProperties", &self.pGuidProperties)
10354             .field("ulBestResultColumnCount", &self.ulBestResultColumnCount)
10355             .field("pulBestResultColumns", &self.pulBestResultColumns)
10356             .field("pulBestResultIndexes", &self.pulBestResultIndexes)
10357             .finish()
10358     }
10359 }
10360 impl ::std::cmp::PartialEq for RECO_LATTICE {
eq(&self, other: &Self) -> bool10361     fn eq(&self, other: &Self) -> bool {
10362         self.ulColumnCount == other.ulColumnCount && self.pLatticeColumns == other.pLatticeColumns && self.ulPropertyCount == other.ulPropertyCount && self.pGuidProperties == other.pGuidProperties && self.ulBestResultColumnCount == other.ulBestResultColumnCount && self.pulBestResultColumns == other.pulBestResultColumns && self.pulBestResultIndexes == other.pulBestResultIndexes
10363     }
10364 }
10365 impl ::std::cmp::Eq for RECO_LATTICE {}
10366 unsafe impl ::windows::runtime::Abi for RECO_LATTICE {
10367     type Abi = Self;
10368     type DefaultType = Self;
10369 }
10370 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10371 #[repr(C)]
10372 pub struct RECO_LATTICE_COLUMN {
10373     pub key: u32,
10374     pub cpProp: RECO_LATTICE_PROPERTIES,
10375     pub cStrokes: u32,
10376     pub pStrokes: *mut u32,
10377     pub cLatticeElements: u32,
10378     pub pLatticeElements: *mut RECO_LATTICE_ELEMENT,
10379 }
10380 impl RECO_LATTICE_COLUMN {}
10381 impl ::std::default::Default for RECO_LATTICE_COLUMN {
default() -> Self10382     fn default() -> Self {
10383         unsafe { ::std::mem::zeroed() }
10384     }
10385 }
10386 impl ::std::fmt::Debug for RECO_LATTICE_COLUMN {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10387     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10388         fmt.debug_struct("RECO_LATTICE_COLUMN").field("key", &self.key).field("cpProp", &self.cpProp).field("cStrokes", &self.cStrokes).field("pStrokes", &self.pStrokes).field("cLatticeElements", &self.cLatticeElements).field("pLatticeElements", &self.pLatticeElements).finish()
10389     }
10390 }
10391 impl ::std::cmp::PartialEq for RECO_LATTICE_COLUMN {
eq(&self, other: &Self) -> bool10392     fn eq(&self, other: &Self) -> bool {
10393         self.key == other.key && self.cpProp == other.cpProp && self.cStrokes == other.cStrokes && self.pStrokes == other.pStrokes && self.cLatticeElements == other.cLatticeElements && self.pLatticeElements == other.pLatticeElements
10394     }
10395 }
10396 impl ::std::cmp::Eq for RECO_LATTICE_COLUMN {}
10397 unsafe impl ::windows::runtime::Abi for RECO_LATTICE_COLUMN {
10398     type Abi = Self;
10399     type DefaultType = Self;
10400 }
10401 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10402 #[repr(C)]
10403 pub struct RECO_LATTICE_ELEMENT {
10404     pub score: i32,
10405     pub r#type: u16,
10406     pub pData: *mut u8,
10407     pub ulNextColumn: u32,
10408     pub ulStrokeNumber: u32,
10409     pub epProp: RECO_LATTICE_PROPERTIES,
10410 }
10411 impl RECO_LATTICE_ELEMENT {}
10412 impl ::std::default::Default for RECO_LATTICE_ELEMENT {
default() -> Self10413     fn default() -> Self {
10414         unsafe { ::std::mem::zeroed() }
10415     }
10416 }
10417 impl ::std::fmt::Debug for RECO_LATTICE_ELEMENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10418     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10419         fmt.debug_struct("RECO_LATTICE_ELEMENT").field("score", &self.score).field("r#type", &self.r#type).field("pData", &self.pData).field("ulNextColumn", &self.ulNextColumn).field("ulStrokeNumber", &self.ulStrokeNumber).field("epProp", &self.epProp).finish()
10420     }
10421 }
10422 impl ::std::cmp::PartialEq for RECO_LATTICE_ELEMENT {
eq(&self, other: &Self) -> bool10423     fn eq(&self, other: &Self) -> bool {
10424         self.score == other.score && self.r#type == other.r#type && self.pData == other.pData && self.ulNextColumn == other.ulNextColumn && self.ulStrokeNumber == other.ulStrokeNumber && self.epProp == other.epProp
10425     }
10426 }
10427 impl ::std::cmp::Eq for RECO_LATTICE_ELEMENT {}
10428 unsafe impl ::windows::runtime::Abi for RECO_LATTICE_ELEMENT {
10429     type Abi = Self;
10430     type DefaultType = Self;
10431 }
10432 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10433 #[repr(C)]
10434 pub struct RECO_LATTICE_PROPERTIES {
10435     pub cProperties: u32,
10436     pub apProps: *mut *mut RECO_LATTICE_PROPERTY,
10437 }
10438 impl RECO_LATTICE_PROPERTIES {}
10439 impl ::std::default::Default for RECO_LATTICE_PROPERTIES {
default() -> Self10440     fn default() -> Self {
10441         unsafe { ::std::mem::zeroed() }
10442     }
10443 }
10444 impl ::std::fmt::Debug for RECO_LATTICE_PROPERTIES {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10445     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10446         fmt.debug_struct("RECO_LATTICE_PROPERTIES").field("cProperties", &self.cProperties).field("apProps", &self.apProps).finish()
10447     }
10448 }
10449 impl ::std::cmp::PartialEq for RECO_LATTICE_PROPERTIES {
eq(&self, other: &Self) -> bool10450     fn eq(&self, other: &Self) -> bool {
10451         self.cProperties == other.cProperties && self.apProps == other.apProps
10452     }
10453 }
10454 impl ::std::cmp::Eq for RECO_LATTICE_PROPERTIES {}
10455 unsafe impl ::windows::runtime::Abi for RECO_LATTICE_PROPERTIES {
10456     type Abi = Self;
10457     type DefaultType = Self;
10458 }
10459 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10460 #[repr(C)]
10461 pub struct RECO_LATTICE_PROPERTY {
10462     pub guidProperty: ::windows::runtime::GUID,
10463     pub cbPropertyValue: u16,
10464     pub pPropertyValue: *mut u8,
10465 }
10466 impl RECO_LATTICE_PROPERTY {}
10467 impl ::std::default::Default for RECO_LATTICE_PROPERTY {
default() -> Self10468     fn default() -> Self {
10469         unsafe { ::std::mem::zeroed() }
10470     }
10471 }
10472 impl ::std::fmt::Debug for RECO_LATTICE_PROPERTY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10473     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10474         fmt.debug_struct("RECO_LATTICE_PROPERTY").field("guidProperty", &self.guidProperty).field("cbPropertyValue", &self.cbPropertyValue).field("pPropertyValue", &self.pPropertyValue).finish()
10475     }
10476 }
10477 impl ::std::cmp::PartialEq for RECO_LATTICE_PROPERTY {
eq(&self, other: &Self) -> bool10478     fn eq(&self, other: &Self) -> bool {
10479         self.guidProperty == other.guidProperty && self.cbPropertyValue == other.cbPropertyValue && self.pPropertyValue == other.pPropertyValue
10480     }
10481 }
10482 impl ::std::cmp::Eq for RECO_LATTICE_PROPERTY {}
10483 unsafe impl ::windows::runtime::Abi for RECO_LATTICE_PROPERTY {
10484     type Abi = Self;
10485     type DefaultType = Self;
10486 }
10487 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10488 #[repr(C)]
10489 pub struct RECO_RANGE {
10490     pub iwcBegin: u32,
10491     pub cCount: u32,
10492 }
10493 impl RECO_RANGE {}
10494 impl ::std::default::Default for RECO_RANGE {
default() -> Self10495     fn default() -> Self {
10496         unsafe { ::std::mem::zeroed() }
10497     }
10498 }
10499 impl ::std::fmt::Debug for RECO_RANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10500     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10501         fmt.debug_struct("RECO_RANGE").field("iwcBegin", &self.iwcBegin).field("cCount", &self.cCount).finish()
10502     }
10503 }
10504 impl ::std::cmp::PartialEq for RECO_RANGE {
eq(&self, other: &Self) -> bool10505     fn eq(&self, other: &Self) -> bool {
10506         self.iwcBegin == other.iwcBegin && self.cCount == other.cCount
10507     }
10508 }
10509 impl ::std::cmp::Eq for RECO_RANGE {}
10510 unsafe impl ::windows::runtime::Abi for RECO_RANGE {
10511     type Abi = Self;
10512     type DefaultType = Self;
10513 }
10514 pub const RF_ADVISEINKCHANGE: i32 = 4096i32;
10515 pub const RF_ARBITRARY_ANGLE: i32 = 1024i32;
10516 pub const RF_BOXED_INPUT: i32 = 16i32;
10517 pub const RF_CAC_INPUT: i32 = 32i32;
10518 pub const RF_DONTCARE: i32 = 1i32;
10519 pub const RF_DOWN_AND_LEFT: i32 = 256i32;
10520 pub const RF_DOWN_AND_RIGHT: i32 = 512i32;
10521 pub const RF_FREE_INPUT: i32 = 4i32;
10522 pub const RF_LATTICE: i32 = 2048i32;
10523 pub const RF_LEFT_AND_DOWN: i32 = 128i32;
10524 pub const RF_LINED_INPUT: i32 = 8i32;
10525 pub const RF_OBJECT: i32 = 2i32;
10526 pub const RF_PERFORMSLINEBREAKING: i32 = 65536i32;
10527 pub const RF_PERSONALIZABLE: i32 = 16384i32;
10528 pub const RF_REQUIRESSEGMENTATIONBREAKING: i32 = 131072i32;
10529 pub const RF_RIGHT_AND_DOWN: i32 = 64i32;
10530 pub const RF_STROKEREORDER: i32 = 8192i32;
10531 pub const RealTimeStylus: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3798677101, 63896, 17358, [131, 111, 203, 109, 144, 68, 50, 176]);
10532 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10533 #[repr(transparent)]
10534 pub struct RealTimeStylusDataInterest(pub i32);
10535 pub const RTSDI_AllData: RealTimeStylusDataInterest = RealTimeStylusDataInterest(-1i32);
10536 pub const RTSDI_None: RealTimeStylusDataInterest = RealTimeStylusDataInterest(0i32);
10537 pub const RTSDI_Error: RealTimeStylusDataInterest = RealTimeStylusDataInterest(1i32);
10538 pub const RTSDI_RealTimeStylusEnabled: RealTimeStylusDataInterest = RealTimeStylusDataInterest(2i32);
10539 pub const RTSDI_RealTimeStylusDisabled: RealTimeStylusDataInterest = RealTimeStylusDataInterest(4i32);
10540 pub const RTSDI_StylusNew: RealTimeStylusDataInterest = RealTimeStylusDataInterest(8i32);
10541 pub const RTSDI_StylusInRange: RealTimeStylusDataInterest = RealTimeStylusDataInterest(16i32);
10542 pub const RTSDI_InAirPackets: RealTimeStylusDataInterest = RealTimeStylusDataInterest(32i32);
10543 pub const RTSDI_StylusOutOfRange: RealTimeStylusDataInterest = RealTimeStylusDataInterest(64i32);
10544 pub const RTSDI_StylusDown: RealTimeStylusDataInterest = RealTimeStylusDataInterest(128i32);
10545 pub const RTSDI_Packets: RealTimeStylusDataInterest = RealTimeStylusDataInterest(256i32);
10546 pub const RTSDI_StylusUp: RealTimeStylusDataInterest = RealTimeStylusDataInterest(512i32);
10547 pub const RTSDI_StylusButtonUp: RealTimeStylusDataInterest = RealTimeStylusDataInterest(1024i32);
10548 pub const RTSDI_StylusButtonDown: RealTimeStylusDataInterest = RealTimeStylusDataInterest(2048i32);
10549 pub const RTSDI_SystemEvents: RealTimeStylusDataInterest = RealTimeStylusDataInterest(4096i32);
10550 pub const RTSDI_TabletAdded: RealTimeStylusDataInterest = RealTimeStylusDataInterest(8192i32);
10551 pub const RTSDI_TabletRemoved: RealTimeStylusDataInterest = RealTimeStylusDataInterest(16384i32);
10552 pub const RTSDI_CustomStylusDataAdded: RealTimeStylusDataInterest = RealTimeStylusDataInterest(32768i32);
10553 pub const RTSDI_UpdateMapping: RealTimeStylusDataInterest = RealTimeStylusDataInterest(65536i32);
10554 pub const RTSDI_DefaultEvents: RealTimeStylusDataInterest = RealTimeStylusDataInterest(37766i32);
10555 impl ::std::convert::From<i32> for RealTimeStylusDataInterest {
from(value: i32) -> Self10556     fn from(value: i32) -> Self {
10557         Self(value)
10558     }
10559 }
10560 unsafe impl ::windows::runtime::Abi for RealTimeStylusDataInterest {
10561     type Abi = Self;
10562     type DefaultType = Self;
10563 }
10564 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10565 #[repr(transparent)]
10566 pub struct RealTimeStylusLockType(pub i32);
10567 pub const RTSLT_ObjLock: RealTimeStylusLockType = RealTimeStylusLockType(1i32);
10568 pub const RTSLT_SyncEventLock: RealTimeStylusLockType = RealTimeStylusLockType(2i32);
10569 pub const RTSLT_AsyncEventLock: RealTimeStylusLockType = RealTimeStylusLockType(4i32);
10570 pub const RTSLT_ExcludeCallback: RealTimeStylusLockType = RealTimeStylusLockType(8i32);
10571 pub const RTSLT_SyncObjLock: RealTimeStylusLockType = RealTimeStylusLockType(11i32);
10572 pub const RTSLT_AsyncObjLock: RealTimeStylusLockType = RealTimeStylusLockType(13i32);
10573 impl ::std::convert::From<i32> for RealTimeStylusLockType {
from(value: i32) -> Self10574     fn from(value: i32) -> Self {
10575         Self(value)
10576     }
10577 }
10578 unsafe impl ::windows::runtime::Abi for RealTimeStylusLockType {
10579     type Abi = Self;
10580     type DefaultType = Self;
10581 }
10582 pub const SAFE_PARTIAL: u32 = 1u32;
10583 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10584 #[repr(transparent)]
10585 pub struct SCROLLDIRECTION(pub i32);
10586 pub const SCROLLDIRECTION_UP: SCROLLDIRECTION = SCROLLDIRECTION(0i32);
10587 pub const SCROLLDIRECTION_DOWN: SCROLLDIRECTION = SCROLLDIRECTION(1i32);
10588 impl ::std::convert::From<i32> for SCROLLDIRECTION {
from(value: i32) -> Self10589     fn from(value: i32) -> Self {
10590         Self(value)
10591     }
10592 }
10593 unsafe impl ::windows::runtime::Abi for SCROLLDIRECTION {
10594     type Abi = Self;
10595     type DefaultType = Self;
10596 }
10597 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10598 #[repr(C)]
10599 pub struct STROKE_RANGE {
10600     pub iStrokeBegin: u32,
10601     pub iStrokeEnd: u32,
10602 }
10603 impl STROKE_RANGE {}
10604 impl ::std::default::Default for STROKE_RANGE {
default() -> Self10605     fn default() -> Self {
10606         unsafe { ::std::mem::zeroed() }
10607     }
10608 }
10609 impl ::std::fmt::Debug for STROKE_RANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10610     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10611         fmt.debug_struct("STROKE_RANGE").field("iStrokeBegin", &self.iStrokeBegin).field("iStrokeEnd", &self.iStrokeEnd).finish()
10612     }
10613 }
10614 impl ::std::cmp::PartialEq for STROKE_RANGE {
eq(&self, other: &Self) -> bool10615     fn eq(&self, other: &Self) -> bool {
10616         self.iStrokeBegin == other.iStrokeBegin && self.iStrokeEnd == other.iStrokeEnd
10617     }
10618 }
10619 impl ::std::cmp::Eq for STROKE_RANGE {}
10620 unsafe impl ::windows::runtime::Abi for STROKE_RANGE {
10621     type Abi = Self;
10622     type DefaultType = Self;
10623 }
10624 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10625 #[repr(C)]
10626 pub struct SYSTEM_EVENT_DATA {
10627     pub bModifier: u8,
10628     pub wKey: u16,
10629     pub xPos: i32,
10630     pub yPos: i32,
10631     pub bCursorMode: u8,
10632     pub dwButtonState: u32,
10633 }
10634 impl SYSTEM_EVENT_DATA {}
10635 impl ::std::default::Default for SYSTEM_EVENT_DATA {
default() -> Self10636     fn default() -> Self {
10637         unsafe { ::std::mem::zeroed() }
10638     }
10639 }
10640 impl ::std::fmt::Debug for SYSTEM_EVENT_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10641     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10642         fmt.debug_struct("SYSTEM_EVENT_DATA").field("bModifier", &self.bModifier).field("wKey", &self.wKey).field("xPos", &self.xPos).field("yPos", &self.yPos).field("bCursorMode", &self.bCursorMode).field("dwButtonState", &self.dwButtonState).finish()
10643     }
10644 }
10645 impl ::std::cmp::PartialEq for SYSTEM_EVENT_DATA {
eq(&self, other: &Self) -> bool10646     fn eq(&self, other: &Self) -> bool {
10647         self.bModifier == other.bModifier && self.wKey == other.wKey && self.xPos == other.xPos && self.yPos == other.yPos && self.bCursorMode == other.bCursorMode && self.dwButtonState == other.dwButtonState
10648     }
10649 }
10650 impl ::std::cmp::Eq for SYSTEM_EVENT_DATA {}
10651 unsafe impl ::windows::runtime::Abi for SYSTEM_EVENT_DATA {
10652     type Abi = Self;
10653     type DefaultType = Self;
10654 }
10655 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10656 #[repr(transparent)]
10657 pub struct ScrollBarsConstants(pub i32);
10658 pub const rtfNone: ScrollBarsConstants = ScrollBarsConstants(0i32);
10659 pub const rtfHorizontal: ScrollBarsConstants = ScrollBarsConstants(1i32);
10660 pub const rtfVertical: ScrollBarsConstants = ScrollBarsConstants(2i32);
10661 pub const rtfBoth: ScrollBarsConstants = ScrollBarsConstants(3i32);
10662 impl ::std::convert::From<i32> for ScrollBarsConstants {
from(value: i32) -> Self10663     fn from(value: i32) -> Self {
10664         Self(value)
10665     }
10666 }
10667 unsafe impl ::windows::runtime::Abi for ScrollBarsConstants {
10668     type Abi = Self;
10669     type DefaultType = Self;
10670 }
10671 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10672 #[repr(transparent)]
10673 pub struct SelAlignmentConstants(pub i32);
10674 pub const rtfLeft: SelAlignmentConstants = SelAlignmentConstants(0i32);
10675 pub const rtfRight: SelAlignmentConstants = SelAlignmentConstants(1i32);
10676 pub const rtfCenter: SelAlignmentConstants = SelAlignmentConstants(2i32);
10677 impl ::std::convert::From<i32> for SelAlignmentConstants {
from(value: i32) -> Self10678     fn from(value: i32) -> Self {
10679         Self(value)
10680     }
10681 }
10682 unsafe impl ::windows::runtime::Abi for SelAlignmentConstants {
10683     type Abi = Self;
10684     type DefaultType = Self;
10685 }
10686 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10687 #[repr(transparent)]
10688 pub struct SelectionHitResult(pub i32);
10689 pub const SHR_None: SelectionHitResult = SelectionHitResult(0i32);
10690 pub const SHR_NW: SelectionHitResult = SelectionHitResult(1i32);
10691 pub const SHR_SE: SelectionHitResult = SelectionHitResult(2i32);
10692 pub const SHR_NE: SelectionHitResult = SelectionHitResult(3i32);
10693 pub const SHR_SW: SelectionHitResult = SelectionHitResult(4i32);
10694 pub const SHR_E: SelectionHitResult = SelectionHitResult(5i32);
10695 pub const SHR_W: SelectionHitResult = SelectionHitResult(6i32);
10696 pub const SHR_N: SelectionHitResult = SelectionHitResult(7i32);
10697 pub const SHR_S: SelectionHitResult = SelectionHitResult(8i32);
10698 pub const SHR_Selection: SelectionHitResult = SelectionHitResult(9i32);
10699 impl ::std::convert::From<i32> for SelectionHitResult {
from(value: i32) -> Self10700     fn from(value: i32) -> Self {
10701         Self(value)
10702     }
10703 }
10704 unsafe impl ::windows::runtime::Abi for SelectionHitResult {
10705     type Abi = Self;
10706     type DefaultType = Self;
10707 }
10708 #[inline]
SetEnabledUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, cranges: u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::Result<()>10709 pub unsafe fn SetEnabledUnicodeRanges<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, cranges: u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::Result<()> {
10710     #[cfg(windows)]
10711     {
10712         #[link(name = "windows")]
10713         extern "system" {
10714             fn SetEnabledUnicodeRanges(hrc: HRECOCONTEXT, cranges: u32, pcr: *mut CHARACTER_RANGE) -> ::windows::runtime::HRESULT;
10715         }
10716         SetEnabledUnicodeRanges(hrc.into_param().abi(), ::std::mem::transmute(cranges), ::std::mem::transmute(pcr)).ok()
10717     }
10718     #[cfg(not(windows))]
10719     unimplemented!("Unsupported target OS");
10720 }
10721 #[cfg(feature = "Win32_Foundation")]
10722 #[inline]
SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, cwcfactoid: u32, pwcfactoid: Param2) -> ::windows::runtime::Result<()>10723 pub unsafe fn SetFactoid<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, cwcfactoid: u32, pwcfactoid: Param2) -> ::windows::runtime::Result<()> {
10724     #[cfg(windows)]
10725     {
10726         #[link(name = "windows")]
10727         extern "system" {
10728             fn SetFactoid(hrc: HRECOCONTEXT, cwcfactoid: u32, pwcfactoid: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
10729         }
10730         SetFactoid(hrc.into_param().abi(), ::std::mem::transmute(cwcfactoid), pwcfactoid.into_param().abi()).ok()
10731     }
10732     #[cfg(not(windows))]
10733     unimplemented!("Unsupported target OS");
10734 }
10735 #[inline]
SetFlags<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, dwflags: u32) -> ::windows::runtime::Result<()>10736 pub unsafe fn SetFlags<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, dwflags: u32) -> ::windows::runtime::Result<()> {
10737     #[cfg(windows)]
10738     {
10739         #[link(name = "windows")]
10740         extern "system" {
10741             fn SetFlags(hrc: HRECOCONTEXT, dwflags: u32) -> ::windows::runtime::HRESULT;
10742         }
10743         SetFlags(hrc.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
10744     }
10745     #[cfg(not(windows))]
10746     unimplemented!("Unsupported target OS");
10747 }
10748 #[inline]
SetGuide<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pguide: *const RECO_GUIDE, iindex: u32) -> ::windows::runtime::Result<()>10749 pub unsafe fn SetGuide<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>>(hrc: Param0, pguide: *const RECO_GUIDE, iindex: u32) -> ::windows::runtime::Result<()> {
10750     #[cfg(windows)]
10751     {
10752         #[link(name = "windows")]
10753         extern "system" {
10754             fn SetGuide(hrc: HRECOCONTEXT, pguide: *const RECO_GUIDE, iindex: u32) -> ::windows::runtime::HRESULT;
10755         }
10756         SetGuide(hrc.into_param().abi(), ::std::mem::transmute(pguide), ::std::mem::transmute(iindex)).ok()
10757     }
10758     #[cfg(not(windows))]
10759     unimplemented!("Unsupported target OS");
10760 }
10761 #[cfg(feature = "Win32_Foundation")]
10762 #[inline]
SetTextContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, cwcbefore: u32, pwcbefore: Param2, cwcafter: u32, pwcafter: Param4) -> ::windows::runtime::Result<()>10763 pub unsafe fn SetTextContext<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hrc: Param0, cwcbefore: u32, pwcbefore: Param2, cwcafter: u32, pwcafter: Param4) -> ::windows::runtime::Result<()> {
10764     #[cfg(windows)]
10765     {
10766         #[link(name = "windows")]
10767         extern "system" {
10768             fn SetTextContext(hrc: HRECOCONTEXT, cwcbefore: u32, pwcbefore: super::super::Foundation::PWSTR, cwcafter: u32, pwcafter: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
10769         }
10770         SetTextContext(hrc.into_param().abi(), ::std::mem::transmute(cwcbefore), pwcbefore.into_param().abi(), ::std::mem::transmute(cwcafter), pwcafter.into_param().abi()).ok()
10771     }
10772     #[cfg(not(windows))]
10773     unimplemented!("Unsupported target OS");
10774 }
10775 #[inline]
SetWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param1: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>>(hrc: Param0, hwl: Param1) -> ::windows::runtime::Result<()>10776 pub unsafe fn SetWordList<'a, Param0: ::windows::runtime::IntoParam<'a, HRECOCONTEXT>, Param1: ::windows::runtime::IntoParam<'a, HRECOWORDLIST>>(hrc: Param0, hwl: Param1) -> ::windows::runtime::Result<()> {
10777     #[cfg(windows)]
10778     {
10779         #[link(name = "windows")]
10780         extern "system" {
10781             fn SetWordList(hrc: HRECOCONTEXT, hwl: HRECOWORDLIST) -> ::windows::runtime::HRESULT;
10782         }
10783         SetWordList(hrc.into_param().abi(), hwl.into_param().abi()).ok()
10784     }
10785     #[cfg(not(windows))]
10786     unimplemented!("Unsupported target OS");
10787 }
10788 pub const SketchInk: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4029223041, 59516, 19975, [151, 218, 160, 160, 55, 97, 229, 134]);
10789 pub const StrokeBuilder: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3893415655, 28241, 19632, [170, 58, 11, 152, 91, 112, 218, 247]);
10790 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10791 #[repr(C)]
10792 #[cfg(feature = "Win32_Foundation")]
10793 pub struct StylusInfo {
10794     pub tcid: u32,
10795     pub cid: u32,
10796     pub bIsInvertedCursor: super::super::Foundation::BOOL,
10797 }
10798 #[cfg(feature = "Win32_Foundation")]
10799 impl StylusInfo {}
10800 #[cfg(feature = "Win32_Foundation")]
10801 impl ::std::default::Default for StylusInfo {
default() -> Self10802     fn default() -> Self {
10803         unsafe { ::std::mem::zeroed() }
10804     }
10805 }
10806 #[cfg(feature = "Win32_Foundation")]
10807 impl ::std::fmt::Debug for StylusInfo {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10808     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10809         fmt.debug_struct("StylusInfo").field("tcid", &self.tcid).field("cid", &self.cid).field("bIsInvertedCursor", &self.bIsInvertedCursor).finish()
10810     }
10811 }
10812 #[cfg(feature = "Win32_Foundation")]
10813 impl ::std::cmp::PartialEq for StylusInfo {
eq(&self, other: &Self) -> bool10814     fn eq(&self, other: &Self) -> bool {
10815         self.tcid == other.tcid && self.cid == other.cid && self.bIsInvertedCursor == other.bIsInvertedCursor
10816     }
10817 }
10818 #[cfg(feature = "Win32_Foundation")]
10819 impl ::std::cmp::Eq for StylusInfo {}
10820 #[cfg(feature = "Win32_Foundation")]
10821 unsafe impl ::windows::runtime::Abi for StylusInfo {
10822     type Abi = Self;
10823     type DefaultType = Self;
10824 }
10825 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10826 #[repr(transparent)]
10827 pub struct StylusQueue(pub i32);
10828 pub const SyncStylusQueue: StylusQueue = StylusQueue(1i32);
10829 pub const AsyncStylusQueueImmediate: StylusQueue = StylusQueue(2i32);
10830 pub const AsyncStylusQueue: StylusQueue = StylusQueue(3i32);
10831 impl ::std::convert::From<i32> for StylusQueue {
from(value: i32) -> Self10832     fn from(value: i32) -> Self {
10833         Self(value)
10834     }
10835 }
10836 unsafe impl ::windows::runtime::Abi for StylusQueue {
10837     type Abi = Self;
10838     type DefaultType = Self;
10839 }
10840 pub const TABLET_DISABLE_FLICKFALLBACKKEYS: u32 = 1048576u32;
10841 pub const TABLET_DISABLE_FLICKS: u32 = 65536u32;
10842 pub const TABLET_DISABLE_PENBARRELFEEDBACK: u32 = 16u32;
10843 pub const TABLET_DISABLE_PENTAPFEEDBACK: u32 = 8u32;
10844 pub const TABLET_DISABLE_PRESSANDHOLD: u32 = 1u32;
10845 pub const TABLET_DISABLE_SMOOTHSCROLLING: u32 = 524288u32;
10846 pub const TABLET_DISABLE_TOUCHSWITCH: u32 = 32768u32;
10847 pub const TABLET_DISABLE_TOUCHUIFORCEOFF: u32 = 512u32;
10848 pub const TABLET_DISABLE_TOUCHUIFORCEON: u32 = 256u32;
10849 pub const TABLET_ENABLE_FLICKLEARNINGMODE: u32 = 262144u32;
10850 pub const TABLET_ENABLE_FLICKSONCONTEXT: u32 = 131072u32;
10851 pub const TABLET_ENABLE_MULTITOUCHDATA: u32 = 16777216u32;
10852 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10853 #[repr(transparent)]
10854 pub struct TabletDeviceKind(pub i32);
10855 pub const TDK_Mouse: TabletDeviceKind = TabletDeviceKind(0i32);
10856 pub const TDK_Pen: TabletDeviceKind = TabletDeviceKind(1i32);
10857 pub const TDK_Touch: TabletDeviceKind = TabletDeviceKind(2i32);
10858 impl ::std::convert::From<i32> for TabletDeviceKind {
from(value: i32) -> Self10859     fn from(value: i32) -> Self {
10860         Self(value)
10861     }
10862 }
10863 unsafe impl ::windows::runtime::Abi for TabletDeviceKind {
10864     type Abi = Self;
10865     type DefaultType = Self;
10866 }
10867 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10868 #[repr(transparent)]
10869 pub struct TabletHardwareCapabilities(pub i32);
10870 pub const THWC_Integrated: TabletHardwareCapabilities = TabletHardwareCapabilities(1i32);
10871 pub const THWC_CursorMustTouch: TabletHardwareCapabilities = TabletHardwareCapabilities(2i32);
10872 pub const THWC_HardProximity: TabletHardwareCapabilities = TabletHardwareCapabilities(4i32);
10873 pub const THWC_CursorsHavePhysicalIds: TabletHardwareCapabilities = TabletHardwareCapabilities(8i32);
10874 impl ::std::convert::From<i32> for TabletHardwareCapabilities {
from(value: i32) -> Self10875     fn from(value: i32) -> Self {
10876         Self(value)
10877     }
10878 }
10879 unsafe impl ::windows::runtime::Abi for TabletHardwareCapabilities {
10880     type Abi = Self;
10881     type DefaultType = Self;
10882 }
10883 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10884 #[repr(transparent)]
10885 pub struct TabletPropertyMetricUnit(pub i32);
10886 pub const TPMU_Default: TabletPropertyMetricUnit = TabletPropertyMetricUnit(0i32);
10887 pub const TPMU_Inches: TabletPropertyMetricUnit = TabletPropertyMetricUnit(1i32);
10888 pub const TPMU_Centimeters: TabletPropertyMetricUnit = TabletPropertyMetricUnit(2i32);
10889 pub const TPMU_Degrees: TabletPropertyMetricUnit = TabletPropertyMetricUnit(3i32);
10890 pub const TPMU_Radians: TabletPropertyMetricUnit = TabletPropertyMetricUnit(4i32);
10891 pub const TPMU_Seconds: TabletPropertyMetricUnit = TabletPropertyMetricUnit(5i32);
10892 pub const TPMU_Pounds: TabletPropertyMetricUnit = TabletPropertyMetricUnit(6i32);
10893 pub const TPMU_Grams: TabletPropertyMetricUnit = TabletPropertyMetricUnit(7i32);
10894 impl ::std::convert::From<i32> for TabletPropertyMetricUnit {
from(value: i32) -> Self10895     fn from(value: i32) -> Self {
10896         Self(value)
10897     }
10898 }
10899 unsafe impl ::windows::runtime::Abi for TabletPropertyMetricUnit {
10900     type Abi = Self;
10901     type DefaultType = Self;
10902 }
10903 pub const TextInputPanel: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4189161943, 8843, 20267, [134, 80, 185, 127, 89, 224, 44, 140]);
10904 pub const TipAutoCompleteClient: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2155617900, 7424, 17727, [185, 32, 182, 27, 183, 205, 217, 151]);
10905 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10906 #[repr(transparent)]
10907 pub struct VisualState(pub i32);
10908 pub const InPlace: VisualState = VisualState(0i32);
10909 pub const Floating: VisualState = VisualState(1i32);
10910 pub const DockedTop: VisualState = VisualState(2i32);
10911 pub const DockedBottom: VisualState = VisualState(3i32);
10912 pub const Closed: VisualState = VisualState(4i32);
10913 impl ::std::convert::From<i32> for VisualState {
from(value: i32) -> Self10914     fn from(value: i32) -> Self {
10915         Self(value)
10916     }
10917 }
10918 unsafe impl ::windows::runtime::Abi for VisualState {
10919     type Abi = Self;
10920     type DefaultType = Self;
10921 }
10922 pub const WM_TABLET_ADDED: u32 = 712u32;
10923 pub const WM_TABLET_DEFBASE: u32 = 704u32;
10924 pub const WM_TABLET_DELETED: u32 = 713u32;
10925 pub const WM_TABLET_FLICK: u32 = 715u32;
10926 pub const WM_TABLET_MAXOFFSET: u32 = 32u32;
10927 pub const WM_TABLET_QUERYSYSTEMGESTURESTATUS: u32 = 716u32;
10928 #[repr(transparent)]
10929 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10930 pub struct _IInkCollectorEvents(::windows::runtime::IUnknown);
10931 impl _IInkCollectorEvents {}
10932 unsafe impl ::windows::runtime::Interface for _IInkCollectorEvents {
10933     type Vtable = _IInkCollectorEvents_abi;
10934     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(296059890, 28973, 20458, [171, 207, 171, 74, 243, 142, 160, 107]);
10935 }
10936 impl ::std::convert::From<_IInkCollectorEvents> for ::windows::runtime::IUnknown {
from(value: _IInkCollectorEvents) -> Self10937     fn from(value: _IInkCollectorEvents) -> Self {
10938         unsafe { ::std::mem::transmute(value) }
10939     }
10940 }
10941 impl ::std::convert::From<&_IInkCollectorEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkCollectorEvents) -> Self10942     fn from(value: &_IInkCollectorEvents) -> Self {
10943         ::std::convert::From::from(::std::clone::Clone::clone(value))
10944     }
10945 }
10946 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkCollectorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10947     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10948         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10949     }
10950 }
10951 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkCollectorEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10952     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10953         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10954     }
10955 }
10956 #[cfg(feature = "Win32_System_Ole_Automation")]
10957 impl ::std::convert::From<_IInkCollectorEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkCollectorEvents) -> Self10958     fn from(value: _IInkCollectorEvents) -> Self {
10959         unsafe { ::std::mem::transmute(value) }
10960     }
10961 }
10962 #[cfg(feature = "Win32_System_Ole_Automation")]
10963 impl ::std::convert::From<&_IInkCollectorEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkCollectorEvents) -> Self10964     fn from(value: &_IInkCollectorEvents) -> Self {
10965         ::std::convert::From::from(::std::clone::Clone::clone(value))
10966     }
10967 }
10968 #[cfg(feature = "Win32_System_Ole_Automation")]
10969 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkCollectorEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>10970     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
10971         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
10972     }
10973 }
10974 #[cfg(feature = "Win32_System_Ole_Automation")]
10975 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkCollectorEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>10976     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
10977         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
10978     }
10979 }
10980 #[repr(C)]
10981 #[doc(hidden)]
10982 pub struct _IInkCollectorEvents_abi(
10983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
10987     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10988     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
10989     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
10990     #[cfg(not(feature = "Win32_Foundation"))] usize,
10991     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
10992     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
10993     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
10994 );
10995 #[repr(transparent)]
10996 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10997 pub struct _IInkEditEvents(::windows::runtime::IUnknown);
10998 impl _IInkEditEvents {}
10999 unsafe impl ::windows::runtime::Interface for _IInkEditEvents {
11000     type Vtable = _IInkEditEvents_abi;
11001     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3820009367, 42798, 18139, [160, 215, 108, 158, 186, 142, 155, 188]);
11002 }
11003 impl ::std::convert::From<_IInkEditEvents> for ::windows::runtime::IUnknown {
from(value: _IInkEditEvents) -> Self11004     fn from(value: _IInkEditEvents) -> Self {
11005         unsafe { ::std::mem::transmute(value) }
11006     }
11007 }
11008 impl ::std::convert::From<&_IInkEditEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkEditEvents) -> Self11009     fn from(value: &_IInkEditEvents) -> Self {
11010         ::std::convert::From::from(::std::clone::Clone::clone(value))
11011     }
11012 }
11013 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkEditEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11014     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11015         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11016     }
11017 }
11018 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkEditEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11019     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11020         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11021     }
11022 }
11023 #[cfg(feature = "Win32_System_Ole_Automation")]
11024 impl ::std::convert::From<_IInkEditEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkEditEvents) -> Self11025     fn from(value: _IInkEditEvents) -> Self {
11026         unsafe { ::std::mem::transmute(value) }
11027     }
11028 }
11029 #[cfg(feature = "Win32_System_Ole_Automation")]
11030 impl ::std::convert::From<&_IInkEditEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkEditEvents) -> Self11031     fn from(value: &_IInkEditEvents) -> Self {
11032         ::std::convert::From::from(::std::clone::Clone::clone(value))
11033     }
11034 }
11035 #[cfg(feature = "Win32_System_Ole_Automation")]
11036 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkEditEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11037     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11038         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11039     }
11040 }
11041 #[cfg(feature = "Win32_System_Ole_Automation")]
11042 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkEditEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11043     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11044         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11045     }
11046 }
11047 #[repr(C)]
11048 #[doc(hidden)]
11049 pub struct _IInkEditEvents_abi(
11050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11054     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11055     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11056     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11057     #[cfg(not(feature = "Win32_Foundation"))] usize,
11058     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11059     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11060     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11061 );
11062 #[repr(transparent)]
11063 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11064 pub struct _IInkEvents(::windows::runtime::IUnknown);
11065 impl _IInkEvents {}
11066 unsafe impl ::windows::runtime::Interface for _IInkEvents {
11067     type Vtable = _IInkEvents_abi;
11068     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1115363429, 51775, 18330, [131, 169, 15, 66, 15, 42, 0, 115]);
11069 }
11070 impl ::std::convert::From<_IInkEvents> for ::windows::runtime::IUnknown {
from(value: _IInkEvents) -> Self11071     fn from(value: _IInkEvents) -> Self {
11072         unsafe { ::std::mem::transmute(value) }
11073     }
11074 }
11075 impl ::std::convert::From<&_IInkEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkEvents) -> Self11076     fn from(value: &_IInkEvents) -> Self {
11077         ::std::convert::From::from(::std::clone::Clone::clone(value))
11078     }
11079 }
11080 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11081     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11082         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11083     }
11084 }
11085 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11086     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11087         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11088     }
11089 }
11090 #[cfg(feature = "Win32_System_Ole_Automation")]
11091 impl ::std::convert::From<_IInkEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkEvents) -> Self11092     fn from(value: _IInkEvents) -> Self {
11093         unsafe { ::std::mem::transmute(value) }
11094     }
11095 }
11096 #[cfg(feature = "Win32_System_Ole_Automation")]
11097 impl ::std::convert::From<&_IInkEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkEvents) -> Self11098     fn from(value: &_IInkEvents) -> Self {
11099         ::std::convert::From::from(::std::clone::Clone::clone(value))
11100     }
11101 }
11102 #[cfg(feature = "Win32_System_Ole_Automation")]
11103 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11104     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11105         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11106     }
11107 }
11108 #[cfg(feature = "Win32_System_Ole_Automation")]
11109 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11110     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11111         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11112     }
11113 }
11114 #[repr(C)]
11115 #[doc(hidden)]
11116 pub struct _IInkEvents_abi(
11117     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11119     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11120     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11121     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11122     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11123     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11124     #[cfg(not(feature = "Win32_Foundation"))] usize,
11125     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11126     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11127     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11128 );
11129 #[repr(transparent)]
11130 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11131 pub struct _IInkOverlayEvents(::windows::runtime::IUnknown);
11132 impl _IInkOverlayEvents {}
11133 unsafe impl ::windows::runtime::Interface for _IInkOverlayEvents {
11134     type Vtable = _IInkOverlayEvents_abi;
11135     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(823630697, 58723, 18590, [177, 111, 113, 47, 30, 138, 6, 81]);
11136 }
11137 impl ::std::convert::From<_IInkOverlayEvents> for ::windows::runtime::IUnknown {
from(value: _IInkOverlayEvents) -> Self11138     fn from(value: _IInkOverlayEvents) -> Self {
11139         unsafe { ::std::mem::transmute(value) }
11140     }
11141 }
11142 impl ::std::convert::From<&_IInkOverlayEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkOverlayEvents) -> Self11143     fn from(value: &_IInkOverlayEvents) -> Self {
11144         ::std::convert::From::from(::std::clone::Clone::clone(value))
11145     }
11146 }
11147 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkOverlayEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11148     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11149         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11150     }
11151 }
11152 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkOverlayEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11153     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11154         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11155     }
11156 }
11157 #[cfg(feature = "Win32_System_Ole_Automation")]
11158 impl ::std::convert::From<_IInkOverlayEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkOverlayEvents) -> Self11159     fn from(value: _IInkOverlayEvents) -> Self {
11160         unsafe { ::std::mem::transmute(value) }
11161     }
11162 }
11163 #[cfg(feature = "Win32_System_Ole_Automation")]
11164 impl ::std::convert::From<&_IInkOverlayEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkOverlayEvents) -> Self11165     fn from(value: &_IInkOverlayEvents) -> Self {
11166         ::std::convert::From::from(::std::clone::Clone::clone(value))
11167     }
11168 }
11169 #[cfg(feature = "Win32_System_Ole_Automation")]
11170 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkOverlayEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11171     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11172         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11173     }
11174 }
11175 #[cfg(feature = "Win32_System_Ole_Automation")]
11176 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkOverlayEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11177     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11178         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11179     }
11180 }
11181 #[repr(C)]
11182 #[doc(hidden)]
11183 pub struct _IInkOverlayEvents_abi(
11184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11188     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11189     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11190     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11191     #[cfg(not(feature = "Win32_Foundation"))] usize,
11192     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11193     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11194     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11195 );
11196 #[repr(transparent)]
11197 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11198 pub struct _IInkPictureEvents(::windows::runtime::IUnknown);
11199 impl _IInkPictureEvents {}
11200 unsafe impl ::windows::runtime::Interface for _IInkPictureEvents {
11201     type Vtable = _IInkPictureEvents_abi;
11202     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1627344878, 8959, 17540, [172, 193, 211, 8, 217, 205, 126, 163]);
11203 }
11204 impl ::std::convert::From<_IInkPictureEvents> for ::windows::runtime::IUnknown {
from(value: _IInkPictureEvents) -> Self11205     fn from(value: _IInkPictureEvents) -> Self {
11206         unsafe { ::std::mem::transmute(value) }
11207     }
11208 }
11209 impl ::std::convert::From<&_IInkPictureEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkPictureEvents) -> Self11210     fn from(value: &_IInkPictureEvents) -> Self {
11211         ::std::convert::From::from(::std::clone::Clone::clone(value))
11212     }
11213 }
11214 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkPictureEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11215     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11216         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11217     }
11218 }
11219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkPictureEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11220     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11221         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11222     }
11223 }
11224 #[cfg(feature = "Win32_System_Ole_Automation")]
11225 impl ::std::convert::From<_IInkPictureEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkPictureEvents) -> Self11226     fn from(value: _IInkPictureEvents) -> Self {
11227         unsafe { ::std::mem::transmute(value) }
11228     }
11229 }
11230 #[cfg(feature = "Win32_System_Ole_Automation")]
11231 impl ::std::convert::From<&_IInkPictureEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkPictureEvents) -> Self11232     fn from(value: &_IInkPictureEvents) -> Self {
11233         ::std::convert::From::from(::std::clone::Clone::clone(value))
11234     }
11235 }
11236 #[cfg(feature = "Win32_System_Ole_Automation")]
11237 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkPictureEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11238     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11239         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11240     }
11241 }
11242 #[cfg(feature = "Win32_System_Ole_Automation")]
11243 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkPictureEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11244     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11245         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11246     }
11247 }
11248 #[repr(C)]
11249 #[doc(hidden)]
11250 pub struct _IInkPictureEvents_abi(
11251     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11252     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11253     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11254     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11255     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11256     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11257     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11258     #[cfg(not(feature = "Win32_Foundation"))] usize,
11259     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11260     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11261     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11262 );
11263 #[repr(transparent)]
11264 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11265 pub struct _IInkRecognitionEvents(::windows::runtime::IUnknown);
11266 impl _IInkRecognitionEvents {}
11267 unsafe impl ::windows::runtime::Interface for _IInkRecognitionEvents {
11268     type Vtable = _IInkRecognitionEvents_abi;
11269     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(398256431, 11809, 18429, [157, 51, 60, 106, 251, 253, 140, 89]);
11270 }
11271 impl ::std::convert::From<_IInkRecognitionEvents> for ::windows::runtime::IUnknown {
from(value: _IInkRecognitionEvents) -> Self11272     fn from(value: _IInkRecognitionEvents) -> Self {
11273         unsafe { ::std::mem::transmute(value) }
11274     }
11275 }
11276 impl ::std::convert::From<&_IInkRecognitionEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkRecognitionEvents) -> Self11277     fn from(value: &_IInkRecognitionEvents) -> Self {
11278         ::std::convert::From::from(::std::clone::Clone::clone(value))
11279     }
11280 }
11281 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkRecognitionEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11282     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11283         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11284     }
11285 }
11286 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkRecognitionEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11287     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11288         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11289     }
11290 }
11291 #[cfg(feature = "Win32_System_Ole_Automation")]
11292 impl ::std::convert::From<_IInkRecognitionEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkRecognitionEvents) -> Self11293     fn from(value: _IInkRecognitionEvents) -> Self {
11294         unsafe { ::std::mem::transmute(value) }
11295     }
11296 }
11297 #[cfg(feature = "Win32_System_Ole_Automation")]
11298 impl ::std::convert::From<&_IInkRecognitionEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkRecognitionEvents) -> Self11299     fn from(value: &_IInkRecognitionEvents) -> Self {
11300         ::std::convert::From::from(::std::clone::Clone::clone(value))
11301     }
11302 }
11303 #[cfg(feature = "Win32_System_Ole_Automation")]
11304 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkRecognitionEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11305     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11306         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11307     }
11308 }
11309 #[cfg(feature = "Win32_System_Ole_Automation")]
11310 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkRecognitionEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11311     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11312         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11313     }
11314 }
11315 #[repr(C)]
11316 #[doc(hidden)]
11317 pub struct _IInkRecognitionEvents_abi(
11318     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11320     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11321     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11322     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11323     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11324     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11325     #[cfg(not(feature = "Win32_Foundation"))] usize,
11326     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11327     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11328     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11329 );
11330 #[repr(transparent)]
11331 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11332 pub struct _IInkStrokesEvents(::windows::runtime::IUnknown);
11333 impl _IInkStrokesEvents {}
11334 unsafe impl ::windows::runtime::Interface for _IInkStrokesEvents {
11335     type Vtable = _IInkStrokesEvents_abi;
11336     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4080030700, 23845, 17162, [146, 143, 118, 166, 73, 29, 222, 21]);
11337 }
11338 impl ::std::convert::From<_IInkStrokesEvents> for ::windows::runtime::IUnknown {
from(value: _IInkStrokesEvents) -> Self11339     fn from(value: _IInkStrokesEvents) -> Self {
11340         unsafe { ::std::mem::transmute(value) }
11341     }
11342 }
11343 impl ::std::convert::From<&_IInkStrokesEvents> for ::windows::runtime::IUnknown {
from(value: &_IInkStrokesEvents) -> Self11344     fn from(value: &_IInkStrokesEvents) -> Self {
11345         ::std::convert::From::from(::std::clone::Clone::clone(value))
11346     }
11347 }
11348 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IInkStrokesEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11349     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11350         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11351     }
11352 }
11353 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IInkStrokesEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11354     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11355         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11356     }
11357 }
11358 #[cfg(feature = "Win32_System_Ole_Automation")]
11359 impl ::std::convert::From<_IInkStrokesEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IInkStrokesEvents) -> Self11360     fn from(value: _IInkStrokesEvents) -> Self {
11361         unsafe { ::std::mem::transmute(value) }
11362     }
11363 }
11364 #[cfg(feature = "Win32_System_Ole_Automation")]
11365 impl ::std::convert::From<&_IInkStrokesEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IInkStrokesEvents) -> Self11366     fn from(value: &_IInkStrokesEvents) -> Self {
11367         ::std::convert::From::from(::std::clone::Clone::clone(value))
11368     }
11369 }
11370 #[cfg(feature = "Win32_System_Ole_Automation")]
11371 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IInkStrokesEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11372     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11373         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11374     }
11375 }
11376 #[cfg(feature = "Win32_System_Ole_Automation")]
11377 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IInkStrokesEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11378     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11379         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11380     }
11381 }
11382 #[repr(C)]
11383 #[doc(hidden)]
11384 pub struct _IInkStrokesEvents_abi(
11385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11387     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11388     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11389     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11390     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11391     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11392     #[cfg(not(feature = "Win32_Foundation"))] usize,
11393     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11394     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11395     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11396 );
11397 #[repr(transparent)]
11398 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11399 pub struct _IMathInputControlEvents(::windows::runtime::IUnknown);
11400 impl _IMathInputControlEvents {}
11401 unsafe impl ::windows::runtime::Interface for _IMathInputControlEvents {
11402     type Vtable = _IMathInputControlEvents_abi;
11403     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1748186805, 42109, 17240, [150, 249, 135, 90, 71, 42, 231, 10]);
11404 }
11405 impl ::std::convert::From<_IMathInputControlEvents> for ::windows::runtime::IUnknown {
from(value: _IMathInputControlEvents) -> Self11406     fn from(value: _IMathInputControlEvents) -> Self {
11407         unsafe { ::std::mem::transmute(value) }
11408     }
11409 }
11410 impl ::std::convert::From<&_IMathInputControlEvents> for ::windows::runtime::IUnknown {
from(value: &_IMathInputControlEvents) -> Self11411     fn from(value: &_IMathInputControlEvents) -> Self {
11412         ::std::convert::From::from(::std::clone::Clone::clone(value))
11413     }
11414 }
11415 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IMathInputControlEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11416     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11417         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11418     }
11419 }
11420 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IMathInputControlEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11421     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11422         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11423     }
11424 }
11425 #[cfg(feature = "Win32_System_Ole_Automation")]
11426 impl ::std::convert::From<_IMathInputControlEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IMathInputControlEvents) -> Self11427     fn from(value: _IMathInputControlEvents) -> Self {
11428         unsafe { ::std::mem::transmute(value) }
11429     }
11430 }
11431 #[cfg(feature = "Win32_System_Ole_Automation")]
11432 impl ::std::convert::From<&_IMathInputControlEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IMathInputControlEvents) -> Self11433     fn from(value: &_IMathInputControlEvents) -> Self {
11434         ::std::convert::From::from(::std::clone::Clone::clone(value))
11435     }
11436 }
11437 #[cfg(feature = "Win32_System_Ole_Automation")]
11438 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IMathInputControlEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11439     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11440         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11441     }
11442 }
11443 #[cfg(feature = "Win32_System_Ole_Automation")]
11444 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IMathInputControlEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11445     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11446         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11447     }
11448 }
11449 #[repr(C)]
11450 #[doc(hidden)]
11451 pub struct _IMathInputControlEvents_abi(
11452     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11456     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11457     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11458     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11459     #[cfg(not(feature = "Win32_Foundation"))] usize,
11460     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11461     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11462     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11463 );
11464 #[repr(transparent)]
11465 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
11466 pub struct _IPenInputPanelEvents(::windows::runtime::IUnknown);
11467 impl _IPenInputPanelEvents {}
11468 unsafe impl ::windows::runtime::Interface for _IPenInputPanelEvents {
11469     type Vtable = _IPenInputPanelEvents_abi;
11470     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3085208026, 14105, 17311, [132, 143, 231, 172, 189, 130, 15, 23]);
11471 }
11472 impl ::std::convert::From<_IPenInputPanelEvents> for ::windows::runtime::IUnknown {
from(value: _IPenInputPanelEvents) -> Self11473     fn from(value: _IPenInputPanelEvents) -> Self {
11474         unsafe { ::std::mem::transmute(value) }
11475     }
11476 }
11477 impl ::std::convert::From<&_IPenInputPanelEvents> for ::windows::runtime::IUnknown {
from(value: &_IPenInputPanelEvents) -> Self11478     fn from(value: &_IPenInputPanelEvents) -> Self {
11479         ::std::convert::From::from(::std::clone::Clone::clone(value))
11480     }
11481 }
11482 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for _IPenInputPanelEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11483     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11484         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
11485     }
11486 }
11487 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &_IPenInputPanelEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>11488     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
11489         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
11490     }
11491 }
11492 #[cfg(feature = "Win32_System_Ole_Automation")]
11493 impl ::std::convert::From<_IPenInputPanelEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: _IPenInputPanelEvents) -> Self11494     fn from(value: _IPenInputPanelEvents) -> Self {
11495         unsafe { ::std::mem::transmute(value) }
11496     }
11497 }
11498 #[cfg(feature = "Win32_System_Ole_Automation")]
11499 impl ::std::convert::From<&_IPenInputPanelEvents> for super::super::System::Ole::Automation::IDispatch {
from(value: &_IPenInputPanelEvents) -> Self11500     fn from(value: &_IPenInputPanelEvents) -> Self {
11501         ::std::convert::From::from(::std::clone::Clone::clone(value))
11502     }
11503 }
11504 #[cfg(feature = "Win32_System_Ole_Automation")]
11505 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for _IPenInputPanelEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11506     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11507         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(self))
11508     }
11509 }
11510 #[cfg(feature = "Win32_System_Ole_Automation")]
11511 impl<'a> ::windows::runtime::IntoParam<'a, super::super::System::Ole::Automation::IDispatch> for &_IPenInputPanelEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch>11512     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::System::Ole::Automation::IDispatch> {
11513         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
11514     }
11515 }
11516 #[repr(C)]
11517 #[doc(hidden)]
11518 pub struct _IPenInputPanelEvents_abi(
11519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
11522     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
11523     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
11524     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
11525     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
11526     #[cfg(not(feature = "Win32_Foundation"))] usize,
11527     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11528     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
11529     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
11530 );
11531 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11532 #[repr(transparent)]
11533 pub struct enumGetCandidateFlags(pub i32);
11534 pub const TCF_ALLOW_RECOGNITION: enumGetCandidateFlags = enumGetCandidateFlags(1i32);
11535 pub const TCF_FORCE_RECOGNITION: enumGetCandidateFlags = enumGetCandidateFlags(2i32);
11536 impl ::std::convert::From<i32> for enumGetCandidateFlags {
from(value: i32) -> Self11537     fn from(value: i32) -> Self {
11538         Self(value)
11539     }
11540 }
11541 unsafe impl ::windows::runtime::Abi for enumGetCandidateFlags {
11542     type Abi = Self;
11543     type DefaultType = Self;
11544 }
11545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11546 #[repr(transparent)]
11547 pub struct enumINKMETRIC_FLAGS(pub i32);
11548 pub const IMF_FONT_SELECTED_IN_HDC: enumINKMETRIC_FLAGS = enumINKMETRIC_FLAGS(1i32);
11549 pub const IMF_ITALIC: enumINKMETRIC_FLAGS = enumINKMETRIC_FLAGS(2i32);
11550 pub const IMF_BOLD: enumINKMETRIC_FLAGS = enumINKMETRIC_FLAGS(4i32);
11551 impl ::std::convert::From<i32> for enumINKMETRIC_FLAGS {
from(value: i32) -> Self11552     fn from(value: i32) -> Self {
11553         Self(value)
11554     }
11555 }
11556 unsafe impl ::windows::runtime::Abi for enumINKMETRIC_FLAGS {
11557     type Abi = Self;
11558     type DefaultType = Self;
11559 }
11560 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11561 #[repr(transparent)]
11562 pub struct enumRECO_TYPE(pub i32);
11563 pub const RECO_TYPE_WSTRING: enumRECO_TYPE = enumRECO_TYPE(0i32);
11564 pub const RECO_TYPE_WCHAR: enumRECO_TYPE = enumRECO_TYPE(1i32);
11565 impl ::std::convert::From<i32> for enumRECO_TYPE {
from(value: i32) -> Self11566     fn from(value: i32) -> Self {
11567         Self(value)
11568     }
11569 }
11570 unsafe impl ::windows::runtime::Abi for enumRECO_TYPE {
11571     type Abi = Self;
11572     type DefaultType = Self;
11573 }
11574