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