1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 pub const ATP_CHANGE: u32 = 1u32;
3 pub const ATP_NOCHANGE: u32 = 0u32;
4 pub const ATP_NODELIMITER: u32 = 2u32;
5 pub const ATP_REPLACEALLTEXT: u32 = 4u32;
6 pub const AURL_DISABLEMIXEDLGC: u32 = 32u32;
7 pub const AURL_ENABLEDRIVELETTERS: u32 = 16u32;
8 pub const AURL_ENABLEEA: u32 = 1u32;
9 pub const AURL_ENABLEEAURLS: u32 = 8u32;
10 pub const AURL_ENABLEEMAILADDR: u32 = 2u32;
11 pub const AURL_ENABLETELNO: u32 = 4u32;
12 pub const AURL_ENABLEURL: u32 = 1u32;
13 #[cfg(feature = "Win32_Foundation")]
14 pub type AutoCorrectProc = unsafe extern "system" fn(langid: u16, pszbefore: super::super::super::Foundation::PWSTR, pszafter: super::super::super::Foundation::PWSTR, cchafter: i32, pcchreplaced: *mut i32) -> i32;
15 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
16 #[repr(C)]
17 pub struct BIDIOPTIONS {
18     pub cbSize: u32,
19     pub wMask: u16,
20     pub wEffects: u16,
21 }
22 impl BIDIOPTIONS {}
23 impl ::std::default::Default for BIDIOPTIONS {
default() -> Self24     fn default() -> Self {
25         unsafe { ::std::mem::zeroed() }
26     }
27 }
28 impl ::std::fmt::Debug for BIDIOPTIONS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result29     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
30         fmt.debug_struct("BIDIOPTIONS").field("cbSize", &self.cbSize).field("wMask", &self.wMask).field("wEffects", &self.wEffects).finish()
31     }
32 }
33 impl ::std::cmp::PartialEq for BIDIOPTIONS {
eq(&self, other: &Self) -> bool34     fn eq(&self, other: &Self) -> bool {
35         self.cbSize == other.cbSize && self.wMask == other.wMask && self.wEffects == other.wEffects
36     }
37 }
38 impl ::std::cmp::Eq for BIDIOPTIONS {}
39 unsafe impl ::windows::runtime::Abi for BIDIOPTIONS {
40     type Abi = Self;
41     type DefaultType = Self;
42 }
43 pub const BOE_CONTEXTALIGNMENT: u32 = 16u32;
44 pub const BOE_CONTEXTREADING: u32 = 8u32;
45 pub const BOE_FORCERECALC: u32 = 32u32;
46 pub const BOE_LEGACYBIDICLASS: u32 = 64u32;
47 pub const BOE_NEUTRALOVERRIDE: u32 = 4u32;
48 pub const BOE_PLAINTEXT: u32 = 2u32;
49 pub const BOE_RTLDIR: u32 = 1u32;
50 pub const BOE_UNICODEBIDI: u32 = 128u32;
51 pub const BOM_CONTEXTALIGNMENT: u32 = 16u32;
52 pub const BOM_CONTEXTREADING: u32 = 8u32;
53 pub const BOM_DEFPARADIR: u32 = 1u32;
54 pub const BOM_LEGACYBIDICLASS: u32 = 64u32;
55 pub const BOM_NEUTRALOVERRIDE: u32 = 4u32;
56 pub const BOM_PLAINTEXT: u32 = 2u32;
57 pub const BOM_UNICODEBIDI: u32 = 128u32;
58 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
59 #[repr(transparent)]
60 pub struct CARET_FLAGS(pub i32);
61 pub const CARET_NONE: CARET_FLAGS = CARET_FLAGS(0i32);
62 pub const CARET_CUSTOM: CARET_FLAGS = CARET_FLAGS(1i32);
63 pub const CARET_RTL: CARET_FLAGS = CARET_FLAGS(2i32);
64 pub const CARET_ITALIC: CARET_FLAGS = CARET_FLAGS(32i32);
65 pub const CARET_NULL: CARET_FLAGS = CARET_FLAGS(64i32);
66 pub const CARET_ROTATE90: CARET_FLAGS = CARET_FLAGS(128i32);
67 impl ::std::convert::From<i32> for CARET_FLAGS {
from(value: i32) -> Self68     fn from(value: i32) -> Self {
69         Self(value)
70     }
71 }
72 unsafe impl ::windows::runtime::Abi for CARET_FLAGS {
73     type Abi = Self;
74     type DefaultType = Self;
75 }
76 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
77 #[repr(C)]
78 #[cfg(feature = "Win32_Graphics_Gdi")]
79 pub union CARET_INFO {
80     pub hbitmap: super::super::super::Graphics::Gdi::HBITMAP,
81     pub caretFlags: CARET_FLAGS,
82 }
83 #[cfg(feature = "Win32_Graphics_Gdi")]
84 impl CARET_INFO {}
85 #[cfg(feature = "Win32_Graphics_Gdi")]
86 impl ::std::default::Default for CARET_INFO {
default() -> Self87     fn default() -> Self {
88         unsafe { ::std::mem::zeroed() }
89     }
90 }
91 #[cfg(feature = "Win32_Graphics_Gdi")]
92 impl ::std::cmp::PartialEq for CARET_INFO {
eq(&self, _other: &Self) -> bool93     fn eq(&self, _other: &Self) -> bool {
94         unimplemented!()
95     }
96 }
97 #[cfg(feature = "Win32_Graphics_Gdi")]
98 impl ::std::cmp::Eq for CARET_INFO {}
99 #[cfg(feature = "Win32_Graphics_Gdi")]
100 unsafe impl ::windows::runtime::Abi for CARET_INFO {
101     type Abi = Self;
102     type DefaultType = Self;
103 }
104 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
105 #[repr(transparent)]
106 pub struct CFE_EFFECTS(pub u32);
107 pub const CFE_ALLCAPS: CFE_EFFECTS = CFE_EFFECTS(128u32);
108 pub const CFE_AUTOBACKCOLOR: CFE_EFFECTS = CFE_EFFECTS(67108864u32);
109 pub const CFE_DISABLED: CFE_EFFECTS = CFE_EFFECTS(8192u32);
110 pub const CFE_EMBOSS: CFE_EFFECTS = CFE_EFFECTS(2048u32);
111 pub const CFE_HIDDEN: CFE_EFFECTS = CFE_EFFECTS(256u32);
112 pub const CFE_IMPRINT: CFE_EFFECTS = CFE_EFFECTS(4096u32);
113 pub const CFE_OUTLINE: CFE_EFFECTS = CFE_EFFECTS(512u32);
114 pub const CFE_REVISED: CFE_EFFECTS = CFE_EFFECTS(16384u32);
115 pub const CFE_SHADOW: CFE_EFFECTS = CFE_EFFECTS(1024u32);
116 pub const CFE_SMALLCAPS: CFE_EFFECTS = CFE_EFFECTS(64u32);
117 pub const CFE_AUTOCOLOR: CFE_EFFECTS = CFE_EFFECTS(1073741824u32);
118 pub const CFE_BOLD: CFE_EFFECTS = CFE_EFFECTS(1u32);
119 pub const CFE_ITALIC: CFE_EFFECTS = CFE_EFFECTS(2u32);
120 pub const CFE_STRIKEOUT: CFE_EFFECTS = CFE_EFFECTS(8u32);
121 pub const CFE_UNDERLINE: CFE_EFFECTS = CFE_EFFECTS(4u32);
122 pub const CFE_PROTECTED: CFE_EFFECTS = CFE_EFFECTS(16u32);
123 pub const CFE_LINK: CFE_EFFECTS = CFE_EFFECTS(32u32);
124 pub const CFE_SUBSCRIPT: CFE_EFFECTS = CFE_EFFECTS(65536u32);
125 pub const CFE_SUPERSCRIPT: CFE_EFFECTS = CFE_EFFECTS(131072u32);
126 pub const CFE_FONTBOUND: CFE_EFFECTS = CFE_EFFECTS(1048576u32);
127 pub const CFE_LINKPROTECTED: CFE_EFFECTS = CFE_EFFECTS(8388608u32);
128 pub const CFE_EXTENDED: CFE_EFFECTS = CFE_EFFECTS(33554432u32);
129 pub const CFE_MATHNOBUILDUP: CFE_EFFECTS = CFE_EFFECTS(134217728u32);
130 pub const CFE_MATH: CFE_EFFECTS = CFE_EFFECTS(268435456u32);
131 pub const CFE_MATHORDINARY: CFE_EFFECTS = CFE_EFFECTS(536870912u32);
132 impl ::std::convert::From<u32> for CFE_EFFECTS {
from(value: u32) -> Self133     fn from(value: u32) -> Self {
134         Self(value)
135     }
136 }
137 unsafe impl ::windows::runtime::Abi for CFE_EFFECTS {
138     type Abi = Self;
139     type DefaultType = Self;
140 }
141 impl ::std::ops::BitOr for CFE_EFFECTS {
142     type Output = Self;
bitor(self, rhs: Self) -> Self143     fn bitor(self, rhs: Self) -> Self {
144         Self(self.0 | rhs.0)
145     }
146 }
147 impl ::std::ops::BitAnd for CFE_EFFECTS {
148     type Output = Self;
bitand(self, rhs: Self) -> Self149     fn bitand(self, rhs: Self) -> Self {
150         Self(self.0 & rhs.0)
151     }
152 }
153 impl ::std::ops::BitOrAssign for CFE_EFFECTS {
bitor_assign(&mut self, rhs: Self)154     fn bitor_assign(&mut self, rhs: Self) {
155         self.0.bitor_assign(rhs.0)
156     }
157 }
158 impl ::std::ops::BitAndAssign for CFE_EFFECTS {
bitand_assign(&mut self, rhs: Self)159     fn bitand_assign(&mut self, rhs: Self) {
160         self.0.bitand_assign(rhs.0)
161     }
162 }
163 impl ::std::ops::Not for CFE_EFFECTS {
164     type Output = Self;
not(self) -> Self165     fn not(self) -> Self {
166         Self(self.0.not())
167     }
168 }
169 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
170 #[repr(transparent)]
171 pub struct CFM_MASK(pub u32);
172 pub const CFM_SUBSCRIPT: CFM_MASK = CFM_MASK(196608u32);
173 pub const CFM_SUPERSCRIPT: CFM_MASK = CFM_MASK(196608u32);
174 pub const CFM_EFFECTS: CFM_MASK = CFM_MASK(1073741887u32);
175 pub const CFM_ALL: CFM_MASK = CFM_MASK(4160749631u32);
176 pub const CFM_BOLD: CFM_MASK = CFM_MASK(1u32);
177 pub const CFM_CHARSET: CFM_MASK = CFM_MASK(134217728u32);
178 pub const CFM_COLOR: CFM_MASK = CFM_MASK(1073741824u32);
179 pub const CFM_FACE: CFM_MASK = CFM_MASK(536870912u32);
180 pub const CFM_ITALIC: CFM_MASK = CFM_MASK(2u32);
181 pub const CFM_OFFSET: CFM_MASK = CFM_MASK(268435456u32);
182 pub const CFM_PROTECTED: CFM_MASK = CFM_MASK(16u32);
183 pub const CFM_SIZE: CFM_MASK = CFM_MASK(2147483648u32);
184 pub const CFM_STRIKEOUT: CFM_MASK = CFM_MASK(8u32);
185 pub const CFM_UNDERLINE: CFM_MASK = CFM_MASK(4u32);
186 pub const CFM_LINK: CFM_MASK = CFM_MASK(32u32);
187 pub const CFM_SMALLCAPS: CFM_MASK = CFM_MASK(64u32);
188 pub const CFM_ALLCAPS: CFM_MASK = CFM_MASK(128u32);
189 pub const CFM_HIDDEN: CFM_MASK = CFM_MASK(256u32);
190 pub const CFM_OUTLINE: CFM_MASK = CFM_MASK(512u32);
191 pub const CFM_SHADOW: CFM_MASK = CFM_MASK(1024u32);
192 pub const CFM_EMBOSS: CFM_MASK = CFM_MASK(2048u32);
193 pub const CFM_IMPRINT: CFM_MASK = CFM_MASK(4096u32);
194 pub const CFM_DISABLED: CFM_MASK = CFM_MASK(8192u32);
195 pub const CFM_REVISED: CFM_MASK = CFM_MASK(16384u32);
196 pub const CFM_REVAUTHOR: CFM_MASK = CFM_MASK(32768u32);
197 pub const CFM_ANIMATION: CFM_MASK = CFM_MASK(262144u32);
198 pub const CFM_STYLE: CFM_MASK = CFM_MASK(524288u32);
199 pub const CFM_KERNING: CFM_MASK = CFM_MASK(1048576u32);
200 pub const CFM_SPACING: CFM_MASK = CFM_MASK(2097152u32);
201 pub const CFM_WEIGHT: CFM_MASK = CFM_MASK(4194304u32);
202 pub const CFM_UNDERLINETYPE: CFM_MASK = CFM_MASK(8388608u32);
203 pub const CFM_COOKIE: CFM_MASK = CFM_MASK(16777216u32);
204 pub const CFM_LCID: CFM_MASK = CFM_MASK(33554432u32);
205 pub const CFM_BACKCOLOR: CFM_MASK = CFM_MASK(67108864u32);
206 pub const CFM_EFFECTS2: CFM_MASK = CFM_MASK(1141080063u32);
207 pub const CFM_ALL2: CFM_MASK = CFM_MASK(4294967295u32);
208 pub const CFM_FONTBOUND: CFM_MASK = CFM_MASK(1048576u32);
209 pub const CFM_LINKPROTECTED: CFM_MASK = CFM_MASK(8388608u32);
210 pub const CFM_EXTENDED: CFM_MASK = CFM_MASK(33554432u32);
211 pub const CFM_MATHNOBUILDUP: CFM_MASK = CFM_MASK(134217728u32);
212 pub const CFM_MATH: CFM_MASK = CFM_MASK(268435456u32);
213 pub const CFM_MATHORDINARY: CFM_MASK = CFM_MASK(536870912u32);
214 pub const CFM_ALLEFFECTS: CFM_MASK = CFM_MASK(2115207167u32);
215 impl ::std::convert::From<u32> for CFM_MASK {
from(value: u32) -> Self216     fn from(value: u32) -> Self {
217         Self(value)
218     }
219 }
220 unsafe impl ::windows::runtime::Abi for CFM_MASK {
221     type Abi = Self;
222     type DefaultType = Self;
223 }
224 impl ::std::ops::BitOr for CFM_MASK {
225     type Output = Self;
bitor(self, rhs: Self) -> Self226     fn bitor(self, rhs: Self) -> Self {
227         Self(self.0 | rhs.0)
228     }
229 }
230 impl ::std::ops::BitAnd for CFM_MASK {
231     type Output = Self;
bitand(self, rhs: Self) -> Self232     fn bitand(self, rhs: Self) -> Self {
233         Self(self.0 & rhs.0)
234     }
235 }
236 impl ::std::ops::BitOrAssign for CFM_MASK {
bitor_assign(&mut self, rhs: Self)237     fn bitor_assign(&mut self, rhs: Self) {
238         self.0.bitor_assign(rhs.0)
239     }
240 }
241 impl ::std::ops::BitAndAssign for CFM_MASK {
bitand_assign(&mut self, rhs: Self)242     fn bitand_assign(&mut self, rhs: Self) {
243         self.0.bitand_assign(rhs.0)
244     }
245 }
246 impl ::std::ops::Not for CFM_MASK {
247     type Output = Self;
not(self) -> Self248     fn not(self) -> Self {
249         Self(self.0.not())
250     }
251 }
252 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
253 #[repr(C)]
254 pub struct CHANGENOTIFY {
255     pub dwChangeType: CHANGETYPE,
256     pub pvCookieData: *mut ::std::ffi::c_void,
257 }
258 impl CHANGENOTIFY {}
259 impl ::std::default::Default for CHANGENOTIFY {
default() -> Self260     fn default() -> Self {
261         unsafe { ::std::mem::zeroed() }
262     }
263 }
264 impl ::std::fmt::Debug for CHANGENOTIFY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result265     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
266         fmt.debug_struct("CHANGENOTIFY").field("dwChangeType", &self.dwChangeType).field("pvCookieData", &self.pvCookieData).finish()
267     }
268 }
269 impl ::std::cmp::PartialEq for CHANGENOTIFY {
eq(&self, other: &Self) -> bool270     fn eq(&self, other: &Self) -> bool {
271         self.dwChangeType == other.dwChangeType && self.pvCookieData == other.pvCookieData
272     }
273 }
274 impl ::std::cmp::Eq for CHANGENOTIFY {}
275 unsafe impl ::windows::runtime::Abi for CHANGENOTIFY {
276     type Abi = Self;
277     type DefaultType = Self;
278 }
279 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
280 #[repr(transparent)]
281 pub struct CHANGETYPE(pub i32);
282 pub const CN_GENERIC: CHANGETYPE = CHANGETYPE(0i32);
283 pub const CN_TEXTCHANGED: CHANGETYPE = CHANGETYPE(1i32);
284 pub const CN_NEWUNDO: CHANGETYPE = CHANGETYPE(2i32);
285 pub const CN_NEWREDO: CHANGETYPE = CHANGETYPE(4i32);
286 impl ::std::convert::From<i32> for CHANGETYPE {
from(value: i32) -> Self287     fn from(value: i32) -> Self {
288         Self(value)
289     }
290 }
291 unsafe impl ::windows::runtime::Abi for CHANGETYPE {
292     type Abi = Self;
293     type DefaultType = Self;
294 }
295 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
296 #[repr(C)]
297 #[cfg(feature = "Win32_Foundation")]
298 pub struct CHARFORMAT2A {
299     pub __AnonymousBase_richedit_L736_C23: CHARFORMATA,
300     pub wWeight: u16,
301     pub sSpacing: i16,
302     pub crBackColor: u32,
303     pub lcid: u32,
304     pub Anonymous: CHARFORMAT2A_0,
305     pub sStyle: i16,
306     pub wKerning: u16,
307     pub bUnderlineType: u8,
308     pub bAnimation: u8,
309     pub bRevAuthor: u8,
310     pub bUnderlineColor: u8,
311 }
312 #[cfg(feature = "Win32_Foundation")]
313 impl CHARFORMAT2A {}
314 #[cfg(feature = "Win32_Foundation")]
315 impl ::std::default::Default for CHARFORMAT2A {
default() -> Self316     fn default() -> Self {
317         unsafe { ::std::mem::zeroed() }
318     }
319 }
320 #[cfg(feature = "Win32_Foundation")]
321 impl ::std::cmp::PartialEq for CHARFORMAT2A {
eq(&self, _other: &Self) -> bool322     fn eq(&self, _other: &Self) -> bool {
323         unimplemented!()
324     }
325 }
326 #[cfg(feature = "Win32_Foundation")]
327 impl ::std::cmp::Eq for CHARFORMAT2A {}
328 #[cfg(feature = "Win32_Foundation")]
329 unsafe impl ::windows::runtime::Abi for CHARFORMAT2A {
330     type Abi = Self;
331     type DefaultType = Self;
332 }
333 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
334 #[repr(C)]
335 pub union CHARFORMAT2A_0 {
336     pub dwReserved: u32,
337     pub dwCookie: u32,
338 }
339 impl CHARFORMAT2A_0 {}
340 impl ::std::default::Default for CHARFORMAT2A_0 {
default() -> Self341     fn default() -> Self {
342         unsafe { ::std::mem::zeroed() }
343     }
344 }
345 impl ::std::cmp::PartialEq for CHARFORMAT2A_0 {
eq(&self, _other: &Self) -> bool346     fn eq(&self, _other: &Self) -> bool {
347         unimplemented!()
348     }
349 }
350 impl ::std::cmp::Eq for CHARFORMAT2A_0 {}
351 unsafe impl ::windows::runtime::Abi for CHARFORMAT2A_0 {
352     type Abi = Self;
353     type DefaultType = Self;
354 }
355 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
356 #[repr(C)]
357 pub struct CHARFORMAT2W {
358     pub __AnonymousBase_richedit_L711_C23: CHARFORMATW,
359     pub wWeight: u16,
360     pub sSpacing: i16,
361     pub crBackColor: u32,
362     pub lcid: u32,
363     pub Anonymous: CHARFORMAT2W_0,
364     pub sStyle: i16,
365     pub wKerning: u16,
366     pub bUnderlineType: u8,
367     pub bAnimation: u8,
368     pub bRevAuthor: u8,
369     pub bUnderlineColor: u8,
370 }
371 impl CHARFORMAT2W {}
372 impl ::std::default::Default for CHARFORMAT2W {
default() -> Self373     fn default() -> Self {
374         unsafe { ::std::mem::zeroed() }
375     }
376 }
377 impl ::std::cmp::PartialEq for CHARFORMAT2W {
eq(&self, _other: &Self) -> bool378     fn eq(&self, _other: &Self) -> bool {
379         unimplemented!()
380     }
381 }
382 impl ::std::cmp::Eq for CHARFORMAT2W {}
383 unsafe impl ::windows::runtime::Abi for CHARFORMAT2W {
384     type Abi = Self;
385     type DefaultType = Self;
386 }
387 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
388 #[repr(C)]
389 pub union CHARFORMAT2W_0 {
390     pub dwReserved: u32,
391     pub dwCookie: u32,
392 }
393 impl CHARFORMAT2W_0 {}
394 impl ::std::default::Default for CHARFORMAT2W_0 {
default() -> Self395     fn default() -> Self {
396         unsafe { ::std::mem::zeroed() }
397     }
398 }
399 impl ::std::cmp::PartialEq for CHARFORMAT2W_0 {
eq(&self, _other: &Self) -> bool400     fn eq(&self, _other: &Self) -> bool {
401         unimplemented!()
402     }
403 }
404 impl ::std::cmp::Eq for CHARFORMAT2W_0 {}
405 unsafe impl ::windows::runtime::Abi for CHARFORMAT2W_0 {
406     type Abi = Self;
407     type DefaultType = Self;
408 }
409 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
410 #[repr(C)]
411 #[cfg(feature = "Win32_Foundation")]
412 pub struct CHARFORMATA {
413     pub cbSize: u32,
414     pub dwMask: CFM_MASK,
415     pub dwEffects: CFE_EFFECTS,
416     pub yHeight: i32,
417     pub yOffset: i32,
418     pub crTextColor: u32,
419     pub bCharSet: u8,
420     pub bPitchAndFamily: u8,
421     pub szFaceName: [super::super::super::Foundation::CHAR; 32],
422 }
423 #[cfg(feature = "Win32_Foundation")]
424 impl CHARFORMATA {}
425 #[cfg(feature = "Win32_Foundation")]
426 impl ::std::default::Default for CHARFORMATA {
default() -> Self427     fn default() -> Self {
428         unsafe { ::std::mem::zeroed() }
429     }
430 }
431 #[cfg(feature = "Win32_Foundation")]
432 impl ::std::fmt::Debug for CHARFORMATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result433     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
434         fmt.debug_struct("CHARFORMATA")
435             .field("cbSize", &self.cbSize)
436             .field("dwMask", &self.dwMask)
437             .field("dwEffects", &self.dwEffects)
438             .field("yHeight", &self.yHeight)
439             .field("yOffset", &self.yOffset)
440             .field("crTextColor", &self.crTextColor)
441             .field("bCharSet", &self.bCharSet)
442             .field("bPitchAndFamily", &self.bPitchAndFamily)
443             .field("szFaceName", &self.szFaceName)
444             .finish()
445     }
446 }
447 #[cfg(feature = "Win32_Foundation")]
448 impl ::std::cmp::PartialEq for CHARFORMATA {
eq(&self, other: &Self) -> bool449     fn eq(&self, other: &Self) -> bool {
450         self.cbSize == other.cbSize && self.dwMask == other.dwMask && self.dwEffects == other.dwEffects && self.yHeight == other.yHeight && self.yOffset == other.yOffset && self.crTextColor == other.crTextColor && self.bCharSet == other.bCharSet && self.bPitchAndFamily == other.bPitchAndFamily && self.szFaceName == other.szFaceName
451     }
452 }
453 #[cfg(feature = "Win32_Foundation")]
454 impl ::std::cmp::Eq for CHARFORMATA {}
455 #[cfg(feature = "Win32_Foundation")]
456 unsafe impl ::windows::runtime::Abi for CHARFORMATA {
457     type Abi = Self;
458     type DefaultType = Self;
459 }
460 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
461 #[repr(C)]
462 pub struct CHARFORMATW {
463     pub cbSize: u32,
464     pub dwMask: CFM_MASK,
465     pub dwEffects: CFE_EFFECTS,
466     pub yHeight: i32,
467     pub yOffset: i32,
468     pub crTextColor: u32,
469     pub bCharSet: u8,
470     pub bPitchAndFamily: u8,
471     pub szFaceName: [u16; 32],
472 }
473 impl CHARFORMATW {}
474 impl ::std::default::Default for CHARFORMATW {
default() -> Self475     fn default() -> Self {
476         unsafe { ::std::mem::zeroed() }
477     }
478 }
479 impl ::std::fmt::Debug for CHARFORMATW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result480     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
481         fmt.debug_struct("CHARFORMATW")
482             .field("cbSize", &self.cbSize)
483             .field("dwMask", &self.dwMask)
484             .field("dwEffects", &self.dwEffects)
485             .field("yHeight", &self.yHeight)
486             .field("yOffset", &self.yOffset)
487             .field("crTextColor", &self.crTextColor)
488             .field("bCharSet", &self.bCharSet)
489             .field("bPitchAndFamily", &self.bPitchAndFamily)
490             .field("szFaceName", &self.szFaceName)
491             .finish()
492     }
493 }
494 impl ::std::cmp::PartialEq for CHARFORMATW {
eq(&self, other: &Self) -> bool495     fn eq(&self, other: &Self) -> bool {
496         self.cbSize == other.cbSize && self.dwMask == other.dwMask && self.dwEffects == other.dwEffects && self.yHeight == other.yHeight && self.yOffset == other.yOffset && self.crTextColor == other.crTextColor && self.bCharSet == other.bCharSet && self.bPitchAndFamily == other.bPitchAndFamily && self.szFaceName == other.szFaceName
497     }
498 }
499 impl ::std::cmp::Eq for CHARFORMATW {}
500 unsafe impl ::windows::runtime::Abi for CHARFORMATW {
501     type Abi = Self;
502     type DefaultType = Self;
503 }
504 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
505 #[repr(C)]
506 pub struct CHARRANGE {
507     pub cpMin: i32,
508     pub cpMax: i32,
509 }
510 impl CHARRANGE {}
511 impl ::std::default::Default for CHARRANGE {
default() -> Self512     fn default() -> Self {
513         unsafe { ::std::mem::zeroed() }
514     }
515 }
516 impl ::std::fmt::Debug for CHARRANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result517     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
518         fmt.debug_struct("CHARRANGE").field("cpMin", &self.cpMin).field("cpMax", &self.cpMax).finish()
519     }
520 }
521 impl ::std::cmp::PartialEq for CHARRANGE {
eq(&self, other: &Self) -> bool522     fn eq(&self, other: &Self) -> bool {
523         self.cpMin == other.cpMin && self.cpMax == other.cpMax
524     }
525 }
526 impl ::std::cmp::Eq for CHARRANGE {}
527 unsafe impl ::windows::runtime::Abi for CHARRANGE {
528     type Abi = Self;
529     type DefaultType = Self;
530 }
531 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
532 #[repr(C, packed(4))]
533 #[cfg(feature = "Win32_Foundation")]
534 pub struct CLIPBOARDFORMAT {
535     pub nmhdr: super::NMHDR,
536     pub cf: u16,
537 }
538 #[cfg(feature = "Win32_Foundation")]
539 impl CLIPBOARDFORMAT {}
540 #[cfg(feature = "Win32_Foundation")]
541 impl ::std::default::Default for CLIPBOARDFORMAT {
default() -> Self542     fn default() -> Self {
543         unsafe { ::std::mem::zeroed() }
544     }
545 }
546 #[cfg(feature = "Win32_Foundation")]
547 impl ::std::cmp::PartialEq for CLIPBOARDFORMAT {
eq(&self, _other: &Self) -> bool548     fn eq(&self, _other: &Self) -> bool {
549         unimplemented!()
550     }
551 }
552 #[cfg(feature = "Win32_Foundation")]
553 impl ::std::cmp::Eq for CLIPBOARDFORMAT {}
554 #[cfg(feature = "Win32_Foundation")]
555 unsafe impl ::windows::runtime::Abi for CLIPBOARDFORMAT {
556     type Abi = Self;
557     type DefaultType = Self;
558 }
559 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
560 #[repr(C)]
561 pub struct COMPCOLOR {
562     pub crText: u32,
563     pub crBackground: u32,
564     pub dwEffects: u32,
565 }
566 impl COMPCOLOR {}
567 impl ::std::default::Default for COMPCOLOR {
default() -> Self568     fn default() -> Self {
569         unsafe { ::std::mem::zeroed() }
570     }
571 }
572 impl ::std::fmt::Debug for COMPCOLOR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result573     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
574         fmt.debug_struct("COMPCOLOR").field("crText", &self.crText).field("crBackground", &self.crBackground).field("dwEffects", &self.dwEffects).finish()
575     }
576 }
577 impl ::std::cmp::PartialEq for COMPCOLOR {
eq(&self, other: &Self) -> bool578     fn eq(&self, other: &Self) -> bool {
579         self.crText == other.crText && self.crBackground == other.crBackground && self.dwEffects == other.dwEffects
580     }
581 }
582 impl ::std::cmp::Eq for COMPCOLOR {}
583 unsafe impl ::windows::runtime::Abi for COMPCOLOR {
584     type Abi = Self;
585     type DefaultType = Self;
586 }
587 pub const CTFMODEBIAS_CONVERSATION: u32 = 5u32;
588 pub const CTFMODEBIAS_DATETIME: u32 = 4u32;
589 pub const CTFMODEBIAS_DEFAULT: u32 = 0u32;
590 pub const CTFMODEBIAS_FILENAME: u32 = 1u32;
591 pub const CTFMODEBIAS_FULLWIDTHALPHANUMERIC: u32 = 11u32;
592 pub const CTFMODEBIAS_HALFWIDTHALPHANUMERIC: u32 = 12u32;
593 pub const CTFMODEBIAS_HALFWIDTHKATAKANA: u32 = 10u32;
594 pub const CTFMODEBIAS_HANGUL: u32 = 9u32;
595 pub const CTFMODEBIAS_HIRAGANA: u32 = 7u32;
596 pub const CTFMODEBIAS_KATAKANA: u32 = 8u32;
597 pub const CTFMODEBIAS_NAME: u32 = 2u32;
598 pub const CTFMODEBIAS_NUMERIC: u32 = 6u32;
599 pub const CTFMODEBIAS_READING: u32 = 3u32;
600 pub const ECOOP_AND: u32 = 3u32;
601 pub const ECOOP_OR: u32 = 2u32;
602 pub const ECOOP_SET: u32 = 1u32;
603 pub const ECOOP_XOR: u32 = 4u32;
604 pub const ECO_AUTOHSCROLL: u32 = 128u32;
605 pub const ECO_AUTOVSCROLL: u32 = 64u32;
606 pub const ECO_AUTOWORDSELECTION: u32 = 1u32;
607 pub const ECO_NOHIDESEL: u32 = 256u32;
608 pub const ECO_READONLY: u32 = 2048u32;
609 pub const ECO_SAVESEL: u32 = 32768u32;
610 pub const ECO_SELECTIONBAR: u32 = 16777216u32;
611 pub const ECO_VERTICAL: u32 = 4194304u32;
612 pub const ECO_WANTRETURN: u32 = 4096u32;
613 impl ::std::clone::Clone for EDITSTREAM {
clone(&self) -> Self614     fn clone(&self) -> Self {
615         unimplemented!()
616     }
617 }
618 #[repr(C, packed(4))]
619 pub struct EDITSTREAM {
620     pub dwCookie: usize,
621     pub dwError: u32,
622     pub pfnCallback: ::std::option::Option<EDITSTREAMCALLBACK>,
623 }
624 impl EDITSTREAM {}
625 impl ::std::default::Default for EDITSTREAM {
default() -> Self626     fn default() -> Self {
627         unsafe { ::std::mem::zeroed() }
628     }
629 }
630 impl ::std::cmp::PartialEq for EDITSTREAM {
eq(&self, _other: &Self) -> bool631     fn eq(&self, _other: &Self) -> bool {
632         unimplemented!()
633     }
634 }
635 impl ::std::cmp::Eq for EDITSTREAM {}
636 unsafe impl ::windows::runtime::Abi for EDITSTREAM {
637     type Abi = ::std::mem::ManuallyDrop<Self>;
638     type DefaultType = Self;
639 }
640 pub type EDITSTREAMCALLBACK = unsafe extern "system" fn(dwcookie: usize, pbbuff: *mut u8, cb: i32, pcb: *mut i32) -> u32;
641 #[cfg(feature = "Win32_Foundation")]
642 pub type EDITWORDBREAKPROCEX = unsafe extern "system" fn(pchtext: super::super::super::Foundation::PSTR, cchtext: i32, bcharset: u8, action: i32) -> i32;
643 pub const ELLIPSIS_END: u32 = 1u32;
644 pub const ELLIPSIS_MASK: u32 = 3u32;
645 pub const ELLIPSIS_NONE: u32 = 0u32;
646 pub const ELLIPSIS_WORD: u32 = 3u32;
647 pub const EMO_ENTER: u32 = 1u32;
648 pub const EMO_EXIT: u32 = 0u32;
649 pub const EMO_EXPAND: u32 = 3u32;
650 pub const EMO_EXPANDDOCUMENT: u32 = 1u32;
651 pub const EMO_EXPANDSELECTION: u32 = 0u32;
652 pub const EMO_GETVIEWMODE: u32 = 5u32;
653 pub const EMO_MOVESELECTION: u32 = 4u32;
654 pub const EMO_PROMOTE: u32 = 2u32;
655 pub const EM_AUTOURLDETECT: u32 = 1115u32;
656 pub const EM_CALLAUTOCORRECTPROC: u32 = 1279u32;
657 pub const EM_CANPASTE: u32 = 1074u32;
658 pub const EM_CANREDO: u32 = 1109u32;
659 pub const EM_CONVPOSITION: u32 = 1132u32;
660 pub const EM_DISPLAYBAND: u32 = 1075u32;
661 pub const EM_EXGETSEL: u32 = 1076u32;
662 pub const EM_EXLIMITTEXT: u32 = 1077u32;
663 pub const EM_EXLINEFROMCHAR: u32 = 1078u32;
664 pub const EM_EXSETSEL: u32 = 1079u32;
665 pub const EM_FINDTEXT: u32 = 1080u32;
666 pub const EM_FINDTEXTEX: u32 = 1103u32;
667 pub const EM_FINDTEXTEXW: u32 = 1148u32;
668 pub const EM_FINDTEXTW: u32 = 1147u32;
669 pub const EM_FINDWORDBREAK: u32 = 1100u32;
670 pub const EM_FORMATRANGE: u32 = 1081u32;
671 pub const EM_GETAUTOCORRECTPROC: u32 = 1257u32;
672 pub const EM_GETAUTOURLDETECT: u32 = 1116u32;
673 pub const EM_GETBIDIOPTIONS: u32 = 1225u32;
674 pub const EM_GETCHARFORMAT: u32 = 1082u32;
675 pub const EM_GETCTFMODEBIAS: u32 = 1261u32;
676 pub const EM_GETCTFOPENSTATUS: u32 = 1264u32;
677 pub const EM_GETEDITSTYLE: u32 = 1229u32;
678 pub const EM_GETEDITSTYLEEX: u32 = 1300u32;
679 pub const EM_GETELLIPSISMODE: u32 = 1329u32;
680 pub const EM_GETELLIPSISSTATE: u32 = 1346u32;
681 pub const EM_GETEVENTMASK: u32 = 1083u32;
682 pub const EM_GETHYPHENATEINFO: u32 = 1254u32;
683 pub const EM_GETIMECOLOR: u32 = 1129u32;
684 pub const EM_GETIMECOMPMODE: u32 = 1146u32;
685 pub const EM_GETIMECOMPTEXT: u32 = 1266u32;
686 pub const EM_GETIMEMODEBIAS: u32 = 1151u32;
687 pub const EM_GETIMEOPTIONS: u32 = 1131u32;
688 pub const EM_GETIMEPROPERTY: u32 = 1268u32;
689 pub const EM_GETLANGOPTIONS: u32 = 1145u32;
690 pub const EM_GETOLEINTERFACE: u32 = 1084u32;
691 pub const EM_GETOPTIONS: u32 = 1102u32;
692 pub const EM_GETPAGE: u32 = 1252u32;
693 pub const EM_GETPAGEROTATE: u32 = 1259u32;
694 pub const EM_GETPARAFORMAT: u32 = 1085u32;
695 pub const EM_GETPUNCTUATION: u32 = 1125u32;
696 pub const EM_GETQUERYRTFOBJ: u32 = 1293u32;
697 pub const EM_GETREDONAME: u32 = 1111u32;
698 pub const EM_GETSCROLLPOS: u32 = 1245u32;
699 pub const EM_GETSELTEXT: u32 = 1086u32;
700 pub const EM_GETSTORYTYPE: u32 = 1314u32;
701 pub const EM_GETTABLEPARMS: u32 = 1289u32;
702 pub const EM_GETTEXTEX: u32 = 1118u32;
703 pub const EM_GETTEXTLENGTHEX: u32 = 1119u32;
704 pub const EM_GETTEXTMODE: u32 = 1114u32;
705 pub const EM_GETTEXTRANGE: u32 = 1099u32;
706 pub const EM_GETTOUCHOPTIONS: u32 = 1334u32;
707 pub const EM_GETTYPOGRAPHYOPTIONS: u32 = 1227u32;
708 pub const EM_GETUNDONAME: u32 = 1110u32;
709 pub const EM_GETVIEWKIND: u32 = 1250u32;
710 pub const EM_GETWORDBREAKPROCEX: u32 = 1104u32;
711 pub const EM_GETWORDWRAPMODE: u32 = 1127u32;
712 pub const EM_GETZOOM: u32 = 1248u32;
713 pub const EM_HIDESELECTION: u32 = 1087u32;
714 pub const EM_INSERTIMAGE: u32 = 1338u32;
715 pub const EM_INSERTTABLE: u32 = 1256u32;
716 pub const EM_ISIME: u32 = 1267u32;
717 pub const EM_OUTLINE: u32 = 1244u32;
718 pub const EM_PASTESPECIAL: u32 = 1088u32;
719 pub const EM_RECONVERSION: u32 = 1149u32;
720 pub const EM_REDO: u32 = 1108u32;
721 pub const EM_REQUESTRESIZE: u32 = 1089u32;
722 pub const EM_SELECTIONTYPE: u32 = 1090u32;
723 pub const EM_SETAUTOCORRECTPROC: u32 = 1258u32;
724 pub const EM_SETBIDIOPTIONS: u32 = 1224u32;
725 pub const EM_SETBKGNDCOLOR: u32 = 1091u32;
726 pub const EM_SETCHARFORMAT: u32 = 1092u32;
727 pub const EM_SETCTFMODEBIAS: u32 = 1262u32;
728 pub const EM_SETCTFOPENSTATUS: u32 = 1265u32;
729 pub const EM_SETEDITSTYLE: u32 = 1228u32;
730 pub const EM_SETEDITSTYLEEX: u32 = 1299u32;
731 pub const EM_SETELLIPSISMODE: u32 = 1330u32;
732 pub const EM_SETEVENTMASK: u32 = 1093u32;
733 pub const EM_SETFONTSIZE: u32 = 1247u32;
734 pub const EM_SETHYPHENATEINFO: u32 = 1255u32;
735 pub const EM_SETIMECOLOR: u32 = 1128u32;
736 pub const EM_SETIMEMODEBIAS: u32 = 1150u32;
737 pub const EM_SETIMEOPTIONS: u32 = 1130u32;
738 pub const EM_SETLANGOPTIONS: u32 = 1144u32;
739 pub const EM_SETOLECALLBACK: u32 = 1094u32;
740 pub const EM_SETOPTIONS: u32 = 1101u32;
741 pub const EM_SETPAGE: u32 = 1253u32;
742 pub const EM_SETPAGEROTATE: u32 = 1260u32;
743 pub const EM_SETPALETTE: u32 = 1117u32;
744 pub const EM_SETPARAFORMAT: u32 = 1095u32;
745 pub const EM_SETPUNCTUATION: u32 = 1124u32;
746 pub const EM_SETQUERYRTFOBJ: u32 = 1294u32;
747 pub const EM_SETSCROLLPOS: u32 = 1246u32;
748 pub const EM_SETSTORYTYPE: u32 = 1315u32;
749 pub const EM_SETTABLEPARMS: u32 = 1331u32;
750 pub const EM_SETTARGETDEVICE: u32 = 1096u32;
751 pub const EM_SETTEXTEX: u32 = 1121u32;
752 pub const EM_SETTEXTMODE: u32 = 1113u32;
753 pub const EM_SETTOUCHOPTIONS: u32 = 1335u32;
754 pub const EM_SETTYPOGRAPHYOPTIONS: u32 = 1226u32;
755 pub const EM_SETUIANAME: u32 = 1344u32;
756 pub const EM_SETUNDOLIMIT: u32 = 1106u32;
757 pub const EM_SETVIEWKIND: u32 = 1251u32;
758 pub const EM_SETWORDBREAKPROCEX: u32 = 1105u32;
759 pub const EM_SETWORDWRAPMODE: u32 = 1126u32;
760 pub const EM_SETZOOM: u32 = 1249u32;
761 pub const EM_SHOWSCROLLBAR: u32 = 1120u32;
762 pub const EM_STOPGROUPTYPING: u32 = 1112u32;
763 pub const EM_STREAMIN: u32 = 1097u32;
764 pub const EM_STREAMOUT: u32 = 1098u32;
765 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
766 #[repr(C, packed(4))]
767 #[cfg(feature = "Win32_Foundation")]
768 pub struct ENCORRECTTEXT {
769     pub nmhdr: super::NMHDR,
770     pub chrg: CHARRANGE,
771     pub seltyp: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE,
772 }
773 #[cfg(feature = "Win32_Foundation")]
774 impl ENCORRECTTEXT {}
775 #[cfg(feature = "Win32_Foundation")]
776 impl ::std::default::Default for ENCORRECTTEXT {
default() -> Self777     fn default() -> Self {
778         unsafe { ::std::mem::zeroed() }
779     }
780 }
781 #[cfg(feature = "Win32_Foundation")]
782 impl ::std::cmp::PartialEq for ENCORRECTTEXT {
eq(&self, _other: &Self) -> bool783     fn eq(&self, _other: &Self) -> bool {
784         unimplemented!()
785     }
786 }
787 #[cfg(feature = "Win32_Foundation")]
788 impl ::std::cmp::Eq for ENCORRECTTEXT {}
789 #[cfg(feature = "Win32_Foundation")]
790 unsafe impl ::windows::runtime::Abi for ENCORRECTTEXT {
791     type Abi = Self;
792     type DefaultType = Self;
793 }
794 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
795 #[repr(C, packed(4))]
796 #[cfg(feature = "Win32_Foundation")]
797 pub struct ENDCOMPOSITIONNOTIFY {
798     pub nmhdr: super::NMHDR,
799     pub dwCode: ENDCOMPOSITIONNOTIFY_CODE,
800 }
801 #[cfg(feature = "Win32_Foundation")]
802 impl ENDCOMPOSITIONNOTIFY {}
803 #[cfg(feature = "Win32_Foundation")]
804 impl ::std::default::Default for ENDCOMPOSITIONNOTIFY {
default() -> Self805     fn default() -> Self {
806         unsafe { ::std::mem::zeroed() }
807     }
808 }
809 #[cfg(feature = "Win32_Foundation")]
810 impl ::std::cmp::PartialEq for ENDCOMPOSITIONNOTIFY {
eq(&self, _other: &Self) -> bool811     fn eq(&self, _other: &Self) -> bool {
812         unimplemented!()
813     }
814 }
815 #[cfg(feature = "Win32_Foundation")]
816 impl ::std::cmp::Eq for ENDCOMPOSITIONNOTIFY {}
817 #[cfg(feature = "Win32_Foundation")]
818 unsafe impl ::windows::runtime::Abi for ENDCOMPOSITIONNOTIFY {
819     type Abi = Self;
820     type DefaultType = Self;
821 }
822 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
823 #[repr(transparent)]
824 pub struct ENDCOMPOSITIONNOTIFY_CODE(pub u32);
825 pub const ECN_ENDCOMPOSITION: ENDCOMPOSITIONNOTIFY_CODE = ENDCOMPOSITIONNOTIFY_CODE(1u32);
826 pub const ECN_NEWTEXT: ENDCOMPOSITIONNOTIFY_CODE = ENDCOMPOSITIONNOTIFY_CODE(2u32);
827 impl ::std::convert::From<u32> for ENDCOMPOSITIONNOTIFY_CODE {
from(value: u32) -> Self828     fn from(value: u32) -> Self {
829         Self(value)
830     }
831 }
832 unsafe impl ::windows::runtime::Abi for ENDCOMPOSITIONNOTIFY_CODE {
833     type Abi = Self;
834     type DefaultType = Self;
835 }
836 impl ::std::ops::BitOr for ENDCOMPOSITIONNOTIFY_CODE {
837     type Output = Self;
bitor(self, rhs: Self) -> Self838     fn bitor(self, rhs: Self) -> Self {
839         Self(self.0 | rhs.0)
840     }
841 }
842 impl ::std::ops::BitAnd for ENDCOMPOSITIONNOTIFY_CODE {
843     type Output = Self;
bitand(self, rhs: Self) -> Self844     fn bitand(self, rhs: Self) -> Self {
845         Self(self.0 & rhs.0)
846     }
847 }
848 impl ::std::ops::BitOrAssign for ENDCOMPOSITIONNOTIFY_CODE {
bitor_assign(&mut self, rhs: Self)849     fn bitor_assign(&mut self, rhs: Self) {
850         self.0.bitor_assign(rhs.0)
851     }
852 }
853 impl ::std::ops::BitAndAssign for ENDCOMPOSITIONNOTIFY_CODE {
bitand_assign(&mut self, rhs: Self)854     fn bitand_assign(&mut self, rhs: Self) {
855         self.0.bitand_assign(rhs.0)
856     }
857 }
858 impl ::std::ops::Not for ENDCOMPOSITIONNOTIFY_CODE {
859     type Output = Self;
not(self) -> Self860     fn not(self) -> Self {
861         Self(self.0.not())
862     }
863 }
864 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
865 #[repr(C, packed(4))]
866 #[cfg(feature = "Win32_Foundation")]
867 pub struct ENDROPFILES {
868     pub nmhdr: super::NMHDR,
869     pub hDrop: super::super::super::Foundation::HANDLE,
870     pub cp: i32,
871     pub fProtected: super::super::super::Foundation::BOOL,
872 }
873 #[cfg(feature = "Win32_Foundation")]
874 impl ENDROPFILES {}
875 #[cfg(feature = "Win32_Foundation")]
876 impl ::std::default::Default for ENDROPFILES {
default() -> Self877     fn default() -> Self {
878         unsafe { ::std::mem::zeroed() }
879     }
880 }
881 #[cfg(feature = "Win32_Foundation")]
882 impl ::std::cmp::PartialEq for ENDROPFILES {
eq(&self, _other: &Self) -> bool883     fn eq(&self, _other: &Self) -> bool {
884         unimplemented!()
885     }
886 }
887 #[cfg(feature = "Win32_Foundation")]
888 impl ::std::cmp::Eq for ENDROPFILES {}
889 #[cfg(feature = "Win32_Foundation")]
890 unsafe impl ::windows::runtime::Abi for ENDROPFILES {
891     type Abi = Self;
892     type DefaultType = Self;
893 }
894 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
895 #[repr(C, packed(4))]
896 #[cfg(feature = "Win32_Foundation")]
897 pub struct ENLINK {
898     pub nmhdr: super::NMHDR,
899     pub msg: u32,
900     pub wParam: super::super::super::Foundation::WPARAM,
901     pub lParam: super::super::super::Foundation::LPARAM,
902     pub chrg: CHARRANGE,
903 }
904 #[cfg(feature = "Win32_Foundation")]
905 impl ENLINK {}
906 #[cfg(feature = "Win32_Foundation")]
907 impl ::std::default::Default for ENLINK {
default() -> Self908     fn default() -> Self {
909         unsafe { ::std::mem::zeroed() }
910     }
911 }
912 #[cfg(feature = "Win32_Foundation")]
913 impl ::std::cmp::PartialEq for ENLINK {
eq(&self, _other: &Self) -> bool914     fn eq(&self, _other: &Self) -> bool {
915         unimplemented!()
916     }
917 }
918 #[cfg(feature = "Win32_Foundation")]
919 impl ::std::cmp::Eq for ENLINK {}
920 #[cfg(feature = "Win32_Foundation")]
921 unsafe impl ::windows::runtime::Abi for ENLINK {
922     type Abi = Self;
923     type DefaultType = Self;
924 }
925 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
926 #[repr(C, packed(4))]
927 #[cfg(feature = "Win32_Foundation")]
928 pub struct ENLOWFIRTF {
929     pub nmhdr: super::NMHDR,
930     pub szControl: super::super::super::Foundation::PSTR,
931 }
932 #[cfg(feature = "Win32_Foundation")]
933 impl ENLOWFIRTF {}
934 #[cfg(feature = "Win32_Foundation")]
935 impl ::std::default::Default for ENLOWFIRTF {
default() -> Self936     fn default() -> Self {
937         unsafe { ::std::mem::zeroed() }
938     }
939 }
940 #[cfg(feature = "Win32_Foundation")]
941 impl ::std::cmp::PartialEq for ENLOWFIRTF {
eq(&self, _other: &Self) -> bool942     fn eq(&self, _other: &Self) -> bool {
943         unimplemented!()
944     }
945 }
946 #[cfg(feature = "Win32_Foundation")]
947 impl ::std::cmp::Eq for ENLOWFIRTF {}
948 #[cfg(feature = "Win32_Foundation")]
949 unsafe impl ::windows::runtime::Abi for ENLOWFIRTF {
950     type Abi = Self;
951     type DefaultType = Self;
952 }
953 pub const ENM_CHANGE: u32 = 1u32;
954 pub const ENM_CLIPFORMAT: u32 = 128u32;
955 pub const ENM_CORRECTTEXT: u32 = 4194304u32;
956 pub const ENM_DRAGDROPDONE: u32 = 16u32;
957 pub const ENM_DROPFILES: u32 = 1048576u32;
958 pub const ENM_ENDCOMPOSITION: u32 = 536870912u32;
959 pub const ENM_GROUPTYPINGCHANGE: u32 = 1073741824u32;
960 pub const ENM_HIDELINKTOOLTIP: u32 = 2147483648u32;
961 pub const ENM_IMECHANGE: u32 = 8388608u32;
962 pub const ENM_KEYEVENTS: u32 = 65536u32;
963 pub const ENM_LANGCHANGE: u32 = 16777216u32;
964 pub const ENM_LINK: u32 = 67108864u32;
965 pub const ENM_LOWFIRTF: u32 = 134217728u32;
966 pub const ENM_MOUSEEVENTS: u32 = 131072u32;
967 pub const ENM_NONE: u32 = 0u32;
968 pub const ENM_OBJECTPOSITIONS: u32 = 33554432u32;
969 pub const ENM_PAGECHANGE: u32 = 64u32;
970 pub const ENM_PARAGRAPHEXPANDED: u32 = 32u32;
971 pub const ENM_PROTECTED: u32 = 2097152u32;
972 pub const ENM_REQUESTRESIZE: u32 = 262144u32;
973 pub const ENM_SCROLL: u32 = 4u32;
974 pub const ENM_SCROLLEVENTS: u32 = 8u32;
975 pub const ENM_SELCHANGE: u32 = 524288u32;
976 pub const ENM_STARTCOMPOSITION: u32 = 268435456u32;
977 pub const ENM_UPDATE: u32 = 2u32;
978 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
979 #[repr(C, packed(4))]
980 #[cfg(feature = "Win32_Foundation")]
981 pub struct ENOLEOPFAILED {
982     pub nmhdr: super::NMHDR,
983     pub iob: i32,
984     pub lOper: i32,
985     pub hr: ::windows::runtime::HRESULT,
986 }
987 #[cfg(feature = "Win32_Foundation")]
988 impl ENOLEOPFAILED {}
989 #[cfg(feature = "Win32_Foundation")]
990 impl ::std::default::Default for ENOLEOPFAILED {
default() -> Self991     fn default() -> Self {
992         unsafe { ::std::mem::zeroed() }
993     }
994 }
995 #[cfg(feature = "Win32_Foundation")]
996 impl ::std::cmp::PartialEq for ENOLEOPFAILED {
eq(&self, _other: &Self) -> bool997     fn eq(&self, _other: &Self) -> bool {
998         unimplemented!()
999     }
1000 }
1001 #[cfg(feature = "Win32_Foundation")]
1002 impl ::std::cmp::Eq for ENOLEOPFAILED {}
1003 #[cfg(feature = "Win32_Foundation")]
1004 unsafe impl ::windows::runtime::Abi for ENOLEOPFAILED {
1005     type Abi = Self;
1006     type DefaultType = Self;
1007 }
1008 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1009 #[repr(C, packed(4))]
1010 #[cfg(feature = "Win32_Foundation")]
1011 pub struct ENPROTECTED {
1012     pub nmhdr: super::NMHDR,
1013     pub msg: u32,
1014     pub wParam: super::super::super::Foundation::WPARAM,
1015     pub lParam: super::super::super::Foundation::LPARAM,
1016     pub chrg: CHARRANGE,
1017 }
1018 #[cfg(feature = "Win32_Foundation")]
1019 impl ENPROTECTED {}
1020 #[cfg(feature = "Win32_Foundation")]
1021 impl ::std::default::Default for ENPROTECTED {
default() -> Self1022     fn default() -> Self {
1023         unsafe { ::std::mem::zeroed() }
1024     }
1025 }
1026 #[cfg(feature = "Win32_Foundation")]
1027 impl ::std::cmp::PartialEq for ENPROTECTED {
eq(&self, _other: &Self) -> bool1028     fn eq(&self, _other: &Self) -> bool {
1029         unimplemented!()
1030     }
1031 }
1032 #[cfg(feature = "Win32_Foundation")]
1033 impl ::std::cmp::Eq for ENPROTECTED {}
1034 #[cfg(feature = "Win32_Foundation")]
1035 unsafe impl ::windows::runtime::Abi for ENPROTECTED {
1036     type Abi = Self;
1037     type DefaultType = Self;
1038 }
1039 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1040 #[repr(C, packed(4))]
1041 #[cfg(feature = "Win32_Foundation")]
1042 pub struct ENSAVECLIPBOARD {
1043     pub nmhdr: super::NMHDR,
1044     pub cObjectCount: i32,
1045     pub cch: i32,
1046 }
1047 #[cfg(feature = "Win32_Foundation")]
1048 impl ENSAVECLIPBOARD {}
1049 #[cfg(feature = "Win32_Foundation")]
1050 impl ::std::default::Default for ENSAVECLIPBOARD {
default() -> Self1051     fn default() -> Self {
1052         unsafe { ::std::mem::zeroed() }
1053     }
1054 }
1055 #[cfg(feature = "Win32_Foundation")]
1056 impl ::std::cmp::PartialEq for ENSAVECLIPBOARD {
eq(&self, _other: &Self) -> bool1057     fn eq(&self, _other: &Self) -> bool {
1058         unimplemented!()
1059     }
1060 }
1061 #[cfg(feature = "Win32_Foundation")]
1062 impl ::std::cmp::Eq for ENSAVECLIPBOARD {}
1063 #[cfg(feature = "Win32_Foundation")]
1064 unsafe impl ::windows::runtime::Abi for ENSAVECLIPBOARD {
1065     type Abi = Self;
1066     type DefaultType = Self;
1067 }
1068 pub const EN_ALIGNLTR: u32 = 1808u32;
1069 pub const EN_ALIGNRTL: u32 = 1809u32;
1070 pub const EN_CLIPFORMAT: u32 = 1810u32;
1071 pub const EN_CORRECTTEXT: u32 = 1797u32;
1072 pub const EN_DRAGDROPDONE: u32 = 1804u32;
1073 pub const EN_DROPFILES: u32 = 1795u32;
1074 pub const EN_ENDCOMPOSITION: u32 = 1812u32;
1075 pub const EN_IMECHANGE: u32 = 1799u32;
1076 pub const EN_LINK: u32 = 1803u32;
1077 pub const EN_LOWFIRTF: u32 = 1807u32;
1078 pub const EN_MSGFILTER: u32 = 1792u32;
1079 pub const EN_OBJECTPOSITIONS: u32 = 1802u32;
1080 pub const EN_OLEOPFAILED: u32 = 1801u32;
1081 pub const EN_PAGECHANGE: u32 = 1806u32;
1082 pub const EN_PARAGRAPHEXPANDED: u32 = 1805u32;
1083 pub const EN_PROTECTED: u32 = 1796u32;
1084 pub const EN_REQUESTRESIZE: u32 = 1793u32;
1085 pub const EN_SAVECLIPBOARD: u32 = 1800u32;
1086 pub const EN_SELCHANGE: u32 = 1794u32;
1087 pub const EN_STARTCOMPOSITION: u32 = 1811u32;
1088 pub const EN_STOPNOUNDO: u32 = 1798u32;
1089 pub const EPR_0: u32 = 0u32;
1090 pub const EPR_180: u32 = 2u32;
1091 pub const EPR_270: u32 = 1u32;
1092 pub const EPR_90: u32 = 3u32;
1093 pub const EPR_SE: u32 = 5u32;
1094 pub const ES_DISABLENOSCROLL: u32 = 8192u32;
1095 pub const ES_EX_NOCALLOLEINIT: u32 = 0u32;
1096 pub const ES_NOIME: u32 = 524288u32;
1097 pub const ES_NOOLEDRAGDROP: u32 = 8u32;
1098 pub const ES_SAVESEL: u32 = 32768u32;
1099 pub const ES_SELECTIONBAR: u32 = 16777216u32;
1100 pub const ES_SELFIME: u32 = 262144u32;
1101 pub const ES_SUNKEN: u32 = 16384u32;
1102 pub const ES_VERTICAL: u32 = 4194304u32;
1103 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1104 #[repr(C, packed(4))]
1105 #[cfg(feature = "Win32_Foundation")]
1106 pub struct FINDTEXTA {
1107     pub chrg: CHARRANGE,
1108     pub lpstrText: super::super::super::Foundation::PSTR,
1109 }
1110 #[cfg(feature = "Win32_Foundation")]
1111 impl FINDTEXTA {}
1112 #[cfg(feature = "Win32_Foundation")]
1113 impl ::std::default::Default for FINDTEXTA {
default() -> Self1114     fn default() -> Self {
1115         unsafe { ::std::mem::zeroed() }
1116     }
1117 }
1118 #[cfg(feature = "Win32_Foundation")]
1119 impl ::std::cmp::PartialEq for FINDTEXTA {
eq(&self, _other: &Self) -> bool1120     fn eq(&self, _other: &Self) -> bool {
1121         unimplemented!()
1122     }
1123 }
1124 #[cfg(feature = "Win32_Foundation")]
1125 impl ::std::cmp::Eq for FINDTEXTA {}
1126 #[cfg(feature = "Win32_Foundation")]
1127 unsafe impl ::windows::runtime::Abi for FINDTEXTA {
1128     type Abi = Self;
1129     type DefaultType = Self;
1130 }
1131 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1132 #[repr(C, packed(4))]
1133 #[cfg(feature = "Win32_Foundation")]
1134 pub struct FINDTEXTEXA {
1135     pub chrg: CHARRANGE,
1136     pub lpstrText: super::super::super::Foundation::PSTR,
1137     pub chrgText: CHARRANGE,
1138 }
1139 #[cfg(feature = "Win32_Foundation")]
1140 impl FINDTEXTEXA {}
1141 #[cfg(feature = "Win32_Foundation")]
1142 impl ::std::default::Default for FINDTEXTEXA {
default() -> Self1143     fn default() -> Self {
1144         unsafe { ::std::mem::zeroed() }
1145     }
1146 }
1147 #[cfg(feature = "Win32_Foundation")]
1148 impl ::std::cmp::PartialEq for FINDTEXTEXA {
eq(&self, _other: &Self) -> bool1149     fn eq(&self, _other: &Self) -> bool {
1150         unimplemented!()
1151     }
1152 }
1153 #[cfg(feature = "Win32_Foundation")]
1154 impl ::std::cmp::Eq for FINDTEXTEXA {}
1155 #[cfg(feature = "Win32_Foundation")]
1156 unsafe impl ::windows::runtime::Abi for FINDTEXTEXA {
1157     type Abi = Self;
1158     type DefaultType = Self;
1159 }
1160 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1161 #[repr(C, packed(4))]
1162 #[cfg(feature = "Win32_Foundation")]
1163 pub struct FINDTEXTEXW {
1164     pub chrg: CHARRANGE,
1165     pub lpstrText: super::super::super::Foundation::PWSTR,
1166     pub chrgText: CHARRANGE,
1167 }
1168 #[cfg(feature = "Win32_Foundation")]
1169 impl FINDTEXTEXW {}
1170 #[cfg(feature = "Win32_Foundation")]
1171 impl ::std::default::Default for FINDTEXTEXW {
default() -> Self1172     fn default() -> Self {
1173         unsafe { ::std::mem::zeroed() }
1174     }
1175 }
1176 #[cfg(feature = "Win32_Foundation")]
1177 impl ::std::cmp::PartialEq for FINDTEXTEXW {
eq(&self, _other: &Self) -> bool1178     fn eq(&self, _other: &Self) -> bool {
1179         unimplemented!()
1180     }
1181 }
1182 #[cfg(feature = "Win32_Foundation")]
1183 impl ::std::cmp::Eq for FINDTEXTEXW {}
1184 #[cfg(feature = "Win32_Foundation")]
1185 unsafe impl ::windows::runtime::Abi for FINDTEXTEXW {
1186     type Abi = Self;
1187     type DefaultType = Self;
1188 }
1189 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1190 #[repr(C, packed(4))]
1191 #[cfg(feature = "Win32_Foundation")]
1192 pub struct FINDTEXTW {
1193     pub chrg: CHARRANGE,
1194     pub lpstrText: super::super::super::Foundation::PWSTR,
1195 }
1196 #[cfg(feature = "Win32_Foundation")]
1197 impl FINDTEXTW {}
1198 #[cfg(feature = "Win32_Foundation")]
1199 impl ::std::default::Default for FINDTEXTW {
default() -> Self1200     fn default() -> Self {
1201         unsafe { ::std::mem::zeroed() }
1202     }
1203 }
1204 #[cfg(feature = "Win32_Foundation")]
1205 impl ::std::cmp::PartialEq for FINDTEXTW {
eq(&self, _other: &Self) -> bool1206     fn eq(&self, _other: &Self) -> bool {
1207         unimplemented!()
1208     }
1209 }
1210 #[cfg(feature = "Win32_Foundation")]
1211 impl ::std::cmp::Eq for FINDTEXTW {}
1212 #[cfg(feature = "Win32_Foundation")]
1213 unsafe impl ::windows::runtime::Abi for FINDTEXTW {
1214     type Abi = Self;
1215     type DefaultType = Self;
1216 }
1217 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1218 #[repr(C, packed(4))]
1219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1220 pub struct FORMATRANGE {
1221     pub hdc: super::super::super::Graphics::Gdi::HDC,
1222     pub hdcTarget: super::super::super::Graphics::Gdi::HDC,
1223     pub rc: super::super::super::Foundation::RECT,
1224     pub rcPage: super::super::super::Foundation::RECT,
1225     pub chrg: CHARRANGE,
1226 }
1227 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1228 impl FORMATRANGE {}
1229 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1230 impl ::std::default::Default for FORMATRANGE {
default() -> Self1231     fn default() -> Self {
1232         unsafe { ::std::mem::zeroed() }
1233     }
1234 }
1235 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1236 impl ::std::cmp::PartialEq for FORMATRANGE {
eq(&self, _other: &Self) -> bool1237     fn eq(&self, _other: &Self) -> bool {
1238         unimplemented!()
1239     }
1240 }
1241 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1242 impl ::std::cmp::Eq for FORMATRANGE {}
1243 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1244 unsafe impl ::windows::runtime::Abi for FORMATRANGE {
1245     type Abi = Self;
1246     type DefaultType = Self;
1247 }
1248 pub const FR_MATCHALEFHAMZA: u32 = 2147483648u32;
1249 pub const FR_MATCHDIAC: u32 = 536870912u32;
1250 pub const FR_MATCHKASHIDA: u32 = 1073741824u32;
1251 pub const GCMF_GRIPPER: u32 = 1u32;
1252 pub const GCMF_MOUSEMENU: u32 = 8192u32;
1253 pub const GCMF_SPELLING: u32 = 2u32;
1254 pub const GCMF_TOUCHMENU: u32 = 16384u32;
1255 pub const GCM_MOUSEMENU: u32 = 8192u32;
1256 pub const GCM_TOUCHMENU: u32 = 16384u32;
1257 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1258 #[repr(C, packed(4))]
1259 #[cfg(feature = "Win32_Foundation")]
1260 pub struct GETCONTEXTMENUEX {
1261     pub chrg: CHARRANGE,
1262     pub dwFlags: u32,
1263     pub pt: super::super::super::Foundation::POINT,
1264     pub pvReserved: *mut ::std::ffi::c_void,
1265 }
1266 #[cfg(feature = "Win32_Foundation")]
1267 impl GETCONTEXTMENUEX {}
1268 #[cfg(feature = "Win32_Foundation")]
1269 impl ::std::default::Default for GETCONTEXTMENUEX {
default() -> Self1270     fn default() -> Self {
1271         unsafe { ::std::mem::zeroed() }
1272     }
1273 }
1274 #[cfg(feature = "Win32_Foundation")]
1275 impl ::std::cmp::PartialEq for GETCONTEXTMENUEX {
eq(&self, _other: &Self) -> bool1276     fn eq(&self, _other: &Self) -> bool {
1277         unimplemented!()
1278     }
1279 }
1280 #[cfg(feature = "Win32_Foundation")]
1281 impl ::std::cmp::Eq for GETCONTEXTMENUEX {}
1282 #[cfg(feature = "Win32_Foundation")]
1283 unsafe impl ::windows::runtime::Abi for GETCONTEXTMENUEX {
1284     type Abi = Self;
1285     type DefaultType = Self;
1286 }
1287 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1288 #[repr(C, packed(4))]
1289 #[cfg(feature = "Win32_Foundation")]
1290 pub struct GETTEXTEX {
1291     pub cb: u32,
1292     pub flags: GETTEXTEX_FLAGS,
1293     pub codepage: u32,
1294     pub lpDefaultChar: super::super::super::Foundation::PSTR,
1295     pub lpUsedDefChar: *mut i32,
1296 }
1297 #[cfg(feature = "Win32_Foundation")]
1298 impl GETTEXTEX {}
1299 #[cfg(feature = "Win32_Foundation")]
1300 impl ::std::default::Default for GETTEXTEX {
default() -> Self1301     fn default() -> Self {
1302         unsafe { ::std::mem::zeroed() }
1303     }
1304 }
1305 #[cfg(feature = "Win32_Foundation")]
1306 impl ::std::cmp::PartialEq for GETTEXTEX {
eq(&self, _other: &Self) -> bool1307     fn eq(&self, _other: &Self) -> bool {
1308         unimplemented!()
1309     }
1310 }
1311 #[cfg(feature = "Win32_Foundation")]
1312 impl ::std::cmp::Eq for GETTEXTEX {}
1313 #[cfg(feature = "Win32_Foundation")]
1314 unsafe impl ::windows::runtime::Abi for GETTEXTEX {
1315     type Abi = Self;
1316     type DefaultType = Self;
1317 }
1318 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1319 #[repr(transparent)]
1320 pub struct GETTEXTEX_FLAGS(pub u32);
1321 pub const GT_DEFAULT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(0u32);
1322 pub const GT_NOHIDDENTEXT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(8u32);
1323 pub const GT_RAWTEXT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(4u32);
1324 pub const GT_SELECTION: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(2u32);
1325 pub const GT_USECRLF: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(1u32);
1326 impl ::std::convert::From<u32> for GETTEXTEX_FLAGS {
from(value: u32) -> Self1327     fn from(value: u32) -> Self {
1328         Self(value)
1329     }
1330 }
1331 unsafe impl ::windows::runtime::Abi for GETTEXTEX_FLAGS {
1332     type Abi = Self;
1333     type DefaultType = Self;
1334 }
1335 impl ::std::ops::BitOr for GETTEXTEX_FLAGS {
1336     type Output = Self;
bitor(self, rhs: Self) -> Self1337     fn bitor(self, rhs: Self) -> Self {
1338         Self(self.0 | rhs.0)
1339     }
1340 }
1341 impl ::std::ops::BitAnd for GETTEXTEX_FLAGS {
1342     type Output = Self;
bitand(self, rhs: Self) -> Self1343     fn bitand(self, rhs: Self) -> Self {
1344         Self(self.0 & rhs.0)
1345     }
1346 }
1347 impl ::std::ops::BitOrAssign for GETTEXTEX_FLAGS {
bitor_assign(&mut self, rhs: Self)1348     fn bitor_assign(&mut self, rhs: Self) {
1349         self.0.bitor_assign(rhs.0)
1350     }
1351 }
1352 impl ::std::ops::BitAndAssign for GETTEXTEX_FLAGS {
bitand_assign(&mut self, rhs: Self)1353     fn bitand_assign(&mut self, rhs: Self) {
1354         self.0.bitand_assign(rhs.0)
1355     }
1356 }
1357 impl ::std::ops::Not for GETTEXTEX_FLAGS {
1358     type Output = Self;
not(self) -> Self1359     fn not(self) -> Self {
1360         Self(self.0.not())
1361     }
1362 }
1363 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1364 #[repr(C)]
1365 pub struct GETTEXTLENGTHEX {
1366     pub flags: GETTEXTLENGTHEX_FLAGS,
1367     pub codepage: u32,
1368 }
1369 impl GETTEXTLENGTHEX {}
1370 impl ::std::default::Default for GETTEXTLENGTHEX {
default() -> Self1371     fn default() -> Self {
1372         unsafe { ::std::mem::zeroed() }
1373     }
1374 }
1375 impl ::std::fmt::Debug for GETTEXTLENGTHEX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1376     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1377         fmt.debug_struct("GETTEXTLENGTHEX").field("flags", &self.flags).field("codepage", &self.codepage).finish()
1378     }
1379 }
1380 impl ::std::cmp::PartialEq for GETTEXTLENGTHEX {
eq(&self, other: &Self) -> bool1381     fn eq(&self, other: &Self) -> bool {
1382         self.flags == other.flags && self.codepage == other.codepage
1383     }
1384 }
1385 impl ::std::cmp::Eq for GETTEXTLENGTHEX {}
1386 unsafe impl ::windows::runtime::Abi for GETTEXTLENGTHEX {
1387     type Abi = Self;
1388     type DefaultType = Self;
1389 }
1390 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1391 #[repr(transparent)]
1392 pub struct GETTEXTLENGTHEX_FLAGS(pub u32);
1393 pub const GTL_DEFAULT: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(0u32);
1394 pub const GTL_USECRLF: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(1u32);
1395 pub const GTL_PRECISE: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(2u32);
1396 pub const GTL_CLOSE: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(4u32);
1397 pub const GTL_NUMCHARS: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(8u32);
1398 pub const GTL_NUMBYTES: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(16u32);
1399 impl ::std::convert::From<u32> for GETTEXTLENGTHEX_FLAGS {
from(value: u32) -> Self1400     fn from(value: u32) -> Self {
1401         Self(value)
1402     }
1403 }
1404 unsafe impl ::windows::runtime::Abi for GETTEXTLENGTHEX_FLAGS {
1405     type Abi = Self;
1406     type DefaultType = Self;
1407 }
1408 impl ::std::ops::BitOr for GETTEXTLENGTHEX_FLAGS {
1409     type Output = Self;
bitor(self, rhs: Self) -> Self1410     fn bitor(self, rhs: Self) -> Self {
1411         Self(self.0 | rhs.0)
1412     }
1413 }
1414 impl ::std::ops::BitAnd for GETTEXTLENGTHEX_FLAGS {
1415     type Output = Self;
bitand(self, rhs: Self) -> Self1416     fn bitand(self, rhs: Self) -> Self {
1417         Self(self.0 & rhs.0)
1418     }
1419 }
1420 impl ::std::ops::BitOrAssign for GETTEXTLENGTHEX_FLAGS {
bitor_assign(&mut self, rhs: Self)1421     fn bitor_assign(&mut self, rhs: Self) {
1422         self.0.bitor_assign(rhs.0)
1423     }
1424 }
1425 impl ::std::ops::BitAndAssign for GETTEXTLENGTHEX_FLAGS {
bitand_assign(&mut self, rhs: Self)1426     fn bitand_assign(&mut self, rhs: Self) {
1427         self.0.bitand_assign(rhs.0)
1428     }
1429 }
1430 impl ::std::ops::Not for GETTEXTLENGTHEX_FLAGS {
1431     type Output = Self;
not(self) -> Self1432     fn not(self) -> Self {
1433         Self(self.0.not())
1434     }
1435 }
1436 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1437 #[repr(C, packed(4))]
1438 pub struct HYPHENATEINFO {
1439     pub cbSize: i16,
1440     pub dxHyphenateZone: i16,
1441     pub pfnHyphenate: isize,
1442 }
1443 impl HYPHENATEINFO {}
1444 impl ::std::default::Default for HYPHENATEINFO {
default() -> Self1445     fn default() -> Self {
1446         unsafe { ::std::mem::zeroed() }
1447     }
1448 }
1449 impl ::std::cmp::PartialEq for HYPHENATEINFO {
eq(&self, _other: &Self) -> bool1450     fn eq(&self, _other: &Self) -> bool {
1451         unimplemented!()
1452     }
1453 }
1454 impl ::std::cmp::Eq for HYPHENATEINFO {}
1455 unsafe impl ::windows::runtime::Abi for HYPHENATEINFO {
1456     type Abi = Self;
1457     type DefaultType = Self;
1458 }
1459 pub const ICM_CTF: u32 = 5u32;
1460 pub const ICM_LEVEL2: u32 = 2u32;
1461 pub const ICM_LEVEL2_5: u32 = 3u32;
1462 pub const ICM_LEVEL2_SUI: u32 = 4u32;
1463 pub const ICM_LEVEL3: u32 = 1u32;
1464 pub const ICM_NOTOPEN: u32 = 0u32;
1465 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1466 #[repr(C)]
1467 pub struct IMECOMPTEXT {
1468     pub cb: i32,
1469     pub flags: IMECOMPTEXT_FLAGS,
1470 }
1471 impl IMECOMPTEXT {}
1472 impl ::std::default::Default for IMECOMPTEXT {
default() -> Self1473     fn default() -> Self {
1474         unsafe { ::std::mem::zeroed() }
1475     }
1476 }
1477 impl ::std::fmt::Debug for IMECOMPTEXT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1478     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1479         fmt.debug_struct("IMECOMPTEXT").field("cb", &self.cb).field("flags", &self.flags).finish()
1480     }
1481 }
1482 impl ::std::cmp::PartialEq for IMECOMPTEXT {
eq(&self, other: &Self) -> bool1483     fn eq(&self, other: &Self) -> bool {
1484         self.cb == other.cb && self.flags == other.flags
1485     }
1486 }
1487 impl ::std::cmp::Eq for IMECOMPTEXT {}
1488 unsafe impl ::windows::runtime::Abi for IMECOMPTEXT {
1489     type Abi = Self;
1490     type DefaultType = Self;
1491 }
1492 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1493 #[repr(transparent)]
1494 pub struct IMECOMPTEXT_FLAGS(pub u32);
1495 pub const ICT_RESULTREADSTR: IMECOMPTEXT_FLAGS = IMECOMPTEXT_FLAGS(1u32);
1496 impl ::std::convert::From<u32> for IMECOMPTEXT_FLAGS {
from(value: u32) -> Self1497     fn from(value: u32) -> Self {
1498         Self(value)
1499     }
1500 }
1501 unsafe impl ::windows::runtime::Abi for IMECOMPTEXT_FLAGS {
1502     type Abi = Self;
1503     type DefaultType = Self;
1504 }
1505 impl ::std::ops::BitOr for IMECOMPTEXT_FLAGS {
1506     type Output = Self;
bitor(self, rhs: Self) -> Self1507     fn bitor(self, rhs: Self) -> Self {
1508         Self(self.0 | rhs.0)
1509     }
1510 }
1511 impl ::std::ops::BitAnd for IMECOMPTEXT_FLAGS {
1512     type Output = Self;
bitand(self, rhs: Self) -> Self1513     fn bitand(self, rhs: Self) -> Self {
1514         Self(self.0 & rhs.0)
1515     }
1516 }
1517 impl ::std::ops::BitOrAssign for IMECOMPTEXT_FLAGS {
bitor_assign(&mut self, rhs: Self)1518     fn bitor_assign(&mut self, rhs: Self) {
1519         self.0.bitor_assign(rhs.0)
1520     }
1521 }
1522 impl ::std::ops::BitAndAssign for IMECOMPTEXT_FLAGS {
bitand_assign(&mut self, rhs: Self)1523     fn bitand_assign(&mut self, rhs: Self) {
1524         self.0.bitand_assign(rhs.0)
1525     }
1526 }
1527 impl ::std::ops::Not for IMECOMPTEXT_FLAGS {
1528     type Output = Self;
not(self) -> Self1529     fn not(self) -> Self {
1530         Self(self.0.not())
1531     }
1532 }
1533 pub const IMF_AUTOFONT: u32 = 2u32;
1534 pub const IMF_AUTOFONTSIZEADJUST: u32 = 16u32;
1535 pub const IMF_AUTOKEYBOARD: u32 = 1u32;
1536 pub const IMF_CLOSESTATUSWINDOW: u32 = 8u32;
1537 pub const IMF_DUALFONT: u32 = 128u32;
1538 pub const IMF_FORCEACTIVE: u32 = 64u32;
1539 pub const IMF_FORCEDISABLE: u32 = 4u32;
1540 pub const IMF_FORCEENABLE: u32 = 2u32;
1541 pub const IMF_FORCEINACTIVE: u32 = 128u32;
1542 pub const IMF_FORCENONE: u32 = 1u32;
1543 pub const IMF_FORCEREMEMBER: u32 = 256u32;
1544 pub const IMF_IMEALWAYSSENDNOTIFY: u32 = 8u32;
1545 pub const IMF_IMECANCELCOMPLETE: u32 = 4u32;
1546 pub const IMF_IMEUIINTEGRATION: u32 = 8192u32;
1547 pub const IMF_MULTIPLEEDIT: u32 = 1024u32;
1548 pub const IMF_NOIMPLICITLANG: u32 = 64u32;
1549 pub const IMF_NOKBDLIDFIXUP: u32 = 512u32;
1550 pub const IMF_NORTFFONTSUBSTITUTE: u32 = 1024u32;
1551 pub const IMF_SMODE_NONE: u32 = 2u32;
1552 pub const IMF_SMODE_PLAURALCLAUSE: u32 = 1u32;
1553 pub const IMF_SPELLCHECKING: u32 = 2048u32;
1554 pub const IMF_TKBPREDICTION: u32 = 4096u32;
1555 pub const IMF_UIFONTS: u32 = 32u32;
1556 pub const IMF_VERTICAL: u32 = 32u32;
1557 #[repr(transparent)]
1558 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1559 pub struct IRichEditOle(::windows::runtime::IUnknown);
1560 impl IRichEditOle {
1561     #[cfg(feature = "Win32_System_Ole")]
GetClientSite(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IOleClientSite>1562     pub unsafe fn GetClientSite(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IOleClientSite> {
1563         let mut result__: <super::super::super::System::Ole::IOleClientSite as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1564         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Ole::IOleClientSite>(result__)
1565     }
GetObjectCount(&self) -> i321566     pub unsafe fn GetObjectCount(&self) -> i32 {
1567         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)))
1568     }
GetLinkCount(&self) -> i321569     pub unsafe fn GetLinkCount(&self) -> i32 {
1570         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)))
1571     }
1572     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
GetObject(&self, iob: i32, lpreobject: *mut REOBJECT, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::Result<()>1573     pub unsafe fn GetObject(&self, iob: i32, lpreobject: *mut REOBJECT, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::Result<()> {
1574         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(lpreobject), ::std::mem::transmute(dwflags)).ok()
1575     }
1576     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
InsertObject(&self, lpreobject: *mut REOBJECT) -> ::windows::runtime::Result<()>1577     pub unsafe fn InsertObject(&self, lpreobject: *mut REOBJECT) -> ::windows::runtime::Result<()> {
1578         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpreobject)).ok()
1579     }
1580     #[cfg(feature = "Win32_Foundation")]
ConvertObject<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: Param2) -> ::windows::runtime::Result<()>1581     pub unsafe fn ConvertObject<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: Param2) -> ::windows::runtime::Result<()> {
1582         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(rclsidnew), lpstrusertypenew.into_param().abi()).ok()
1583     }
ActivateAs(&self, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1584     pub unsafe fn ActivateAs(&self, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
1585         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rclsidas)).ok()
1586     }
1587     #[cfg(feature = "Win32_Foundation")]
SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, lpstrcontainerapp: Param0, lpstrcontainerobj: Param1) -> ::windows::runtime::Result<()>1588     pub unsafe fn SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, lpstrcontainerapp: Param0, lpstrcontainerobj: Param1) -> ::windows::runtime::Result<()> {
1589         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), lpstrcontainerapp.into_param().abi(), lpstrcontainerobj.into_param().abi()).ok()
1590     }
1591     #[cfg(feature = "Win32_Foundation")]
SetLinkAvailable<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, iob: i32, favailable: Param1) -> ::windows::runtime::Result<()>1592     pub unsafe fn SetLinkAvailable<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, iob: i32, favailable: Param1) -> ::windows::runtime::Result<()> {
1593         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), favailable.into_param().abi()).ok()
1594     }
SetDvaspect(&self, iob: i32, dvaspect: u32) -> ::windows::runtime::Result<()>1595     pub unsafe fn SetDvaspect(&self, iob: i32, dvaspect: u32) -> ::windows::runtime::Result<()> {
1596         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(dvaspect)).ok()
1597     }
HandsOffStorage(&self, iob: i32) -> ::windows::runtime::Result<()>1598     pub unsafe fn HandsOffStorage(&self, iob: i32) -> ::windows::runtime::Result<()> {
1599         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob)).ok()
1600     }
1601     #[cfg(feature = "Win32_System_Com_StructuredStorage")]
SaveCompleted<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, iob: i32, lpstg: Param1) -> ::windows::runtime::Result<()>1602     pub unsafe fn SaveCompleted<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, iob: i32, lpstg: Param1) -> ::windows::runtime::Result<()> {
1603         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), lpstg.into_param().abi()).ok()
1604     }
InPlaceDeactivate(&self) -> ::windows::runtime::Result<()>1605     pub unsafe fn InPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
1606         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
1607     }
1608     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>1609     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
1610         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
1611     }
1612     #[cfg(feature = "Win32_System_Com")]
GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()>1613     pub unsafe fn GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()> {
1614         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpchrg), ::std::mem::transmute(reco), ::std::mem::transmute(lplpdataobj)).ok()
1615     }
1616     #[cfg(feature = "Win32_System_Com")]
ImportDataObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>>(&self, lpdataobj: Param0, cf: u16, hmetapict: isize) -> ::windows::runtime::Result<()>1617     pub unsafe fn ImportDataObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>>(&self, lpdataobj: Param0, cf: u16, hmetapict: isize) -> ::windows::runtime::Result<()> {
1618         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), lpdataobj.into_param().abi(), ::std::mem::transmute(cf), ::std::mem::transmute(hmetapict)).ok()
1619     }
1620 }
1621 unsafe impl ::windows::runtime::Interface for IRichEditOle {
1622     type Vtable = IRichEditOle_abi;
1623     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(134400, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1624 }
1625 impl ::std::convert::From<IRichEditOle> for ::windows::runtime::IUnknown {
from(value: IRichEditOle) -> Self1626     fn from(value: IRichEditOle) -> Self {
1627         unsafe { ::std::mem::transmute(value) }
1628     }
1629 }
1630 impl ::std::convert::From<&IRichEditOle> for ::windows::runtime::IUnknown {
from(value: &IRichEditOle) -> Self1631     fn from(value: &IRichEditOle) -> Self {
1632         ::std::convert::From::from(::std::clone::Clone::clone(value))
1633     }
1634 }
1635 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRichEditOle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1636     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1637         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1638     }
1639 }
1640 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRichEditOle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1641     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1642         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1643     }
1644 }
1645 #[repr(C)]
1646 #[doc(hidden)]
1647 pub struct IRichEditOle_abi(
1648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1650     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1651     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpolesite: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1652     #[cfg(not(feature = "Win32_System_Ole"))] usize,
1653     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> i32,
1654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> i32,
1655     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, lpreobject: *mut ::std::mem::ManuallyDrop<REOBJECT>, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::HRESULT,
1656     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] usize,
1657     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpreobject: *mut ::std::mem::ManuallyDrop<REOBJECT>) -> ::windows::runtime::HRESULT,
1658     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] usize,
1659     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1660     #[cfg(not(feature = "Win32_Foundation"))] usize,
1661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1662     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpstrcontainerapp: super::super::super::Foundation::PSTR, lpstrcontainerobj: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1663     #[cfg(not(feature = "Win32_Foundation"))] usize,
1664     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, favailable: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1665     #[cfg(not(feature = "Win32_Foundation"))] usize,
1666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, dvaspect: u32) -> ::windows::runtime::HRESULT,
1667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32) -> ::windows::runtime::HRESULT,
1668     #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, lpstg: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1669     #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize,
1670     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1671     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1672     #[cfg(not(feature = "Win32_Foundation"))] usize,
1673     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1674     #[cfg(not(feature = "Win32_System_Com"))] usize,
1675     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdataobj: ::windows::runtime::RawPtr, cf: u16, hmetapict: isize) -> ::windows::runtime::HRESULT,
1676     #[cfg(not(feature = "Win32_System_Com"))] usize,
1677 );
1678 #[repr(transparent)]
1679 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1680 pub struct IRichEditOleCallback(::windows::runtime::IUnknown);
1681 impl IRichEditOleCallback {
1682     #[cfg(feature = "Win32_System_Com_StructuredStorage")]
GetNewStorage(&self) -> ::windows::runtime::Result<super::super::super::System::Com::StructuredStorage::IStorage>1683     pub unsafe fn GetNewStorage(&self) -> ::windows::runtime::Result<super::super::super::System::Com::StructuredStorage::IStorage> {
1684         let mut result__: <super::super::super::System::Com::StructuredStorage::IStorage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1685         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::StructuredStorage::IStorage>(result__)
1686     }
1687     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))]
GetInPlaceContext(&self, lplpframe: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceFrame>, lplpdoc: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceUIWindow>, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::Result<()>1688     pub unsafe fn GetInPlaceContext(&self, lplpframe: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceFrame>, lplpdoc: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceUIWindow>, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::Result<()> {
1689         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lplpframe), ::std::mem::transmute(lplpdoc), ::std::mem::transmute(lpframeinfo)).ok()
1690     }
1691     #[cfg(feature = "Win32_Foundation")]
ShowContainerUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>1692     pub unsafe fn ShowContainerUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
1693         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
1694     }
1695     #[cfg(feature = "Win32_System_Com_StructuredStorage")]
QueryInsertObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, lpclsid: *mut ::windows::runtime::GUID, lpstg: Param1, cp: i32) -> ::windows::runtime::Result<()>1696     pub unsafe fn QueryInsertObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, lpclsid: *mut ::windows::runtime::GUID, lpstg: Param1, cp: i32) -> ::windows::runtime::Result<()> {
1697         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpclsid), lpstg.into_param().abi(), ::std::mem::transmute(cp)).ok()
1698     }
1699     #[cfg(feature = "Win32_System_Ole")]
DeleteObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, lpoleobj: Param0) -> ::windows::runtime::Result<()>1700     pub unsafe fn DeleteObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, lpoleobj: Param0) -> ::windows::runtime::Result<()> {
1701         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), lpoleobj.into_param().abi()).ok()
1702     }
1703     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
QueryAcceptData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, lpdataobj: Param0, lpcfformat: *mut u16, reco: u32, freally: Param3, hmetapict: isize) -> ::windows::runtime::Result<()>1704     pub unsafe fn QueryAcceptData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, lpdataobj: Param0, lpcfformat: *mut u16, reco: u32, freally: Param3, hmetapict: isize) -> ::windows::runtime::Result<()> {
1705         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), lpdataobj.into_param().abi(), ::std::mem::transmute(lpcfformat), ::std::mem::transmute(reco), freally.into_param().abi(), ::std::mem::transmute(hmetapict)).ok()
1706     }
1707     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>1708     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
1709         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
1710     }
1711     #[cfg(feature = "Win32_System_Com")]
GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()>1712     pub unsafe fn GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()> {
1713         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpchrg), ::std::mem::transmute(reco), ::std::mem::transmute(lplpdataobj)).ok()
1714     }
1715     #[cfg(feature = "Win32_Foundation")]
GetDragDropEffect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdrag: Param0, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::Result<()>1716     pub unsafe fn GetDragDropEffect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdrag: Param0, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::Result<()> {
1717         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), fdrag.into_param().abi(), ::std::mem::transmute(grfkeystate), ::std::mem::transmute(pdweffect)).ok()
1718     }
1719     #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))]
GetContextMenu<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: Param1, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::Result<()>1720     pub unsafe fn GetContextMenu<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: Param1, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::Result<()> {
1721         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(seltype), lpoleobj.into_param().abi(), ::std::mem::transmute(lpchrg), ::std::mem::transmute(lphmenu)).ok()
1722     }
1723 }
1724 unsafe impl ::windows::runtime::Interface for IRichEditOleCallback {
1725     type Vtable = IRichEditOleCallback_abi;
1726     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(134403, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1727 }
1728 impl ::std::convert::From<IRichEditOleCallback> for ::windows::runtime::IUnknown {
from(value: IRichEditOleCallback) -> Self1729     fn from(value: IRichEditOleCallback) -> Self {
1730         unsafe { ::std::mem::transmute(value) }
1731     }
1732 }
1733 impl ::std::convert::From<&IRichEditOleCallback> for ::windows::runtime::IUnknown {
from(value: &IRichEditOleCallback) -> Self1734     fn from(value: &IRichEditOleCallback) -> Self {
1735         ::std::convert::From::from(::std::clone::Clone::clone(value))
1736     }
1737 }
1738 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRichEditOleCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1739     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1740         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1741     }
1742 }
1743 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRichEditOleCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1744     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1745         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1746     }
1747 }
1748 #[repr(C)]
1749 #[doc(hidden)]
1750 pub struct IRichEditOleCallback_abi(
1751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1754     #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpstg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1755     #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize,
1756     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpframe: *mut ::windows::runtime::RawPtr, lplpdoc: *mut ::windows::runtime::RawPtr, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::HRESULT,
1757     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] usize,
1758     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1759     #[cfg(not(feature = "Win32_Foundation"))] usize,
1760     #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpclsid: *mut ::windows::runtime::GUID, lpstg: ::windows::runtime::RawPtr, cp: i32) -> ::windows::runtime::HRESULT,
1761     #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize,
1762     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpoleobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1763     #[cfg(not(feature = "Win32_System_Ole"))] usize,
1764     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdataobj: ::windows::runtime::RawPtr, lpcfformat: *mut u16, reco: u32, freally: super::super::super::Foundation::BOOL, hmetapict: isize) -> ::windows::runtime::HRESULT,
1765     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1766     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1767     #[cfg(not(feature = "Win32_Foundation"))] usize,
1768     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1769     #[cfg(not(feature = "Win32_System_Com"))] usize,
1770     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fdrag: super::super::super::Foundation::BOOL, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::HRESULT,
1771     #[cfg(not(feature = "Win32_Foundation"))] usize,
1772     #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT,
1773     #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] usize,
1774 );
1775 #[repr(transparent)]
1776 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1777 pub struct IRicheditUiaOverrides(::windows::runtime::IUnknown);
1778 impl IRicheditUiaOverrides {
1779     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPropertyOverrideValue(&self, propertyid: i32, pretvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>1780     pub unsafe fn GetPropertyOverrideValue(&self, propertyid: i32, pretvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> {
1781         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(propertyid), ::std::mem::transmute(pretvalue)).ok()
1782     }
1783 }
1784 unsafe impl ::windows::runtime::Interface for IRicheditUiaOverrides {
1785     type Vtable = IRicheditUiaOverrides_abi;
1786     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
1787 }
1788 impl ::std::convert::From<IRicheditUiaOverrides> for ::windows::runtime::IUnknown {
from(value: IRicheditUiaOverrides) -> Self1789     fn from(value: IRicheditUiaOverrides) -> Self {
1790         unsafe { ::std::mem::transmute(value) }
1791     }
1792 }
1793 impl ::std::convert::From<&IRicheditUiaOverrides> for ::windows::runtime::IUnknown {
from(value: &IRicheditUiaOverrides) -> Self1794     fn from(value: &IRicheditUiaOverrides) -> Self {
1795         ::std::convert::From::from(::std::clone::Clone::clone(value))
1796     }
1797 }
1798 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRicheditUiaOverrides {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1799     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1800         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1801     }
1802 }
1803 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRicheditUiaOverrides {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1804     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1805         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1806     }
1807 }
1808 #[repr(C)]
1809 #[doc(hidden)]
1810 pub struct IRicheditUiaOverrides_abi(
1811     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1812     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1813     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1814     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyid: i32, pretvalue: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
1815     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1816 );
1817 #[repr(transparent)]
1818 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1819 pub struct ITextDisplays(::windows::runtime::IUnknown);
1820 impl ITextDisplays {}
1821 unsafe impl ::windows::runtime::Interface for ITextDisplays {
1822     type Vtable = ITextDisplays_abi;
1823     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102706, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
1824 }
1825 impl ::std::convert::From<ITextDisplays> for ::windows::runtime::IUnknown {
from(value: ITextDisplays) -> Self1826     fn from(value: ITextDisplays) -> Self {
1827         unsafe { ::std::mem::transmute(value) }
1828     }
1829 }
1830 impl ::std::convert::From<&ITextDisplays> for ::windows::runtime::IUnknown {
from(value: &ITextDisplays) -> Self1831     fn from(value: &ITextDisplays) -> Self {
1832         ::std::convert::From::from(::std::clone::Clone::clone(value))
1833     }
1834 }
1835 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDisplays {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1836     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1837         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1838     }
1839 }
1840 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDisplays {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1841     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1842         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1843     }
1844 }
1845 #[cfg(feature = "Win32_System_Ole_Automation")]
1846 impl ::std::convert::From<ITextDisplays> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextDisplays) -> Self1847     fn from(value: ITextDisplays) -> Self {
1848         unsafe { ::std::mem::transmute(value) }
1849     }
1850 }
1851 #[cfg(feature = "Win32_System_Ole_Automation")]
1852 impl ::std::convert::From<&ITextDisplays> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextDisplays) -> Self1853     fn from(value: &ITextDisplays) -> Self {
1854         ::std::convert::From::from(::std::clone::Clone::clone(value))
1855     }
1856 }
1857 #[cfg(feature = "Win32_System_Ole_Automation")]
1858 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDisplays {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1859     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
1860         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
1861     }
1862 }
1863 #[cfg(feature = "Win32_System_Ole_Automation")]
1864 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDisplays {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1865     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
1866         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1867     }
1868 }
1869 #[repr(C)]
1870 #[doc(hidden)]
1871 pub struct ITextDisplays_abi(
1872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1874     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1876     #[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,
1877     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1878     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1879     #[cfg(not(feature = "Win32_Foundation"))] usize,
1880     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1881     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1882     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1883 );
1884 #[repr(transparent)]
1885 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1886 pub struct ITextDocument(::windows::runtime::IUnknown);
1887 impl ITextDocument {
1888     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>1889     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
1890         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1891         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
1892     }
GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>1893     pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> {
1894         let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1895         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__)
1896     }
GetStoryCount(&self) -> ::windows::runtime::Result<i32>1897     pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> {
1898         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1899         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1900     }
GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>1901     pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> {
1902         let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1903         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__)
1904     }
GetSaved(&self) -> ::windows::runtime::Result<i32>1905     pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> {
1906         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1907         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1908     }
SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>1909     pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> {
1910         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1911     }
GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>1912     pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> {
1913         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1914         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
1915     }
SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>1916     pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> {
1917         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
1918     }
New(&self) -> ::windows::runtime::Result<()>1919     pub unsafe fn New(&self) -> ::windows::runtime::Result<()> {
1920         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
1921     }
1922     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>1923     pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
1924         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
1925     }
1926     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>1927     pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
1928         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
1929     }
Freeze(&self) -> ::windows::runtime::Result<i32>1930     pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> {
1931         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1932         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1933     }
Unfreeze(&self) -> ::windows::runtime::Result<i32>1934     pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> {
1935         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1936         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1937     }
BeginEditCollection(&self) -> ::windows::runtime::Result<()>1938     pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> {
1939         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
1940     }
EndEditCollection(&self) -> ::windows::runtime::Result<()>1941     pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> {
1942         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
1943     }
Undo(&self, count: i32) -> ::windows::runtime::Result<i32>1944     pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> {
1945         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1946         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
1947     }
Redo(&self, count: i32) -> ::windows::runtime::Result<i32>1948     pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> {
1949         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1950         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
1951     }
Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>1952     pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> {
1953         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1954         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__)
1955     }
RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>1956     pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> {
1957         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1958         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__)
1959     }
1960 }
1961 unsafe impl ::windows::runtime::Interface for ITextDocument {
1962     type Vtable = ITextDocument_abi;
1963     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694144, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
1964 }
1965 impl ::std::convert::From<ITextDocument> for ::windows::runtime::IUnknown {
from(value: ITextDocument) -> Self1966     fn from(value: ITextDocument) -> Self {
1967         unsafe { ::std::mem::transmute(value) }
1968     }
1969 }
1970 impl ::std::convert::From<&ITextDocument> for ::windows::runtime::IUnknown {
from(value: &ITextDocument) -> Self1971     fn from(value: &ITextDocument) -> Self {
1972         ::std::convert::From::from(::std::clone::Clone::clone(value))
1973     }
1974 }
1975 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1976     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1977         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1978     }
1979 }
1980 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1981     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1982         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1983     }
1984 }
1985 #[cfg(feature = "Win32_System_Ole_Automation")]
1986 impl ::std::convert::From<ITextDocument> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextDocument) -> Self1987     fn from(value: ITextDocument) -> Self {
1988         unsafe { ::std::mem::transmute(value) }
1989     }
1990 }
1991 #[cfg(feature = "Win32_System_Ole_Automation")]
1992 impl ::std::convert::From<&ITextDocument> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextDocument) -> Self1993     fn from(value: &ITextDocument) -> Self {
1994         ::std::convert::From::from(::std::clone::Clone::clone(value))
1995     }
1996 }
1997 #[cfg(feature = "Win32_System_Ole_Automation")]
1998 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1999     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2000         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
2001     }
2002 }
2003 #[cfg(feature = "Win32_System_Ole_Automation")]
2004 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2005     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2006         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2007     }
2008 }
2009 #[repr(C)]
2010 #[doc(hidden)]
2011 pub struct ITextDocument_abi(
2012     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2013     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2014     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2015     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2016     #[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,
2017     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2018     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2019     #[cfg(not(feature = "Win32_Foundation"))] usize,
2020     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2021     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2022     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2023     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2024     #[cfg(not(feature = "Win32_Foundation"))] usize,
2025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2027     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2028     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT,
2030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
2031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
2032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2033     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2034     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2035     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2036     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2045 );
2046 #[repr(transparent)]
2047 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2048 pub struct ITextDocument2(::windows::runtime::IUnknown);
2049 impl ITextDocument2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2050     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
2051         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2052         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2053     }
2054     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>2055     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
2056         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2057         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
2058     }
2059     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>2060     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
2061         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
2062     }
2063     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2064     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
2065         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
2066     }
2067     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2068     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2069         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2070         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2071     }
GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>2072     pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> {
2073         let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2074         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__)
2075     }
GetStoryCount(&self) -> ::windows::runtime::Result<i32>2076     pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> {
2077         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2078         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2079     }
GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>2080     pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> {
2081         let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2082         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__)
2083     }
GetSaved(&self) -> ::windows::runtime::Result<i32>2084     pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> {
2085         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2086         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2087     }
SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>2088     pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> {
2089         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2090     }
GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>2091     pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> {
2092         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2093         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2094     }
SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>2095     pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> {
2096         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2097     }
New(&self) -> ::windows::runtime::Result<()>2098     pub unsafe fn New(&self) -> ::windows::runtime::Result<()> {
2099         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
2100     }
2101     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2102     pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
2103         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
2104     }
2105     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2106     pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
2107         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
2108     }
Freeze(&self) -> ::windows::runtime::Result<i32>2109     pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> {
2110         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2111         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2112     }
Unfreeze(&self) -> ::windows::runtime::Result<i32>2113     pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> {
2114         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2115         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2116     }
BeginEditCollection(&self) -> ::windows::runtime::Result<()>2117     pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> {
2118         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
2119     }
EndEditCollection(&self) -> ::windows::runtime::Result<()>2120     pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> {
2121         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
2122     }
Undo(&self, count: i32) -> ::windows::runtime::Result<i32>2123     pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> {
2124         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2125         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
2126     }
Redo(&self, count: i32) -> ::windows::runtime::Result<i32>2127     pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> {
2128         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2129         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
2130     }
Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>2131     pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> {
2132         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2133         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__)
2134     }
RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>2135     pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> {
2136         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2137         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__)
2138     }
GetCaretType(&self) -> ::windows::runtime::Result<i32>2139     pub unsafe fn GetCaretType(&self) -> ::windows::runtime::Result<i32> {
2140         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2141         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2142     }
SetCaretType(&self, value: i32) -> ::windows::runtime::Result<()>2143     pub unsafe fn SetCaretType(&self, value: i32) -> ::windows::runtime::Result<()> {
2144         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2145     }
GetDisplays(&self) -> ::windows::runtime::Result<ITextDisplays>2146     pub unsafe fn GetDisplays(&self) -> ::windows::runtime::Result<ITextDisplays> {
2147         let mut result__: <ITextDisplays as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2148         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextDisplays>(result__)
2149     }
GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont2>2150     pub unsafe fn GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont2> {
2151         let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2152         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__)
2153     }
SetDocumentFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>2154     pub unsafe fn SetDocumentFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
2155         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
2156     }
GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara2>2157     pub unsafe fn GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara2> {
2158         let mut result__: <ITextPara2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2159         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara2>(result__)
2160     }
SetDocumentPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>2161     pub unsafe fn SetDocumentPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
2162         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
2163     }
GetEastAsianFlags(&self) -> ::windows::runtime::Result<tomConstants>2164     pub unsafe fn GetEastAsianFlags(&self) -> ::windows::runtime::Result<tomConstants> {
2165         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2166         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
2167     }
2168     #[cfg(feature = "Win32_Foundation")]
GetGenerator(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2169     pub unsafe fn GetGenerator(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2170         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2171         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2172     }
SetIMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()>2173     pub unsafe fn SetIMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()> {
2174         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2175     }
GetNotificationMode(&self) -> ::windows::runtime::Result<i32>2176     pub unsafe fn GetNotificationMode(&self) -> ::windows::runtime::Result<i32> {
2177         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2178         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2179     }
SetNotificationMode(&self, value: i32) -> ::windows::runtime::Result<()>2180     pub unsafe fn SetNotificationMode(&self, value: i32) -> ::windows::runtime::Result<()> {
2181         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2182     }
GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection2>2183     pub unsafe fn GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection2> {
2184         let mut result__: <ITextSelection2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2185         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection2>(result__)
2186     }
GetStoryRanges2(&self) -> ::windows::runtime::Result<ITextStoryRanges2>2187     pub unsafe fn GetStoryRanges2(&self) -> ::windows::runtime::Result<ITextStoryRanges2> {
2188         let mut result__: <ITextStoryRanges2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2189         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges2>(result__)
2190     }
GetTypographyOptions(&self) -> ::windows::runtime::Result<i32>2191     pub unsafe fn GetTypographyOptions(&self) -> ::windows::runtime::Result<i32> {
2192         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2193         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2194     }
GetVersion(&self) -> ::windows::runtime::Result<i32>2195     pub unsafe fn GetVersion(&self) -> ::windows::runtime::Result<i32> {
2196         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2197         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2198     }
GetWindow(&self) -> ::windows::runtime::Result<i64>2199     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<i64> {
2200         let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2201         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__)
2202     }
AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()>2203     pub unsafe fn AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()> {
2204         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), pfilter.into_param().abi()).ok()
2205     }
CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()>2206     pub unsafe fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()> {
2207         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(cch), ::std::mem::transmute(pcch)).ok()
2208     }
GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2209     pub unsafe fn GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2210         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2211         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2212     }
GetClientRect(&self, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>2213     pub unsafe fn GetClientRect(&self, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> {
2214         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok()
2215     }
GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<i32>2216     pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<i32> {
2217         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2218         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<i32>(result__)
2219     }
GetImmContext(&self) -> ::windows::runtime::Result<i64>2220     pub unsafe fn GetImmContext(&self) -> ::windows::runtime::Result<i64> {
2221         let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2222         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__)
2223     }
2224     #[cfg(feature = "Win32_Foundation")]
GetPreferredFont(&self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()>2225     pub unsafe fn GetPreferredFont(&self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()> {
2226         (::windows::runtime::Interface::vtable(self).49)(
2227             ::std::mem::transmute_copy(self),
2228             ::std::mem::transmute(cp),
2229             ::std::mem::transmute(charrep),
2230             ::std::mem::transmute(options),
2231             ::std::mem::transmute(curcharrep),
2232             ::std::mem::transmute(curfontsize),
2233             ::std::mem::transmute(pbstr),
2234             ::std::mem::transmute(ppitchandfamily),
2235             ::std::mem::transmute(pnewfontsize),
2236         )
2237         .ok()
2238     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>2239     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
2240         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2241         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
2242     }
GetStrings(&self) -> ::windows::runtime::Result<ITextStrings>2243     pub unsafe fn GetStrings(&self) -> ::windows::runtime::Result<ITextStrings> {
2244         let mut result__: <ITextStrings as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2245         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStrings>(result__)
2246     }
Notify(&self, notify: i32) -> ::windows::runtime::Result<()>2247     pub unsafe fn Notify(&self, notify: i32) -> ::windows::runtime::Result<()> {
2248         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(notify)).ok()
2249     }
Range2(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2>2250     pub unsafe fn Range2(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2> {
2251         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2252         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange2>(result__)
2253     }
RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> ::windows::runtime::Result<ITextRange2>2254     pub unsafe fn RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> ::windows::runtime::Result<ITextRange2> {
2255         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2256         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), &mut result__).from_abi::<ITextRange2>(result__)
2257     }
ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()>2258     pub unsafe fn ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()> {
2259         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), pvoid.into_param().abi()).ok()
2260     }
ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()>2261     pub unsafe fn ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()> {
2262         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(context)).ok()
2263     }
SetEffectColor(&self, index: i32, value: i32) -> ::windows::runtime::Result<()>2264     pub unsafe fn SetEffectColor(&self, index: i32, value: i32) -> ::windows::runtime::Result<()> {
2265         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(value)).ok()
2266     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>2267     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
2268         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
2269     }
SetTypographyOptions(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()>2270     pub unsafe fn SetTypographyOptions(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()> {
2271         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(options), ::std::mem::transmute(mask)).ok()
2272     }
SysBeep(&self) -> ::windows::runtime::Result<()>2273     pub unsafe fn SysBeep(&self) -> ::windows::runtime::Result<()> {
2274         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self)).ok()
2275     }
Update(&self, value: i32) -> ::windows::runtime::Result<()>2276     pub unsafe fn Update(&self, value: i32) -> ::windows::runtime::Result<()> {
2277         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2278     }
UpdateWindow(&self) -> ::windows::runtime::Result<()>2279     pub unsafe fn UpdateWindow(&self) -> ::windows::runtime::Result<()> {
2280         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
2281     }
GetMathProperties(&self) -> ::windows::runtime::Result<i32>2282     pub unsafe fn GetMathProperties(&self) -> ::windows::runtime::Result<i32> {
2283         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2284         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2285     }
SetMathProperties(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()>2286     pub unsafe fn SetMathProperties(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()> {
2287         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(options), ::std::mem::transmute(mask)).ok()
2288     }
GetActiveStory(&self) -> ::windows::runtime::Result<ITextStory>2289     pub unsafe fn GetActiveStory(&self) -> ::windows::runtime::Result<ITextStory> {
2290         let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2291         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__)
2292     }
SetActiveStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextStory>>(&self, pstory: Param0) -> ::windows::runtime::Result<()>2293     pub unsafe fn SetActiveStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextStory>>(&self, pstory: Param0) -> ::windows::runtime::Result<()> {
2294         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), pstory.into_param().abi()).ok()
2295     }
GetMainStory(&self) -> ::windows::runtime::Result<ITextStory>2296     pub unsafe fn GetMainStory(&self) -> ::windows::runtime::Result<ITextStory> {
2297         let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2298         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__)
2299     }
GetNewStory(&self) -> ::windows::runtime::Result<ITextStory>2300     pub unsafe fn GetNewStory(&self) -> ::windows::runtime::Result<ITextStory> {
2301         let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2302         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__)
2303     }
GetStory(&self, index: i32) -> ::windows::runtime::Result<ITextStory>2304     pub unsafe fn GetStory(&self, index: i32) -> ::windows::runtime::Result<ITextStory> {
2305         let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2306         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextStory>(result__)
2307     }
2308 }
2309 unsafe impl ::windows::runtime::Interface for ITextDocument2 {
2310     type Vtable = ITextDocument2_abi;
2311     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102688, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
2312 }
2313 impl ::std::convert::From<ITextDocument2> for ::windows::runtime::IUnknown {
from(value: ITextDocument2) -> Self2314     fn from(value: ITextDocument2) -> Self {
2315         unsafe { ::std::mem::transmute(value) }
2316     }
2317 }
2318 impl ::std::convert::From<&ITextDocument2> for ::windows::runtime::IUnknown {
from(value: &ITextDocument2) -> Self2319     fn from(value: &ITextDocument2) -> Self {
2320         ::std::convert::From::from(::std::clone::Clone::clone(value))
2321     }
2322 }
2323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2324     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2325         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2326     }
2327 }
2328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2329     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2330         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2331     }
2332 }
2333 impl ::std::convert::From<ITextDocument2> for ITextDocument {
from(value: ITextDocument2) -> Self2334     fn from(value: ITextDocument2) -> Self {
2335         unsafe { ::std::mem::transmute(value) }
2336     }
2337 }
2338 impl ::std::convert::From<&ITextDocument2> for ITextDocument {
from(value: &ITextDocument2) -> Self2339     fn from(value: &ITextDocument2) -> Self {
2340         ::std::convert::From::from(::std::clone::Clone::clone(value))
2341     }
2342 }
2343 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2344     fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> {
2345         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(self))
2346     }
2347 }
2348 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for &ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2349     fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> {
2350         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(::std::clone::Clone::clone(self)))
2351     }
2352 }
2353 #[cfg(feature = "Win32_System_Ole_Automation")]
2354 impl ::std::convert::From<ITextDocument2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextDocument2) -> Self2355     fn from(value: ITextDocument2) -> Self {
2356         unsafe { ::std::mem::transmute(value) }
2357     }
2358 }
2359 #[cfg(feature = "Win32_System_Ole_Automation")]
2360 impl ::std::convert::From<&ITextDocument2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextDocument2) -> Self2361     fn from(value: &ITextDocument2) -> Self {
2362         ::std::convert::From::from(::std::clone::Clone::clone(value))
2363     }
2364 }
2365 #[cfg(feature = "Win32_System_Ole_Automation")]
2366 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2367     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2368         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
2369     }
2370 }
2371 #[cfg(feature = "Win32_System_Ole_Automation")]
2372 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2373     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2374         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2375     }
2376 }
2377 #[repr(C)]
2378 #[doc(hidden)]
2379 pub struct ITextDocument2_abi(
2380     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2384     #[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,
2385     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2386     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2387     #[cfg(not(feature = "Win32_Foundation"))] usize,
2388     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2389     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2390     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2391     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2392     #[cfg(not(feature = "Win32_Foundation"))] usize,
2393     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2394     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2395     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2396     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2397     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT,
2398     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
2399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
2400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2401     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2402     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2403     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2404     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2407     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2408     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2410     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2411     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2412     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2414     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdisplays: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2418     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2419     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2420     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut tomConstants) -> ::windows::runtime::HRESULT,
2421     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2422     #[cfg(not(feature = "Win32_Foundation"))] usize,
2423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2424     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2425     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2426     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2427     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poptions: *mut i32) -> ::windows::runtime::HRESULT,
2429     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut i64) -> ::windows::runtime::HRESULT,
2431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfilter: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2432     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cch: i32, pcch: *const i32) -> ::windows::runtime::HRESULT,
2433     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppvoid: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT,
2435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontext: *mut i64) -> ::windows::runtime::HRESULT,
2437     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::HRESULT,
2438     #[cfg(not(feature = "Win32_Foundation"))] usize,
2439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstrs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, notify: i32) -> ::windows::runtime::HRESULT,
2442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2443     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvoid: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: i64) -> ::windows::runtime::HRESULT,
2446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, value: i32) -> ::windows::runtime::HRESULT,
2447     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
2448     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: i32, mask: i32) -> ::windows::runtime::HRESULT,
2449     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2450     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2452     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poptions: *mut i32) -> ::windows::runtime::HRESULT,
2453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: i32, mask: i32) -> ::windows::runtime::HRESULT,
2454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstory: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2459 );
2460 #[repr(transparent)]
2461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2462 pub struct ITextDocument2Old(::windows::runtime::IUnknown);
2463 impl ITextDocument2Old {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2464     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
2465         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2466         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2467     }
2468     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>2469     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
2470         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2471         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
2472     }
2473     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>2474     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
2475         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
2476     }
2477     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2478     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
2479         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
2480     }
2481     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2482     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2483         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2484         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2485     }
GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>2486     pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> {
2487         let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2488         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__)
2489     }
GetStoryCount(&self) -> ::windows::runtime::Result<i32>2490     pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> {
2491         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2492         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2493     }
GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>2494     pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> {
2495         let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2496         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__)
2497     }
GetSaved(&self) -> ::windows::runtime::Result<i32>2498     pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> {
2499         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2500         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2501     }
SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>2502     pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> {
2503         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2504     }
GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>2505     pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> {
2506         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2507         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2508     }
SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>2509     pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> {
2510         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2511     }
New(&self) -> ::windows::runtime::Result<()>2512     pub unsafe fn New(&self) -> ::windows::runtime::Result<()> {
2513         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
2514     }
2515     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2516     pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
2517         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
2518     }
2519     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2520     pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> {
2521         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok()
2522     }
Freeze(&self) -> ::windows::runtime::Result<i32>2523     pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> {
2524         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2525         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2526     }
Unfreeze(&self) -> ::windows::runtime::Result<i32>2527     pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> {
2528         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2529         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2530     }
BeginEditCollection(&self) -> ::windows::runtime::Result<()>2531     pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> {
2532         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
2533     }
EndEditCollection(&self) -> ::windows::runtime::Result<()>2534     pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> {
2535         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
2536     }
Undo(&self, count: i32) -> ::windows::runtime::Result<i32>2537     pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> {
2538         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2539         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
2540     }
Redo(&self, count: i32) -> ::windows::runtime::Result<i32>2541     pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> {
2542         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2543         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
2544     }
Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>2545     pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> {
2546         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2547         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__)
2548     }
RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>2549     pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> {
2550         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2551         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__)
2552     }
AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()>2553     pub unsafe fn AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()> {
2554         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), pfilter.into_param().abi()).ok()
2555     }
SetEffectColor(&self, index: i32, cr: u32) -> ::windows::runtime::Result<()>2556     pub unsafe fn SetEffectColor(&self, index: i32, cr: u32) -> ::windows::runtime::Result<()> {
2557         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(cr)).ok()
2558     }
GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<u32>2559     pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<u32> {
2560         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2561         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<u32>(result__)
2562     }
GetCaretType(&self) -> ::windows::runtime::Result<i32>2563     pub unsafe fn GetCaretType(&self) -> ::windows::runtime::Result<i32> {
2564         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2565         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2566     }
SetCaretType(&self, carettype: i32) -> ::windows::runtime::Result<()>2567     pub unsafe fn SetCaretType(&self, carettype: i32) -> ::windows::runtime::Result<()> {
2568         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(carettype)).ok()
2569     }
GetImmContext(&self) -> ::windows::runtime::Result<i64>2570     pub unsafe fn GetImmContext(&self) -> ::windows::runtime::Result<i64> {
2571         let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2572         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__)
2573     }
ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()>2574     pub unsafe fn ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()> {
2575         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(context)).ok()
2576     }
2577     #[cfg(feature = "Win32_Foundation")]
GetPreferredFont(&self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()>2578     pub unsafe fn GetPreferredFont(&self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()> {
2579         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(cp), ::std::mem::transmute(charrep), ::std::mem::transmute(option), ::std::mem::transmute(charrepcur), ::std::mem::transmute(curfontsize), ::std::mem::transmute(pbstr), ::std::mem::transmute(ppitchandfamily), ::std::mem::transmute(pnewfontsize)).ok()
2580     }
GetNotificationMode(&self) -> ::windows::runtime::Result<i32>2581     pub unsafe fn GetNotificationMode(&self) -> ::windows::runtime::Result<i32> {
2582         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2583         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2584     }
SetNotificationMode(&self, mode: i32) -> ::windows::runtime::Result<()>2585     pub unsafe fn SetNotificationMode(&self, mode: i32) -> ::windows::runtime::Result<()> {
2586         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
2587     }
GetClientRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>2588     pub unsafe fn GetClientRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> {
2589         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok()
2590     }
GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection>2591     pub unsafe fn GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection> {
2592         let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2593         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__)
2594     }
GetWindow(&self) -> ::windows::runtime::Result<i32>2595     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<i32> {
2596         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2597         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2598     }
GetFEFlags(&self) -> ::windows::runtime::Result<i32>2599     pub unsafe fn GetFEFlags(&self) -> ::windows::runtime::Result<i32> {
2600         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2601         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2602     }
UpdateWindow(&self) -> ::windows::runtime::Result<()>2603     pub unsafe fn UpdateWindow(&self) -> ::windows::runtime::Result<()> {
2604         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
2605     }
CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()>2606     pub unsafe fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()> {
2607         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cch), ::std::mem::transmute(pcch)).ok()
2608     }
IMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()>2609     pub unsafe fn IMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()> {
2610         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2611     }
SysBeep(&self) -> ::windows::runtime::Result<()>2612     pub unsafe fn SysBeep(&self) -> ::windows::runtime::Result<()> {
2613         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
2614     }
Update(&self, mode: i32) -> ::windows::runtime::Result<()>2615     pub unsafe fn Update(&self, mode: i32) -> ::windows::runtime::Result<()> {
2616         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok()
2617     }
Notify(&self, notify: i32) -> ::windows::runtime::Result<()>2618     pub unsafe fn Notify(&self, notify: i32) -> ::windows::runtime::Result<()> {
2619         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(notify)).ok()
2620     }
GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont>2621     pub unsafe fn GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont> {
2622         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2623         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
2624     }
GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara>2625     pub unsafe fn GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara> {
2626         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2627         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
2628     }
GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2629     pub unsafe fn GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2630         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2631         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2632     }
ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()>2633     pub unsafe fn ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()> {
2634         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), pvoid.into_param().abi()).ok()
2635     }
2636 }
2637 unsafe impl ::windows::runtime::Interface for ITextDocument2Old {
2638     type Vtable = ITextDocument2Old_abi;
2639     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(29512960, 17000, 4561, [136, 58, 60, 139, 0, 193, 0, 0]);
2640 }
2641 impl ::std::convert::From<ITextDocument2Old> for ::windows::runtime::IUnknown {
from(value: ITextDocument2Old) -> Self2642     fn from(value: ITextDocument2Old) -> Self {
2643         unsafe { ::std::mem::transmute(value) }
2644     }
2645 }
2646 impl ::std::convert::From<&ITextDocument2Old> for ::windows::runtime::IUnknown {
from(value: &ITextDocument2Old) -> Self2647     fn from(value: &ITextDocument2Old) -> Self {
2648         ::std::convert::From::from(::std::clone::Clone::clone(value))
2649     }
2650 }
2651 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2652     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2653         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2654     }
2655 }
2656 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2657     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2658         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2659     }
2660 }
2661 impl ::std::convert::From<ITextDocument2Old> for ITextDocument {
from(value: ITextDocument2Old) -> Self2662     fn from(value: ITextDocument2Old) -> Self {
2663         unsafe { ::std::mem::transmute(value) }
2664     }
2665 }
2666 impl ::std::convert::From<&ITextDocument2Old> for ITextDocument {
from(value: &ITextDocument2Old) -> Self2667     fn from(value: &ITextDocument2Old) -> Self {
2668         ::std::convert::From::from(::std::clone::Clone::clone(value))
2669     }
2670 }
2671 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2672     fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> {
2673         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(self))
2674     }
2675 }
2676 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for &ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2677     fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> {
2678         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(::std::clone::Clone::clone(self)))
2679     }
2680 }
2681 #[cfg(feature = "Win32_System_Ole_Automation")]
2682 impl ::std::convert::From<ITextDocument2Old> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextDocument2Old) -> Self2683     fn from(value: ITextDocument2Old) -> Self {
2684         unsafe { ::std::mem::transmute(value) }
2685     }
2686 }
2687 #[cfg(feature = "Win32_System_Ole_Automation")]
2688 impl ::std::convert::From<&ITextDocument2Old> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextDocument2Old) -> Self2689     fn from(value: &ITextDocument2Old) -> Self {
2690         ::std::convert::From::from(::std::clone::Clone::clone(value))
2691     }
2692 }
2693 #[cfg(feature = "Win32_System_Ole_Automation")]
2694 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2695     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2696         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
2697     }
2698 }
2699 #[cfg(feature = "Win32_System_Ole_Automation")]
2700 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument2Old {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2701     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
2702         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
2703     }
2704 }
2705 #[repr(C)]
2706 #[doc(hidden)]
2707 pub struct ITextDocument2Old_abi(
2708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
2712     #[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,
2713     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2714     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
2715     #[cfg(not(feature = "Win32_Foundation"))] usize,
2716     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
2717     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
2718     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2719     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2720     #[cfg(not(feature = "Win32_Foundation"))] usize,
2721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2723     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2724     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
2725     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT,
2726     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
2727     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
2728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2729     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2730     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2731     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT,
2732     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2733     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT,
2739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfilter: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2742     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, cr: u32) -> ::windows::runtime::HRESULT,
2743     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pcr: *mut u32) -> ::windows::runtime::HRESULT,
2744     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcarettype: *mut i32) -> ::windows::runtime::HRESULT,
2745     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, carettype: i32) -> ::windows::runtime::HRESULT,
2746     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontext: *mut i64) -> ::windows::runtime::HRESULT,
2747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: i64) -> ::windows::runtime::HRESULT,
2748     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::HRESULT,
2749     #[cfg(not(feature = "Win32_Foundation"))] usize,
2750     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmode: *mut i32) -> ::windows::runtime::HRESULT,
2751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: i32) -> ::windows::runtime::HRESULT,
2752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT,
2753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut i32) -> ::windows::runtime::HRESULT,
2755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT,
2756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cch: i32, pcch: *const i32) -> ::windows::runtime::HRESULT,
2758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
2759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: i32) -> ::windows::runtime::HRESULT,
2761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, notify: i32) -> ::windows::runtime::HRESULT,
2762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppitextfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppitextpara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppvoid: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvoid: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2766 );
2767 #[repr(transparent)]
2768 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2769 pub struct ITextFont(::windows::runtime::IUnknown);
2770 impl ITextFont {
GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont>2771     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont> {
2772         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2773         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
2774     }
SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>2775     pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
2776         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
2777     }
CanChange(&self) -> ::windows::runtime::Result<i32>2778     pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> {
2779         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2780         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2781     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32>2782     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32> {
2783         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2784         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pfont.into_param().abi(), &mut result__).from_abi::<i32>(result__)
2785     }
Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()>2786     pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()> {
2787         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2788     }
GetStyle(&self) -> ::windows::runtime::Result<i32>2789     pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> {
2790         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2791         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2792     }
SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>2793     pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> {
2794         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2795     }
GetAllCaps(&self) -> ::windows::runtime::Result<i32>2796     pub unsafe fn GetAllCaps(&self) -> ::windows::runtime::Result<i32> {
2797         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2798         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2799     }
SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()>2800     pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()> {
2801         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2802     }
GetAnimation(&self) -> ::windows::runtime::Result<i32>2803     pub unsafe fn GetAnimation(&self) -> ::windows::runtime::Result<i32> {
2804         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2805         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2806     }
SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()>2807     pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()> {
2808         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2809     }
GetBackColor(&self) -> ::windows::runtime::Result<i32>2810     pub unsafe fn GetBackColor(&self) -> ::windows::runtime::Result<i32> {
2811         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2812         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2813     }
SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()>2814     pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()> {
2815         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2816     }
GetBold(&self) -> ::windows::runtime::Result<i32>2817     pub unsafe fn GetBold(&self) -> ::windows::runtime::Result<i32> {
2818         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2819         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2820     }
SetBold(&self, value: i32) -> ::windows::runtime::Result<()>2821     pub unsafe fn SetBold(&self, value: i32) -> ::windows::runtime::Result<()> {
2822         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2823     }
GetEmboss(&self) -> ::windows::runtime::Result<i32>2824     pub unsafe fn GetEmboss(&self) -> ::windows::runtime::Result<i32> {
2825         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2826         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2827     }
SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()>2828     pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()> {
2829         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2830     }
GetForeColor(&self) -> ::windows::runtime::Result<i32>2831     pub unsafe fn GetForeColor(&self) -> ::windows::runtime::Result<i32> {
2832         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2833         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2834     }
SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()>2835     pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()> {
2836         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2837     }
GetHidden(&self) -> ::windows::runtime::Result<i32>2838     pub unsafe fn GetHidden(&self) -> ::windows::runtime::Result<i32> {
2839         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2840         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2841     }
SetHidden(&self, value: i32) -> ::windows::runtime::Result<()>2842     pub unsafe fn SetHidden(&self, value: i32) -> ::windows::runtime::Result<()> {
2843         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2844     }
GetEngrave(&self) -> ::windows::runtime::Result<i32>2845     pub unsafe fn GetEngrave(&self) -> ::windows::runtime::Result<i32> {
2846         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2847         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2848     }
SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()>2849     pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()> {
2850         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2851     }
GetItalic(&self) -> ::windows::runtime::Result<i32>2852     pub unsafe fn GetItalic(&self) -> ::windows::runtime::Result<i32> {
2853         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2854         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2855     }
SetItalic(&self, value: i32) -> ::windows::runtime::Result<()>2856     pub unsafe fn SetItalic(&self, value: i32) -> ::windows::runtime::Result<()> {
2857         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2858     }
GetKerning(&self) -> ::windows::runtime::Result<f32>2859     pub unsafe fn GetKerning(&self) -> ::windows::runtime::Result<f32> {
2860         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2861         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2862     }
SetKerning(&self, value: f32) -> ::windows::runtime::Result<()>2863     pub unsafe fn SetKerning(&self, value: f32) -> ::windows::runtime::Result<()> {
2864         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2865     }
GetLanguageID(&self) -> ::windows::runtime::Result<i32>2866     pub unsafe fn GetLanguageID(&self) -> ::windows::runtime::Result<i32> {
2867         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2868         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2869     }
SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()>2870     pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()> {
2871         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2872     }
2873     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2874     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
2875         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2876         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
2877     }
2878     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>2879     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
2880         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
2881     }
GetOutline(&self) -> ::windows::runtime::Result<i32>2882     pub unsafe fn GetOutline(&self) -> ::windows::runtime::Result<i32> {
2883         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2884         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2885     }
SetOutline(&self, value: i32) -> ::windows::runtime::Result<()>2886     pub unsafe fn SetOutline(&self, value: i32) -> ::windows::runtime::Result<()> {
2887         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2888     }
GetPosition(&self) -> ::windows::runtime::Result<f32>2889     pub unsafe fn GetPosition(&self) -> ::windows::runtime::Result<f32> {
2890         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2891         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2892     }
SetPosition(&self, value: f32) -> ::windows::runtime::Result<()>2893     pub unsafe fn SetPosition(&self, value: f32) -> ::windows::runtime::Result<()> {
2894         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2895     }
GetProtected(&self) -> ::windows::runtime::Result<i32>2896     pub unsafe fn GetProtected(&self) -> ::windows::runtime::Result<i32> {
2897         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2898         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2899     }
SetProtected(&self, value: i32) -> ::windows::runtime::Result<()>2900     pub unsafe fn SetProtected(&self, value: i32) -> ::windows::runtime::Result<()> {
2901         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2902     }
GetShadow(&self) -> ::windows::runtime::Result<i32>2903     pub unsafe fn GetShadow(&self) -> ::windows::runtime::Result<i32> {
2904         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2905         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2906     }
SetShadow(&self, value: i32) -> ::windows::runtime::Result<()>2907     pub unsafe fn SetShadow(&self, value: i32) -> ::windows::runtime::Result<()> {
2908         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2909     }
GetSize(&self) -> ::windows::runtime::Result<f32>2910     pub unsafe fn GetSize(&self) -> ::windows::runtime::Result<f32> {
2911         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2912         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2913     }
SetSize(&self, value: f32) -> ::windows::runtime::Result<()>2914     pub unsafe fn SetSize(&self, value: f32) -> ::windows::runtime::Result<()> {
2915         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2916     }
GetSmallCaps(&self) -> ::windows::runtime::Result<i32>2917     pub unsafe fn GetSmallCaps(&self) -> ::windows::runtime::Result<i32> {
2918         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2919         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2920     }
SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()>2921     pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()> {
2922         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2923     }
GetSpacing(&self) -> ::windows::runtime::Result<f32>2924     pub unsafe fn GetSpacing(&self) -> ::windows::runtime::Result<f32> {
2925         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2926         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
2927     }
SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()>2928     pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()> {
2929         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2930     }
GetStrikeThrough(&self) -> ::windows::runtime::Result<i32>2931     pub unsafe fn GetStrikeThrough(&self) -> ::windows::runtime::Result<i32> {
2932         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2933         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2934     }
SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()>2935     pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()> {
2936         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2937     }
GetSubscript(&self) -> ::windows::runtime::Result<i32>2938     pub unsafe fn GetSubscript(&self) -> ::windows::runtime::Result<i32> {
2939         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2940         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2941     }
SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()>2942     pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()> {
2943         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2944     }
GetSuperscript(&self) -> ::windows::runtime::Result<i32>2945     pub unsafe fn GetSuperscript(&self) -> ::windows::runtime::Result<i32> {
2946         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2947         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2948     }
SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()>2949     pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()> {
2950         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2951     }
GetUnderline(&self) -> ::windows::runtime::Result<i32>2952     pub unsafe fn GetUnderline(&self) -> ::windows::runtime::Result<i32> {
2953         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2954         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2955     }
SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()>2956     pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()> {
2957         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2958     }
GetWeight(&self) -> ::windows::runtime::Result<i32>2959     pub unsafe fn GetWeight(&self) -> ::windows::runtime::Result<i32> {
2960         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2961         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2962     }
SetWeight(&self, value: i32) -> ::windows::runtime::Result<()>2963     pub unsafe fn SetWeight(&self, value: i32) -> ::windows::runtime::Result<()> {
2964         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
2965     }
2966 }
2967 unsafe impl ::windows::runtime::Interface for ITextFont {
2968     type Vtable = ITextFont_abi;
2969     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694147, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
2970 }
2971 impl ::std::convert::From<ITextFont> for ::windows::runtime::IUnknown {
from(value: ITextFont) -> Self2972     fn from(value: ITextFont) -> Self {
2973         unsafe { ::std::mem::transmute(value) }
2974     }
2975 }
2976 impl ::std::convert::From<&ITextFont> for ::windows::runtime::IUnknown {
from(value: &ITextFont) -> Self2977     fn from(value: &ITextFont) -> Self {
2978         ::std::convert::From::from(::std::clone::Clone::clone(value))
2979     }
2980 }
2981 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextFont {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2982     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2983         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2984     }
2985 }
2986 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextFont {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2987     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2988         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2989     }
2990 }
2991 #[cfg(feature = "Win32_System_Ole_Automation")]
2992 impl ::std::convert::From<ITextFont> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextFont) -> Self2993     fn from(value: ITextFont) -> Self {
2994         unsafe { ::std::mem::transmute(value) }
2995     }
2996 }
2997 #[cfg(feature = "Win32_System_Ole_Automation")]
2998 impl ::std::convert::From<&ITextFont> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextFont) -> Self2999     fn from(value: &ITextFont) -> Self {
3000         ::std::convert::From::from(::std::clone::Clone::clone(value))
3001     }
3002 }
3003 #[cfg(feature = "Win32_System_Ole_Automation")]
3004 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextFont {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3005     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
3006         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
3007     }
3008 }
3009 #[cfg(feature = "Win32_System_Ole_Automation")]
3010 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextFont {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3011     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
3012         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3013     }
3014 }
3015 #[repr(C)]
3016 #[doc(hidden)]
3017 pub struct ITextFont_abi(
3018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3019     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3022     #[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,
3023     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3024     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3025     #[cfg(not(feature = "Win32_Foundation"))] usize,
3026     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3027     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3028     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3032     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3033     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT,
3034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3038     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3039     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3040     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3041     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3042     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3043     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3047     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3057     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3058     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3059     #[cfg(not(feature = "Win32_Foundation"))] usize,
3060     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3061     #[cfg(not(feature = "Win32_Foundation"))] usize,
3062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3070     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3071     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3072     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3073     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3074     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3075     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3076     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3077     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3080     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3081     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3082     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3083     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3086 );
3087 #[repr(transparent)]
3088 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3089 pub struct ITextFont2(::windows::runtime::IUnknown);
3090 impl ITextFont2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3091     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
3092         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3093         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3094     }
3095     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>3096     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
3097         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3098         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
3099     }
3100     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3101     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
3102         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
3103     }
3104     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3105     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
3106         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
3107     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont>3108     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont> {
3109         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3110         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
3111     }
SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>3112     pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
3113         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
3114     }
CanChange(&self) -> ::windows::runtime::Result<i32>3115     pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> {
3116         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3117         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3118     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32>3119     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32> {
3120         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3121         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pfont.into_param().abi(), &mut result__).from_abi::<i32>(result__)
3122     }
Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()>3123     pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()> {
3124         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3125     }
GetStyle(&self) -> ::windows::runtime::Result<i32>3126     pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> {
3127         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3128         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3129     }
SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>3130     pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> {
3131         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3132     }
GetAllCaps(&self) -> ::windows::runtime::Result<i32>3133     pub unsafe fn GetAllCaps(&self) -> ::windows::runtime::Result<i32> {
3134         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3135         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3136     }
SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()>3137     pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()> {
3138         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3139     }
GetAnimation(&self) -> ::windows::runtime::Result<i32>3140     pub unsafe fn GetAnimation(&self) -> ::windows::runtime::Result<i32> {
3141         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3142         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3143     }
SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()>3144     pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()> {
3145         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3146     }
GetBackColor(&self) -> ::windows::runtime::Result<i32>3147     pub unsafe fn GetBackColor(&self) -> ::windows::runtime::Result<i32> {
3148         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3149         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3150     }
SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()>3151     pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()> {
3152         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3153     }
GetBold(&self) -> ::windows::runtime::Result<i32>3154     pub unsafe fn GetBold(&self) -> ::windows::runtime::Result<i32> {
3155         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3156         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3157     }
SetBold(&self, value: i32) -> ::windows::runtime::Result<()>3158     pub unsafe fn SetBold(&self, value: i32) -> ::windows::runtime::Result<()> {
3159         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3160     }
GetEmboss(&self) -> ::windows::runtime::Result<i32>3161     pub unsafe fn GetEmboss(&self) -> ::windows::runtime::Result<i32> {
3162         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3163         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3164     }
SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()>3165     pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()> {
3166         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3167     }
GetForeColor(&self) -> ::windows::runtime::Result<i32>3168     pub unsafe fn GetForeColor(&self) -> ::windows::runtime::Result<i32> {
3169         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3170         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3171     }
SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()>3172     pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()> {
3173         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3174     }
GetHidden(&self) -> ::windows::runtime::Result<i32>3175     pub unsafe fn GetHidden(&self) -> ::windows::runtime::Result<i32> {
3176         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3177         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3178     }
SetHidden(&self, value: i32) -> ::windows::runtime::Result<()>3179     pub unsafe fn SetHidden(&self, value: i32) -> ::windows::runtime::Result<()> {
3180         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3181     }
GetEngrave(&self) -> ::windows::runtime::Result<i32>3182     pub unsafe fn GetEngrave(&self) -> ::windows::runtime::Result<i32> {
3183         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3184         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3185     }
SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()>3186     pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()> {
3187         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3188     }
GetItalic(&self) -> ::windows::runtime::Result<i32>3189     pub unsafe fn GetItalic(&self) -> ::windows::runtime::Result<i32> {
3190         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3191         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3192     }
SetItalic(&self, value: i32) -> ::windows::runtime::Result<()>3193     pub unsafe fn SetItalic(&self, value: i32) -> ::windows::runtime::Result<()> {
3194         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3195     }
GetKerning(&self) -> ::windows::runtime::Result<f32>3196     pub unsafe fn GetKerning(&self) -> ::windows::runtime::Result<f32> {
3197         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3198         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3199     }
SetKerning(&self, value: f32) -> ::windows::runtime::Result<()>3200     pub unsafe fn SetKerning(&self, value: f32) -> ::windows::runtime::Result<()> {
3201         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3202     }
GetLanguageID(&self) -> ::windows::runtime::Result<i32>3203     pub unsafe fn GetLanguageID(&self) -> ::windows::runtime::Result<i32> {
3204         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3205         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3206     }
SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()>3207     pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()> {
3208         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3209     }
3210     #[cfg(feature = "Win32_Foundation")]
GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>3211     pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
3212         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3213         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
3214     }
3215     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>3216     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
3217         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
3218     }
GetOutline(&self) -> ::windows::runtime::Result<i32>3219     pub unsafe fn GetOutline(&self) -> ::windows::runtime::Result<i32> {
3220         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3221         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3222     }
SetOutline(&self, value: i32) -> ::windows::runtime::Result<()>3223     pub unsafe fn SetOutline(&self, value: i32) -> ::windows::runtime::Result<()> {
3224         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3225     }
GetPosition(&self) -> ::windows::runtime::Result<f32>3226     pub unsafe fn GetPosition(&self) -> ::windows::runtime::Result<f32> {
3227         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3228         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3229     }
SetPosition(&self, value: f32) -> ::windows::runtime::Result<()>3230     pub unsafe fn SetPosition(&self, value: f32) -> ::windows::runtime::Result<()> {
3231         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3232     }
GetProtected(&self) -> ::windows::runtime::Result<i32>3233     pub unsafe fn GetProtected(&self) -> ::windows::runtime::Result<i32> {
3234         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3235         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3236     }
SetProtected(&self, value: i32) -> ::windows::runtime::Result<()>3237     pub unsafe fn SetProtected(&self, value: i32) -> ::windows::runtime::Result<()> {
3238         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3239     }
GetShadow(&self) -> ::windows::runtime::Result<i32>3240     pub unsafe fn GetShadow(&self) -> ::windows::runtime::Result<i32> {
3241         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3242         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3243     }
SetShadow(&self, value: i32) -> ::windows::runtime::Result<()>3244     pub unsafe fn SetShadow(&self, value: i32) -> ::windows::runtime::Result<()> {
3245         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3246     }
GetSize(&self) -> ::windows::runtime::Result<f32>3247     pub unsafe fn GetSize(&self) -> ::windows::runtime::Result<f32> {
3248         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3249         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3250     }
SetSize(&self, value: f32) -> ::windows::runtime::Result<()>3251     pub unsafe fn SetSize(&self, value: f32) -> ::windows::runtime::Result<()> {
3252         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3253     }
GetSmallCaps(&self) -> ::windows::runtime::Result<i32>3254     pub unsafe fn GetSmallCaps(&self) -> ::windows::runtime::Result<i32> {
3255         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3256         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3257     }
SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()>3258     pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()> {
3259         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3260     }
GetSpacing(&self) -> ::windows::runtime::Result<f32>3261     pub unsafe fn GetSpacing(&self) -> ::windows::runtime::Result<f32> {
3262         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3263         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3264     }
SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()>3265     pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()> {
3266         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3267     }
GetStrikeThrough(&self) -> ::windows::runtime::Result<i32>3268     pub unsafe fn GetStrikeThrough(&self) -> ::windows::runtime::Result<i32> {
3269         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3270         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3271     }
SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()>3272     pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()> {
3273         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3274     }
GetSubscript(&self) -> ::windows::runtime::Result<i32>3275     pub unsafe fn GetSubscript(&self) -> ::windows::runtime::Result<i32> {
3276         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3277         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3278     }
SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()>3279     pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()> {
3280         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3281     }
GetSuperscript(&self) -> ::windows::runtime::Result<i32>3282     pub unsafe fn GetSuperscript(&self) -> ::windows::runtime::Result<i32> {
3283         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3284         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3285     }
SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()>3286     pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()> {
3287         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3288     }
GetUnderline(&self) -> ::windows::runtime::Result<i32>3289     pub unsafe fn GetUnderline(&self) -> ::windows::runtime::Result<i32> {
3290         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3291         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3292     }
SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()>3293     pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()> {
3294         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3295     }
GetWeight(&self) -> ::windows::runtime::Result<i32>3296     pub unsafe fn GetWeight(&self) -> ::windows::runtime::Result<i32> {
3297         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3298         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3299     }
SetWeight(&self, value: i32) -> ::windows::runtime::Result<()>3300     pub unsafe fn SetWeight(&self, value: i32) -> ::windows::runtime::Result<()> {
3301         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3302     }
GetCount(&self) -> ::windows::runtime::Result<i32>3303     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
3304         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3305         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3306     }
GetAutoLigatures(&self) -> ::windows::runtime::Result<i32>3307     pub unsafe fn GetAutoLigatures(&self) -> ::windows::runtime::Result<i32> {
3308         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3309         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3310     }
SetAutoLigatures(&self, value: i32) -> ::windows::runtime::Result<()>3311     pub unsafe fn SetAutoLigatures(&self, value: i32) -> ::windows::runtime::Result<()> {
3312         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3313     }
GetAutospaceAlpha(&self) -> ::windows::runtime::Result<i32>3314     pub unsafe fn GetAutospaceAlpha(&self) -> ::windows::runtime::Result<i32> {
3315         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3316         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3317     }
SetAutospaceAlpha(&self, value: i32) -> ::windows::runtime::Result<()>3318     pub unsafe fn SetAutospaceAlpha(&self, value: i32) -> ::windows::runtime::Result<()> {
3319         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3320     }
GetAutospaceNumeric(&self) -> ::windows::runtime::Result<i32>3321     pub unsafe fn GetAutospaceNumeric(&self) -> ::windows::runtime::Result<i32> {
3322         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3323         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3324     }
SetAutospaceNumeric(&self, value: i32) -> ::windows::runtime::Result<()>3325     pub unsafe fn SetAutospaceNumeric(&self, value: i32) -> ::windows::runtime::Result<()> {
3326         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3327     }
GetAutospaceParens(&self) -> ::windows::runtime::Result<i32>3328     pub unsafe fn GetAutospaceParens(&self) -> ::windows::runtime::Result<i32> {
3329         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3330         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3331     }
SetAutospaceParens(&self, value: i32) -> ::windows::runtime::Result<()>3332     pub unsafe fn SetAutospaceParens(&self, value: i32) -> ::windows::runtime::Result<()> {
3333         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3334     }
GetCharRep(&self) -> ::windows::runtime::Result<i32>3335     pub unsafe fn GetCharRep(&self) -> ::windows::runtime::Result<i32> {
3336         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3337         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3338     }
SetCharRep(&self, value: i32) -> ::windows::runtime::Result<()>3339     pub unsafe fn SetCharRep(&self, value: i32) -> ::windows::runtime::Result<()> {
3340         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3341     }
GetCompressionMode(&self) -> ::windows::runtime::Result<i32>3342     pub unsafe fn GetCompressionMode(&self) -> ::windows::runtime::Result<i32> {
3343         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3344         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3345     }
SetCompressionMode(&self, value: i32) -> ::windows::runtime::Result<()>3346     pub unsafe fn SetCompressionMode(&self, value: i32) -> ::windows::runtime::Result<()> {
3347         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3348     }
GetCookie(&self) -> ::windows::runtime::Result<i32>3349     pub unsafe fn GetCookie(&self) -> ::windows::runtime::Result<i32> {
3350         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3351         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3352     }
SetCookie(&self, value: i32) -> ::windows::runtime::Result<()>3353     pub unsafe fn SetCookie(&self, value: i32) -> ::windows::runtime::Result<()> {
3354         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3355     }
GetDoubleStrike(&self) -> ::windows::runtime::Result<i32>3356     pub unsafe fn GetDoubleStrike(&self) -> ::windows::runtime::Result<i32> {
3357         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3358         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3359     }
SetDoubleStrike(&self, value: i32) -> ::windows::runtime::Result<()>3360     pub unsafe fn SetDoubleStrike(&self, value: i32) -> ::windows::runtime::Result<()> {
3361         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3362     }
GetDuplicate2(&self) -> ::windows::runtime::Result<ITextFont2>3363     pub unsafe fn GetDuplicate2(&self) -> ::windows::runtime::Result<ITextFont2> {
3364         let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3365         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__)
3366     }
SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>3367     pub unsafe fn SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
3368         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
3369     }
GetLinkType(&self) -> ::windows::runtime::Result<i32>3370     pub unsafe fn GetLinkType(&self) -> ::windows::runtime::Result<i32> {
3371         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3372         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3373     }
GetMathZone(&self) -> ::windows::runtime::Result<i32>3374     pub unsafe fn GetMathZone(&self) -> ::windows::runtime::Result<i32> {
3375         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3376         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3377     }
SetMathZone(&self, value: i32) -> ::windows::runtime::Result<()>3378     pub unsafe fn SetMathZone(&self, value: i32) -> ::windows::runtime::Result<()> {
3379         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3380     }
GetModWidthPairs(&self) -> ::windows::runtime::Result<i32>3381     pub unsafe fn GetModWidthPairs(&self) -> ::windows::runtime::Result<i32> {
3382         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3383         (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3384     }
SetModWidthPairs(&self, value: i32) -> ::windows::runtime::Result<()>3385     pub unsafe fn SetModWidthPairs(&self, value: i32) -> ::windows::runtime::Result<()> {
3386         (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3387     }
GetModWidthSpace(&self) -> ::windows::runtime::Result<i32>3388     pub unsafe fn GetModWidthSpace(&self) -> ::windows::runtime::Result<i32> {
3389         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3390         (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3391     }
SetModWidthSpace(&self, value: i32) -> ::windows::runtime::Result<()>3392     pub unsafe fn SetModWidthSpace(&self, value: i32) -> ::windows::runtime::Result<()> {
3393         (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3394     }
GetOldNumbers(&self) -> ::windows::runtime::Result<i32>3395     pub unsafe fn GetOldNumbers(&self) -> ::windows::runtime::Result<i32> {
3396         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3397         (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3398     }
SetOldNumbers(&self, value: i32) -> ::windows::runtime::Result<()>3399     pub unsafe fn SetOldNumbers(&self, value: i32) -> ::windows::runtime::Result<()> {
3400         (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3401     }
GetOverlapping(&self) -> ::windows::runtime::Result<i32>3402     pub unsafe fn GetOverlapping(&self) -> ::windows::runtime::Result<i32> {
3403         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3404         (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3405     }
SetOverlapping(&self, value: i32) -> ::windows::runtime::Result<()>3406     pub unsafe fn SetOverlapping(&self, value: i32) -> ::windows::runtime::Result<()> {
3407         (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3408     }
GetPositionSubSuper(&self) -> ::windows::runtime::Result<i32>3409     pub unsafe fn GetPositionSubSuper(&self) -> ::windows::runtime::Result<i32> {
3410         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3411         (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3412     }
SetPositionSubSuper(&self, value: i32) -> ::windows::runtime::Result<()>3413     pub unsafe fn SetPositionSubSuper(&self, value: i32) -> ::windows::runtime::Result<()> {
3414         (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3415     }
GetScaling(&self) -> ::windows::runtime::Result<i32>3416     pub unsafe fn GetScaling(&self) -> ::windows::runtime::Result<i32> {
3417         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3418         (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3419     }
SetScaling(&self, value: i32) -> ::windows::runtime::Result<()>3420     pub unsafe fn SetScaling(&self, value: i32) -> ::windows::runtime::Result<()> {
3421         (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3422     }
GetSpaceExtension(&self) -> ::windows::runtime::Result<f32>3423     pub unsafe fn GetSpaceExtension(&self) -> ::windows::runtime::Result<f32> {
3424         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3425         (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
3426     }
SetSpaceExtension(&self, value: f32) -> ::windows::runtime::Result<()>3427     pub unsafe fn SetSpaceExtension(&self, value: f32) -> ::windows::runtime::Result<()> {
3428         (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3429     }
GetUnderlinePositionMode(&self) -> ::windows::runtime::Result<i32>3430     pub unsafe fn GetUnderlinePositionMode(&self) -> ::windows::runtime::Result<i32> {
3431         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3432         (::windows::runtime::Interface::vtable(self).98)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3433     }
SetUnderlinePositionMode(&self, value: i32) -> ::windows::runtime::Result<()>3434     pub unsafe fn SetUnderlinePositionMode(&self, value: i32) -> ::windows::runtime::Result<()> {
3435         (::windows::runtime::Interface::vtable(self).99)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
3436     }
GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()>3437     pub unsafe fn GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()> {
3438         (::windows::runtime::Interface::vtable(self).100)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvalue), ::std::mem::transmute(pmask)).ok()
3439     }
GetEffects2(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()>3440     pub unsafe fn GetEffects2(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()> {
3441         (::windows::runtime::Interface::vtable(self).101)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvalue), ::std::mem::transmute(pmask)).ok()
3442     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>3443     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
3444         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3445         (::windows::runtime::Interface::vtable(self).102)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
3446     }
GetPropertyInfo(&self, index: i32, ptype: *mut i32, pvalue: *mut i32) -> ::windows::runtime::Result<()>3447     pub unsafe fn GetPropertyInfo(&self, index: i32, ptype: *mut i32, pvalue: *mut i32) -> ::windows::runtime::Result<()> {
3448         (::windows::runtime::Interface::vtable(self).103)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(ptype), ::std::mem::transmute(pvalue)).ok()
3449     }
IsEqual2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32>3450     pub unsafe fn IsEqual2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32> {
3451         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3452         (::windows::runtime::Interface::vtable(self).104)(::std::mem::transmute_copy(self), pfont.into_param().abi(), &mut result__).from_abi::<i32>(result__)
3453     }
SetEffects(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()>3454     pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()> {
3455         (::windows::runtime::Interface::vtable(self).105)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(mask)).ok()
3456     }
SetEffects2(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()>3457     pub unsafe fn SetEffects2(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()> {
3458         (::windows::runtime::Interface::vtable(self).106)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(mask)).ok()
3459     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>3460     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
3461         (::windows::runtime::Interface::vtable(self).107)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
3462     }
3463 }
3464 unsafe impl ::windows::runtime::Interface for ITextFont2 {
3465     type Vtable = ITextFont2_abi;
3466     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102691, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
3467 }
3468 impl ::std::convert::From<ITextFont2> for ::windows::runtime::IUnknown {
from(value: ITextFont2) -> Self3469     fn from(value: ITextFont2) -> Self {
3470         unsafe { ::std::mem::transmute(value) }
3471     }
3472 }
3473 impl ::std::convert::From<&ITextFont2> for ::windows::runtime::IUnknown {
from(value: &ITextFont2) -> Self3474     fn from(value: &ITextFont2) -> Self {
3475         ::std::convert::From::from(::std::clone::Clone::clone(value))
3476     }
3477 }
3478 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3479     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3480         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3481     }
3482 }
3483 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3484     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3485         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3486     }
3487 }
3488 impl ::std::convert::From<ITextFont2> for ITextFont {
from(value: ITextFont2) -> Self3489     fn from(value: ITextFont2) -> Self {
3490         unsafe { ::std::mem::transmute(value) }
3491     }
3492 }
3493 impl ::std::convert::From<&ITextFont2> for ITextFont {
from(value: &ITextFont2) -> Self3494     fn from(value: &ITextFont2) -> Self {
3495         ::std::convert::From::from(::std::clone::Clone::clone(value))
3496     }
3497 }
3498 impl<'a> ::windows::runtime::IntoParam<'a, ITextFont> for ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextFont>3499     fn into_param(self) -> ::windows::runtime::Param<'a, ITextFont> {
3500         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextFont>::into(self))
3501     }
3502 }
3503 impl<'a> ::windows::runtime::IntoParam<'a, ITextFont> for &ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextFont>3504     fn into_param(self) -> ::windows::runtime::Param<'a, ITextFont> {
3505         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextFont>::into(::std::clone::Clone::clone(self)))
3506     }
3507 }
3508 #[cfg(feature = "Win32_System_Ole_Automation")]
3509 impl ::std::convert::From<ITextFont2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextFont2) -> Self3510     fn from(value: ITextFont2) -> Self {
3511         unsafe { ::std::mem::transmute(value) }
3512     }
3513 }
3514 #[cfg(feature = "Win32_System_Ole_Automation")]
3515 impl ::std::convert::From<&ITextFont2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextFont2) -> Self3516     fn from(value: &ITextFont2) -> Self {
3517         ::std::convert::From::from(::std::clone::Clone::clone(value))
3518     }
3519 }
3520 #[cfg(feature = "Win32_System_Ole_Automation")]
3521 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3522     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
3523         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
3524     }
3525 }
3526 #[cfg(feature = "Win32_System_Ole_Automation")]
3527 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextFont2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3528     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
3529         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3530     }
3531 }
3532 #[repr(C)]
3533 #[doc(hidden)]
3534 pub struct ITextFont2_abi(
3535     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3537     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3538     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3539     #[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,
3540     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3541     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
3542     #[cfg(not(feature = "Win32_Foundation"))] usize,
3543     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3544     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3545     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT,
3551     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3554     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3555     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3565     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3566     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3567     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3568     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3570     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3573     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3574     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3575     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3576     #[cfg(not(feature = "Win32_Foundation"))] usize,
3577     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3578     #[cfg(not(feature = "Win32_Foundation"))] usize,
3579     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3587     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3588     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3593     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3594     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3596     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3597     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3598     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
3604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3609     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3610     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3612     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3613     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3614     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3615     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3616     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3617     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3620     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3621     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3622     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3624     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3625     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3626     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3627     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3631     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
3638     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
3639     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3640     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
3641     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::HRESULT,
3642     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::HRESULT,
3643     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, ptype: *mut i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
3645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr, pb: *mut i32) -> ::windows::runtime::HRESULT,
3646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32, mask: i32) -> ::windows::runtime::HRESULT,
3647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32, mask: i32) -> ::windows::runtime::HRESULT,
3648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
3649 );
3650 #[repr(transparent)]
3651 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3652 pub struct ITextHost(::windows::runtime::IUnknown);
3653 impl ITextHost {
3654     #[cfg(feature = "Win32_Graphics_Gdi")]
TxGetDC(&self) -> super::super::super::Graphics::Gdi::HDC3655     pub unsafe fn TxGetDC(&self) -> super::super::super::Graphics::Gdi::HDC {
3656         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)))
3657     }
3658     #[cfg(feature = "Win32_Graphics_Gdi")]
TxReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> i323659     pub unsafe fn TxReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> i32 {
3660         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hdc.into_param().abi()))
3661     }
3662     #[cfg(feature = "Win32_Foundation")]
TxShowScrollBar<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, fshow: Param1) -> super::super::super::Foundation::BOOL3663     pub unsafe fn TxShowScrollBar<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, fshow: Param1) -> super::super::super::Foundation::BOOL {
3664         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), fshow.into_param().abi()))
3665     }
3666     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TxEnableScrollBar(&self, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL3667     pub unsafe fn TxEnableScrollBar(&self, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL {
3668         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(fusbflags), ::std::mem::transmute(fuarrowflags)))
3669     }
3670     #[cfg(feature = "Win32_Foundation")]
TxSetScrollRange<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: Param3) -> super::super::super::Foundation::BOOL3671     pub unsafe fn TxSetScrollRange<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: Param3) -> super::super::super::Foundation::BOOL {
3672         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), ::std::mem::transmute(nminpos), ::std::mem::transmute(nmaxpos), fredraw.into_param().abi()))
3673     }
3674     #[cfg(feature = "Win32_Foundation")]
TxSetScrollPos<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, npos: i32, fredraw: Param2) -> super::super::super::Foundation::BOOL3675     pub unsafe fn TxSetScrollPos<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, npos: i32, fredraw: Param2) -> super::super::super::Foundation::BOOL {
3676         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), ::std::mem::transmute(npos), fredraw.into_param().abi()))
3677     }
3678     #[cfg(feature = "Win32_Foundation")]
TxInvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, prc: *mut super::super::super::Foundation::RECT, fmode: Param1)3679     pub unsafe fn TxInvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, prc: *mut super::super::super::Foundation::RECT, fmode: Param1) {
3680         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc), fmode.into_param().abi()))
3681     }
3682     #[cfg(feature = "Win32_Foundation")]
TxViewChange<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fupdate: Param0)3683     pub unsafe fn TxViewChange<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fupdate: Param0) {
3684         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fupdate.into_param().abi()))
3685     }
3686     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
TxCreateCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HBITMAP>>(&self, hbmp: Param0, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL3687     pub unsafe fn TxCreateCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HBITMAP>>(&self, hbmp: Param0, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL {
3688         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hbmp.into_param().abi(), ::std::mem::transmute(xwidth), ::std::mem::transmute(yheight)))
3689     }
3690     #[cfg(feature = "Win32_Foundation")]
TxShowCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> super::super::super::Foundation::BOOL3691     pub unsafe fn TxShowCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> super::super::super::Foundation::BOOL {
3692         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), fshow.into_param().abi()))
3693     }
3694     #[cfg(feature = "Win32_Foundation")]
TxSetCaretPos(&self, x: i32, y: i32) -> super::super::super::Foundation::BOOL3695     pub unsafe fn TxSetCaretPos(&self, x: i32, y: i32) -> super::super::super::Foundation::BOOL {
3696         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y)))
3697     }
3698     #[cfg(feature = "Win32_Foundation")]
TxSetTimer(&self, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL3699     pub unsafe fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL {
3700         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(idtimer), ::std::mem::transmute(utimeout)))
3701     }
TxKillTimer(&self, idtimer: u32)3702     pub unsafe fn TxKillTimer(&self, idtimer: u32) {
3703         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(idtimer)))
3704     }
3705     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
TxScrollWindowEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HRGN>>(&self, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: Param4, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD)3706     pub unsafe fn TxScrollWindowEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HRGN>>(&self, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: Param4, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD) {
3707         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).16)(
3708             ::std::mem::transmute_copy(self),
3709             ::std::mem::transmute(dx),
3710             ::std::mem::transmute(dy),
3711             ::std::mem::transmute(lprcscroll),
3712             ::std::mem::transmute(lprcclip),
3713             hrgnupdate.into_param().abi(),
3714             ::std::mem::transmute(lprcupdate),
3715             ::std::mem::transmute(fuscroll),
3716         ))
3717     }
3718     #[cfg(feature = "Win32_Foundation")]
TxSetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fcapture: Param0)3719     pub unsafe fn TxSetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fcapture: Param0) {
3720         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), fcapture.into_param().abi()))
3721     }
TxSetFocus(&self)3722     pub unsafe fn TxSetFocus(&self) {
3723         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)))
3724     }
3725     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TxSetCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, ftext: Param1)3726     pub unsafe fn TxSetCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, ftext: Param1) {
3727         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), hcur.into_param().abi(), ftext.into_param().abi()))
3728     }
3729     #[cfg(feature = "Win32_Foundation")]
TxScreenToClient(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL3730     pub unsafe fn TxScreenToClient(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
3731         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(lppt)))
3732     }
3733     #[cfg(feature = "Win32_Foundation")]
TxClientToScreen(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL3734     pub unsafe fn TxClientToScreen(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
3735         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lppt)))
3736     }
TxActivate(&self, ploldstate: *mut i32) -> ::windows::runtime::Result<()>3737     pub unsafe fn TxActivate(&self, ploldstate: *mut i32) -> ::windows::runtime::Result<()> {
3738         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ploldstate)).ok()
3739     }
TxDeactivate(&self, lnewstate: i32) -> ::windows::runtime::Result<()>3740     pub unsafe fn TxDeactivate(&self, lnewstate: i32) -> ::windows::runtime::Result<()> {
3741         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lnewstate)).ok()
3742     }
3743     #[cfg(feature = "Win32_Foundation")]
TxGetClientRect(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3744     pub unsafe fn TxGetClientRect(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3745         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc)).ok()
3746     }
3747     #[cfg(feature = "Win32_Foundation")]
TxGetViewInset(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3748     pub unsafe fn TxGetViewInset(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3749         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc)).ok()
3750     }
TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::Result<()>3751     pub unsafe fn TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::Result<()> {
3752         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppcf)).ok()
3753     }
TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> ::windows::runtime::Result<()>3754     pub unsafe fn TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> ::windows::runtime::Result<()> {
3755         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pppf)).ok()
3756     }
TxGetSysColor(&self, nindex: i32) -> u323757     pub unsafe fn TxGetSysColor(&self, nindex: i32) -> u32 {
3758         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex)))
3759     }
TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::Result<()>3760     pub unsafe fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::Result<()> {
3761         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(pstyle)).ok()
3762     }
TxGetMaxLength(&self, plength: *mut u32) -> ::windows::runtime::Result<()>3763     pub unsafe fn TxGetMaxLength(&self, plength: *mut u32) -> ::windows::runtime::Result<()> {
3764         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(plength)).ok()
3765     }
TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> ::windows::runtime::Result<()>3766     pub unsafe fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> ::windows::runtime::Result<()> {
3767         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwscrollbar)).ok()
3768     }
TxGetPasswordChar(&self) -> ::windows::runtime::Result<i8>3769     pub unsafe fn TxGetPasswordChar(&self) -> ::windows::runtime::Result<i8> {
3770         let mut result__: <i8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3771         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i8>(result__)
3772     }
TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::runtime::Result<()>3773     pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::runtime::Result<()> {
3774         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcp)).ok()
3775     }
3776     #[cfg(feature = "Win32_Foundation")]
TxGetExtent(&self, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::Result<()>3777     pub unsafe fn TxGetExtent(&self, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::Result<()> {
3778         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpextent)).ok()
3779     }
OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> ::windows::runtime::Result<()>3780     pub unsafe fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> ::windows::runtime::Result<()> {
3781         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcf)).ok()
3782     }
OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> ::windows::runtime::Result<()>3783     pub unsafe fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> ::windows::runtime::Result<()> {
3784         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppf)).ok()
3785     }
TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::Result<()>3786     pub unsafe fn TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::Result<()> {
3787         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmask), ::std::mem::transmute(pdwbits)).ok()
3788     }
TxNotify(&self, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>3789     pub unsafe fn TxNotify(&self, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
3790         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(inotify), ::std::mem::transmute(pv)).ok()
3791     }
3792     #[cfg(feature = "Win32_Globalization")]
TxImmGetContext(&self) -> super::super::super::Globalization::HIMC3793     pub unsafe fn TxImmGetContext(&self) -> super::super::super::Globalization::HIMC {
3794         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self)))
3795     }
3796     #[cfg(feature = "Win32_Globalization")]
TxImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0)3797     pub unsafe fn TxImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) {
3798         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), himc.into_param().abi()))
3799     }
TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> ::windows::runtime::Result<()>3800     pub unsafe fn TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> ::windows::runtime::Result<()> {
3801         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lselbarwidth)).ok()
3802     }
3803 }
3804 unsafe impl ::windows::runtime::Interface for ITextHost {
3805     type Vtable = ITextHost_abi;
3806     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
3807 }
3808 impl ::std::convert::From<ITextHost> for ::windows::runtime::IUnknown {
from(value: ITextHost) -> Self3809     fn from(value: ITextHost) -> Self {
3810         unsafe { ::std::mem::transmute(value) }
3811     }
3812 }
3813 impl ::std::convert::From<&ITextHost> for ::windows::runtime::IUnknown {
from(value: &ITextHost) -> Self3814     fn from(value: &ITextHost) -> Self {
3815         ::std::convert::From::from(::std::clone::Clone::clone(value))
3816     }
3817 }
3818 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextHost {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3819     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3820         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3821     }
3822 }
3823 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextHost {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3824     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3825         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3826     }
3827 }
3828 #[repr(C)]
3829 #[doc(hidden)]
3830 pub struct ITextHost_abi(
3831     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3834     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Graphics::Gdi::HDC,
3835     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
3836     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::super::Graphics::Gdi::HDC) -> i32,
3837     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
3838     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, fshow: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
3839     #[cfg(not(feature = "Win32_Foundation"))] usize,
3840     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL,
3841     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3842     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
3843     #[cfg(not(feature = "Win32_Foundation"))] usize,
3844     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, npos: i32, fredraw: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
3845     #[cfg(not(feature = "Win32_Foundation"))] usize,
3846     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT, fmode: super::super::super::Foundation::BOOL),
3847     #[cfg(not(feature = "Win32_Foundation"))] usize,
3848     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fupdate: super::super::super::Foundation::BOOL),
3849     #[cfg(not(feature = "Win32_Foundation"))] usize,
3850     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hbmp: super::super::super::Graphics::Gdi::HBITMAP, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL,
3851     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
3852     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
3853     #[cfg(not(feature = "Win32_Foundation"))] usize,
3854     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32) -> super::super::super::Foundation::BOOL,
3855     #[cfg(not(feature = "Win32_Foundation"))] usize,
3856     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL,
3857     #[cfg(not(feature = "Win32_Foundation"))] usize,
3858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idtimer: u32),
3859     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: super::super::super::Graphics::Gdi::HRGN, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD),
3860     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3861     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcapture: super::super::super::Foundation::BOOL),
3862     #[cfg(not(feature = "Win32_Foundation"))] usize,
3863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
3864     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hcur: super::super::WindowsAndMessaging::HCURSOR, ftext: super::super::super::Foundation::BOOL),
3865     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3866     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL,
3867     #[cfg(not(feature = "Win32_Foundation"))] usize,
3868     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL,
3869     #[cfg(not(feature = "Win32_Foundation"))] usize,
3870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ploldstate: *mut i32) -> ::windows::runtime::HRESULT,
3871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lnewstate: i32) -> ::windows::runtime::HRESULT,
3872     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3873     #[cfg(not(feature = "Win32_Foundation"))] usize,
3874     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3875     #[cfg(not(feature = "Win32_Foundation"))] usize,
3876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::HRESULT,
3877     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppf: *const *const PARAFORMAT) -> ::windows::runtime::HRESULT,
3878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: i32) -> u32,
3879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::HRESULT,
3880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plength: *mut u32) -> ::windows::runtime::HRESULT,
3881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwscrollbar: *mut u32) -> ::windows::runtime::HRESULT,
3882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pch: *mut i8) -> ::windows::runtime::HRESULT,
3883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcp: *mut i32) -> ::windows::runtime::HRESULT,
3884     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
3885     #[cfg(not(feature = "Win32_Foundation"))] usize,
3886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcf: *const CHARFORMATW) -> ::windows::runtime::HRESULT,
3887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppf: *const PARAFORMAT) -> ::windows::runtime::HRESULT,
3888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::HRESULT,
3889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
3890     #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Globalization::HIMC,
3891     #[cfg(not(feature = "Win32_Globalization"))] usize,
3892     #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC),
3893     #[cfg(not(feature = "Win32_Globalization"))] usize,
3894     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lselbarwidth: *mut i32) -> ::windows::runtime::HRESULT,
3895 );
3896 #[repr(transparent)]
3897 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3898 pub struct ITextHost2(::windows::runtime::IUnknown);
3899 impl ITextHost2 {
3900     #[cfg(feature = "Win32_Graphics_Gdi")]
TxGetDC(&self) -> super::super::super::Graphics::Gdi::HDC3901     pub unsafe fn TxGetDC(&self) -> super::super::super::Graphics::Gdi::HDC {
3902         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)))
3903     }
3904     #[cfg(feature = "Win32_Graphics_Gdi")]
TxReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> i323905     pub unsafe fn TxReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> i32 {
3906         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hdc.into_param().abi()))
3907     }
3908     #[cfg(feature = "Win32_Foundation")]
TxShowScrollBar<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, fshow: Param1) -> super::super::super::Foundation::BOOL3909     pub unsafe fn TxShowScrollBar<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, fshow: Param1) -> super::super::super::Foundation::BOOL {
3910         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), fshow.into_param().abi()))
3911     }
3912     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TxEnableScrollBar(&self, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL3913     pub unsafe fn TxEnableScrollBar(&self, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL {
3914         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(fusbflags), ::std::mem::transmute(fuarrowflags)))
3915     }
3916     #[cfg(feature = "Win32_Foundation")]
TxSetScrollRange<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: Param3) -> super::super::super::Foundation::BOOL3917     pub unsafe fn TxSetScrollRange<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: Param3) -> super::super::super::Foundation::BOOL {
3918         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), ::std::mem::transmute(nminpos), ::std::mem::transmute(nmaxpos), fredraw.into_param().abi()))
3919     }
3920     #[cfg(feature = "Win32_Foundation")]
TxSetScrollPos<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, npos: i32, fredraw: Param2) -> super::super::super::Foundation::BOOL3921     pub unsafe fn TxSetScrollPos<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fnbar: i32, npos: i32, fredraw: Param2) -> super::super::super::Foundation::BOOL {
3922         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(fnbar), ::std::mem::transmute(npos), fredraw.into_param().abi()))
3923     }
3924     #[cfg(feature = "Win32_Foundation")]
TxInvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, prc: *mut super::super::super::Foundation::RECT, fmode: Param1)3925     pub unsafe fn TxInvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, prc: *mut super::super::super::Foundation::RECT, fmode: Param1) {
3926         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc), fmode.into_param().abi()))
3927     }
3928     #[cfg(feature = "Win32_Foundation")]
TxViewChange<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fupdate: Param0)3929     pub unsafe fn TxViewChange<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fupdate: Param0) {
3930         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fupdate.into_param().abi()))
3931     }
3932     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
TxCreateCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HBITMAP>>(&self, hbmp: Param0, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL3933     pub unsafe fn TxCreateCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HBITMAP>>(&self, hbmp: Param0, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL {
3934         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hbmp.into_param().abi(), ::std::mem::transmute(xwidth), ::std::mem::transmute(yheight)))
3935     }
3936     #[cfg(feature = "Win32_Foundation")]
TxShowCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> super::super::super::Foundation::BOOL3937     pub unsafe fn TxShowCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> super::super::super::Foundation::BOOL {
3938         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), fshow.into_param().abi()))
3939     }
3940     #[cfg(feature = "Win32_Foundation")]
TxSetCaretPos(&self, x: i32, y: i32) -> super::super::super::Foundation::BOOL3941     pub unsafe fn TxSetCaretPos(&self, x: i32, y: i32) -> super::super::super::Foundation::BOOL {
3942         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y)))
3943     }
3944     #[cfg(feature = "Win32_Foundation")]
TxSetTimer(&self, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL3945     pub unsafe fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL {
3946         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(idtimer), ::std::mem::transmute(utimeout)))
3947     }
TxKillTimer(&self, idtimer: u32)3948     pub unsafe fn TxKillTimer(&self, idtimer: u32) {
3949         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(idtimer)))
3950     }
3951     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
TxScrollWindowEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HRGN>>(&self, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: Param4, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD)3952     pub unsafe fn TxScrollWindowEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HRGN>>(&self, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: Param4, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD) {
3953         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).16)(
3954             ::std::mem::transmute_copy(self),
3955             ::std::mem::transmute(dx),
3956             ::std::mem::transmute(dy),
3957             ::std::mem::transmute(lprcscroll),
3958             ::std::mem::transmute(lprcclip),
3959             hrgnupdate.into_param().abi(),
3960             ::std::mem::transmute(lprcupdate),
3961             ::std::mem::transmute(fuscroll),
3962         ))
3963     }
3964     #[cfg(feature = "Win32_Foundation")]
TxSetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fcapture: Param0)3965     pub unsafe fn TxSetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fcapture: Param0) {
3966         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), fcapture.into_param().abi()))
3967     }
TxSetFocus(&self)3968     pub unsafe fn TxSetFocus(&self) {
3969         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)))
3970     }
3971     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TxSetCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, ftext: Param1)3972     pub unsafe fn TxSetCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, ftext: Param1) {
3973         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), hcur.into_param().abi(), ftext.into_param().abi()))
3974     }
3975     #[cfg(feature = "Win32_Foundation")]
TxScreenToClient(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL3976     pub unsafe fn TxScreenToClient(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
3977         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(lppt)))
3978     }
3979     #[cfg(feature = "Win32_Foundation")]
TxClientToScreen(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL3980     pub unsafe fn TxClientToScreen(&self, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
3981         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lppt)))
3982     }
TxActivate(&self, ploldstate: *mut i32) -> ::windows::runtime::Result<()>3983     pub unsafe fn TxActivate(&self, ploldstate: *mut i32) -> ::windows::runtime::Result<()> {
3984         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ploldstate)).ok()
3985     }
TxDeactivate(&self, lnewstate: i32) -> ::windows::runtime::Result<()>3986     pub unsafe fn TxDeactivate(&self, lnewstate: i32) -> ::windows::runtime::Result<()> {
3987         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(lnewstate)).ok()
3988     }
3989     #[cfg(feature = "Win32_Foundation")]
TxGetClientRect(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3990     pub unsafe fn TxGetClientRect(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3991         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc)).ok()
3992     }
3993     #[cfg(feature = "Win32_Foundation")]
TxGetViewInset(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3994     pub unsafe fn TxGetViewInset(&self, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3995         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc)).ok()
3996     }
TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::Result<()>3997     pub unsafe fn TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::Result<()> {
3998         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppcf)).ok()
3999     }
TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> ::windows::runtime::Result<()>4000     pub unsafe fn TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> ::windows::runtime::Result<()> {
4001         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pppf)).ok()
4002     }
TxGetSysColor(&self, nindex: i32) -> u324003     pub unsafe fn TxGetSysColor(&self, nindex: i32) -> u32 {
4004         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex)))
4005     }
TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::Result<()>4006     pub unsafe fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::Result<()> {
4007         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(pstyle)).ok()
4008     }
TxGetMaxLength(&self, plength: *mut u32) -> ::windows::runtime::Result<()>4009     pub unsafe fn TxGetMaxLength(&self, plength: *mut u32) -> ::windows::runtime::Result<()> {
4010         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(plength)).ok()
4011     }
TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> ::windows::runtime::Result<()>4012     pub unsafe fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> ::windows::runtime::Result<()> {
4013         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwscrollbar)).ok()
4014     }
TxGetPasswordChar(&self) -> ::windows::runtime::Result<i8>4015     pub unsafe fn TxGetPasswordChar(&self) -> ::windows::runtime::Result<i8> {
4016         let mut result__: <i8 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4017         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i8>(result__)
4018     }
TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::runtime::Result<()>4019     pub unsafe fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> ::windows::runtime::Result<()> {
4020         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcp)).ok()
4021     }
4022     #[cfg(feature = "Win32_Foundation")]
TxGetExtent(&self, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::Result<()>4023     pub unsafe fn TxGetExtent(&self, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::Result<()> {
4024         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpextent)).ok()
4025     }
OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> ::windows::runtime::Result<()>4026     pub unsafe fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> ::windows::runtime::Result<()> {
4027         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcf)).ok()
4028     }
OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> ::windows::runtime::Result<()>4029     pub unsafe fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> ::windows::runtime::Result<()> {
4030         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppf)).ok()
4031     }
TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::Result<()>4032     pub unsafe fn TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::Result<()> {
4033         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmask), ::std::mem::transmute(pdwbits)).ok()
4034     }
TxNotify(&self, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>4035     pub unsafe fn TxNotify(&self, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
4036         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(inotify), ::std::mem::transmute(pv)).ok()
4037     }
4038     #[cfg(feature = "Win32_Globalization")]
TxImmGetContext(&self) -> super::super::super::Globalization::HIMC4039     pub unsafe fn TxImmGetContext(&self) -> super::super::super::Globalization::HIMC {
4040         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self)))
4041     }
4042     #[cfg(feature = "Win32_Globalization")]
TxImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0)4043     pub unsafe fn TxImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) {
4044         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), himc.into_param().abi()))
4045     }
TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> ::windows::runtime::Result<()>4046     pub unsafe fn TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> ::windows::runtime::Result<()> {
4047         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(lselbarwidth)).ok()
4048     }
4049     #[cfg(feature = "Win32_Foundation")]
TxIsDoubleClickPending(&self) -> super::super::super::Foundation::BOOL4050     pub unsafe fn TxIsDoubleClickPending(&self) -> super::super::super::Foundation::BOOL {
4051         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self)))
4052     }
4053     #[cfg(feature = "Win32_Foundation")]
TxGetWindow(&self, phwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::Result<()>4054     pub unsafe fn TxGetWindow(&self, phwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::Result<()> {
4055         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(phwnd)).ok()
4056     }
TxSetForegroundWindow(&self) -> ::windows::runtime::Result<()>4057     pub unsafe fn TxSetForegroundWindow(&self) -> ::windows::runtime::Result<()> {
4058         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self)).ok()
4059     }
4060     #[cfg(feature = "Win32_Graphics_Gdi")]
TxGetPalette(&self) -> super::super::super::Graphics::Gdi::HPALETTE4061     pub unsafe fn TxGetPalette(&self) -> super::super::super::Graphics::Gdi::HPALETTE {
4062         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self)))
4063     }
TxGetEastAsianFlags(&self, pflags: *mut i32) -> ::windows::runtime::Result<()>4064     pub unsafe fn TxGetEastAsianFlags(&self, pflags: *mut i32) -> ::windows::runtime::Result<()> {
4065         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(pflags)).ok()
4066     }
4067     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TxSetCursor2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, btext: Param1) -> super::super::WindowsAndMessaging::HCURSOR4068     pub unsafe fn TxSetCursor2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::WindowsAndMessaging::HCURSOR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, hcur: Param0, btext: Param1) -> super::super::WindowsAndMessaging::HCURSOR {
4069         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), hcur.into_param().abi(), btext.into_param().abi()))
4070     }
TxFreeTextServicesNotification(&self)4071     pub unsafe fn TxFreeTextServicesNotification(&self) {
4072         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)))
4073     }
TxGetEditStyle(&self, dwitem: u32, pdwdata: *mut u32) -> ::windows::runtime::Result<()>4074     pub unsafe fn TxGetEditStyle(&self, dwitem: u32, pdwdata: *mut u32) -> ::windows::runtime::Result<()> {
4075         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwitem), ::std::mem::transmute(pdwdata)).ok()
4076     }
TxGetWindowStyles(&self, pdwstyle: *mut u32, pdwexstyle: *mut u32) -> ::windows::runtime::Result<()>4077     pub unsafe fn TxGetWindowStyles(&self, pdwstyle: *mut u32, pdwexstyle: *mut u32) -> ::windows::runtime::Result<()> {
4078         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwstyle), ::std::mem::transmute(pdwexstyle)).ok()
4079     }
4080     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
TxShowDropCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, fshow: Param0, hdc: Param1, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>4081     pub unsafe fn TxShowDropCaret<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, fshow: Param0, hdc: Param1, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
4082         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), fshow.into_param().abi(), hdc.into_param().abi(), ::std::mem::transmute(prc)).ok()
4083     }
TxDestroyCaret(&self) -> ::windows::runtime::Result<()>4084     pub unsafe fn TxDestroyCaret(&self) -> ::windows::runtime::Result<()> {
4085         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self)).ok()
4086     }
TxGetHorzExtent(&self, plhorzextent: *mut i32) -> ::windows::runtime::Result<()>4087     pub unsafe fn TxGetHorzExtent(&self, plhorzextent: *mut i32) -> ::windows::runtime::Result<()> {
4088         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(plhorzextent)).ok()
4089     }
4090 }
4091 unsafe impl ::windows::runtime::Interface for ITextHost2 {
4092     type Vtable = ITextHost2_abi;
4093     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4094 }
4095 impl ::std::convert::From<ITextHost2> for ::windows::runtime::IUnknown {
from(value: ITextHost2) -> Self4096     fn from(value: ITextHost2) -> Self {
4097         unsafe { ::std::mem::transmute(value) }
4098     }
4099 }
4100 impl ::std::convert::From<&ITextHost2> for ::windows::runtime::IUnknown {
from(value: &ITextHost2) -> Self4101     fn from(value: &ITextHost2) -> Self {
4102         ::std::convert::From::from(::std::clone::Clone::clone(value))
4103     }
4104 }
4105 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextHost2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4106     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4107         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4108     }
4109 }
4110 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextHost2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4111     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4112         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4113     }
4114 }
4115 impl ::std::convert::From<ITextHost2> for ITextHost {
from(value: ITextHost2) -> Self4116     fn from(value: ITextHost2) -> Self {
4117         unsafe { ::std::mem::transmute(value) }
4118     }
4119 }
4120 impl ::std::convert::From<&ITextHost2> for ITextHost {
from(value: &ITextHost2) -> Self4121     fn from(value: &ITextHost2) -> Self {
4122         ::std::convert::From::from(::std::clone::Clone::clone(value))
4123     }
4124 }
4125 impl<'a> ::windows::runtime::IntoParam<'a, ITextHost> for ITextHost2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextHost>4126     fn into_param(self) -> ::windows::runtime::Param<'a, ITextHost> {
4127         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextHost>::into(self))
4128     }
4129 }
4130 impl<'a> ::windows::runtime::IntoParam<'a, ITextHost> for &ITextHost2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextHost>4131     fn into_param(self) -> ::windows::runtime::Param<'a, ITextHost> {
4132         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextHost>::into(::std::clone::Clone::clone(self)))
4133     }
4134 }
4135 #[repr(C)]
4136 #[doc(hidden)]
4137 pub struct ITextHost2_abi(
4138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4141     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Graphics::Gdi::HDC,
4142     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
4143     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::super::Graphics::Gdi::HDC) -> i32,
4144     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
4145     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, fshow: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
4146     #[cfg(not(feature = "Win32_Foundation"))] usize,
4147     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fusbflags: super::super::WindowsAndMessaging::SCROLLBAR_CONSTANTS, fuarrowflags: super::ENABLE_SCROLL_BAR_ARROWS) -> super::super::super::Foundation::BOOL,
4148     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
4149     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
4150     #[cfg(not(feature = "Win32_Foundation"))] usize,
4151     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnbar: i32, npos: i32, fredraw: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
4152     #[cfg(not(feature = "Win32_Foundation"))] usize,
4153     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT, fmode: super::super::super::Foundation::BOOL),
4154     #[cfg(not(feature = "Win32_Foundation"))] usize,
4155     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fupdate: super::super::super::Foundation::BOOL),
4156     #[cfg(not(feature = "Win32_Foundation"))] usize,
4157     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hbmp: super::super::super::Graphics::Gdi::HBITMAP, xwidth: i32, yheight: i32) -> super::super::super::Foundation::BOOL,
4158     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
4159     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL,
4160     #[cfg(not(feature = "Win32_Foundation"))] usize,
4161     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32) -> super::super::super::Foundation::BOOL,
4162     #[cfg(not(feature = "Win32_Foundation"))] usize,
4163     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idtimer: u32, utimeout: u32) -> super::super::super::Foundation::BOOL,
4164     #[cfg(not(feature = "Win32_Foundation"))] usize,
4165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idtimer: u32),
4166     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dx: i32, dy: i32, lprcscroll: *mut super::super::super::Foundation::RECT, lprcclip: *mut super::super::super::Foundation::RECT, hrgnupdate: super::super::super::Graphics::Gdi::HRGN, lprcupdate: *mut super::super::super::Foundation::RECT, fuscroll: super::super::WindowsAndMessaging::SHOW_WINDOW_CMD),
4167     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging")))] usize,
4168     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcapture: super::super::super::Foundation::BOOL),
4169     #[cfg(not(feature = "Win32_Foundation"))] usize,
4170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
4171     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hcur: super::super::WindowsAndMessaging::HCURSOR, ftext: super::super::super::Foundation::BOOL),
4172     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
4173     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL,
4174     #[cfg(not(feature = "Win32_Foundation"))] usize,
4175     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lppt: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL,
4176     #[cfg(not(feature = "Win32_Foundation"))] usize,
4177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ploldstate: *mut i32) -> ::windows::runtime::HRESULT,
4178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lnewstate: i32) -> ::windows::runtime::HRESULT,
4179     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4180     #[cfg(not(feature = "Win32_Foundation"))] usize,
4181     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4182     #[cfg(not(feature = "Win32_Foundation"))] usize,
4183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcf: *const *const CHARFORMATW) -> ::windows::runtime::HRESULT,
4184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppf: *const *const PARAFORMAT) -> ::windows::runtime::HRESULT,
4185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: i32) -> u32,
4186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstyle: *mut TXTBACKSTYLE) -> ::windows::runtime::HRESULT,
4187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plength: *mut u32) -> ::windows::runtime::HRESULT,
4188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwscrollbar: *mut u32) -> ::windows::runtime::HRESULT,
4189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pch: *mut i8) -> ::windows::runtime::HRESULT,
4190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcp: *mut i32) -> ::windows::runtime::HRESULT,
4191     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpextent: *mut super::super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
4192     #[cfg(not(feature = "Win32_Foundation"))] usize,
4193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcf: *const CHARFORMATW) -> ::windows::runtime::HRESULT,
4194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppf: *const PARAFORMAT) -> ::windows::runtime::HRESULT,
4195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmask: u32, pdwbits: *mut u32) -> ::windows::runtime::HRESULT,
4196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, inotify: u32, pv: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
4197     #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Globalization::HIMC,
4198     #[cfg(not(feature = "Win32_Globalization"))] usize,
4199     #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC),
4200     #[cfg(not(feature = "Win32_Globalization"))] usize,
4201     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lselbarwidth: *mut i32) -> ::windows::runtime::HRESULT,
4202     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Foundation::BOOL,
4203     #[cfg(not(feature = "Win32_Foundation"))] usize,
4204     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
4205     #[cfg(not(feature = "Win32_Foundation"))] usize,
4206     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4207     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::super::Graphics::Gdi::HPALETTE,
4208     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
4209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT,
4210     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hcur: super::super::WindowsAndMessaging::HCURSOR, btext: super::super::super::Foundation::BOOL) -> super::super::WindowsAndMessaging::HCURSOR,
4211     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
4212     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
4213     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwitem: u32, pdwdata: *mut u32) -> ::windows::runtime::HRESULT,
4214     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstyle: *mut u32, pdwexstyle: *mut u32) -> ::windows::runtime::HRESULT,
4215     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::super::Foundation::BOOL, hdc: super::super::super::Graphics::Gdi::HDC, prc: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4216     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
4217     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plhorzextent: *mut i32) -> ::windows::runtime::HRESULT,
4219 );
4220 #[repr(transparent)]
4221 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4222 pub struct ITextPara(::windows::runtime::IUnknown);
4223 impl ITextPara {
GetDuplicate(&self) -> ::windows::runtime::Result<ITextPara>4224     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextPara> {
4225         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4226         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
4227     }
SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>4228     pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
4229         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
4230     }
CanChange(&self) -> ::windows::runtime::Result<i32>4231     pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> {
4232         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4233         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4234     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32>4235     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32> {
4236         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4237         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ppara.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4238     }
Reset(&self, value: i32) -> ::windows::runtime::Result<()>4239     pub unsafe fn Reset(&self, value: i32) -> ::windows::runtime::Result<()> {
4240         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4241     }
GetStyle(&self) -> ::windows::runtime::Result<i32>4242     pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> {
4243         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4244         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4245     }
SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>4246     pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> {
4247         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4248     }
GetAlignment(&self) -> ::windows::runtime::Result<i32>4249     pub unsafe fn GetAlignment(&self) -> ::windows::runtime::Result<i32> {
4250         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4251         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4252     }
SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()>4253     pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
4254         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4255     }
GetHyphenation(&self) -> ::windows::runtime::Result<tomConstants>4256     pub unsafe fn GetHyphenation(&self) -> ::windows::runtime::Result<tomConstants> {
4257         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4258         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4259     }
SetHyphenation(&self, value: i32) -> ::windows::runtime::Result<()>4260     pub unsafe fn SetHyphenation(&self, value: i32) -> ::windows::runtime::Result<()> {
4261         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4262     }
GetFirstLineIndent(&self) -> ::windows::runtime::Result<f32>4263     pub unsafe fn GetFirstLineIndent(&self) -> ::windows::runtime::Result<f32> {
4264         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4265         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4266     }
GetKeepTogether(&self) -> ::windows::runtime::Result<tomConstants>4267     pub unsafe fn GetKeepTogether(&self) -> ::windows::runtime::Result<tomConstants> {
4268         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4269         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4270     }
SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()>4271     pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()> {
4272         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4273     }
GetKeepWithNext(&self) -> ::windows::runtime::Result<tomConstants>4274     pub unsafe fn GetKeepWithNext(&self) -> ::windows::runtime::Result<tomConstants> {
4275         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4276         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4277     }
SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()>4278     pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()> {
4279         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4280     }
GetLeftIndent(&self) -> ::windows::runtime::Result<f32>4281     pub unsafe fn GetLeftIndent(&self) -> ::windows::runtime::Result<f32> {
4282         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4283         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4284     }
GetLineSpacing(&self) -> ::windows::runtime::Result<f32>4285     pub unsafe fn GetLineSpacing(&self) -> ::windows::runtime::Result<f32> {
4286         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4287         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4288     }
GetLineSpacingRule(&self) -> ::windows::runtime::Result<i32>4289     pub unsafe fn GetLineSpacingRule(&self) -> ::windows::runtime::Result<i32> {
4290         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4291         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4292     }
GetListAlignment(&self) -> ::windows::runtime::Result<i32>4293     pub unsafe fn GetListAlignment(&self) -> ::windows::runtime::Result<i32> {
4294         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4295         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4296     }
SetListAlignment(&self, value: i32) -> ::windows::runtime::Result<()>4297     pub unsafe fn SetListAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
4298         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4299     }
GetListLevelIndex(&self) -> ::windows::runtime::Result<i32>4300     pub unsafe fn GetListLevelIndex(&self) -> ::windows::runtime::Result<i32> {
4301         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4302         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4303     }
SetListLevelIndex(&self, value: i32) -> ::windows::runtime::Result<()>4304     pub unsafe fn SetListLevelIndex(&self, value: i32) -> ::windows::runtime::Result<()> {
4305         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4306     }
GetListStart(&self) -> ::windows::runtime::Result<i32>4307     pub unsafe fn GetListStart(&self) -> ::windows::runtime::Result<i32> {
4308         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4309         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4310     }
SetListStart(&self, value: i32) -> ::windows::runtime::Result<()>4311     pub unsafe fn SetListStart(&self, value: i32) -> ::windows::runtime::Result<()> {
4312         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4313     }
GetListTab(&self) -> ::windows::runtime::Result<f32>4314     pub unsafe fn GetListTab(&self) -> ::windows::runtime::Result<f32> {
4315         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4316         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4317     }
SetListTab(&self, value: f32) -> ::windows::runtime::Result<()>4318     pub unsafe fn SetListTab(&self, value: f32) -> ::windows::runtime::Result<()> {
4319         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4320     }
GetListType(&self) -> ::windows::runtime::Result<i32>4321     pub unsafe fn GetListType(&self) -> ::windows::runtime::Result<i32> {
4322         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4323         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4324     }
SetListType(&self, value: i32) -> ::windows::runtime::Result<()>4325     pub unsafe fn SetListType(&self, value: i32) -> ::windows::runtime::Result<()> {
4326         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4327     }
GetNoLineNumber(&self) -> ::windows::runtime::Result<i32>4328     pub unsafe fn GetNoLineNumber(&self) -> ::windows::runtime::Result<i32> {
4329         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4330         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4331     }
SetNoLineNumber(&self, value: i32) -> ::windows::runtime::Result<()>4332     pub unsafe fn SetNoLineNumber(&self, value: i32) -> ::windows::runtime::Result<()> {
4333         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4334     }
GetPageBreakBefore(&self) -> ::windows::runtime::Result<i32>4335     pub unsafe fn GetPageBreakBefore(&self) -> ::windows::runtime::Result<i32> {
4336         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4337         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4338     }
SetPageBreakBefore(&self, value: i32) -> ::windows::runtime::Result<()>4339     pub unsafe fn SetPageBreakBefore(&self, value: i32) -> ::windows::runtime::Result<()> {
4340         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4341     }
GetRightIndent(&self) -> ::windows::runtime::Result<f32>4342     pub unsafe fn GetRightIndent(&self) -> ::windows::runtime::Result<f32> {
4343         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4344         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4345     }
SetRightIndent(&self, value: f32) -> ::windows::runtime::Result<()>4346     pub unsafe fn SetRightIndent(&self, value: f32) -> ::windows::runtime::Result<()> {
4347         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4348     }
SetIndents(&self, first: f32, left: f32, right: f32) -> ::windows::runtime::Result<()>4349     pub unsafe fn SetIndents(&self, first: f32, left: f32, right: f32) -> ::windows::runtime::Result<()> {
4350         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(first), ::std::mem::transmute(left), ::std::mem::transmute(right)).ok()
4351     }
SetLineSpacing(&self, rule: i32, spacing: f32) -> ::windows::runtime::Result<()>4352     pub unsafe fn SetLineSpacing(&self, rule: i32, spacing: f32) -> ::windows::runtime::Result<()> {
4353         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(rule), ::std::mem::transmute(spacing)).ok()
4354     }
GetSpaceAfter(&self) -> ::windows::runtime::Result<f32>4355     pub unsafe fn GetSpaceAfter(&self) -> ::windows::runtime::Result<f32> {
4356         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4357         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4358     }
SetSpaceAfter(&self, value: f32) -> ::windows::runtime::Result<()>4359     pub unsafe fn SetSpaceAfter(&self, value: f32) -> ::windows::runtime::Result<()> {
4360         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4361     }
GetSpaceBefore(&self) -> ::windows::runtime::Result<f32>4362     pub unsafe fn GetSpaceBefore(&self) -> ::windows::runtime::Result<f32> {
4363         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4364         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4365     }
SetSpaceBefore(&self, value: f32) -> ::windows::runtime::Result<()>4366     pub unsafe fn SetSpaceBefore(&self, value: f32) -> ::windows::runtime::Result<()> {
4367         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4368     }
GetWidowControl(&self) -> ::windows::runtime::Result<i32>4369     pub unsafe fn GetWidowControl(&self) -> ::windows::runtime::Result<i32> {
4370         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4371         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4372     }
SetWidowControl(&self, value: i32) -> ::windows::runtime::Result<()>4373     pub unsafe fn SetWidowControl(&self, value: i32) -> ::windows::runtime::Result<()> {
4374         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4375     }
GetTabCount(&self) -> ::windows::runtime::Result<i32>4376     pub unsafe fn GetTabCount(&self) -> ::windows::runtime::Result<i32> {
4377         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4378         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4379     }
AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::Result<()>4380     pub unsafe fn AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::Result<()> {
4381         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(tbpos), ::std::mem::transmute(tbalign), ::std::mem::transmute(tbleader)).ok()
4382     }
ClearAllTabs(&self) -> ::windows::runtime::Result<()>4383     pub unsafe fn ClearAllTabs(&self) -> ::windows::runtime::Result<()> {
4384         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self)).ok()
4385     }
DeleteTab(&self, tbpos: f32) -> ::windows::runtime::Result<()>4386     pub unsafe fn DeleteTab(&self, tbpos: f32) -> ::windows::runtime::Result<()> {
4387         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(tbpos)).ok()
4388     }
GetTab(&self, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::Result<()>4389     pub unsafe fn GetTab(&self, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::Result<()> {
4390         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(itab), ::std::mem::transmute(ptbpos), ::std::mem::transmute(ptbalign), ::std::mem::transmute(ptbleader)).ok()
4391     }
4392 }
4393 unsafe impl ::windows::runtime::Interface for ITextPara {
4394     type Vtable = ITextPara_abi;
4395     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694148, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
4396 }
4397 impl ::std::convert::From<ITextPara> for ::windows::runtime::IUnknown {
from(value: ITextPara) -> Self4398     fn from(value: ITextPara) -> Self {
4399         unsafe { ::std::mem::transmute(value) }
4400     }
4401 }
4402 impl ::std::convert::From<&ITextPara> for ::windows::runtime::IUnknown {
from(value: &ITextPara) -> Self4403     fn from(value: &ITextPara) -> Self {
4404         ::std::convert::From::from(::std::clone::Clone::clone(value))
4405     }
4406 }
4407 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextPara {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4408     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4409         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4410     }
4411 }
4412 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextPara {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4413     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4414         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4415     }
4416 }
4417 #[cfg(feature = "Win32_System_Ole_Automation")]
4418 impl ::std::convert::From<ITextPara> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextPara) -> Self4419     fn from(value: ITextPara) -> Self {
4420         unsafe { ::std::mem::transmute(value) }
4421     }
4422 }
4423 #[cfg(feature = "Win32_System_Ole_Automation")]
4424 impl ::std::convert::From<&ITextPara> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextPara) -> Self4425     fn from(value: &ITextPara) -> Self {
4426         ::std::convert::From::from(::std::clone::Clone::clone(value))
4427     }
4428 }
4429 #[cfg(feature = "Win32_System_Ole_Automation")]
4430 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextPara {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>4431     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
4432         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
4433     }
4434 }
4435 #[cfg(feature = "Win32_System_Ole_Automation")]
4436 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextPara {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>4437     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
4438         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4439     }
4440 }
4441 #[repr(C)]
4442 #[doc(hidden)]
4443 pub struct ITextPara_abi(
4444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4447     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4448     #[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,
4449     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4450     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4451     #[cfg(not(feature = "Win32_Foundation"))] usize,
4452     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4453     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4454     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4474     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4475     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4476     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4477     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4479     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4480     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4481     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4482     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4483     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4484     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4485     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4486     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4488     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, first: f32, left: f32, right: f32) -> ::windows::runtime::HRESULT,
4491     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rule: i32, spacing: f32) -> ::windows::runtime::HRESULT,
4492     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4493     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4494     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4495     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4496     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4497     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4498     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
4499     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::HRESULT,
4500     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tbpos: f32) -> ::windows::runtime::HRESULT,
4502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::HRESULT,
4503 );
4504 #[repr(transparent)]
4505 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4506 pub struct ITextPara2(::windows::runtime::IUnknown);
4507 impl ITextPara2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4508     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4509         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4510         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4511     }
4512     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>4513     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
4514         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4515         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
4516     }
4517     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4518     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
4519         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
4520     }
4521     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4522     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
4523         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
4524     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextPara>4525     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextPara> {
4526         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4527         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
4528     }
SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>4529     pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
4530         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
4531     }
CanChange(&self) -> ::windows::runtime::Result<i32>4532     pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> {
4533         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4534         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4535     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32>4536     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32> {
4537         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4538         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ppara.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4539     }
Reset(&self, value: i32) -> ::windows::runtime::Result<()>4540     pub unsafe fn Reset(&self, value: i32) -> ::windows::runtime::Result<()> {
4541         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4542     }
GetStyle(&self) -> ::windows::runtime::Result<i32>4543     pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> {
4544         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4545         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4546     }
SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>4547     pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> {
4548         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4549     }
GetAlignment(&self) -> ::windows::runtime::Result<i32>4550     pub unsafe fn GetAlignment(&self) -> ::windows::runtime::Result<i32> {
4551         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4552         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4553     }
SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()>4554     pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
4555         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4556     }
GetHyphenation(&self) -> ::windows::runtime::Result<tomConstants>4557     pub unsafe fn GetHyphenation(&self) -> ::windows::runtime::Result<tomConstants> {
4558         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4559         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4560     }
SetHyphenation(&self, value: i32) -> ::windows::runtime::Result<()>4561     pub unsafe fn SetHyphenation(&self, value: i32) -> ::windows::runtime::Result<()> {
4562         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4563     }
GetFirstLineIndent(&self) -> ::windows::runtime::Result<f32>4564     pub unsafe fn GetFirstLineIndent(&self) -> ::windows::runtime::Result<f32> {
4565         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4566         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4567     }
GetKeepTogether(&self) -> ::windows::runtime::Result<tomConstants>4568     pub unsafe fn GetKeepTogether(&self) -> ::windows::runtime::Result<tomConstants> {
4569         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4570         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4571     }
SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()>4572     pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()> {
4573         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4574     }
GetKeepWithNext(&self) -> ::windows::runtime::Result<tomConstants>4575     pub unsafe fn GetKeepWithNext(&self) -> ::windows::runtime::Result<tomConstants> {
4576         let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4577         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__)
4578     }
SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()>4579     pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()> {
4580         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4581     }
GetLeftIndent(&self) -> ::windows::runtime::Result<f32>4582     pub unsafe fn GetLeftIndent(&self) -> ::windows::runtime::Result<f32> {
4583         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4584         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4585     }
GetLineSpacing(&self) -> ::windows::runtime::Result<f32>4586     pub unsafe fn GetLineSpacing(&self) -> ::windows::runtime::Result<f32> {
4587         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4588         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4589     }
GetLineSpacingRule(&self) -> ::windows::runtime::Result<i32>4590     pub unsafe fn GetLineSpacingRule(&self) -> ::windows::runtime::Result<i32> {
4591         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4592         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4593     }
GetListAlignment(&self) -> ::windows::runtime::Result<i32>4594     pub unsafe fn GetListAlignment(&self) -> ::windows::runtime::Result<i32> {
4595         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4596         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4597     }
SetListAlignment(&self, value: i32) -> ::windows::runtime::Result<()>4598     pub unsafe fn SetListAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
4599         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4600     }
GetListLevelIndex(&self) -> ::windows::runtime::Result<i32>4601     pub unsafe fn GetListLevelIndex(&self) -> ::windows::runtime::Result<i32> {
4602         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4603         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4604     }
SetListLevelIndex(&self, value: i32) -> ::windows::runtime::Result<()>4605     pub unsafe fn SetListLevelIndex(&self, value: i32) -> ::windows::runtime::Result<()> {
4606         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4607     }
GetListStart(&self) -> ::windows::runtime::Result<i32>4608     pub unsafe fn GetListStart(&self) -> ::windows::runtime::Result<i32> {
4609         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4610         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4611     }
SetListStart(&self, value: i32) -> ::windows::runtime::Result<()>4612     pub unsafe fn SetListStart(&self, value: i32) -> ::windows::runtime::Result<()> {
4613         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4614     }
GetListTab(&self) -> ::windows::runtime::Result<f32>4615     pub unsafe fn GetListTab(&self) -> ::windows::runtime::Result<f32> {
4616         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4617         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4618     }
SetListTab(&self, value: f32) -> ::windows::runtime::Result<()>4619     pub unsafe fn SetListTab(&self, value: f32) -> ::windows::runtime::Result<()> {
4620         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4621     }
GetListType(&self) -> ::windows::runtime::Result<i32>4622     pub unsafe fn GetListType(&self) -> ::windows::runtime::Result<i32> {
4623         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4624         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4625     }
SetListType(&self, value: i32) -> ::windows::runtime::Result<()>4626     pub unsafe fn SetListType(&self, value: i32) -> ::windows::runtime::Result<()> {
4627         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4628     }
GetNoLineNumber(&self) -> ::windows::runtime::Result<i32>4629     pub unsafe fn GetNoLineNumber(&self) -> ::windows::runtime::Result<i32> {
4630         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4631         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4632     }
SetNoLineNumber(&self, value: i32) -> ::windows::runtime::Result<()>4633     pub unsafe fn SetNoLineNumber(&self, value: i32) -> ::windows::runtime::Result<()> {
4634         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4635     }
GetPageBreakBefore(&self) -> ::windows::runtime::Result<i32>4636     pub unsafe fn GetPageBreakBefore(&self) -> ::windows::runtime::Result<i32> {
4637         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4638         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4639     }
SetPageBreakBefore(&self, value: i32) -> ::windows::runtime::Result<()>4640     pub unsafe fn SetPageBreakBefore(&self, value: i32) -> ::windows::runtime::Result<()> {
4641         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4642     }
GetRightIndent(&self) -> ::windows::runtime::Result<f32>4643     pub unsafe fn GetRightIndent(&self) -> ::windows::runtime::Result<f32> {
4644         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4645         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4646     }
SetRightIndent(&self, value: f32) -> ::windows::runtime::Result<()>4647     pub unsafe fn SetRightIndent(&self, value: f32) -> ::windows::runtime::Result<()> {
4648         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4649     }
SetIndents(&self, first: f32, left: f32, right: f32) -> ::windows::runtime::Result<()>4650     pub unsafe fn SetIndents(&self, first: f32, left: f32, right: f32) -> ::windows::runtime::Result<()> {
4651         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(first), ::std::mem::transmute(left), ::std::mem::transmute(right)).ok()
4652     }
SetLineSpacing(&self, rule: i32, spacing: f32) -> ::windows::runtime::Result<()>4653     pub unsafe fn SetLineSpacing(&self, rule: i32, spacing: f32) -> ::windows::runtime::Result<()> {
4654         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(rule), ::std::mem::transmute(spacing)).ok()
4655     }
GetSpaceAfter(&self) -> ::windows::runtime::Result<f32>4656     pub unsafe fn GetSpaceAfter(&self) -> ::windows::runtime::Result<f32> {
4657         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4658         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4659     }
SetSpaceAfter(&self, value: f32) -> ::windows::runtime::Result<()>4660     pub unsafe fn SetSpaceAfter(&self, value: f32) -> ::windows::runtime::Result<()> {
4661         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4662     }
GetSpaceBefore(&self) -> ::windows::runtime::Result<f32>4663     pub unsafe fn GetSpaceBefore(&self) -> ::windows::runtime::Result<f32> {
4664         let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4665         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__)
4666     }
SetSpaceBefore(&self, value: f32) -> ::windows::runtime::Result<()>4667     pub unsafe fn SetSpaceBefore(&self, value: f32) -> ::windows::runtime::Result<()> {
4668         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4669     }
GetWidowControl(&self) -> ::windows::runtime::Result<i32>4670     pub unsafe fn GetWidowControl(&self) -> ::windows::runtime::Result<i32> {
4671         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4672         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4673     }
SetWidowControl(&self, value: i32) -> ::windows::runtime::Result<()>4674     pub unsafe fn SetWidowControl(&self, value: i32) -> ::windows::runtime::Result<()> {
4675         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4676     }
GetTabCount(&self) -> ::windows::runtime::Result<i32>4677     pub unsafe fn GetTabCount(&self) -> ::windows::runtime::Result<i32> {
4678         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4679         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4680     }
AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::Result<()>4681     pub unsafe fn AddTab(&self, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::Result<()> {
4682         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(tbpos), ::std::mem::transmute(tbalign), ::std::mem::transmute(tbleader)).ok()
4683     }
ClearAllTabs(&self) -> ::windows::runtime::Result<()>4684     pub unsafe fn ClearAllTabs(&self) -> ::windows::runtime::Result<()> {
4685         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self)).ok()
4686     }
DeleteTab(&self, tbpos: f32) -> ::windows::runtime::Result<()>4687     pub unsafe fn DeleteTab(&self, tbpos: f32) -> ::windows::runtime::Result<()> {
4688         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(tbpos)).ok()
4689     }
GetTab(&self, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::Result<()>4690     pub unsafe fn GetTab(&self, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::Result<()> {
4691         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(itab), ::std::mem::transmute(ptbpos), ::std::mem::transmute(ptbalign), ::std::mem::transmute(ptbleader)).ok()
4692     }
GetBorders(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>4693     pub unsafe fn GetBorders(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
4694         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4695         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
4696     }
GetDuplicate2(&self) -> ::windows::runtime::Result<ITextPara2>4697     pub unsafe fn GetDuplicate2(&self) -> ::windows::runtime::Result<ITextPara2> {
4698         let mut result__: <ITextPara2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4699         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara2>(result__)
4700     }
SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>4701     pub unsafe fn SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
4702         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
4703     }
GetFontAlignment(&self) -> ::windows::runtime::Result<i32>4704     pub unsafe fn GetFontAlignment(&self) -> ::windows::runtime::Result<i32> {
4705         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4706         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4707     }
SetFontAlignment(&self, value: i32) -> ::windows::runtime::Result<()>4708     pub unsafe fn SetFontAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
4709         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4710     }
GetHangingPunctuation(&self) -> ::windows::runtime::Result<i32>4711     pub unsafe fn GetHangingPunctuation(&self) -> ::windows::runtime::Result<i32> {
4712         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4713         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4714     }
SetHangingPunctuation(&self, value: i32) -> ::windows::runtime::Result<()>4715     pub unsafe fn SetHangingPunctuation(&self, value: i32) -> ::windows::runtime::Result<()> {
4716         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4717     }
GetSnapToGrid(&self) -> ::windows::runtime::Result<i32>4718     pub unsafe fn GetSnapToGrid(&self) -> ::windows::runtime::Result<i32> {
4719         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4720         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4721     }
SetSnapToGrid(&self, value: i32) -> ::windows::runtime::Result<()>4722     pub unsafe fn SetSnapToGrid(&self, value: i32) -> ::windows::runtime::Result<()> {
4723         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4724     }
GetTrimPunctuationAtStart(&self) -> ::windows::runtime::Result<i32>4725     pub unsafe fn GetTrimPunctuationAtStart(&self) -> ::windows::runtime::Result<i32> {
4726         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4727         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4728     }
SetTrimPunctuationAtStart(&self, value: i32) -> ::windows::runtime::Result<()>4729     pub unsafe fn SetTrimPunctuationAtStart(&self, value: i32) -> ::windows::runtime::Result<()> {
4730         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
4731     }
GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()>4732     pub unsafe fn GetEffects(&self, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::Result<()> {
4733         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvalue), ::std::mem::transmute(pmask)).ok()
4734     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>4735     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
4736         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4737         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
4738     }
IsEqual2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32>4739     pub unsafe fn IsEqual2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<i32> {
4740         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4741         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ppara.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4742     }
SetEffects(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()>4743     pub unsafe fn SetEffects(&self, value: i32, mask: i32) -> ::windows::runtime::Result<()> {
4744         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), ::std::mem::transmute(value), ::std::mem::transmute(mask)).ok()
4745     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>4746     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
4747         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
4748     }
4749 }
4750 unsafe impl ::windows::runtime::Interface for ITextPara2 {
4751     type Vtable = ITextPara2_abi;
4752     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102692, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
4753 }
4754 impl ::std::convert::From<ITextPara2> for ::windows::runtime::IUnknown {
from(value: ITextPara2) -> Self4755     fn from(value: ITextPara2) -> Self {
4756         unsafe { ::std::mem::transmute(value) }
4757     }
4758 }
4759 impl ::std::convert::From<&ITextPara2> for ::windows::runtime::IUnknown {
from(value: &ITextPara2) -> Self4760     fn from(value: &ITextPara2) -> Self {
4761         ::std::convert::From::from(::std::clone::Clone::clone(value))
4762     }
4763 }
4764 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4765     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4766         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4767     }
4768 }
4769 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4770     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4771         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4772     }
4773 }
4774 impl ::std::convert::From<ITextPara2> for ITextPara {
from(value: ITextPara2) -> Self4775     fn from(value: ITextPara2) -> Self {
4776         unsafe { ::std::mem::transmute(value) }
4777     }
4778 }
4779 impl ::std::convert::From<&ITextPara2> for ITextPara {
from(value: &ITextPara2) -> Self4780     fn from(value: &ITextPara2) -> Self {
4781         ::std::convert::From::from(::std::clone::Clone::clone(value))
4782     }
4783 }
4784 impl<'a> ::windows::runtime::IntoParam<'a, ITextPara> for ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextPara>4785     fn into_param(self) -> ::windows::runtime::Param<'a, ITextPara> {
4786         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextPara>::into(self))
4787     }
4788 }
4789 impl<'a> ::windows::runtime::IntoParam<'a, ITextPara> for &ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextPara>4790     fn into_param(self) -> ::windows::runtime::Param<'a, ITextPara> {
4791         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextPara>::into(::std::clone::Clone::clone(self)))
4792     }
4793 }
4794 #[cfg(feature = "Win32_System_Ole_Automation")]
4795 impl ::std::convert::From<ITextPara2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextPara2) -> Self4796     fn from(value: ITextPara2) -> Self {
4797         unsafe { ::std::mem::transmute(value) }
4798     }
4799 }
4800 #[cfg(feature = "Win32_System_Ole_Automation")]
4801 impl ::std::convert::From<&ITextPara2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextPara2) -> Self4802     fn from(value: &ITextPara2) -> Self {
4803         ::std::convert::From::from(::std::clone::Clone::clone(value))
4804     }
4805 }
4806 #[cfg(feature = "Win32_System_Ole_Automation")]
4807 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>4808     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
4809         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
4810     }
4811 }
4812 #[cfg(feature = "Win32_System_Ole_Automation")]
4813 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextPara2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>4814     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
4815         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4816     }
4817 }
4818 #[repr(C)]
4819 #[doc(hidden)]
4820 pub struct ITextPara2_abi(
4821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4825     #[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,
4826     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4827     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
4828     #[cfg(not(feature = "Win32_Foundation"))] usize,
4829     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4830     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4831     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4843     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4846     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut tomConstants) -> ::windows::runtime::HRESULT,
4847     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4848     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, first: f32, left: f32, right: f32) -> ::windows::runtime::HRESULT,
4868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rule: i32, spacing: f32) -> ::windows::runtime::HRESULT,
4869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT,
4872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT,
4873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4874     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
4876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tbpos: f32, tbalign: i32, tbleader: i32) -> ::windows::runtime::HRESULT,
4877     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tbpos: f32) -> ::windows::runtime::HRESULT,
4879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itab: i32, ptbpos: *mut f32, ptbalign: *mut i32, ptbleader: *mut i32) -> ::windows::runtime::HRESULT,
4880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppborders: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4887     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
4891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32, pmask: *mut i32) -> ::windows::runtime::HRESULT,
4892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
4893     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr, pb: *mut i32) -> ::windows::runtime::HRESULT,
4894     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32, mask: i32) -> ::windows::runtime::HRESULT,
4895     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
4896 );
4897 #[repr(transparent)]
4898 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4899 pub struct ITextRange(::windows::runtime::IUnknown);
4900 impl ITextRange {
4901     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>4902     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
4903         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4904         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
4905     }
4906     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>4907     pub unsafe fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
4908         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
4909     }
GetChar(&self) -> ::windows::runtime::Result<i32>4910     pub unsafe fn GetChar(&self) -> ::windows::runtime::Result<i32> {
4911         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4912         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4913     }
SetChar(&self, char: i32) -> ::windows::runtime::Result<()>4914     pub unsafe fn SetChar(&self, char: i32) -> ::windows::runtime::Result<()> {
4915         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(char)).ok()
4916     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange>4917     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange> {
4918         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4919         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
4920     }
GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange>4921     pub unsafe fn GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange> {
4922         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4923         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
4924     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>4925     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
4926         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
4927     }
GetStart(&self) -> ::windows::runtime::Result<i32>4928     pub unsafe fn GetStart(&self) -> ::windows::runtime::Result<i32> {
4929         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4930         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4931     }
SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()>4932     pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()> {
4933         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst)).ok()
4934     }
GetEnd(&self) -> ::windows::runtime::Result<i32>4935     pub unsafe fn GetEnd(&self) -> ::windows::runtime::Result<i32> {
4936         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4937         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4938     }
SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()>4939     pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()> {
4940         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(cplim)).ok()
4941     }
GetFont(&self) -> ::windows::runtime::Result<ITextFont>4942     pub unsafe fn GetFont(&self) -> ::windows::runtime::Result<ITextFont> {
4943         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4944         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
4945     }
SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>4946     pub unsafe fn SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
4947         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
4948     }
GetPara(&self) -> ::windows::runtime::Result<ITextPara>4949     pub unsafe fn GetPara(&self) -> ::windows::runtime::Result<ITextPara> {
4950         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4951         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
4952     }
SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>4953     pub unsafe fn SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
4954         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
4955     }
GetStoryLength(&self) -> ::windows::runtime::Result<i32>4956     pub unsafe fn GetStoryLength(&self) -> ::windows::runtime::Result<i32> {
4957         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4958         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4959     }
GetStoryType(&self) -> ::windows::runtime::Result<i32>4960     pub unsafe fn GetStoryType(&self) -> ::windows::runtime::Result<i32> {
4961         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4962         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4963     }
Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()>4964     pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()> {
4965         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstart)).ok()
4966     }
Expand(&self, unit: i32) -> ::windows::runtime::Result<i32>4967     pub unsafe fn Expand(&self, unit: i32) -> ::windows::runtime::Result<i32> {
4968         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4969         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
4970     }
GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32>4971     pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32> {
4972         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4973         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
4974     }
SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()>4975     pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()> {
4976         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(index), ::std::mem::transmute(extend)).ok()
4977     }
SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>4978     pub unsafe fn SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
4979         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
4980     }
InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>4981     pub unsafe fn InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
4982         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4983         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4984     }
InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>4985     pub unsafe fn InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
4986         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4987         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4988     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>4989     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
4990         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4991         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
4992     }
Select(&self) -> ::windows::runtime::Result<()>4993     pub unsafe fn Select(&self) -> ::windows::runtime::Result<()> {
4994         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self)).ok()
4995     }
StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>4996     pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
4997         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4998         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
4999     }
EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>5000     pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5001         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5002         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5003     }
Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5004     pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5005         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5006         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5007     }
MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5008     pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5009         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5010         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5011     }
MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5012     pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5013         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5014         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5015     }
5016     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5017     pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5018         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5019         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5020     }
5021     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5022     pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5023         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5024         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5025     }
5026     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5027     pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5028         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5029         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5030     }
5031     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5032     pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5033         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5034         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5035     }
5036     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5037     pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5038         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5039         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5040     }
5041     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5042     pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5043         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5044         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5045     }
5046     #[cfg(feature = "Win32_Foundation")]
FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5047     pub unsafe fn FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5048         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5049         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5050     }
5051     #[cfg(feature = "Win32_Foundation")]
FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5052     pub unsafe fn FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5053         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5054         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5055     }
5056     #[cfg(feature = "Win32_Foundation")]
FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5057     pub unsafe fn FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5058         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5059         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5060     }
Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5061     pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5062         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5063         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5064     }
5065     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>5066     pub unsafe fn Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
5067         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5068         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
5069     }
5070     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>5071     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
5072         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5073         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
5074     }
5075     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()>5076     pub unsafe fn Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()> {
5077         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format)).ok()
5078     }
5079     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32>5080     pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32> {
5081         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5082         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format), &mut result__).from_abi::<i32>(result__)
5083     }
CanEdit(&self) -> ::windows::runtime::Result<i32>5084     pub unsafe fn CanEdit(&self) -> ::windows::runtime::Result<i32> {
5085         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5086         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5087     }
ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()>5088     pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()> {
5089         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
5090     }
GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()>5091     pub unsafe fn GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()> {
5092         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(px), ::std::mem::transmute(py)).ok()
5093     }
SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()>5094     pub unsafe fn SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()> {
5095         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), ::std::mem::transmute(extend)).ok()
5096     }
ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()>5097     pub unsafe fn ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()> {
5098         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5099     }
GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5100     pub unsafe fn GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5101         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5102         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5103     }
5104 }
5105 unsafe impl ::windows::runtime::Interface for ITextRange {
5106     type Vtable = ITextRange_abi;
5107     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694146, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
5108 }
5109 impl ::std::convert::From<ITextRange> for ::windows::runtime::IUnknown {
from(value: ITextRange) -> Self5110     fn from(value: ITextRange) -> Self {
5111         unsafe { ::std::mem::transmute(value) }
5112     }
5113 }
5114 impl ::std::convert::From<&ITextRange> for ::windows::runtime::IUnknown {
from(value: &ITextRange) -> Self5115     fn from(value: &ITextRange) -> Self {
5116         ::std::convert::From::from(::std::clone::Clone::clone(value))
5117     }
5118 }
5119 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5120     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5121         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5122     }
5123 }
5124 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5125     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5126         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5127     }
5128 }
5129 #[cfg(feature = "Win32_System_Ole_Automation")]
5130 impl ::std::convert::From<ITextRange> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextRange) -> Self5131     fn from(value: ITextRange) -> Self {
5132         unsafe { ::std::mem::transmute(value) }
5133     }
5134 }
5135 #[cfg(feature = "Win32_System_Ole_Automation")]
5136 impl ::std::convert::From<&ITextRange> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextRange) -> Self5137     fn from(value: &ITextRange) -> Self {
5138         ::std::convert::From::from(::std::clone::Clone::clone(value))
5139     }
5140 }
5141 #[cfg(feature = "Win32_System_Ole_Automation")]
5142 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextRange {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>5143     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
5144         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
5145     }
5146 }
5147 #[cfg(feature = "Win32_System_Ole_Automation")]
5148 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextRange {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>5149     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
5150         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5151     }
5152 }
5153 #[repr(C)]
5154 #[doc(hidden)]
5155 pub struct ITextRange_abi(
5156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5158     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5159     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5160     #[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,
5161     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5162     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5163     #[cfg(not(feature = "Win32_Foundation"))] usize,
5164     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5165     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5166     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5167     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5168     #[cfg(not(feature = "Win32_Foundation"))] usize,
5169     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5170     #[cfg(not(feature = "Win32_Foundation"))] usize,
5171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32) -> ::windows::runtime::HRESULT,
5172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, char: i32) -> ::windows::runtime::HRESULT,
5173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcpfirst: *mut i32) -> ::windows::runtime::HRESULT,
5177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32) -> ::windows::runtime::HRESULT,
5178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
5179     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cplim: i32) -> ::windows::runtime::HRESULT,
5180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
5185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstart: i32) -> ::windows::runtime::HRESULT,
5187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pindex: *mut i32) -> ::windows::runtime::HRESULT,
5189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, index: i32, extend: i32) -> ::windows::runtime::HRESULT,
5190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
5191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5192     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5198     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5199     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5200     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5201     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5202     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5203     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5204     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5205     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5206     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5207     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5208     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5209     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5210     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5211     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5212     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5213     #[cfg(not(feature = "Win32_Foundation"))] usize,
5214     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5215     #[cfg(not(feature = "Win32_Foundation"))] usize,
5216     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5217     #[cfg(not(feature = "Win32_Foundation"))] usize,
5218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5219     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5220     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5221     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5222     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5223     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32) -> ::windows::runtime::HRESULT,
5224     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5225     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5226     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5228     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32) -> ::windows::runtime::HRESULT,
5229     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::HRESULT,
5230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::HRESULT,
5231     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
5232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5233 );
5234 #[repr(transparent)]
5235 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5236 pub struct ITextRange2(::windows::runtime::IUnknown);
5237 impl ITextRange2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>5238     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
5239         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5240         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5241     }
5242     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>5243     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
5244         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5245         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
5246     }
5247     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>5248     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
5249         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
5250     }
5251     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>5252     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
5253         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
5254     }
5255     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>5256     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
5257         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5258         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
5259     }
5260     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>5261     pub unsafe fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
5262         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
5263     }
GetChar(&self) -> ::windows::runtime::Result<i32>5264     pub unsafe fn GetChar(&self) -> ::windows::runtime::Result<i32> {
5265         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5266         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5267     }
SetChar(&self, char: i32) -> ::windows::runtime::Result<()>5268     pub unsafe fn SetChar(&self, char: i32) -> ::windows::runtime::Result<()> {
5269         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(char)).ok()
5270     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange>5271     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange> {
5272         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5273         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
5274     }
GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange>5275     pub unsafe fn GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange> {
5276         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5277         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
5278     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5279     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5280         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5281     }
GetStart(&self) -> ::windows::runtime::Result<i32>5282     pub unsafe fn GetStart(&self) -> ::windows::runtime::Result<i32> {
5283         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5284         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5285     }
SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()>5286     pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()> {
5287         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst)).ok()
5288     }
GetEnd(&self) -> ::windows::runtime::Result<i32>5289     pub unsafe fn GetEnd(&self) -> ::windows::runtime::Result<i32> {
5290         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5291         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5292     }
SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()>5293     pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()> {
5294         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(cplim)).ok()
5295     }
GetFont(&self) -> ::windows::runtime::Result<ITextFont>5296     pub unsafe fn GetFont(&self) -> ::windows::runtime::Result<ITextFont> {
5297         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5298         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
5299     }
SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>5300     pub unsafe fn SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
5301         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
5302     }
GetPara(&self) -> ::windows::runtime::Result<ITextPara>5303     pub unsafe fn GetPara(&self) -> ::windows::runtime::Result<ITextPara> {
5304         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5305         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
5306     }
SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>5307     pub unsafe fn SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
5308         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
5309     }
GetStoryLength(&self) -> ::windows::runtime::Result<i32>5310     pub unsafe fn GetStoryLength(&self) -> ::windows::runtime::Result<i32> {
5311         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5312         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5313     }
GetStoryType(&self) -> ::windows::runtime::Result<i32>5314     pub unsafe fn GetStoryType(&self) -> ::windows::runtime::Result<i32> {
5315         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5316         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5317     }
Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()>5318     pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()> {
5319         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstart)).ok()
5320     }
Expand(&self, unit: i32) -> ::windows::runtime::Result<i32>5321     pub unsafe fn Expand(&self, unit: i32) -> ::windows::runtime::Result<i32> {
5322         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5323         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
5324     }
GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32>5325     pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32> {
5326         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5327         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
5328     }
SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()>5329     pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()> {
5330         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(index), ::std::mem::transmute(extend)).ok()
5331     }
SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>5332     pub unsafe fn SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
5333         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
5334     }
InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>5335     pub unsafe fn InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
5336         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5337         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5338     }
InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>5339     pub unsafe fn InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
5340         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5341         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5342     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>5343     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
5344         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5345         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5346     }
Select(&self) -> ::windows::runtime::Result<()>5347     pub unsafe fn Select(&self) -> ::windows::runtime::Result<()> {
5348         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self)).ok()
5349     }
StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>5350     pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5351         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5352         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5353     }
EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>5354     pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5355         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5356         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5357     }
Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5358     pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5359         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5360         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5361     }
MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5362     pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5363         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5364         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5365     }
MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5366     pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5367         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5368         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5369     }
5370     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5371     pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5372         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5373         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5374     }
5375     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5376     pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5377         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5378         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5379     }
5380     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5381     pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5382         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5383         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5384     }
5385     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5386     pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5387         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5388         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5389     }
5390     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5391     pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5392         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5393         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5394     }
5395     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>5396     pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
5397         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5398         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5399     }
5400     #[cfg(feature = "Win32_Foundation")]
FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5401     pub unsafe fn FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5402         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5403         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5404     }
5405     #[cfg(feature = "Win32_Foundation")]
FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5406     pub unsafe fn FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5407         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5408         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5409     }
5410     #[cfg(feature = "Win32_Foundation")]
FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5411     pub unsafe fn FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5412         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5413         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5414     }
Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>5415     pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
5416         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5417         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
5418     }
5419     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>5420     pub unsafe fn Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
5421         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5422         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
5423     }
5424     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>5425     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
5426         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5427         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
5428     }
5429     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()>5430     pub unsafe fn Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()> {
5431         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format)).ok()
5432     }
5433     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32>5434     pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32> {
5435         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5436         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format), &mut result__).from_abi::<i32>(result__)
5437     }
CanEdit(&self) -> ::windows::runtime::Result<i32>5438     pub unsafe fn CanEdit(&self) -> ::windows::runtime::Result<i32> {
5439         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5440         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5441     }
ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()>5442     pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()> {
5443         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
5444     }
GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()>5445     pub unsafe fn GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()> {
5446         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(px), ::std::mem::transmute(py)).ok()
5447     }
SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()>5448     pub unsafe fn SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()> {
5449         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), ::std::mem::transmute(extend)).ok()
5450     }
ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()>5451     pub unsafe fn ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()> {
5452         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5453     }
GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5454     pub unsafe fn GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5455         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5456         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5457     }
GetFlags(&self) -> ::windows::runtime::Result<i32>5458     pub unsafe fn GetFlags(&self) -> ::windows::runtime::Result<i32> {
5459         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5460         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5461     }
SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()>5462     pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()> {
5463         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
5464     }
GetType(&self) -> ::windows::runtime::Result<i32>5465     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<i32> {
5466         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5467         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5468     }
MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>5469     pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5470         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5471         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5472     }
MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>5473     pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5474         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5475         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5476     }
MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>5477     pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5478         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5479         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5480     }
MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>5481     pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5482         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5483         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5484     }
HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32>5485     pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32> {
5486         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5487         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5488     }
EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>5489     pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
5490         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5491         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
5492     }
5493     #[cfg(feature = "Win32_Foundation")]
TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>5494     pub unsafe fn TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
5495         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
5496     }
GetCch(&self) -> ::windows::runtime::Result<i32>5497     pub unsafe fn GetCch(&self) -> ::windows::runtime::Result<i32> {
5498         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5499         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5500     }
GetCells(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5501     pub unsafe fn GetCells(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5502         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5503         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5504     }
GetColumn(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5505     pub unsafe fn GetColumn(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5506         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5507         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5508     }
GetCount(&self) -> ::windows::runtime::Result<i32>5509     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
5510         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5511         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5512     }
GetDuplicate2(&self) -> ::windows::runtime::Result<ITextRange2>5513     pub unsafe fn GetDuplicate2(&self) -> ::windows::runtime::Result<ITextRange2> {
5514         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5515         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange2>(result__)
5516     }
GetFont2(&self) -> ::windows::runtime::Result<ITextFont2>5517     pub unsafe fn GetFont2(&self) -> ::windows::runtime::Result<ITextFont2> {
5518         let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5519         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__)
5520     }
SetFont2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>5521     pub unsafe fn SetFont2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
5522         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
5523     }
GetFormattedText2(&self) -> ::windows::runtime::Result<ITextRange2>5524     pub unsafe fn GetFormattedText2(&self) -> ::windows::runtime::Result<ITextRange2> {
5525         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5526         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange2>(result__)
5527     }
SetFormattedText2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5528     pub unsafe fn SetFormattedText2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5529         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5530     }
GetGravity(&self) -> ::windows::runtime::Result<i32>5531     pub unsafe fn GetGravity(&self) -> ::windows::runtime::Result<i32> {
5532         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5533         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5534     }
SetGravity(&self, value: i32) -> ::windows::runtime::Result<()>5535     pub unsafe fn SetGravity(&self, value: i32) -> ::windows::runtime::Result<()> {
5536         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5537     }
GetPara2(&self) -> ::windows::runtime::Result<ITextPara2>5538     pub unsafe fn GetPara2(&self) -> ::windows::runtime::Result<ITextPara2> {
5539         let mut result__: <ITextPara2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5540         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara2>(result__)
5541     }
SetPara2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>5542     pub unsafe fn SetPara2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
5543         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
5544     }
GetRow(&self) -> ::windows::runtime::Result<ITextRow>5545     pub unsafe fn GetRow(&self) -> ::windows::runtime::Result<ITextRow> {
5546         let mut result__: <ITextRow as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5547         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRow>(result__)
5548     }
GetStartPara(&self) -> ::windows::runtime::Result<i32>5549     pub unsafe fn GetStartPara(&self) -> ::windows::runtime::Result<i32> {
5550         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5551         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5552     }
GetTable(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5553     pub unsafe fn GetTable(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5554         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5555         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5556     }
5557     #[cfg(feature = "Win32_Foundation")]
GetURL(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>5558     pub unsafe fn GetURL(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
5559         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5560         (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
5561     }
5562     #[cfg(feature = "Win32_Foundation")]
SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>5563     pub unsafe fn SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
5564         (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
5565     }
AddSubrange(&self, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::Result<()>5566     pub unsafe fn AddSubrange(&self, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::Result<()> {
5567         (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), ::std::mem::transmute(cp1), ::std::mem::transmute(cp2), ::std::mem::transmute(activate)).ok()
5568     }
BuildUpMath(&self, flags: i32) -> ::windows::runtime::Result<()>5569     pub unsafe fn BuildUpMath(&self, flags: i32) -> ::windows::runtime::Result<()> {
5570         (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
5571     }
DeleteSubrange(&self, cpfirst: i32, cplim: i32) -> ::windows::runtime::Result<()>5572     pub unsafe fn DeleteSubrange(&self, cpfirst: i32, cplim: i32) -> ::windows::runtime::Result<()> {
5573         (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst), ::std::mem::transmute(cplim)).ok()
5574     }
Find<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>5575     pub unsafe fn Find<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
5576         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5577         (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
5578     }
GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::runtime::Result<()>5579     pub unsafe fn GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::runtime::Result<()> {
5580         (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), ::std::mem::transmute(pchar), ::std::mem::transmute(offset)).ok()
5581     }
GetDropCap(&self, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::Result<()>5582     pub unsafe fn GetDropCap(&self, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::Result<()> {
5583         (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcline), ::std::mem::transmute(pposition)).ok()
5584     }
GetInlineObject(&self, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::Result<()>5585     pub unsafe fn GetInlineObject(&self, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::Result<()> {
5586         (::windows::runtime::Interface::vtable(self).92)(
5587             ::std::mem::transmute_copy(self),
5588             ::std::mem::transmute(ptype),
5589             ::std::mem::transmute(palign),
5590             ::std::mem::transmute(pchar),
5591             ::std::mem::transmute(pchar1),
5592             ::std::mem::transmute(pchar2),
5593             ::std::mem::transmute(pcount),
5594             ::std::mem::transmute(ptexstyle),
5595             ::std::mem::transmute(pccol),
5596             ::std::mem::transmute(plevel),
5597         )
5598         .ok()
5599     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>5600     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
5601         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5602         (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
5603     }
GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::Result<()>5604     pub unsafe fn GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::Result<()> {
5605         (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom), ::std::mem::transmute(phit)).ok()
5606     }
GetSubrange(&self, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::Result<()>5607     pub unsafe fn GetSubrange(&self, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::Result<()> {
5608         (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), ::std::mem::transmute(isubrange), ::std::mem::transmute(pcpfirst), ::std::mem::transmute(pcplim)).ok()
5609     }
5610     #[cfg(feature = "Win32_Foundation")]
GetText2(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>5611     pub unsafe fn GetText2(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
5612         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5613         (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
5614     }
HexToUnicode(&self) -> ::windows::runtime::Result<()>5615     pub unsafe fn HexToUnicode(&self) -> ::windows::runtime::Result<()> {
5616         (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self)).ok()
5617     }
InsertTable(&self, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::Result<()>5618     pub unsafe fn InsertTable(&self, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::Result<()> {
5619         (::windows::runtime::Interface::vtable(self).98)(::std::mem::transmute_copy(self), ::std::mem::transmute(ccol), ::std::mem::transmute(crow), ::std::mem::transmute(autofit)).ok()
5620     }
Linearize(&self, flags: i32) -> ::windows::runtime::Result<()>5621     pub unsafe fn Linearize(&self, flags: i32) -> ::windows::runtime::Result<()> {
5622         (::windows::runtime::Interface::vtable(self).99)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
5623     }
SetActiveSubrange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>5624     pub unsafe fn SetActiveSubrange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
5625         (::windows::runtime::Interface::vtable(self).100)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
5626     }
SetDropCap(&self, cline: i32, position: i32) -> ::windows::runtime::Result<()>5627     pub unsafe fn SetDropCap(&self, cline: i32, position: i32) -> ::windows::runtime::Result<()> {
5628         (::windows::runtime::Interface::vtable(self).101)(::std::mem::transmute_copy(self), ::std::mem::transmute(cline), ::std::mem::transmute(position)).ok()
5629     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>5630     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
5631         (::windows::runtime::Interface::vtable(self).102)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
5632     }
5633     #[cfg(feature = "Win32_Foundation")]
SetText2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()>5634     pub unsafe fn SetText2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()> {
5635         (::windows::runtime::Interface::vtable(self).103)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), bstr.into_param().abi()).ok()
5636     }
UnicodeToHex(&self) -> ::windows::runtime::Result<()>5637     pub unsafe fn UnicodeToHex(&self) -> ::windows::runtime::Result<()> {
5638         (::windows::runtime::Interface::vtable(self).104)(::std::mem::transmute_copy(self)).ok()
5639     }
SetInlineObject(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::Result<()>5640     pub unsafe fn SetInlineObject(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::Result<()> {
5641         (::windows::runtime::Interface::vtable(self).105)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(align), ::std::mem::transmute(char), ::std::mem::transmute(char1), ::std::mem::transmute(char2), ::std::mem::transmute(count), ::std::mem::transmute(texstyle), ::std::mem::transmute(ccol)).ok()
5642     }
5643     #[cfg(feature = "Win32_Foundation")]
GetMathFunctionType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<i32>5644     pub unsafe fn GetMathFunctionType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<i32> {
5645         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5646         (::windows::runtime::Interface::vtable(self).106)(::std::mem::transmute_copy(self), bstr.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5647     }
5648     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
InsertImage<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: Param4, pstream: Param5) -> ::windows::runtime::Result<()>5649     pub unsafe fn InsertImage<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: Param4, pstream: Param5) -> ::windows::runtime::Result<()> {
5650         (::windows::runtime::Interface::vtable(self).107)(::std::mem::transmute_copy(self), ::std::mem::transmute(width), ::std::mem::transmute(height), ::std::mem::transmute(ascent), ::std::mem::transmute(r#type), bstralttext.into_param().abi(), pstream.into_param().abi()).ok()
5651     }
5652 }
5653 unsafe impl ::windows::runtime::Interface for ITextRange2 {
5654     type Vtable = ITextRange2_abi;
5655     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102690, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
5656 }
5657 impl ::std::convert::From<ITextRange2> for ::windows::runtime::IUnknown {
from(value: ITextRange2) -> Self5658     fn from(value: ITextRange2) -> Self {
5659         unsafe { ::std::mem::transmute(value) }
5660     }
5661 }
5662 impl ::std::convert::From<&ITextRange2> for ::windows::runtime::IUnknown {
from(value: &ITextRange2) -> Self5663     fn from(value: &ITextRange2) -> Self {
5664         ::std::convert::From::from(::std::clone::Clone::clone(value))
5665     }
5666 }
5667 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5668     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5669         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5670     }
5671 }
5672 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5673     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5674         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5675     }
5676 }
5677 impl ::std::convert::From<ITextRange2> for ITextSelection {
from(value: ITextRange2) -> Self5678     fn from(value: ITextRange2) -> Self {
5679         unsafe { ::std::mem::transmute(value) }
5680     }
5681 }
5682 impl ::std::convert::From<&ITextRange2> for ITextSelection {
from(value: &ITextRange2) -> Self5683     fn from(value: &ITextRange2) -> Self {
5684         ::std::convert::From::from(::std::clone::Clone::clone(value))
5685     }
5686 }
5687 impl<'a> ::windows::runtime::IntoParam<'a, ITextSelection> for ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextSelection>5688     fn into_param(self) -> ::windows::runtime::Param<'a, ITextSelection> {
5689         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextSelection>::into(self))
5690     }
5691 }
5692 impl<'a> ::windows::runtime::IntoParam<'a, ITextSelection> for &ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextSelection>5693     fn into_param(self) -> ::windows::runtime::Param<'a, ITextSelection> {
5694         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextSelection>::into(::std::clone::Clone::clone(self)))
5695     }
5696 }
5697 impl ::std::convert::From<ITextRange2> for ITextRange {
from(value: ITextRange2) -> Self5698     fn from(value: ITextRange2) -> Self {
5699         unsafe { ::std::mem::transmute(value) }
5700     }
5701 }
5702 impl ::std::convert::From<&ITextRange2> for ITextRange {
from(value: &ITextRange2) -> Self5703     fn from(value: &ITextRange2) -> Self {
5704         ::std::convert::From::from(::std::clone::Clone::clone(value))
5705     }
5706 }
5707 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>5708     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
5709         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(self))
5710     }
5711 }
5712 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for &ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>5713     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
5714         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(::std::clone::Clone::clone(self)))
5715     }
5716 }
5717 #[cfg(feature = "Win32_System_Ole_Automation")]
5718 impl ::std::convert::From<ITextRange2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextRange2) -> Self5719     fn from(value: ITextRange2) -> Self {
5720         unsafe { ::std::mem::transmute(value) }
5721     }
5722 }
5723 #[cfg(feature = "Win32_System_Ole_Automation")]
5724 impl ::std::convert::From<&ITextRange2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextRange2) -> Self5725     fn from(value: &ITextRange2) -> Self {
5726         ::std::convert::From::from(::std::clone::Clone::clone(value))
5727     }
5728 }
5729 #[cfg(feature = "Win32_System_Ole_Automation")]
5730 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>5731     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
5732         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
5733     }
5734 }
5735 #[cfg(feature = "Win32_System_Ole_Automation")]
5736 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextRange2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>5737     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
5738         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5739     }
5740 }
5741 #[repr(C)]
5742 #[doc(hidden)]
5743 pub struct ITextRange2_abi(
5744     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5745     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5746     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5748     #[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,
5749     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5750     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5751     #[cfg(not(feature = "Win32_Foundation"))] usize,
5752     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5753     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5754     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5755     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5756     #[cfg(not(feature = "Win32_Foundation"))] usize,
5757     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5758     #[cfg(not(feature = "Win32_Foundation"))] usize,
5759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32) -> ::windows::runtime::HRESULT,
5760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, char: i32) -> ::windows::runtime::HRESULT,
5761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcpfirst: *mut i32) -> ::windows::runtime::HRESULT,
5765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32) -> ::windows::runtime::HRESULT,
5766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
5767     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cplim: i32) -> ::windows::runtime::HRESULT,
5768     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5769     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5770     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5771     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5772     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
5773     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5774     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstart: i32) -> ::windows::runtime::HRESULT,
5775     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pindex: *mut i32) -> ::windows::runtime::HRESULT,
5777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, index: i32, extend: i32) -> ::windows::runtime::HRESULT,
5778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
5779     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5780     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5783     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5784     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5785     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5786     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5787     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5788     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5789     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5790     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5791     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5792     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5793     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5794     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5795     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5796     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5797     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5798     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5799     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5800     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5801     #[cfg(not(feature = "Win32_Foundation"))] usize,
5802     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5803     #[cfg(not(feature = "Win32_Foundation"))] usize,
5804     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
5805     #[cfg(not(feature = "Win32_Foundation"))] usize,
5806     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5807     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5808     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5809     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5810     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5811     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32) -> ::windows::runtime::HRESULT,
5812     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5813     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5814     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32) -> ::windows::runtime::HRESULT,
5817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::HRESULT,
5818     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::HRESULT,
5819     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
5820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT,
5822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
5823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i32) -> ::windows::runtime::HRESULT,
5824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5827     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5828     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: tomConstants, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5829     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5830     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5831     #[cfg(not(feature = "Win32_Foundation"))] usize,
5832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcch: *mut i32) -> ::windows::runtime::HRESULT,
5833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcells: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolumn: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
5836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
5843     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprow: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5846     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5847     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pptable: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5848     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5849     #[cfg(not(feature = "Win32_Foundation"))] usize,
5850     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5851     #[cfg(not(feature = "Win32_Foundation"))] usize,
5852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::HRESULT,
5853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
5854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32, cplim: i32) -> ::windows::runtime::HRESULT,
5855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, count: i32, flags: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
5856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32, offset: i32) -> ::windows::runtime::HRESULT,
5857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::HRESULT,
5858     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::HRESULT,
5859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::HRESULT,
5861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
5862     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5863     #[cfg(not(feature = "Win32_Foundation"))] usize,
5864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::HRESULT,
5866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
5867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
5868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cline: i32, position: i32) -> ::windows::runtime::HRESULT,
5869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
5870     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5871     #[cfg(not(feature = "Win32_Foundation"))] usize,
5872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5873     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::HRESULT,
5874     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
5875     #[cfg(not(feature = "Win32_Foundation"))] usize,
5876     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, pstream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5877     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
5878 );
5879 #[repr(transparent)]
5880 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5881 pub struct ITextRow(::windows::runtime::IUnknown);
5882 impl ITextRow {
GetAlignment(&self) -> ::windows::runtime::Result<i32>5883     pub unsafe fn GetAlignment(&self) -> ::windows::runtime::Result<i32> {
5884         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5885         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5886     }
SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()>5887     pub unsafe fn SetAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
5888         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5889     }
GetCellCount(&self) -> ::windows::runtime::Result<i32>5890     pub unsafe fn GetCellCount(&self) -> ::windows::runtime::Result<i32> {
5891         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5892         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5893     }
SetCellCount(&self, value: i32) -> ::windows::runtime::Result<()>5894     pub unsafe fn SetCellCount(&self, value: i32) -> ::windows::runtime::Result<()> {
5895         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5896     }
GetCellCountCache(&self) -> ::windows::runtime::Result<i32>5897     pub unsafe fn GetCellCountCache(&self) -> ::windows::runtime::Result<i32> {
5898         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5899         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5900     }
SetCellCountCache(&self, value: i32) -> ::windows::runtime::Result<()>5901     pub unsafe fn SetCellCountCache(&self, value: i32) -> ::windows::runtime::Result<()> {
5902         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5903     }
GetCellIndex(&self) -> ::windows::runtime::Result<i32>5904     pub unsafe fn GetCellIndex(&self) -> ::windows::runtime::Result<i32> {
5905         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5906         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5907     }
SetCellIndex(&self, value: i32) -> ::windows::runtime::Result<()>5908     pub unsafe fn SetCellIndex(&self, value: i32) -> ::windows::runtime::Result<()> {
5909         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5910     }
GetCellMargin(&self) -> ::windows::runtime::Result<i32>5911     pub unsafe fn GetCellMargin(&self) -> ::windows::runtime::Result<i32> {
5912         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5913         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5914     }
SetCellMargin(&self, value: i32) -> ::windows::runtime::Result<()>5915     pub unsafe fn SetCellMargin(&self, value: i32) -> ::windows::runtime::Result<()> {
5916         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5917     }
GetHeight(&self) -> ::windows::runtime::Result<i32>5918     pub unsafe fn GetHeight(&self) -> ::windows::runtime::Result<i32> {
5919         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5920         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5921     }
SetHeight(&self, value: i32) -> ::windows::runtime::Result<()>5922     pub unsafe fn SetHeight(&self, value: i32) -> ::windows::runtime::Result<()> {
5923         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5924     }
GetIndent(&self) -> ::windows::runtime::Result<i32>5925     pub unsafe fn GetIndent(&self) -> ::windows::runtime::Result<i32> {
5926         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5927         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5928     }
SetIndent(&self, value: i32) -> ::windows::runtime::Result<()>5929     pub unsafe fn SetIndent(&self, value: i32) -> ::windows::runtime::Result<()> {
5930         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5931     }
GetKeepTogether(&self) -> ::windows::runtime::Result<i32>5932     pub unsafe fn GetKeepTogether(&self) -> ::windows::runtime::Result<i32> {
5933         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5934         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5935     }
SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()>5936     pub unsafe fn SetKeepTogether(&self, value: i32) -> ::windows::runtime::Result<()> {
5937         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5938     }
GetKeepWithNext(&self) -> ::windows::runtime::Result<i32>5939     pub unsafe fn GetKeepWithNext(&self) -> ::windows::runtime::Result<i32> {
5940         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5941         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5942     }
SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()>5943     pub unsafe fn SetKeepWithNext(&self, value: i32) -> ::windows::runtime::Result<()> {
5944         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5945     }
GetNestLevel(&self) -> ::windows::runtime::Result<i32>5946     pub unsafe fn GetNestLevel(&self) -> ::windows::runtime::Result<i32> {
5947         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5948         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5949     }
GetRTL(&self) -> ::windows::runtime::Result<i32>5950     pub unsafe fn GetRTL(&self) -> ::windows::runtime::Result<i32> {
5951         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5952         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5953     }
SetRTL(&self, value: i32) -> ::windows::runtime::Result<()>5954     pub unsafe fn SetRTL(&self, value: i32) -> ::windows::runtime::Result<()> {
5955         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5956     }
GetCellAlignment(&self) -> ::windows::runtime::Result<i32>5957     pub unsafe fn GetCellAlignment(&self) -> ::windows::runtime::Result<i32> {
5958         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5959         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5960     }
SetCellAlignment(&self, value: i32) -> ::windows::runtime::Result<()>5961     pub unsafe fn SetCellAlignment(&self, value: i32) -> ::windows::runtime::Result<()> {
5962         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5963     }
GetCellColorBack(&self) -> ::windows::runtime::Result<i32>5964     pub unsafe fn GetCellColorBack(&self) -> ::windows::runtime::Result<i32> {
5965         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5966         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5967     }
SetCellColorBack(&self, value: i32) -> ::windows::runtime::Result<()>5968     pub unsafe fn SetCellColorBack(&self, value: i32) -> ::windows::runtime::Result<()> {
5969         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5970     }
GetCellColorFore(&self) -> ::windows::runtime::Result<i32>5971     pub unsafe fn GetCellColorFore(&self) -> ::windows::runtime::Result<i32> {
5972         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5973         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5974     }
SetCellColorFore(&self, value: i32) -> ::windows::runtime::Result<()>5975     pub unsafe fn SetCellColorFore(&self, value: i32) -> ::windows::runtime::Result<()> {
5976         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5977     }
GetCellMergeFlags(&self) -> ::windows::runtime::Result<i32>5978     pub unsafe fn GetCellMergeFlags(&self) -> ::windows::runtime::Result<i32> {
5979         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5980         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5981     }
SetCellMergeFlags(&self, value: i32) -> ::windows::runtime::Result<()>5982     pub unsafe fn SetCellMergeFlags(&self, value: i32) -> ::windows::runtime::Result<()> {
5983         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5984     }
GetCellShading(&self) -> ::windows::runtime::Result<i32>5985     pub unsafe fn GetCellShading(&self) -> ::windows::runtime::Result<i32> {
5986         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5987         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5988     }
SetCellShading(&self, value: i32) -> ::windows::runtime::Result<()>5989     pub unsafe fn SetCellShading(&self, value: i32) -> ::windows::runtime::Result<()> {
5990         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5991     }
GetCellVerticalText(&self) -> ::windows::runtime::Result<i32>5992     pub unsafe fn GetCellVerticalText(&self) -> ::windows::runtime::Result<i32> {
5993         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5994         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5995     }
SetCellVerticalText(&self, value: i32) -> ::windows::runtime::Result<()>5996     pub unsafe fn SetCellVerticalText(&self, value: i32) -> ::windows::runtime::Result<()> {
5997         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
5998     }
GetCellWidth(&self) -> ::windows::runtime::Result<i32>5999     pub unsafe fn GetCellWidth(&self) -> ::windows::runtime::Result<i32> {
6000         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6001         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6002     }
SetCellWidth(&self, value: i32) -> ::windows::runtime::Result<()>6003     pub unsafe fn SetCellWidth(&self, value: i32) -> ::windows::runtime::Result<()> {
6004         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
6005     }
GetCellBorderColors(&self, pcrleft: *mut i32, pcrtop: *mut i32, pcrright: *mut i32, pcrbottom: *mut i32) -> ::windows::runtime::Result<()>6006     pub unsafe fn GetCellBorderColors(&self, pcrleft: *mut i32, pcrtop: *mut i32, pcrright: *mut i32, pcrbottom: *mut i32) -> ::windows::runtime::Result<()> {
6007         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcrleft), ::std::mem::transmute(pcrtop), ::std::mem::transmute(pcrright), ::std::mem::transmute(pcrbottom)).ok()
6008     }
GetCellBorderWidths(&self, pduleft: *mut i32, pdutop: *mut i32, pduright: *mut i32, pdubottom: *mut i32) -> ::windows::runtime::Result<()>6009     pub unsafe fn GetCellBorderWidths(&self, pduleft: *mut i32, pdutop: *mut i32, pduright: *mut i32, pdubottom: *mut i32) -> ::windows::runtime::Result<()> {
6010         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(pduleft), ::std::mem::transmute(pdutop), ::std::mem::transmute(pduright), ::std::mem::transmute(pdubottom)).ok()
6011     }
SetCellBorderColors(&self, crleft: i32, crtop: i32, crright: i32, crbottom: i32) -> ::windows::runtime::Result<()>6012     pub unsafe fn SetCellBorderColors(&self, crleft: i32, crtop: i32, crright: i32, crbottom: i32) -> ::windows::runtime::Result<()> {
6013         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(crleft), ::std::mem::transmute(crtop), ::std::mem::transmute(crright), ::std::mem::transmute(crbottom)).ok()
6014     }
SetCellBorderWidths(&self, duleft: i32, dutop: i32, duright: i32, dubottom: i32) -> ::windows::runtime::Result<()>6015     pub unsafe fn SetCellBorderWidths(&self, duleft: i32, dutop: i32, duright: i32, dubottom: i32) -> ::windows::runtime::Result<()> {
6016         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(duleft), ::std::mem::transmute(dutop), ::std::mem::transmute(duright), ::std::mem::transmute(dubottom)).ok()
6017     }
Apply(&self, crow: i32, flags: tomConstants) -> ::windows::runtime::Result<()>6018     pub unsafe fn Apply(&self, crow: i32, flags: tomConstants) -> ::windows::runtime::Result<()> {
6019         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(crow), ::std::mem::transmute(flags)).ok()
6020     }
CanChange(&self) -> ::windows::runtime::Result<i32>6021     pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> {
6022         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6023         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6024     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>6025     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
6026         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6027         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
6028     }
Insert(&self, crow: i32) -> ::windows::runtime::Result<()>6029     pub unsafe fn Insert(&self, crow: i32) -> ::windows::runtime::Result<()> {
6030         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(crow)).ok()
6031     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRow>>(&self, prow: Param0) -> ::windows::runtime::Result<i32>6032     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRow>>(&self, prow: Param0) -> ::windows::runtime::Result<i32> {
6033         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6034         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), prow.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6035     }
Reset(&self, value: i32) -> ::windows::runtime::Result<()>6036     pub unsafe fn Reset(&self, value: i32) -> ::windows::runtime::Result<()> {
6037         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
6038     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>6039     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
6040         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
6041     }
6042 }
6043 unsafe impl ::windows::runtime::Interface for ITextRow {
6044     type Vtable = ITextRow_abi;
6045     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102703, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
6046 }
6047 impl ::std::convert::From<ITextRow> for ::windows::runtime::IUnknown {
from(value: ITextRow) -> Self6048     fn from(value: ITextRow) -> Self {
6049         unsafe { ::std::mem::transmute(value) }
6050     }
6051 }
6052 impl ::std::convert::From<&ITextRow> for ::windows::runtime::IUnknown {
from(value: &ITextRow) -> Self6053     fn from(value: &ITextRow) -> Self {
6054         ::std::convert::From::from(::std::clone::Clone::clone(value))
6055     }
6056 }
6057 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextRow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6058     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6059         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6060     }
6061 }
6062 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextRow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6063     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6064         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6065     }
6066 }
6067 #[cfg(feature = "Win32_System_Ole_Automation")]
6068 impl ::std::convert::From<ITextRow> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextRow) -> Self6069     fn from(value: ITextRow) -> Self {
6070         unsafe { ::std::mem::transmute(value) }
6071     }
6072 }
6073 #[cfg(feature = "Win32_System_Ole_Automation")]
6074 impl ::std::convert::From<&ITextRow> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextRow) -> Self6075     fn from(value: &ITextRow) -> Self {
6076         ::std::convert::From::from(::std::clone::Clone::clone(value))
6077     }
6078 }
6079 #[cfg(feature = "Win32_System_Ole_Automation")]
6080 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextRow {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>6081     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
6082         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
6083     }
6084 }
6085 #[cfg(feature = "Win32_System_Ole_Automation")]
6086 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextRow {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>6087     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
6088         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6089     }
6090 }
6091 #[repr(C)]
6092 #[doc(hidden)]
6093 pub struct ITextRow_abi(
6094     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6098     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6099     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6100     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6101     #[cfg(not(feature = "Win32_Foundation"))] usize,
6102     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6103     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6104     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6105     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6116     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6117     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6119     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6120     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6121     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6122     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcrleft: *mut i32, pcrtop: *mut i32, pcrright: *mut i32, pcrbottom: *mut i32) -> ::windows::runtime::HRESULT,
6141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pduleft: *mut i32, pdutop: *mut i32, pduright: *mut i32, pdubottom: *mut i32) -> ::windows::runtime::HRESULT,
6142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, crleft: i32, crtop: i32, crright: i32, crbottom: i32) -> ::windows::runtime::HRESULT,
6143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, duleft: i32, dutop: i32, duright: i32, dubottom: i32) -> ::windows::runtime::HRESULT,
6144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, crow: i32, flags: tomConstants) -> ::windows::runtime::HRESULT,
6145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, crow: i32) -> ::windows::runtime::HRESULT,
6148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prow: ::windows::runtime::RawPtr, pb: *mut i32) -> ::windows::runtime::HRESULT,
6149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
6151 );
6152 #[repr(transparent)]
6153 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6154 pub struct ITextSelection(::windows::runtime::IUnknown);
6155 impl ITextSelection {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>6156     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
6157         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6158         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6159     }
6160     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>6161     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
6162         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6163         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
6164     }
6165     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>6166     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
6167         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
6168     }
6169     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>6170     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
6171         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
6172     }
6173     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>6174     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
6175         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6176         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
6177     }
6178     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>6179     pub unsafe fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
6180         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
6181     }
GetChar(&self) -> ::windows::runtime::Result<i32>6182     pub unsafe fn GetChar(&self) -> ::windows::runtime::Result<i32> {
6183         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6184         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6185     }
SetChar(&self, char: i32) -> ::windows::runtime::Result<()>6186     pub unsafe fn SetChar(&self, char: i32) -> ::windows::runtime::Result<()> {
6187         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(char)).ok()
6188     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange>6189     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange> {
6190         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6191         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
6192     }
GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange>6193     pub unsafe fn GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange> {
6194         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6195         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
6196     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>6197     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
6198         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
6199     }
GetStart(&self) -> ::windows::runtime::Result<i32>6200     pub unsafe fn GetStart(&self) -> ::windows::runtime::Result<i32> {
6201         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6202         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6203     }
SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()>6204     pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()> {
6205         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst)).ok()
6206     }
GetEnd(&self) -> ::windows::runtime::Result<i32>6207     pub unsafe fn GetEnd(&self) -> ::windows::runtime::Result<i32> {
6208         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6209         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6210     }
SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()>6211     pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()> {
6212         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(cplim)).ok()
6213     }
GetFont(&self) -> ::windows::runtime::Result<ITextFont>6214     pub unsafe fn GetFont(&self) -> ::windows::runtime::Result<ITextFont> {
6215         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6216         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
6217     }
SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>6218     pub unsafe fn SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
6219         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
6220     }
GetPara(&self) -> ::windows::runtime::Result<ITextPara>6221     pub unsafe fn GetPara(&self) -> ::windows::runtime::Result<ITextPara> {
6222         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6223         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
6224     }
SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>6225     pub unsafe fn SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
6226         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
6227     }
GetStoryLength(&self) -> ::windows::runtime::Result<i32>6228     pub unsafe fn GetStoryLength(&self) -> ::windows::runtime::Result<i32> {
6229         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6230         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6231     }
GetStoryType(&self) -> ::windows::runtime::Result<i32>6232     pub unsafe fn GetStoryType(&self) -> ::windows::runtime::Result<i32> {
6233         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6234         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6235     }
Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()>6236     pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()> {
6237         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstart)).ok()
6238     }
Expand(&self, unit: i32) -> ::windows::runtime::Result<i32>6239     pub unsafe fn Expand(&self, unit: i32) -> ::windows::runtime::Result<i32> {
6240         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6241         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
6242     }
GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32>6243     pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32> {
6244         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6245         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
6246     }
SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()>6247     pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()> {
6248         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(index), ::std::mem::transmute(extend)).ok()
6249     }
SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>6250     pub unsafe fn SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
6251         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
6252     }
InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6253     pub unsafe fn InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6254         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6255         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6256     }
InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6257     pub unsafe fn InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6258         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6259         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6260     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6261     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6262         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6263         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6264     }
Select(&self) -> ::windows::runtime::Result<()>6265     pub unsafe fn Select(&self) -> ::windows::runtime::Result<()> {
6266         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self)).ok()
6267     }
StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6268     pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6269         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6270         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6271     }
EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6272     pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6273         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6274         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6275     }
Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6276     pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6277         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6278         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6279     }
MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6280     pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6281         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6282         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6283     }
MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6284     pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6285         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6286         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6287     }
6288     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6289     pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6290         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6291         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6292     }
6293     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6294     pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6295         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6296         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6297     }
6298     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6299     pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6300         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6301         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6302     }
6303     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6304     pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6305         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6306         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6307     }
6308     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6309     pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6310         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6311         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6312     }
6313     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6314     pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6315         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6316         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6317     }
6318     #[cfg(feature = "Win32_Foundation")]
FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6319     pub unsafe fn FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6320         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6321         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6322     }
6323     #[cfg(feature = "Win32_Foundation")]
FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6324     pub unsafe fn FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6325         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6326         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6327     }
6328     #[cfg(feature = "Win32_Foundation")]
FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6329     pub unsafe fn FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6330         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6331         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6332     }
Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6333     pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6334         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6335         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6336     }
6337     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>6338     pub unsafe fn Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
6339         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6340         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
6341     }
6342     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>6343     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
6344         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6345         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
6346     }
6347     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()>6348     pub unsafe fn Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()> {
6349         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format)).ok()
6350     }
6351     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32>6352     pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32> {
6353         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6354         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format), &mut result__).from_abi::<i32>(result__)
6355     }
CanEdit(&self) -> ::windows::runtime::Result<i32>6356     pub unsafe fn CanEdit(&self) -> ::windows::runtime::Result<i32> {
6357         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6358         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6359     }
ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()>6360     pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()> {
6361         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
6362     }
GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()>6363     pub unsafe fn GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()> {
6364         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(px), ::std::mem::transmute(py)).ok()
6365     }
SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()>6366     pub unsafe fn SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()> {
6367         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), ::std::mem::transmute(extend)).ok()
6368     }
ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()>6369     pub unsafe fn ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()> {
6370         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
6371     }
GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6372     pub unsafe fn GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6373         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6374         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6375     }
GetFlags(&self) -> ::windows::runtime::Result<i32>6376     pub unsafe fn GetFlags(&self) -> ::windows::runtime::Result<i32> {
6377         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6378         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6379     }
SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()>6380     pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()> {
6381         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
6382     }
GetType(&self) -> ::windows::runtime::Result<i32>6383     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<i32> {
6384         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6385         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6386     }
MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6387     pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6388         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6389         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6390     }
MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6391     pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6392         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6393         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6394     }
MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6395     pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6396         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6397         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6398     }
MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6399     pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6400         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6401         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6402     }
HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32>6403     pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32> {
6404         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6405         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6406     }
EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6407     pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6408         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6409         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6410     }
6411     #[cfg(feature = "Win32_Foundation")]
TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>6412     pub unsafe fn TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
6413         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
6414     }
6415 }
6416 unsafe impl ::windows::runtime::Interface for ITextSelection {
6417     type Vtable = ITextSelection_abi;
6418     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694145, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
6419 }
6420 impl ::std::convert::From<ITextSelection> for ::windows::runtime::IUnknown {
from(value: ITextSelection) -> Self6421     fn from(value: ITextSelection) -> Self {
6422         unsafe { ::std::mem::transmute(value) }
6423     }
6424 }
6425 impl ::std::convert::From<&ITextSelection> for ::windows::runtime::IUnknown {
from(value: &ITextSelection) -> Self6426     fn from(value: &ITextSelection) -> Self {
6427         ::std::convert::From::from(::std::clone::Clone::clone(value))
6428     }
6429 }
6430 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6431     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6432         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6433     }
6434 }
6435 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6436     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6437         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6438     }
6439 }
6440 impl ::std::convert::From<ITextSelection> for ITextRange {
from(value: ITextSelection) -> Self6441     fn from(value: ITextSelection) -> Self {
6442         unsafe { ::std::mem::transmute(value) }
6443     }
6444 }
6445 impl ::std::convert::From<&ITextSelection> for ITextRange {
from(value: &ITextSelection) -> Self6446     fn from(value: &ITextSelection) -> Self {
6447         ::std::convert::From::from(::std::clone::Clone::clone(value))
6448     }
6449 }
6450 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>6451     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
6452         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(self))
6453     }
6454 }
6455 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for &ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>6456     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
6457         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(::std::clone::Clone::clone(self)))
6458     }
6459 }
6460 #[cfg(feature = "Win32_System_Ole_Automation")]
6461 impl ::std::convert::From<ITextSelection> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextSelection) -> Self6462     fn from(value: ITextSelection) -> Self {
6463         unsafe { ::std::mem::transmute(value) }
6464     }
6465 }
6466 #[cfg(feature = "Win32_System_Ole_Automation")]
6467 impl ::std::convert::From<&ITextSelection> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextSelection) -> Self6468     fn from(value: &ITextSelection) -> Self {
6469         ::std::convert::From::from(::std::clone::Clone::clone(value))
6470     }
6471 }
6472 #[cfg(feature = "Win32_System_Ole_Automation")]
6473 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>6474     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
6475         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
6476     }
6477 }
6478 #[cfg(feature = "Win32_System_Ole_Automation")]
6479 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextSelection {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>6480     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
6481         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6482     }
6483 }
6484 #[repr(C)]
6485 #[doc(hidden)]
6486 pub struct ITextSelection_abi(
6487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6488     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6491     #[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,
6492     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6493     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
6494     #[cfg(not(feature = "Win32_Foundation"))] usize,
6495     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6496     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6497     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6498     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6499     #[cfg(not(feature = "Win32_Foundation"))] usize,
6500     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6501     #[cfg(not(feature = "Win32_Foundation"))] usize,
6502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32) -> ::windows::runtime::HRESULT,
6503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, char: i32) -> ::windows::runtime::HRESULT,
6504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcpfirst: *mut i32) -> ::windows::runtime::HRESULT,
6508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32) -> ::windows::runtime::HRESULT,
6509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
6510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cplim: i32) -> ::windows::runtime::HRESULT,
6511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
6516     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6517     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstart: i32) -> ::windows::runtime::HRESULT,
6518     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6519     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pindex: *mut i32) -> ::windows::runtime::HRESULT,
6520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, index: i32, extend: i32) -> ::windows::runtime::HRESULT,
6521     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
6522     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6523     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6526     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6528     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6529     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6530     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6531     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6532     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6533     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6534     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6535     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6536     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6537     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6538     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6539     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6540     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6541     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6542     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6543     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
6544     #[cfg(not(feature = "Win32_Foundation"))] usize,
6545     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
6546     #[cfg(not(feature = "Win32_Foundation"))] usize,
6547     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
6548     #[cfg(not(feature = "Win32_Foundation"))] usize,
6549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6550     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6551     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6552     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6553     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6554     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32) -> ::windows::runtime::HRESULT,
6555     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6556     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6557     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
6559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32) -> ::windows::runtime::HRESULT,
6560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::HRESULT,
6561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::HRESULT,
6562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
6563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT,
6565     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
6566     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i32) -> ::windows::runtime::HRESULT,
6567     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6568     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6569     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6570     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6571     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: tomConstants, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6572     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
6573     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6574     #[cfg(not(feature = "Win32_Foundation"))] usize,
6575 );
6576 #[repr(transparent)]
6577 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6578 pub struct ITextSelection2(::windows::runtime::IUnknown);
6579 impl ITextSelection2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>6580     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
6581         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6582         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6583     }
6584     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>6585     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
6586         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6587         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
6588     }
6589     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>6590     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
6591         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
6592     }
6593     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>6594     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
6595         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
6596     }
6597     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>6598     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
6599         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6600         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
6601     }
6602     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>6603     pub unsafe fn SetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
6604         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
6605     }
GetChar(&self) -> ::windows::runtime::Result<i32>6606     pub unsafe fn GetChar(&self) -> ::windows::runtime::Result<i32> {
6607         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6608         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6609     }
SetChar(&self, char: i32) -> ::windows::runtime::Result<()>6610     pub unsafe fn SetChar(&self, char: i32) -> ::windows::runtime::Result<()> {
6611         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(char)).ok()
6612     }
GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange>6613     pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextRange> {
6614         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6615         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
6616     }
GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange>6617     pub unsafe fn GetFormattedText(&self) -> ::windows::runtime::Result<ITextRange> {
6618         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6619         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange>(result__)
6620     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>6621     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
6622         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
6623     }
GetStart(&self) -> ::windows::runtime::Result<i32>6624     pub unsafe fn GetStart(&self) -> ::windows::runtime::Result<i32> {
6625         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6626         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6627     }
SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()>6628     pub unsafe fn SetStart(&self, cpfirst: i32) -> ::windows::runtime::Result<()> {
6629         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst)).ok()
6630     }
GetEnd(&self) -> ::windows::runtime::Result<i32>6631     pub unsafe fn GetEnd(&self) -> ::windows::runtime::Result<i32> {
6632         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6633         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6634     }
SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()>6635     pub unsafe fn SetEnd(&self, cplim: i32) -> ::windows::runtime::Result<()> {
6636         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(cplim)).ok()
6637     }
GetFont(&self) -> ::windows::runtime::Result<ITextFont>6638     pub unsafe fn GetFont(&self) -> ::windows::runtime::Result<ITextFont> {
6639         let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6640         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__)
6641     }
SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>6642     pub unsafe fn SetFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
6643         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
6644     }
GetPara(&self) -> ::windows::runtime::Result<ITextPara>6645     pub unsafe fn GetPara(&self) -> ::windows::runtime::Result<ITextPara> {
6646         let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6647         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__)
6648     }
SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>6649     pub unsafe fn SetPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
6650         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
6651     }
GetStoryLength(&self) -> ::windows::runtime::Result<i32>6652     pub unsafe fn GetStoryLength(&self) -> ::windows::runtime::Result<i32> {
6653         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6654         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6655     }
GetStoryType(&self) -> ::windows::runtime::Result<i32>6656     pub unsafe fn GetStoryType(&self) -> ::windows::runtime::Result<i32> {
6657         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6658         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6659     }
Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()>6660     pub unsafe fn Collapse(&self, bstart: i32) -> ::windows::runtime::Result<()> {
6661         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(bstart)).ok()
6662     }
Expand(&self, unit: i32) -> ::windows::runtime::Result<i32>6663     pub unsafe fn Expand(&self, unit: i32) -> ::windows::runtime::Result<i32> {
6664         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6665         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
6666     }
GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32>6667     pub unsafe fn GetIndex(&self, unit: i32) -> ::windows::runtime::Result<i32> {
6668         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6669         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), &mut result__).from_abi::<i32>(result__)
6670     }
SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()>6671     pub unsafe fn SetIndex(&self, unit: i32, index: i32, extend: i32) -> ::windows::runtime::Result<()> {
6672         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(index), ::std::mem::transmute(extend)).ok()
6673     }
SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>6674     pub unsafe fn SetRange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
6675         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
6676     }
InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6677     pub unsafe fn InRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6678         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6679         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6680     }
InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6681     pub unsafe fn InStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6682         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6683         (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6684     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32>6685     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange>>(&self, prange: Param0) -> ::windows::runtime::Result<i32> {
6686         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6687         (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6688     }
Select(&self) -> ::windows::runtime::Result<()>6689     pub unsafe fn Select(&self) -> ::windows::runtime::Result<()> {
6690         (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self)).ok()
6691     }
StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6692     pub unsafe fn StartOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6693         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6694         (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6695     }
EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6696     pub unsafe fn EndOf(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6697         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6698         (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6699     }
Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6700     pub unsafe fn Move(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6701         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6702         (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6703     }
MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6704     pub unsafe fn MoveStart(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6705         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6706         (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6707     }
MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6708     pub unsafe fn MoveEnd(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6709         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6710         (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6711     }
6712     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6713     pub unsafe fn MoveWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6714         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6715         (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6716     }
6717     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6718     pub unsafe fn MoveStartWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6719         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6720         (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6721     }
6722     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6723     pub unsafe fn MoveEndWhile(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6724         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6725         (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6726     }
6727     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6728     pub unsafe fn MoveUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6729         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6730         (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6731     }
6732     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6733     pub unsafe fn MoveStartUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6734         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6735         (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6736     }
6737     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32>6738     pub unsafe fn MoveEndUntil(&self, cset: *const super::super::super::System::Com::VARIANT, count: i32) -> ::windows::runtime::Result<i32> {
6739         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6740         (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(cset), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6741     }
6742     #[cfg(feature = "Win32_Foundation")]
FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6743     pub unsafe fn FindText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6744         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6745         (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6746     }
6747     #[cfg(feature = "Win32_Foundation")]
FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6748     pub unsafe fn FindTextStart<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6749         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6750         (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6751     }
6752     #[cfg(feature = "Win32_Foundation")]
FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6753     pub unsafe fn FindTextEnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6754         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6755         (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstr.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6756     }
Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32>6757     pub unsafe fn Delete(&self, unit: i32, count: i32) -> ::windows::runtime::Result<i32> {
6758         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6759         (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__)
6760     }
6761     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>6762     pub unsafe fn Cut(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
6763         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6764         (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
6765     }
6766     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT>6767     pub unsafe fn Copy(&self) -> ::windows::runtime::Result<super::super::super::System::Com::VARIANT> {
6768         let mut result__: <super::super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6769         (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::VARIANT>(result__)
6770     }
6771     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()>6772     pub unsafe fn Paste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<()> {
6773         (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format)).ok()
6774     }
6775     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32>6776     pub unsafe fn CanPaste(&self, pvar: *const super::super::super::System::Com::VARIANT, format: i32) -> ::windows::runtime::Result<i32> {
6777         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6778         (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(format), &mut result__).from_abi::<i32>(result__)
6779     }
CanEdit(&self) -> ::windows::runtime::Result<i32>6780     pub unsafe fn CanEdit(&self) -> ::windows::runtime::Result<i32> {
6781         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6782         (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6783     }
ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()>6784     pub unsafe fn ChangeCase(&self, r#type: i32) -> ::windows::runtime::Result<()> {
6785         (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type)).ok()
6786     }
GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()>6787     pub unsafe fn GetPoint(&self, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::Result<()> {
6788         (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(px), ::std::mem::transmute(py)).ok()
6789     }
SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()>6790     pub unsafe fn SetPoint(&self, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::Result<()> {
6791         (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), ::std::mem::transmute(extend)).ok()
6792     }
ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()>6793     pub unsafe fn ScrollIntoView(&self, value: i32) -> ::windows::runtime::Result<()> {
6794         (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
6795     }
GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6796     pub unsafe fn GetEmbeddedObject(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6797         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6798         (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6799     }
GetFlags(&self) -> ::windows::runtime::Result<i32>6800     pub unsafe fn GetFlags(&self) -> ::windows::runtime::Result<i32> {
6801         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6802         (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6803     }
SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()>6804     pub unsafe fn SetFlags(&self, flags: i32) -> ::windows::runtime::Result<()> {
6805         (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
6806     }
GetType(&self) -> ::windows::runtime::Result<i32>6807     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<i32> {
6808         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6809         (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6810     }
MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6811     pub unsafe fn MoveLeft(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6812         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6813         (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6814     }
MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6815     pub unsafe fn MoveRight(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6816         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6817         (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6818     }
MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6819     pub unsafe fn MoveUp(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6820         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6821         (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6822     }
MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32>6823     pub unsafe fn MoveDown(&self, unit: i32, count: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6824         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6825         (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(count), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6826     }
HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32>6827     pub unsafe fn HomeKey(&self, unit: tomConstants, extend: i32) -> ::windows::runtime::Result<i32> {
6828         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6829         (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6830     }
EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32>6831     pub unsafe fn EndKey(&self, unit: i32, extend: i32) -> ::windows::runtime::Result<i32> {
6832         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6833         (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(unit), ::std::mem::transmute(extend), &mut result__).from_abi::<i32>(result__)
6834     }
6835     #[cfg(feature = "Win32_Foundation")]
TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>6836     pub unsafe fn TypeText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
6837         (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
6838     }
GetCch(&self) -> ::windows::runtime::Result<i32>6839     pub unsafe fn GetCch(&self) -> ::windows::runtime::Result<i32> {
6840         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6841         (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6842     }
GetCells(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6843     pub unsafe fn GetCells(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6844         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6845         (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6846     }
GetColumn(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6847     pub unsafe fn GetColumn(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6848         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6849         (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6850     }
GetCount(&self) -> ::windows::runtime::Result<i32>6851     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
6852         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6853         (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6854     }
GetDuplicate2(&self) -> ::windows::runtime::Result<ITextRange2>6855     pub unsafe fn GetDuplicate2(&self) -> ::windows::runtime::Result<ITextRange2> {
6856         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6857         (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange2>(result__)
6858     }
GetFont2(&self) -> ::windows::runtime::Result<ITextFont2>6859     pub unsafe fn GetFont2(&self) -> ::windows::runtime::Result<ITextFont2> {
6860         let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6861         (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__)
6862     }
SetFont2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>6863     pub unsafe fn SetFont2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> {
6864         (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok()
6865     }
GetFormattedText2(&self) -> ::windows::runtime::Result<ITextRange2>6866     pub unsafe fn GetFormattedText2(&self) -> ::windows::runtime::Result<ITextRange2> {
6867         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6868         (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRange2>(result__)
6869     }
SetFormattedText2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()>6870     pub unsafe fn SetFormattedText2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
6871         (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
6872     }
GetGravity(&self) -> ::windows::runtime::Result<i32>6873     pub unsafe fn GetGravity(&self) -> ::windows::runtime::Result<i32> {
6874         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6875         (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6876     }
SetGravity(&self, value: i32) -> ::windows::runtime::Result<()>6877     pub unsafe fn SetGravity(&self, value: i32) -> ::windows::runtime::Result<()> {
6878         (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
6879     }
GetPara2(&self) -> ::windows::runtime::Result<ITextPara2>6880     pub unsafe fn GetPara2(&self) -> ::windows::runtime::Result<ITextPara2> {
6881         let mut result__: <ITextPara2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6882         (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara2>(result__)
6883     }
SetPara2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>6884     pub unsafe fn SetPara2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> {
6885         (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok()
6886     }
GetRow(&self) -> ::windows::runtime::Result<ITextRow>6887     pub unsafe fn GetRow(&self) -> ::windows::runtime::Result<ITextRow> {
6888         let mut result__: <ITextRow as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6889         (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextRow>(result__)
6890     }
GetStartPara(&self) -> ::windows::runtime::Result<i32>6891     pub unsafe fn GetStartPara(&self) -> ::windows::runtime::Result<i32> {
6892         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6893         (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
6894     }
GetTable(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6895     pub unsafe fn GetTable(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6896         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6897         (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6898     }
6899     #[cfg(feature = "Win32_Foundation")]
GetURL(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>6900     pub unsafe fn GetURL(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
6901         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6902         (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
6903     }
6904     #[cfg(feature = "Win32_Foundation")]
SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>6905     pub unsafe fn SetURL<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
6906         (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
6907     }
AddSubrange(&self, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::Result<()>6908     pub unsafe fn AddSubrange(&self, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::Result<()> {
6909         (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), ::std::mem::transmute(cp1), ::std::mem::transmute(cp2), ::std::mem::transmute(activate)).ok()
6910     }
BuildUpMath(&self, flags: i32) -> ::windows::runtime::Result<()>6911     pub unsafe fn BuildUpMath(&self, flags: i32) -> ::windows::runtime::Result<()> {
6912         (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
6913     }
DeleteSubrange(&self, cpfirst: i32, cplim: i32) -> ::windows::runtime::Result<()>6914     pub unsafe fn DeleteSubrange(&self, cpfirst: i32, cplim: i32) -> ::windows::runtime::Result<()> {
6915         (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpfirst), ::std::mem::transmute(cplim)).ok()
6916     }
Find<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32>6917     pub unsafe fn Find<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, count: i32, flags: i32) -> ::windows::runtime::Result<i32> {
6918         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6919         (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(count), ::std::mem::transmute(flags), &mut result__).from_abi::<i32>(result__)
6920     }
GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::runtime::Result<()>6921     pub unsafe fn GetChar2(&self, pchar: *mut i32, offset: i32) -> ::windows::runtime::Result<()> {
6922         (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), ::std::mem::transmute(pchar), ::std::mem::transmute(offset)).ok()
6923     }
GetDropCap(&self, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::Result<()>6924     pub unsafe fn GetDropCap(&self, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::Result<()> {
6925         (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), ::std::mem::transmute(pcline), ::std::mem::transmute(pposition)).ok()
6926     }
GetInlineObject(&self, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::Result<()>6927     pub unsafe fn GetInlineObject(&self, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::Result<()> {
6928         (::windows::runtime::Interface::vtable(self).92)(
6929             ::std::mem::transmute_copy(self),
6930             ::std::mem::transmute(ptype),
6931             ::std::mem::transmute(palign),
6932             ::std::mem::transmute(pchar),
6933             ::std::mem::transmute(pchar1),
6934             ::std::mem::transmute(pchar2),
6935             ::std::mem::transmute(pcount),
6936             ::std::mem::transmute(ptexstyle),
6937             ::std::mem::transmute(pccol),
6938             ::std::mem::transmute(plevel),
6939         )
6940         .ok()
6941     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>6942     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
6943         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6944         (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
6945     }
GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::Result<()>6946     pub unsafe fn GetRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::Result<()> {
6947         (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom), ::std::mem::transmute(phit)).ok()
6948     }
GetSubrange(&self, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::Result<()>6949     pub unsafe fn GetSubrange(&self, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::Result<()> {
6950         (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), ::std::mem::transmute(isubrange), ::std::mem::transmute(pcpfirst), ::std::mem::transmute(pcplim)).ok()
6951     }
6952     #[cfg(feature = "Win32_Foundation")]
GetText2(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>6953     pub unsafe fn GetText2(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
6954         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6955         (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
6956     }
HexToUnicode(&self) -> ::windows::runtime::Result<()>6957     pub unsafe fn HexToUnicode(&self) -> ::windows::runtime::Result<()> {
6958         (::windows::runtime::Interface::vtable(self).97)(::std::mem::transmute_copy(self)).ok()
6959     }
InsertTable(&self, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::Result<()>6960     pub unsafe fn InsertTable(&self, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::Result<()> {
6961         (::windows::runtime::Interface::vtable(self).98)(::std::mem::transmute_copy(self), ::std::mem::transmute(ccol), ::std::mem::transmute(crow), ::std::mem::transmute(autofit)).ok()
6962     }
Linearize(&self, flags: i32) -> ::windows::runtime::Result<()>6963     pub unsafe fn Linearize(&self, flags: i32) -> ::windows::runtime::Result<()> {
6964         (::windows::runtime::Interface::vtable(self).99)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags)).ok()
6965     }
SetActiveSubrange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()>6966     pub unsafe fn SetActiveSubrange(&self, cpanchor: i32, cpactive: i32) -> ::windows::runtime::Result<()> {
6967         (::windows::runtime::Interface::vtable(self).100)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpanchor), ::std::mem::transmute(cpactive)).ok()
6968     }
SetDropCap(&self, cline: i32, position: i32) -> ::windows::runtime::Result<()>6969     pub unsafe fn SetDropCap(&self, cline: i32, position: i32) -> ::windows::runtime::Result<()> {
6970         (::windows::runtime::Interface::vtable(self).101)(::std::mem::transmute_copy(self), ::std::mem::transmute(cline), ::std::mem::transmute(position)).ok()
6971     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>6972     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
6973         (::windows::runtime::Interface::vtable(self).102)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
6974     }
6975     #[cfg(feature = "Win32_Foundation")]
SetText2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()>6976     pub unsafe fn SetText2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()> {
6977         (::windows::runtime::Interface::vtable(self).103)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), bstr.into_param().abi()).ok()
6978     }
UnicodeToHex(&self) -> ::windows::runtime::Result<()>6979     pub unsafe fn UnicodeToHex(&self) -> ::windows::runtime::Result<()> {
6980         (::windows::runtime::Interface::vtable(self).104)(::std::mem::transmute_copy(self)).ok()
6981     }
SetInlineObject(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::Result<()>6982     pub unsafe fn SetInlineObject(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::Result<()> {
6983         (::windows::runtime::Interface::vtable(self).105)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(align), ::std::mem::transmute(char), ::std::mem::transmute(char1), ::std::mem::transmute(char2), ::std::mem::transmute(count), ::std::mem::transmute(texstyle), ::std::mem::transmute(ccol)).ok()
6984     }
6985     #[cfg(feature = "Win32_Foundation")]
GetMathFunctionType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<i32>6986     pub unsafe fn GetMathFunctionType<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<i32> {
6987         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6988         (::windows::runtime::Interface::vtable(self).106)(::std::mem::transmute_copy(self), bstr.into_param().abi(), &mut result__).from_abi::<i32>(result__)
6989     }
6990     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
InsertImage<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: Param4, pstream: Param5) -> ::windows::runtime::Result<()>6991     pub unsafe fn InsertImage<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IStream>>(&self, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: Param4, pstream: Param5) -> ::windows::runtime::Result<()> {
6992         (::windows::runtime::Interface::vtable(self).107)(::std::mem::transmute_copy(self), ::std::mem::transmute(width), ::std::mem::transmute(height), ::std::mem::transmute(ascent), ::std::mem::transmute(r#type), bstralttext.into_param().abi(), pstream.into_param().abi()).ok()
6993     }
6994 }
6995 unsafe impl ::windows::runtime::Interface for ITextSelection2 {
6996     type Vtable = ITextSelection2_abi;
6997     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102689, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
6998 }
6999 impl ::std::convert::From<ITextSelection2> for ::windows::runtime::IUnknown {
from(value: ITextSelection2) -> Self7000     fn from(value: ITextSelection2) -> Self {
7001         unsafe { ::std::mem::transmute(value) }
7002     }
7003 }
7004 impl ::std::convert::From<&ITextSelection2> for ::windows::runtime::IUnknown {
from(value: &ITextSelection2) -> Self7005     fn from(value: &ITextSelection2) -> Self {
7006         ::std::convert::From::from(::std::clone::Clone::clone(value))
7007     }
7008 }
7009 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7010     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7011         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7012     }
7013 }
7014 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7015     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7016         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7017     }
7018 }
7019 impl ::std::convert::From<ITextSelection2> for ITextRange2 {
from(value: ITextSelection2) -> Self7020     fn from(value: ITextSelection2) -> Self {
7021         unsafe { ::std::mem::transmute(value) }
7022     }
7023 }
7024 impl ::std::convert::From<&ITextSelection2> for ITextRange2 {
from(value: &ITextSelection2) -> Self7025     fn from(value: &ITextSelection2) -> Self {
7026         ::std::convert::From::from(::std::clone::Clone::clone(value))
7027     }
7028 }
7029 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange2> for ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange2>7030     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange2> {
7031         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange2>::into(self))
7032     }
7033 }
7034 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange2> for &ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange2>7035     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange2> {
7036         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange2>::into(::std::clone::Clone::clone(self)))
7037     }
7038 }
7039 impl ::std::convert::From<ITextSelection2> for ITextSelection {
from(value: ITextSelection2) -> Self7040     fn from(value: ITextSelection2) -> Self {
7041         unsafe { ::std::mem::transmute(value) }
7042     }
7043 }
7044 impl ::std::convert::From<&ITextSelection2> for ITextSelection {
from(value: &ITextSelection2) -> Self7045     fn from(value: &ITextSelection2) -> Self {
7046         ::std::convert::From::from(::std::clone::Clone::clone(value))
7047     }
7048 }
7049 impl<'a> ::windows::runtime::IntoParam<'a, ITextSelection> for ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextSelection>7050     fn into_param(self) -> ::windows::runtime::Param<'a, ITextSelection> {
7051         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextSelection>::into(self))
7052     }
7053 }
7054 impl<'a> ::windows::runtime::IntoParam<'a, ITextSelection> for &ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextSelection>7055     fn into_param(self) -> ::windows::runtime::Param<'a, ITextSelection> {
7056         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextSelection>::into(::std::clone::Clone::clone(self)))
7057     }
7058 }
7059 impl ::std::convert::From<ITextSelection2> for ITextRange {
from(value: ITextSelection2) -> Self7060     fn from(value: ITextSelection2) -> Self {
7061         unsafe { ::std::mem::transmute(value) }
7062     }
7063 }
7064 impl ::std::convert::From<&ITextSelection2> for ITextRange {
from(value: &ITextSelection2) -> Self7065     fn from(value: &ITextSelection2) -> Self {
7066         ::std::convert::From::from(::std::clone::Clone::clone(value))
7067     }
7068 }
7069 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>7070     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
7071         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(self))
7072     }
7073 }
7074 impl<'a> ::windows::runtime::IntoParam<'a, ITextRange> for &ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextRange>7075     fn into_param(self) -> ::windows::runtime::Param<'a, ITextRange> {
7076         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextRange>::into(::std::clone::Clone::clone(self)))
7077     }
7078 }
7079 #[cfg(feature = "Win32_System_Ole_Automation")]
7080 impl ::std::convert::From<ITextSelection2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextSelection2) -> Self7081     fn from(value: ITextSelection2) -> Self {
7082         unsafe { ::std::mem::transmute(value) }
7083     }
7084 }
7085 #[cfg(feature = "Win32_System_Ole_Automation")]
7086 impl ::std::convert::From<&ITextSelection2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextSelection2) -> Self7087     fn from(value: &ITextSelection2) -> Self {
7088         ::std::convert::From::from(::std::clone::Clone::clone(value))
7089     }
7090 }
7091 #[cfg(feature = "Win32_System_Ole_Automation")]
7092 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>7093     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
7094         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
7095     }
7096 }
7097 #[cfg(feature = "Win32_System_Ole_Automation")]
7098 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextSelection2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>7099     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
7100         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7101     }
7102 }
7103 #[repr(C)]
7104 #[doc(hidden)]
7105 pub struct ITextSelection2_abi(
7106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7107     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7110     #[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,
7111     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7112     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7113     #[cfg(not(feature = "Win32_Foundation"))] usize,
7114     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7115     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7116     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7117     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7118     #[cfg(not(feature = "Win32_Foundation"))] usize,
7119     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7120     #[cfg(not(feature = "Win32_Foundation"))] usize,
7121     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32) -> ::windows::runtime::HRESULT,
7122     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, char: i32) -> ::windows::runtime::HRESULT,
7123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7126     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcpfirst: *mut i32) -> ::windows::runtime::HRESULT,
7127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32) -> ::windows::runtime::HRESULT,
7128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
7129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cplim: i32) -> ::windows::runtime::HRESULT,
7130     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
7135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstart: i32) -> ::windows::runtime::HRESULT,
7137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, pindex: *mut i32) -> ::windows::runtime::HRESULT,
7139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, index: i32, extend: i32) -> ::windows::runtime::HRESULT,
7140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
7141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7149     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7150     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7151     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7152     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7153     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7154     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7155     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7156     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7157     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7158     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7159     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7160     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cset: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7161     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7162     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
7163     #[cfg(not(feature = "Win32_Foundation"))] usize,
7164     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
7165     #[cfg(not(feature = "Win32_Foundation"))] usize,
7166     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, count: i32, flags: i32, plength: *mut i32) -> ::windows::runtime::HRESULT,
7167     #[cfg(not(feature = "Win32_Foundation"))] usize,
7168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7169     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7170     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7171     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7172     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7173     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32) -> ::windows::runtime::HRESULT,
7174     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7175     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, format: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7176     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32) -> ::windows::runtime::HRESULT,
7179     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, px: *mut i32, py: *mut i32) -> ::windows::runtime::HRESULT,
7180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, extend: i32) -> ::windows::runtime::HRESULT,
7181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
7182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT,
7184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
7185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i32) -> ::windows::runtime::HRESULT,
7186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, count: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: tomConstants, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, unit: i32, extend: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7192     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7193     #[cfg(not(feature = "Win32_Foundation"))] usize,
7194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcch: *mut i32) -> ::windows::runtime::HRESULT,
7195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcells: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcolumn: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
7198     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7199     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7200     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7201     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7202     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7203     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7204     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
7205     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7206     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7207     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprow: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7208     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pptable: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7210     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7211     #[cfg(not(feature = "Win32_Foundation"))] usize,
7212     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7213     #[cfg(not(feature = "Win32_Foundation"))] usize,
7214     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp1: i32, cp2: i32, activate: i32) -> ::windows::runtime::HRESULT,
7215     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
7216     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpfirst: i32, cplim: i32) -> ::windows::runtime::HRESULT,
7217     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, count: i32, flags: i32, pdelta: *mut i32) -> ::windows::runtime::HRESULT,
7218     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchar: *mut i32, offset: i32) -> ::windows::runtime::HRESULT,
7219     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcline: *mut i32, pposition: *mut i32) -> ::windows::runtime::HRESULT,
7220     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i32, palign: *mut i32, pchar: *mut i32, pchar1: *mut i32, pchar2: *mut i32, pcount: *mut i32, ptexstyle: *mut i32, pccol: *mut i32, plevel: *mut i32) -> ::windows::runtime::HRESULT,
7221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32, phit: *mut i32) -> ::windows::runtime::HRESULT,
7223     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isubrange: i32, pcpfirst: *mut i32, pcplim: *mut i32) -> ::windows::runtime::HRESULT,
7224     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7225     #[cfg(not(feature = "Win32_Foundation"))] usize,
7226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ccol: i32, crow: i32, autofit: i32) -> ::windows::runtime::HRESULT,
7228     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32) -> ::windows::runtime::HRESULT,
7229     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpanchor: i32, cpactive: i32) -> ::windows::runtime::HRESULT,
7230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cline: i32, position: i32) -> ::windows::runtime::HRESULT,
7231     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
7232     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7233     #[cfg(not(feature = "Win32_Foundation"))] usize,
7234     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32) -> ::windows::runtime::HRESULT,
7236     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7237     #[cfg(not(feature = "Win32_Foundation"))] usize,
7238     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, width: i32, height: i32, ascent: i32, r#type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS, bstralttext: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, pstream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7239     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7240 );
7241 #[repr(transparent)]
7242 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7243 pub struct ITextServices(::windows::runtime::IUnknown);
7244 impl ITextServices {
7245     #[cfg(feature = "Win32_Foundation")]
TxSendMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>7246     pub unsafe fn TxSendMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
7247         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), ::std::mem::transmute(plresult)).ok()
7248     }
7249     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxDraw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcbounds: *mut super::super::super::Foundation::RECTL, lprcwbounds: *mut super::super::super::Foundation::RECTL, lprcupdate: *mut super::super::super::Foundation::RECT, pfncontinue: isize, dwcontinue: u32, lviewid: i32, ) -> ::windows::runtime::Result<()>7250     pub unsafe fn TxDraw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7251         &self,
7252         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7253         lindex: i32,
7254         pvaspect: *mut ::std::ffi::c_void,
7255         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7256         hdcdraw: Param4,
7257         hictargetdev: Param5,
7258         lprcbounds: *mut super::super::super::Foundation::RECTL,
7259         lprcwbounds: *mut super::super::super::Foundation::RECTL,
7260         lprcupdate: *mut super::super::super::Foundation::RECT,
7261         pfncontinue: isize,
7262         dwcontinue: u32,
7263         lviewid: i32,
7264     ) -> ::windows::runtime::Result<()> {
7265         (::windows::runtime::Interface::vtable(self).4)(
7266             ::std::mem::transmute_copy(self),
7267             ::std::mem::transmute(dwdrawaspect),
7268             ::std::mem::transmute(lindex),
7269             ::std::mem::transmute(pvaspect),
7270             ::std::mem::transmute(ptd),
7271             hdcdraw.into_param().abi(),
7272             hictargetdev.into_param().abi(),
7273             ::std::mem::transmute(lprcbounds),
7274             ::std::mem::transmute(lprcwbounds),
7275             ::std::mem::transmute(lprcupdate),
7276             ::std::mem::transmute(pfncontinue),
7277             ::std::mem::transmute(dwcontinue),
7278             ::std::mem::transmute(lviewid),
7279         )
7280         .ok()
7281     }
7282     #[cfg(feature = "Win32_Foundation")]
TxGetHScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>7283     pub unsafe fn TxGetHScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
7284         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmin), ::std::mem::transmute(plmax), ::std::mem::transmute(plpos), ::std::mem::transmute(plpage), ::std::mem::transmute(pfenabled)).ok()
7285     }
7286     #[cfg(feature = "Win32_Foundation")]
TxGetVScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>7287     pub unsafe fn TxGetVScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
7288         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmin), ::std::mem::transmute(plmax), ::std::mem::transmute(plpos), ::std::mem::transmute(plpage), ::std::mem::transmute(pfenabled)).ok()
7289     }
7290     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
OnTxSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, ) -> ::windows::runtime::Result<()>7291     pub unsafe fn OnTxSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7292         &self,
7293         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7294         lindex: i32,
7295         pvaspect: *mut ::std::ffi::c_void,
7296         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7297         hdcdraw: Param4,
7298         hictargetdev: Param5,
7299         lprcclient: *mut super::super::super::Foundation::RECT,
7300         x: i32,
7301         y: i32,
7302     ) -> ::windows::runtime::Result<()> {
7303         (::windows::runtime::Interface::vtable(self).7)(
7304             ::std::mem::transmute_copy(self),
7305             ::std::mem::transmute(dwdrawaspect),
7306             ::std::mem::transmute(lindex),
7307             ::std::mem::transmute(pvaspect),
7308             ::std::mem::transmute(ptd),
7309             hdcdraw.into_param().abi(),
7310             hictargetdev.into_param().abi(),
7311             ::std::mem::transmute(lprcclient),
7312             ::std::mem::transmute(x),
7313             ::std::mem::transmute(y),
7314         )
7315         .ok()
7316     }
7317     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxQueryHitPoint<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, phitresult: *mut u32, ) -> ::windows::runtime::Result<()>7318     pub unsafe fn TxQueryHitPoint<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7319         &self,
7320         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7321         lindex: i32,
7322         pvaspect: *mut ::std::ffi::c_void,
7323         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7324         hdcdraw: Param4,
7325         hictargetdev: Param5,
7326         lprcclient: *mut super::super::super::Foundation::RECT,
7327         x: i32,
7328         y: i32,
7329         phitresult: *mut u32,
7330     ) -> ::windows::runtime::Result<()> {
7331         (::windows::runtime::Interface::vtable(self).8)(
7332             ::std::mem::transmute_copy(self),
7333             ::std::mem::transmute(dwdrawaspect),
7334             ::std::mem::transmute(lindex),
7335             ::std::mem::transmute(pvaspect),
7336             ::std::mem::transmute(ptd),
7337             hdcdraw.into_param().abi(),
7338             hictargetdev.into_param().abi(),
7339             ::std::mem::transmute(lprcclient),
7340             ::std::mem::transmute(x),
7341             ::std::mem::transmute(y),
7342             ::std::mem::transmute(phitresult),
7343         )
7344         .ok()
7345     }
7346     #[cfg(feature = "Win32_Foundation")]
OnTxInPlaceActivate(&self, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7347     pub unsafe fn OnTxInPlaceActivate(&self, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7348         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcclient)).ok()
7349     }
OnTxInPlaceDeactivate(&self) -> ::windows::runtime::Result<()>7350     pub unsafe fn OnTxInPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
7351         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
7352     }
OnTxUIActivate(&self) -> ::windows::runtime::Result<()>7353     pub unsafe fn OnTxUIActivate(&self) -> ::windows::runtime::Result<()> {
7354         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
7355     }
OnTxUIDeactivate(&self) -> ::windows::runtime::Result<()>7356     pub unsafe fn OnTxUIDeactivate(&self) -> ::windows::runtime::Result<()> {
7357         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
7358     }
7359     #[cfg(feature = "Win32_Foundation")]
TxGetText(&self, pbstrtext: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>7360     pub unsafe fn TxGetText(&self, pbstrtext: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> {
7361         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrtext)).ok()
7362     }
7363     #[cfg(feature = "Win32_Foundation")]
TxSetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, psztext: Param0) -> ::windows::runtime::Result<()>7364     pub unsafe fn TxSetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, psztext: Param0) -> ::windows::runtime::Result<()> {
7365         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), psztext.into_param().abi()).ok()
7366     }
TxGetCurTargetX(&self, param0: *mut i32) -> ::windows::runtime::Result<()>7367     pub unsafe fn TxGetCurTargetX(&self, param0: *mut i32) -> ::windows::runtime::Result<()> {
7368         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(param0)).ok()
7369     }
TxGetBaseLinePos(&self, param0: *mut i32) -> ::windows::runtime::Result<()>7370     pub unsafe fn TxGetBaseLinePos(&self, param0: *mut i32) -> ::windows::runtime::Result<()> {
7371         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(param0)).ok()
7372     }
7373     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxGetNaturalSize<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::Result<()>7374     pub unsafe fn TxGetNaturalSize<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::Result<()> {
7375         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), hdcdraw.into_param().abi(), hictargetdev.into_param().abi(), ::std::mem::transmute(ptd), ::std::mem::transmute(dwmode), ::std::mem::transmute(psizelextent), ::std::mem::transmute(pwidth), ::std::mem::transmute(pheight)).ok()
7376     }
7377     #[cfg(feature = "Win32_System_Ole")]
TxGetDropTarget(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IDropTarget>7378     pub unsafe fn TxGetDropTarget(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IDropTarget> {
7379         let mut result__: <super::super::super::System::Ole::IDropTarget as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7380         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Ole::IDropTarget>(result__)
7381     }
OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::runtime::Result<()>7382     pub unsafe fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::runtime::Result<()> {
7383         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmask), ::std::mem::transmute(dwbits)).ok()
7384     }
TxGetCachedSize(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::Result<()>7385     pub unsafe fn TxGetCachedSize(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::Result<()> {
7386         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwwidth), ::std::mem::transmute(pdwheight)).ok()
7387     }
7388 }
7389 unsafe impl ::windows::runtime::Interface for ITextServices {
7390     type Vtable = ITextServices_abi;
7391     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
7392 }
7393 impl ::std::convert::From<ITextServices> for ::windows::runtime::IUnknown {
from(value: ITextServices) -> Self7394     fn from(value: ITextServices) -> Self {
7395         unsafe { ::std::mem::transmute(value) }
7396     }
7397 }
7398 impl ::std::convert::From<&ITextServices> for ::windows::runtime::IUnknown {
from(value: &ITextServices) -> Self7399     fn from(value: &ITextServices) -> Self {
7400         ::std::convert::From::from(::std::clone::Clone::clone(value))
7401     }
7402 }
7403 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7404     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7405         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7406     }
7407 }
7408 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7409     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7410         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7411     }
7412 }
7413 #[repr(C)]
7414 #[doc(hidden)]
7415 pub struct ITextServices_abi(
7416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7417     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7418     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7419     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
7420     #[cfg(not(feature = "Win32_Foundation"))] usize,
7421     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7422     pub  unsafe extern "system" fn(
7423         this: ::windows::runtime::RawPtr,
7424         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7425         lindex: i32,
7426         pvaspect: *mut ::std::ffi::c_void,
7427         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7428         hdcdraw: super::super::super::Graphics::Gdi::HDC,
7429         hictargetdev: super::super::super::Graphics::Gdi::HDC,
7430         lprcbounds: *mut super::super::super::Foundation::RECTL,
7431         lprcwbounds: *mut super::super::super::Foundation::RECTL,
7432         lprcupdate: *mut super::super::super::Foundation::RECT,
7433         pfncontinue: isize,
7434         dwcontinue: u32,
7435         lviewid: i32,
7436     ) -> ::windows::runtime::HRESULT,
7437     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7438     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7439     #[cfg(not(feature = "Win32_Foundation"))] usize,
7440     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7441     #[cfg(not(feature = "Win32_Foundation"))] usize,
7442     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7443     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32) -> ::windows::runtime::HRESULT,
7444     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7445     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7446     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, phitresult: *mut u32) -> ::windows::runtime::HRESULT,
7447     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7448     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7449     #[cfg(not(feature = "Win32_Foundation"))] usize,
7450     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7452     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7453     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7454     #[cfg(not(feature = "Win32_Foundation"))] usize,
7455     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7456     #[cfg(not(feature = "Win32_Foundation"))] usize,
7457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, param0: *mut i32) -> ::windows::runtime::HRESULT,
7458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, param0: *mut i32) -> ::windows::runtime::HRESULT,
7459     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::HRESULT,
7460     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7461     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdroptarget: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7462     #[cfg(not(feature = "Win32_System_Ole"))] usize,
7463     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmask: u32, dwbits: u32) -> ::windows::runtime::HRESULT,
7464     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::HRESULT,
7465 );
7466 #[repr(transparent)]
7467 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7468 pub struct ITextServices2(::windows::runtime::IUnknown);
7469 impl ITextServices2 {
7470     #[cfg(feature = "Win32_Foundation")]
TxSendMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>7471     pub unsafe fn TxSendMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
7472         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), ::std::mem::transmute(plresult)).ok()
7473     }
7474     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxDraw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcbounds: *mut super::super::super::Foundation::RECTL, lprcwbounds: *mut super::super::super::Foundation::RECTL, lprcupdate: *mut super::super::super::Foundation::RECT, pfncontinue: isize, dwcontinue: u32, lviewid: i32, ) -> ::windows::runtime::Result<()>7475     pub unsafe fn TxDraw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7476         &self,
7477         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7478         lindex: i32,
7479         pvaspect: *mut ::std::ffi::c_void,
7480         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7481         hdcdraw: Param4,
7482         hictargetdev: Param5,
7483         lprcbounds: *mut super::super::super::Foundation::RECTL,
7484         lprcwbounds: *mut super::super::super::Foundation::RECTL,
7485         lprcupdate: *mut super::super::super::Foundation::RECT,
7486         pfncontinue: isize,
7487         dwcontinue: u32,
7488         lviewid: i32,
7489     ) -> ::windows::runtime::Result<()> {
7490         (::windows::runtime::Interface::vtable(self).4)(
7491             ::std::mem::transmute_copy(self),
7492             ::std::mem::transmute(dwdrawaspect),
7493             ::std::mem::transmute(lindex),
7494             ::std::mem::transmute(pvaspect),
7495             ::std::mem::transmute(ptd),
7496             hdcdraw.into_param().abi(),
7497             hictargetdev.into_param().abi(),
7498             ::std::mem::transmute(lprcbounds),
7499             ::std::mem::transmute(lprcwbounds),
7500             ::std::mem::transmute(lprcupdate),
7501             ::std::mem::transmute(pfncontinue),
7502             ::std::mem::transmute(dwcontinue),
7503             ::std::mem::transmute(lviewid),
7504         )
7505         .ok()
7506     }
7507     #[cfg(feature = "Win32_Foundation")]
TxGetHScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>7508     pub unsafe fn TxGetHScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
7509         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmin), ::std::mem::transmute(plmax), ::std::mem::transmute(plpos), ::std::mem::transmute(plpage), ::std::mem::transmute(pfenabled)).ok()
7510     }
7511     #[cfg(feature = "Win32_Foundation")]
TxGetVScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>7512     pub unsafe fn TxGetVScroll(&self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
7513         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(plmin), ::std::mem::transmute(plmax), ::std::mem::transmute(plpos), ::std::mem::transmute(plpage), ::std::mem::transmute(pfenabled)).ok()
7514     }
7515     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
OnTxSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, ) -> ::windows::runtime::Result<()>7516     pub unsafe fn OnTxSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7517         &self,
7518         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7519         lindex: i32,
7520         pvaspect: *mut ::std::ffi::c_void,
7521         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7522         hdcdraw: Param4,
7523         hictargetdev: Param5,
7524         lprcclient: *mut super::super::super::Foundation::RECT,
7525         x: i32,
7526         y: i32,
7527     ) -> ::windows::runtime::Result<()> {
7528         (::windows::runtime::Interface::vtable(self).7)(
7529             ::std::mem::transmute_copy(self),
7530             ::std::mem::transmute(dwdrawaspect),
7531             ::std::mem::transmute(lindex),
7532             ::std::mem::transmute(pvaspect),
7533             ::std::mem::transmute(ptd),
7534             hdcdraw.into_param().abi(),
7535             hictargetdev.into_param().abi(),
7536             ::std::mem::transmute(lprcclient),
7537             ::std::mem::transmute(x),
7538             ::std::mem::transmute(y),
7539         )
7540         .ok()
7541     }
7542     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxQueryHitPoint<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: Param4, hictargetdev: Param5, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, phitresult: *mut u32, ) -> ::windows::runtime::Result<()>7543     pub unsafe fn TxQueryHitPoint<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(
7544         &self,
7545         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7546         lindex: i32,
7547         pvaspect: *mut ::std::ffi::c_void,
7548         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7549         hdcdraw: Param4,
7550         hictargetdev: Param5,
7551         lprcclient: *mut super::super::super::Foundation::RECT,
7552         x: i32,
7553         y: i32,
7554         phitresult: *mut u32,
7555     ) -> ::windows::runtime::Result<()> {
7556         (::windows::runtime::Interface::vtable(self).8)(
7557             ::std::mem::transmute_copy(self),
7558             ::std::mem::transmute(dwdrawaspect),
7559             ::std::mem::transmute(lindex),
7560             ::std::mem::transmute(pvaspect),
7561             ::std::mem::transmute(ptd),
7562             hdcdraw.into_param().abi(),
7563             hictargetdev.into_param().abi(),
7564             ::std::mem::transmute(lprcclient),
7565             ::std::mem::transmute(x),
7566             ::std::mem::transmute(y),
7567             ::std::mem::transmute(phitresult),
7568         )
7569         .ok()
7570     }
7571     #[cfg(feature = "Win32_Foundation")]
OnTxInPlaceActivate(&self, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7572     pub unsafe fn OnTxInPlaceActivate(&self, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7573         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcclient)).ok()
7574     }
OnTxInPlaceDeactivate(&self) -> ::windows::runtime::Result<()>7575     pub unsafe fn OnTxInPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
7576         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
7577     }
OnTxUIActivate(&self) -> ::windows::runtime::Result<()>7578     pub unsafe fn OnTxUIActivate(&self) -> ::windows::runtime::Result<()> {
7579         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
7580     }
OnTxUIDeactivate(&self) -> ::windows::runtime::Result<()>7581     pub unsafe fn OnTxUIDeactivate(&self) -> ::windows::runtime::Result<()> {
7582         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
7583     }
7584     #[cfg(feature = "Win32_Foundation")]
TxGetText(&self, pbstrtext: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>7585     pub unsafe fn TxGetText(&self, pbstrtext: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> {
7586         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pbstrtext)).ok()
7587     }
7588     #[cfg(feature = "Win32_Foundation")]
TxSetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, psztext: Param0) -> ::windows::runtime::Result<()>7589     pub unsafe fn TxSetText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, psztext: Param0) -> ::windows::runtime::Result<()> {
7590         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), psztext.into_param().abi()).ok()
7591     }
TxGetCurTargetX(&self, param0: *mut i32) -> ::windows::runtime::Result<()>7592     pub unsafe fn TxGetCurTargetX(&self, param0: *mut i32) -> ::windows::runtime::Result<()> {
7593         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(param0)).ok()
7594     }
TxGetBaseLinePos(&self, param0: *mut i32) -> ::windows::runtime::Result<()>7595     pub unsafe fn TxGetBaseLinePos(&self, param0: *mut i32) -> ::windows::runtime::Result<()> {
7596         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(param0)).ok()
7597     }
7598     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxGetNaturalSize<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::Result<()>7599     pub unsafe fn TxGetNaturalSize<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::Result<()> {
7600         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), hdcdraw.into_param().abi(), hictargetdev.into_param().abi(), ::std::mem::transmute(ptd), ::std::mem::transmute(dwmode), ::std::mem::transmute(psizelextent), ::std::mem::transmute(pwidth), ::std::mem::transmute(pheight)).ok()
7601     }
7602     #[cfg(feature = "Win32_System_Ole")]
TxGetDropTarget(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IDropTarget>7603     pub unsafe fn TxGetDropTarget(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IDropTarget> {
7604         let mut result__: <super::super::super::System::Ole::IDropTarget as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7605         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Ole::IDropTarget>(result__)
7606     }
OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::runtime::Result<()>7607     pub unsafe fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> ::windows::runtime::Result<()> {
7608         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmask), ::std::mem::transmute(dwbits)).ok()
7609     }
TxGetCachedSize(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::Result<()>7610     pub unsafe fn TxGetCachedSize(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::Result<()> {
7611         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwwidth), ::std::mem::transmute(pdwheight)).ok()
7612     }
7613     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
TxGetNaturalSize2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32, pascent: *mut i32) -> ::windows::runtime::Result<()>7614     pub unsafe fn TxGetNaturalSize2<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Gdi::HDC>>(&self, dwaspect: u32, hdcdraw: Param1, hictargetdev: Param2, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32, pascent: *mut i32) -> ::windows::runtime::Result<()> {
7615         (::windows::runtime::Interface::vtable(self).21)(
7616             ::std::mem::transmute_copy(self),
7617             ::std::mem::transmute(dwaspect),
7618             hdcdraw.into_param().abi(),
7619             hictargetdev.into_param().abi(),
7620             ::std::mem::transmute(ptd),
7621             ::std::mem::transmute(dwmode),
7622             ::std::mem::transmute(psizelextent),
7623             ::std::mem::transmute(pwidth),
7624             ::std::mem::transmute(pheight),
7625             ::std::mem::transmute(pascent),
7626         )
7627         .ok()
7628     }
7629     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D"))]
TxDrawD2D<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Direct2D::ID2D1RenderTarget>>(&self, prendertarget: Param0, lprcbounds: *mut super::super::super::Foundation::RECTL, lprcupdate: *mut super::super::super::Foundation::RECT, lviewid: i32) -> ::windows::runtime::Result<()>7630     pub unsafe fn TxDrawD2D<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Graphics::Direct2D::ID2D1RenderTarget>>(&self, prendertarget: Param0, lprcbounds: *mut super::super::super::Foundation::RECTL, lprcupdate: *mut super::super::super::Foundation::RECT, lviewid: i32) -> ::windows::runtime::Result<()> {
7631         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), prendertarget.into_param().abi(), ::std::mem::transmute(lprcbounds), ::std::mem::transmute(lprcupdate), ::std::mem::transmute(lviewid)).ok()
7632     }
7633 }
7634 unsafe impl ::windows::runtime::Interface for ITextServices2 {
7635     type Vtable = ITextServices2_abi;
7636     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
7637 }
7638 impl ::std::convert::From<ITextServices2> for ::windows::runtime::IUnknown {
from(value: ITextServices2) -> Self7639     fn from(value: ITextServices2) -> Self {
7640         unsafe { ::std::mem::transmute(value) }
7641     }
7642 }
7643 impl ::std::convert::From<&ITextServices2> for ::windows::runtime::IUnknown {
from(value: &ITextServices2) -> Self7644     fn from(value: &ITextServices2) -> Self {
7645         ::std::convert::From::from(::std::clone::Clone::clone(value))
7646     }
7647 }
7648 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextServices2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7649     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7650         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7651     }
7652 }
7653 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextServices2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7654     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7655         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7656     }
7657 }
7658 impl ::std::convert::From<ITextServices2> for ITextServices {
from(value: ITextServices2) -> Self7659     fn from(value: ITextServices2) -> Self {
7660         unsafe { ::std::mem::transmute(value) }
7661     }
7662 }
7663 impl ::std::convert::From<&ITextServices2> for ITextServices {
from(value: &ITextServices2) -> Self7664     fn from(value: &ITextServices2) -> Self {
7665         ::std::convert::From::from(::std::clone::Clone::clone(value))
7666     }
7667 }
7668 impl<'a> ::windows::runtime::IntoParam<'a, ITextServices> for ITextServices2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextServices>7669     fn into_param(self) -> ::windows::runtime::Param<'a, ITextServices> {
7670         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextServices>::into(self))
7671     }
7672 }
7673 impl<'a> ::windows::runtime::IntoParam<'a, ITextServices> for &ITextServices2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextServices>7674     fn into_param(self) -> ::windows::runtime::Param<'a, ITextServices> {
7675         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextServices>::into(::std::clone::Clone::clone(self)))
7676     }
7677 }
7678 #[repr(C)]
7679 #[doc(hidden)]
7680 pub struct ITextServices2_abi(
7681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7683     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7684     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
7685     #[cfg(not(feature = "Win32_Foundation"))] usize,
7686     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7687     pub  unsafe extern "system" fn(
7688         this: ::windows::runtime::RawPtr,
7689         dwdrawaspect: super::super::super::System::Com::DVASPECT,
7690         lindex: i32,
7691         pvaspect: *mut ::std::ffi::c_void,
7692         ptd: *mut super::super::super::System::Com::DVTARGETDEVICE,
7693         hdcdraw: super::super::super::Graphics::Gdi::HDC,
7694         hictargetdev: super::super::super::Graphics::Gdi::HDC,
7695         lprcbounds: *mut super::super::super::Foundation::RECTL,
7696         lprcwbounds: *mut super::super::super::Foundation::RECTL,
7697         lprcupdate: *mut super::super::super::Foundation::RECT,
7698         pfncontinue: isize,
7699         dwcontinue: u32,
7700         lviewid: i32,
7701     ) -> ::windows::runtime::HRESULT,
7702     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7703     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7704     #[cfg(not(feature = "Win32_Foundation"))] usize,
7705     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7706     #[cfg(not(feature = "Win32_Foundation"))] usize,
7707     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7708     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32) -> ::windows::runtime::HRESULT,
7709     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7710     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7711     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: super::super::super::System::Com::DVASPECT, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, lprcclient: *mut super::super::super::Foundation::RECT, x: i32, y: i32, phitresult: *mut u32) -> ::windows::runtime::HRESULT,
7712     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7713     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcclient: *mut super::super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7714     #[cfg(not(feature = "Win32_Foundation"))] usize,
7715     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7717     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7718     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7719     #[cfg(not(feature = "Win32_Foundation"))] usize,
7720     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psztext: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
7721     #[cfg(not(feature = "Win32_Foundation"))] usize,
7722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, param0: *mut i32) -> ::windows::runtime::HRESULT,
7723     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, param0: *mut i32) -> ::windows::runtime::HRESULT,
7724     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32) -> ::windows::runtime::HRESULT,
7725     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7726     #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdroptarget: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7727     #[cfg(not(feature = "Win32_System_Ole"))] usize,
7728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmask: u32, dwbits: u32) -> ::windows::runtime::HRESULT,
7729     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwwidth: *mut u32, pdwheight: *mut u32) -> ::windows::runtime::HRESULT,
7730     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7731     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, hdcdraw: super::super::super::Graphics::Gdi::HDC, hictargetdev: super::super::super::Graphics::Gdi::HDC, ptd: *mut super::super::super::System::Com::DVTARGETDEVICE, dwmode: u32, psizelextent: *const super::super::super::Foundation::SIZE, pwidth: *mut i32, pheight: *mut i32, pascent: *mut i32) -> ::windows::runtime::HRESULT,
7732     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7733     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prendertarget: ::windows::runtime::RawPtr, lprcbounds: *mut super::super::super::Foundation::RECTL, lprcupdate: *mut super::super::super::Foundation::RECT, lviewid: i32) -> ::windows::runtime::HRESULT,
7734     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Direct2D")))] usize,
7735 );
7736 #[repr(transparent)]
7737 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7738 pub struct ITextStory(::windows::runtime::IUnknown);
7739 impl ITextStory {
GetActive(&self) -> ::windows::runtime::Result<i32>7740     pub unsafe fn GetActive(&self) -> ::windows::runtime::Result<i32> {
7741         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7742         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7743     }
SetActive(&self, value: i32) -> ::windows::runtime::Result<()>7744     pub unsafe fn SetActive(&self, value: i32) -> ::windows::runtime::Result<()> {
7745         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7746     }
GetDisplay(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7747     pub unsafe fn GetDisplay(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7748         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7749         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7750     }
GetIndex(&self) -> ::windows::runtime::Result<i32>7751     pub unsafe fn GetIndex(&self) -> ::windows::runtime::Result<i32> {
7752         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7753         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7754     }
GetType(&self) -> ::windows::runtime::Result<i32>7755     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<i32> {
7756         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7757         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7758     }
SetType(&self, value: i32) -> ::windows::runtime::Result<()>7759     pub unsafe fn SetType(&self, value: i32) -> ::windows::runtime::Result<()> {
7760         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok()
7761     }
GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>7762     pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> {
7763         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7764         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__)
7765     }
GetRange(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2>7766     pub unsafe fn GetRange(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2> {
7767         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7768         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange2>(result__)
7769     }
7770     #[cfg(feature = "Win32_Foundation")]
GetText(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>7771     pub unsafe fn GetText(&self, flags: i32) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> {
7772         let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7773         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__)
7774     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>7775     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
7776         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
7777     }
SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>7778     pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> {
7779         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok()
7780     }
7781     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()>7782     pub unsafe fn SetText<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, flags: i32, bstr: Param1) -> ::windows::runtime::Result<()> {
7783         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(flags), bstr.into_param().abi()).ok()
7784     }
7785 }
7786 unsafe impl ::windows::runtime::Interface for ITextStory {
7787     type Vtable = ITextStory_abi;
7788     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102707, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
7789 }
7790 impl ::std::convert::From<ITextStory> for ::windows::runtime::IUnknown {
from(value: ITextStory) -> Self7791     fn from(value: ITextStory) -> Self {
7792         unsafe { ::std::mem::transmute(value) }
7793     }
7794 }
7795 impl ::std::convert::From<&ITextStory> for ::windows::runtime::IUnknown {
from(value: &ITextStory) -> Self7796     fn from(value: &ITextStory) -> Self {
7797         ::std::convert::From::from(::std::clone::Clone::clone(value))
7798     }
7799 }
7800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7801     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7802         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7803     }
7804 }
7805 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7806     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7807         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7808     }
7809 }
7810 #[repr(C)]
7811 #[doc(hidden)]
7812 pub struct ITextStory_abi(
7813     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7814     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
7818     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdisplay: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7819     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT,
7822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT,
7823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7824     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7825     #[cfg(not(feature = "Win32_Foundation"))] usize,
7826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7827     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT,
7828     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flags: i32, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7829     #[cfg(not(feature = "Win32_Foundation"))] usize,
7830 );
7831 #[repr(transparent)]
7832 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7833 pub struct ITextStoryRanges(::windows::runtime::IUnknown);
7834 impl ITextStoryRanges {
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7835     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7836         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7837         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7838     }
Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange>7839     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange> {
7840         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7841         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextRange>(result__)
7842     }
GetCount(&self) -> ::windows::runtime::Result<i32>7843     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
7844         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7845         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7846     }
7847 }
7848 unsafe impl ::windows::runtime::Interface for ITextStoryRanges {
7849     type Vtable = ITextStoryRanges_abi;
7850     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694149, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]);
7851 }
7852 impl ::std::convert::From<ITextStoryRanges> for ::windows::runtime::IUnknown {
from(value: ITextStoryRanges) -> Self7853     fn from(value: ITextStoryRanges) -> Self {
7854         unsafe { ::std::mem::transmute(value) }
7855     }
7856 }
7857 impl ::std::convert::From<&ITextStoryRanges> for ::windows::runtime::IUnknown {
from(value: &ITextStoryRanges) -> Self7858     fn from(value: &ITextStoryRanges) -> Self {
7859         ::std::convert::From::from(::std::clone::Clone::clone(value))
7860     }
7861 }
7862 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoryRanges {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7863     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7864         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7865     }
7866 }
7867 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoryRanges {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7868     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7869         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7870     }
7871 }
7872 #[cfg(feature = "Win32_System_Ole_Automation")]
7873 impl ::std::convert::From<ITextStoryRanges> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextStoryRanges) -> Self7874     fn from(value: ITextStoryRanges) -> Self {
7875         unsafe { ::std::mem::transmute(value) }
7876     }
7877 }
7878 #[cfg(feature = "Win32_System_Ole_Automation")]
7879 impl ::std::convert::From<&ITextStoryRanges> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextStoryRanges) -> Self7880     fn from(value: &ITextStoryRanges) -> Self {
7881         ::std::convert::From::from(::std::clone::Clone::clone(value))
7882     }
7883 }
7884 #[cfg(feature = "Win32_System_Ole_Automation")]
7885 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextStoryRanges {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>7886     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
7887         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
7888     }
7889 }
7890 #[cfg(feature = "Win32_System_Ole_Automation")]
7891 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextStoryRanges {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>7892     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
7893         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7894     }
7895 }
7896 #[repr(C)]
7897 #[doc(hidden)]
7898 pub struct ITextStoryRanges_abi(
7899     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7900     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7901     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7902     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7903     #[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,
7904     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7905     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
7906     #[cfg(not(feature = "Win32_Foundation"))] usize,
7907     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7908     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7909     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7910     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunkenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7911     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7912     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
7913 );
7914 #[repr(transparent)]
7915 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7916 pub struct ITextStoryRanges2(::windows::runtime::IUnknown);
7917 impl ITextStoryRanges2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>7918     pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
7919         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7920         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7921     }
7922     #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>7923     pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> {
7924         let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7925         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__)
7926     }
7927     #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>7928     pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
7929         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
7930     }
7931     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>7932     pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
7933         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
7934     }
_NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7935     pub unsafe fn _NewEnum(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7936         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7937         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7938     }
Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange>7939     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange> {
7940         let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7941         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextRange>(result__)
7942     }
GetCount(&self) -> ::windows::runtime::Result<i32>7943     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
7944         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7945         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
7946     }
Item2(&self, index: i32) -> ::windows::runtime::Result<ITextRange2>7947     pub unsafe fn Item2(&self, index: i32) -> ::windows::runtime::Result<ITextRange2> {
7948         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7949         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextRange2>(result__)
7950     }
7951 }
7952 unsafe impl ::windows::runtime::Interface for ITextStoryRanges2 {
7953     type Vtable = ITextStoryRanges2_abi;
7954     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102693, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
7955 }
7956 impl ::std::convert::From<ITextStoryRanges2> for ::windows::runtime::IUnknown {
from(value: ITextStoryRanges2) -> Self7957     fn from(value: ITextStoryRanges2) -> Self {
7958         unsafe { ::std::mem::transmute(value) }
7959     }
7960 }
7961 impl ::std::convert::From<&ITextStoryRanges2> for ::windows::runtime::IUnknown {
from(value: &ITextStoryRanges2) -> Self7962     fn from(value: &ITextStoryRanges2) -> Self {
7963         ::std::convert::From::from(::std::clone::Clone::clone(value))
7964     }
7965 }
7966 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7967     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7968         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7969     }
7970 }
7971 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7972     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7973         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7974     }
7975 }
7976 impl ::std::convert::From<ITextStoryRanges2> for ITextStoryRanges {
from(value: ITextStoryRanges2) -> Self7977     fn from(value: ITextStoryRanges2) -> Self {
7978         unsafe { ::std::mem::transmute(value) }
7979     }
7980 }
7981 impl ::std::convert::From<&ITextStoryRanges2> for ITextStoryRanges {
from(value: &ITextStoryRanges2) -> Self7982     fn from(value: &ITextStoryRanges2) -> Self {
7983         ::std::convert::From::from(::std::clone::Clone::clone(value))
7984     }
7985 }
7986 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoryRanges> for ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoryRanges>7987     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoryRanges> {
7988         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoryRanges>::into(self))
7989     }
7990 }
7991 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoryRanges> for &ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoryRanges>7992     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoryRanges> {
7993         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoryRanges>::into(::std::clone::Clone::clone(self)))
7994     }
7995 }
7996 #[cfg(feature = "Win32_System_Ole_Automation")]
7997 impl ::std::convert::From<ITextStoryRanges2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextStoryRanges2) -> Self7998     fn from(value: ITextStoryRanges2) -> Self {
7999         unsafe { ::std::mem::transmute(value) }
8000     }
8001 }
8002 #[cfg(feature = "Win32_System_Ole_Automation")]
8003 impl ::std::convert::From<&ITextStoryRanges2> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextStoryRanges2) -> Self8004     fn from(value: &ITextStoryRanges2) -> Self {
8005         ::std::convert::From::from(::std::clone::Clone::clone(value))
8006     }
8007 }
8008 #[cfg(feature = "Win32_System_Ole_Automation")]
8009 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>8010     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
8011         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
8012     }
8013 }
8014 #[cfg(feature = "Win32_System_Ole_Automation")]
8015 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextStoryRanges2 {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>8016     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
8017         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
8018     }
8019 }
8020 #[repr(C)]
8021 #[doc(hidden)]
8022 pub struct ITextStoryRanges2_abi(
8023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
8027     #[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,
8028     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
8029     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
8030     #[cfg(not(feature = "Win32_Foundation"))] usize,
8031     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
8032     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
8033     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8034     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunkenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8035     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8036     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
8037     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8038 );
8039 #[repr(transparent)]
8040 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8041 pub struct ITextStrings(::windows::runtime::IUnknown);
8042 impl ITextStrings {
Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange2>8043     pub unsafe fn Item(&self, index: i32) -> ::windows::runtime::Result<ITextRange2> {
8044         let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8045         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextRange2>(result__)
8046     }
GetCount(&self) -> ::windows::runtime::Result<i32>8047     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> {
8048         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8049         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
8050     }
8051     #[cfg(feature = "Win32_Foundation")]
Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>8052     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
8053         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
8054     }
Append<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, istring: i32) -> ::windows::runtime::Result<()>8055     pub unsafe fn Append<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0, istring: i32) -> ::windows::runtime::Result<()> {
8056         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(istring)).ok()
8057     }
Cat2(&self, istring: i32) -> ::windows::runtime::Result<()>8058     pub unsafe fn Cat2(&self, istring: i32) -> ::windows::runtime::Result<()> {
8059         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring)).ok()
8060     }
8061     #[cfg(feature = "Win32_Foundation")]
CatTop2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>8062     pub unsafe fn CatTop2<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
8063         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
8064     }
DeleteRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()>8065     pub unsafe fn DeleteRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
8066         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
8067     }
EncodeFunction<'a, Param8: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Param8) -> ::windows::runtime::Result<()>8068     pub unsafe fn EncodeFunction<'a, Param8: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: Param8) -> ::windows::runtime::Result<()> {
8069         (::windows::runtime::Interface::vtable(self).14)(
8070             ::std::mem::transmute_copy(self),
8071             ::std::mem::transmute(r#type),
8072             ::std::mem::transmute(align),
8073             ::std::mem::transmute(char),
8074             ::std::mem::transmute(char1),
8075             ::std::mem::transmute(char2),
8076             ::std::mem::transmute(count),
8077             ::std::mem::transmute(texstyle),
8078             ::std::mem::transmute(ccol),
8079             prange.into_param().abi(),
8080         )
8081         .ok()
8082     }
GetCch(&self, istring: i32) -> ::windows::runtime::Result<i32>8083     pub unsafe fn GetCch(&self, istring: i32) -> ::windows::runtime::Result<i32> {
8084         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8085         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring), &mut result__).from_abi::<i32>(result__)
8086     }
InsertNullStr(&self, istring: i32) -> ::windows::runtime::Result<()>8087     pub unsafe fn InsertNullStr(&self, istring: i32) -> ::windows::runtime::Result<()> {
8088         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring)).ok()
8089     }
MoveBoundary(&self, istring: i32, cch: i32) -> ::windows::runtime::Result<()>8090     pub unsafe fn MoveBoundary(&self, istring: i32, cch: i32) -> ::windows::runtime::Result<()> {
8091         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring), ::std::mem::transmute(cch)).ok()
8092     }
8093     #[cfg(feature = "Win32_Foundation")]
PrefixTop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>8094     pub unsafe fn PrefixTop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> {
8095         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok()
8096     }
Remove(&self, istring: i32, cstring: i32) -> ::windows::runtime::Result<()>8097     pub unsafe fn Remove(&self, istring: i32, cstring: i32) -> ::windows::runtime::Result<()> {
8098         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring), ::std::mem::transmute(cstring)).ok()
8099     }
SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>, Param1: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, pranged: Param0, pranges: Param1) -> ::windows::runtime::Result<()>8100     pub unsafe fn SetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, ITextRange2>, Param1: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, pranged: Param0, pranges: Param1) -> ::windows::runtime::Result<()> {
8101         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), pranged.into_param().abi(), pranges.into_param().abi()).ok()
8102     }
SetOpCp(&self, istring: i32, cp: i32) -> ::windows::runtime::Result<()>8103     pub unsafe fn SetOpCp(&self, istring: i32, cp: i32) -> ::windows::runtime::Result<()> {
8104         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(istring), ::std::mem::transmute(cp)).ok()
8105     }
8106     #[cfg(feature = "Win32_Foundation")]
SuffixTop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, bstr: Param0, prange: Param1) -> ::windows::runtime::Result<()>8107     pub unsafe fn SuffixTop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, ITextRange2>>(&self, bstr: Param0, prange: Param1) -> ::windows::runtime::Result<()> {
8108         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), bstr.into_param().abi(), prange.into_param().abi()).ok()
8109     }
Swap(&self) -> ::windows::runtime::Result<()>8110     pub unsafe fn Swap(&self) -> ::windows::runtime::Result<()> {
8111         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self)).ok()
8112     }
8113 }
8114 unsafe impl ::windows::runtime::Interface for ITextStrings {
8115     type Vtable = ITextStrings_abi;
8116     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102695, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]);
8117 }
8118 impl ::std::convert::From<ITextStrings> for ::windows::runtime::IUnknown {
from(value: ITextStrings) -> Self8119     fn from(value: ITextStrings) -> Self {
8120         unsafe { ::std::mem::transmute(value) }
8121     }
8122 }
8123 impl ::std::convert::From<&ITextStrings> for ::windows::runtime::IUnknown {
from(value: &ITextStrings) -> Self8124     fn from(value: &ITextStrings) -> Self {
8125         ::std::convert::From::from(::std::clone::Clone::clone(value))
8126     }
8127 }
8128 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStrings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8129     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8130         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8131     }
8132 }
8133 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStrings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8134     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8135         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8136     }
8137 }
8138 #[cfg(feature = "Win32_System_Ole_Automation")]
8139 impl ::std::convert::From<ITextStrings> for super::super::super::System::Ole::Automation::IDispatch {
from(value: ITextStrings) -> Self8140     fn from(value: ITextStrings) -> Self {
8141         unsafe { ::std::mem::transmute(value) }
8142     }
8143 }
8144 #[cfg(feature = "Win32_System_Ole_Automation")]
8145 impl ::std::convert::From<&ITextStrings> for super::super::super::System::Ole::Automation::IDispatch {
from(value: &ITextStrings) -> Self8146     fn from(value: &ITextStrings) -> Self {
8147         ::std::convert::From::from(::std::clone::Clone::clone(value))
8148     }
8149 }
8150 #[cfg(feature = "Win32_System_Ole_Automation")]
8151 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextStrings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>8152     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
8153         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self))
8154     }
8155 }
8156 #[cfg(feature = "Win32_System_Ole_Automation")]
8157 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextStrings {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>8158     fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> {
8159         ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
8160     }
8161 }
8162 #[repr(C)]
8163 #[doc(hidden)]
8164 pub struct ITextStrings_abi(
8165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
8169     #[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,
8170     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
8171     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
8172     #[cfg(not(feature = "Win32_Foundation"))] usize,
8173     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
8174     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
8175     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT,
8178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
8179     #[cfg(not(feature = "Win32_Foundation"))] usize,
8180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, istring: i32) -> ::windows::runtime::HRESULT,
8181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32) -> ::windows::runtime::HRESULT,
8182     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
8183     #[cfg(not(feature = "Win32_Foundation"))] usize,
8184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, align: i32, char: i32, char1: i32, char2: i32, count: i32, texstyle: i32, ccol: i32, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32, pcch: *mut i32) -> ::windows::runtime::HRESULT,
8187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32) -> ::windows::runtime::HRESULT,
8188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32, cch: i32) -> ::windows::runtime::HRESULT,
8189     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
8190     #[cfg(not(feature = "Win32_Foundation"))] usize,
8191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32, cstring: i32) -> ::windows::runtime::HRESULT,
8192     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pranged: ::windows::runtime::RawPtr, pranges: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, istring: i32, cp: i32) -> ::windows::runtime::HRESULT,
8194     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8195     #[cfg(not(feature = "Win32_Foundation"))] usize,
8196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8197 );
8198 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8199 #[repr(transparent)]
8200 pub struct KHYPH(pub i32);
8201 pub const khyphNil: KHYPH = KHYPH(0i32);
8202 pub const khyphNormal: KHYPH = KHYPH(1i32);
8203 pub const khyphAddBefore: KHYPH = KHYPH(2i32);
8204 pub const khyphChangeBefore: KHYPH = KHYPH(3i32);
8205 pub const khyphDeleteBefore: KHYPH = KHYPH(4i32);
8206 pub const khyphChangeAfter: KHYPH = KHYPH(5i32);
8207 pub const khyphDelAndChange: KHYPH = KHYPH(6i32);
8208 impl ::std::convert::From<i32> for KHYPH {
from(value: i32) -> Self8209     fn from(value: i32) -> Self {
8210         Self(value)
8211     }
8212 }
8213 unsafe impl ::windows::runtime::Abi for KHYPH {
8214     type Abi = Self;
8215     type DefaultType = Self;
8216 }
8217 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8218 #[repr(transparent)]
8219 pub struct MANCODE(pub i32);
8220 pub const MBOLD: MANCODE = MANCODE(16i32);
8221 pub const MITAL: MANCODE = MANCODE(32i32);
8222 pub const MGREEK: MANCODE = MANCODE(64i32);
8223 pub const MROMN: MANCODE = MANCODE(0i32);
8224 pub const MSCRP: MANCODE = MANCODE(1i32);
8225 pub const MFRAK: MANCODE = MANCODE(2i32);
8226 pub const MOPEN: MANCODE = MANCODE(3i32);
8227 pub const MSANS: MANCODE = MANCODE(4i32);
8228 pub const MMONO: MANCODE = MANCODE(5i32);
8229 pub const MMATH: MANCODE = MANCODE(6i32);
8230 pub const MISOL: MANCODE = MANCODE(7i32);
8231 pub const MINIT: MANCODE = MANCODE(8i32);
8232 pub const MTAIL: MANCODE = MANCODE(9i32);
8233 pub const MSTRCH: MANCODE = MANCODE(10i32);
8234 pub const MLOOP: MANCODE = MANCODE(11i32);
8235 pub const MOPENA: MANCODE = MANCODE(12i32);
8236 impl ::std::convert::From<i32> for MANCODE {
from(value: i32) -> Self8237     fn from(value: i32) -> Self {
8238         Self(value)
8239     }
8240 }
8241 unsafe impl ::windows::runtime::Abi for MANCODE {
8242     type Abi = Self;
8243     type DefaultType = Self;
8244 }
8245 pub const MAX_TABLE_CELLS: u32 = 63u32;
8246 pub const MAX_TAB_STOPS: u32 = 32u32;
8247 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8248 #[repr(C, packed(4))]
8249 #[cfg(feature = "Win32_Foundation")]
8250 pub struct MSGFILTER {
8251     pub nmhdr: super::NMHDR,
8252     pub msg: u32,
8253     pub wParam: super::super::super::Foundation::WPARAM,
8254     pub lParam: super::super::super::Foundation::LPARAM,
8255 }
8256 #[cfg(feature = "Win32_Foundation")]
8257 impl MSGFILTER {}
8258 #[cfg(feature = "Win32_Foundation")]
8259 impl ::std::default::Default for MSGFILTER {
default() -> Self8260     fn default() -> Self {
8261         unsafe { ::std::mem::zeroed() }
8262     }
8263 }
8264 #[cfg(feature = "Win32_Foundation")]
8265 impl ::std::cmp::PartialEq for MSGFILTER {
eq(&self, _other: &Self) -> bool8266     fn eq(&self, _other: &Self) -> bool {
8267         unimplemented!()
8268     }
8269 }
8270 #[cfg(feature = "Win32_Foundation")]
8271 impl ::std::cmp::Eq for MSGFILTER {}
8272 #[cfg(feature = "Win32_Foundation")]
8273 unsafe impl ::windows::runtime::Abi for MSGFILTER {
8274     type Abi = Self;
8275     type DefaultType = Self;
8276 }
8277 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8278 #[repr(C, packed(4))]
8279 #[cfg(feature = "Win32_Foundation")]
8280 pub struct OBJECTPOSITIONS {
8281     pub nmhdr: super::NMHDR,
8282     pub cObjectCount: i32,
8283     pub pcpPositions: *mut i32,
8284 }
8285 #[cfg(feature = "Win32_Foundation")]
8286 impl OBJECTPOSITIONS {}
8287 #[cfg(feature = "Win32_Foundation")]
8288 impl ::std::default::Default for OBJECTPOSITIONS {
default() -> Self8289     fn default() -> Self {
8290         unsafe { ::std::mem::zeroed() }
8291     }
8292 }
8293 #[cfg(feature = "Win32_Foundation")]
8294 impl ::std::cmp::PartialEq for OBJECTPOSITIONS {
eq(&self, _other: &Self) -> bool8295     fn eq(&self, _other: &Self) -> bool {
8296         unimplemented!()
8297     }
8298 }
8299 #[cfg(feature = "Win32_Foundation")]
8300 impl ::std::cmp::Eq for OBJECTPOSITIONS {}
8301 #[cfg(feature = "Win32_Foundation")]
8302 unsafe impl ::windows::runtime::Abi for OBJECTPOSITIONS {
8303     type Abi = Self;
8304     type DefaultType = Self;
8305 }
8306 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8307 #[repr(transparent)]
8308 pub struct OBJECTTYPE(pub i32);
8309 pub const tomSimpleText: OBJECTTYPE = OBJECTTYPE(0i32);
8310 pub const tomRuby: OBJECTTYPE = OBJECTTYPE(1i32);
8311 pub const tomHorzVert: OBJECTTYPE = OBJECTTYPE(2i32);
8312 pub const tomWarichu: OBJECTTYPE = OBJECTTYPE(3i32);
8313 pub const tomEq: OBJECTTYPE = OBJECTTYPE(9i32);
8314 pub const tomMath: OBJECTTYPE = OBJECTTYPE(10i32);
8315 pub const tomAccent: OBJECTTYPE = OBJECTTYPE(10i32);
8316 pub const tomBox: OBJECTTYPE = OBJECTTYPE(11i32);
8317 pub const tomBoxedFormula: OBJECTTYPE = OBJECTTYPE(12i32);
8318 pub const tomBrackets: OBJECTTYPE = OBJECTTYPE(13i32);
8319 pub const tomBracketsWithSeps: OBJECTTYPE = OBJECTTYPE(14i32);
8320 pub const tomEquationArray: OBJECTTYPE = OBJECTTYPE(15i32);
8321 pub const tomFraction: OBJECTTYPE = OBJECTTYPE(16i32);
8322 pub const tomFunctionApply: OBJECTTYPE = OBJECTTYPE(17i32);
8323 pub const tomLeftSubSup: OBJECTTYPE = OBJECTTYPE(18i32);
8324 pub const tomLowerLimit: OBJECTTYPE = OBJECTTYPE(19i32);
8325 pub const tomMatrix: OBJECTTYPE = OBJECTTYPE(20i32);
8326 pub const tomNary: OBJECTTYPE = OBJECTTYPE(21i32);
8327 pub const tomOpChar: OBJECTTYPE = OBJECTTYPE(22i32);
8328 pub const tomOverbar: OBJECTTYPE = OBJECTTYPE(23i32);
8329 pub const tomPhantom: OBJECTTYPE = OBJECTTYPE(24i32);
8330 pub const tomRadical: OBJECTTYPE = OBJECTTYPE(25i32);
8331 pub const tomSlashedFraction: OBJECTTYPE = OBJECTTYPE(26i32);
8332 pub const tomStack: OBJECTTYPE = OBJECTTYPE(27i32);
8333 pub const tomStretchStack: OBJECTTYPE = OBJECTTYPE(28i32);
8334 pub const tomSubscript: OBJECTTYPE = OBJECTTYPE(29i32);
8335 pub const tomSubSup: OBJECTTYPE = OBJECTTYPE(30i32);
8336 pub const tomSuperscript: OBJECTTYPE = OBJECTTYPE(31i32);
8337 pub const tomUnderbar: OBJECTTYPE = OBJECTTYPE(32i32);
8338 pub const tomUpperLimit: OBJECTTYPE = OBJECTTYPE(33i32);
8339 pub const tomObjectMax: OBJECTTYPE = OBJECTTYPE(33i32);
8340 impl ::std::convert::From<i32> for OBJECTTYPE {
from(value: i32) -> Self8341     fn from(value: i32) -> Self {
8342         Self(value)
8343     }
8344 }
8345 unsafe impl ::windows::runtime::Abi for OBJECTTYPE {
8346     type Abi = Self;
8347     type DefaultType = Self;
8348 }
8349 pub const OLEOP_DOVERB: u32 = 1u32;
8350 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8351 #[repr(C)]
8352 pub struct PARAFORMAT {
8353     pub cbSize: u32,
8354     pub dwMask: PARAFORMAT_MASK,
8355     pub wNumbering: u16,
8356     pub Anonymous: PARAFORMAT_0,
8357     pub dxStartIndent: i32,
8358     pub dxRightIndent: i32,
8359     pub dxOffset: i32,
8360     pub wAlignment: PARAFORMAT_ALIGNMENT,
8361     pub cTabCount: i16,
8362     pub rgxTabs: [u32; 32],
8363 }
8364 impl PARAFORMAT {}
8365 impl ::std::default::Default for PARAFORMAT {
default() -> Self8366     fn default() -> Self {
8367         unsafe { ::std::mem::zeroed() }
8368     }
8369 }
8370 impl ::std::cmp::PartialEq for PARAFORMAT {
eq(&self, _other: &Self) -> bool8371     fn eq(&self, _other: &Self) -> bool {
8372         unimplemented!()
8373     }
8374 }
8375 impl ::std::cmp::Eq for PARAFORMAT {}
8376 unsafe impl ::windows::runtime::Abi for PARAFORMAT {
8377     type Abi = Self;
8378     type DefaultType = Self;
8379 }
8380 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8381 #[repr(C)]
8382 pub union PARAFORMAT_0 {
8383     pub wReserved: u16,
8384     pub wEffects: u16,
8385 }
8386 impl PARAFORMAT_0 {}
8387 impl ::std::default::Default for PARAFORMAT_0 {
default() -> Self8388     fn default() -> Self {
8389         unsafe { ::std::mem::zeroed() }
8390     }
8391 }
8392 impl ::std::cmp::PartialEq for PARAFORMAT_0 {
eq(&self, _other: &Self) -> bool8393     fn eq(&self, _other: &Self) -> bool {
8394         unimplemented!()
8395     }
8396 }
8397 impl ::std::cmp::Eq for PARAFORMAT_0 {}
8398 unsafe impl ::windows::runtime::Abi for PARAFORMAT_0 {
8399     type Abi = Self;
8400     type DefaultType = Self;
8401 }
8402 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8403 #[repr(C)]
8404 pub struct PARAFORMAT2 {
8405     pub __AnonymousBase_richedit_L1149_C22: PARAFORMAT,
8406     pub dySpaceBefore: i32,
8407     pub dySpaceAfter: i32,
8408     pub dyLineSpacing: i32,
8409     pub sStyle: i16,
8410     pub bLineSpacingRule: u8,
8411     pub bOutlineLevel: u8,
8412     pub wShadingWeight: u16,
8413     pub wShadingStyle: PARAFORMAT_SHADING_STYLE,
8414     pub wNumberingStart: u16,
8415     pub wNumberingStyle: PARAFORMAT_NUMBERING_STYLE,
8416     pub wNumberingTab: u16,
8417     pub wBorderSpace: u16,
8418     pub wBorderWidth: u16,
8419     pub wBorders: PARAFORMAT_BORDERS,
8420 }
8421 impl PARAFORMAT2 {}
8422 impl ::std::default::Default for PARAFORMAT2 {
default() -> Self8423     fn default() -> Self {
8424         unsafe { ::std::mem::zeroed() }
8425     }
8426 }
8427 impl ::std::cmp::PartialEq for PARAFORMAT2 {
eq(&self, _other: &Self) -> bool8428     fn eq(&self, _other: &Self) -> bool {
8429         unimplemented!()
8430     }
8431 }
8432 impl ::std::cmp::Eq for PARAFORMAT2 {}
8433 unsafe impl ::windows::runtime::Abi for PARAFORMAT2 {
8434     type Abi = Self;
8435     type DefaultType = Self;
8436 }
8437 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8438 #[repr(transparent)]
8439 pub struct PARAFORMAT_ALIGNMENT(pub u16);
8440 pub const PFA_CENTER: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(3u16);
8441 pub const PFA_LEFT: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(1u16);
8442 pub const PFA_RIGHT: PARAFORMAT_ALIGNMENT = PARAFORMAT_ALIGNMENT(2u16);
8443 impl ::std::convert::From<u16> for PARAFORMAT_ALIGNMENT {
from(value: u16) -> Self8444     fn from(value: u16) -> Self {
8445         Self(value)
8446     }
8447 }
8448 unsafe impl ::windows::runtime::Abi for PARAFORMAT_ALIGNMENT {
8449     type Abi = Self;
8450     type DefaultType = Self;
8451 }
8452 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8453 #[repr(transparent)]
8454 pub struct PARAFORMAT_BORDERS(pub u16);
8455 pub const PARAFORMAT_BORDERS_LEFT: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(1u16);
8456 pub const PARAFORMAT_BORDERS_RIGHT: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(2u16);
8457 pub const PARAFORMAT_BORDERS_TOP: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(4u16);
8458 pub const PARAFORMAT_BORDERS_BOTTOM: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(8u16);
8459 pub const PARAFORMAT_BORDERS_INSIDE: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(16u16);
8460 pub const PARAFORMAT_BORDERS_OUTSIDE: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(32u16);
8461 pub const PARAFORMAT_BORDERS_AUTOCOLOR: PARAFORMAT_BORDERS = PARAFORMAT_BORDERS(64u16);
8462 impl ::std::convert::From<u16> for PARAFORMAT_BORDERS {
from(value: u16) -> Self8463     fn from(value: u16) -> Self {
8464         Self(value)
8465     }
8466 }
8467 unsafe impl ::windows::runtime::Abi for PARAFORMAT_BORDERS {
8468     type Abi = Self;
8469     type DefaultType = Self;
8470 }
8471 impl ::std::ops::BitOr for PARAFORMAT_BORDERS {
8472     type Output = Self;
bitor(self, rhs: Self) -> Self8473     fn bitor(self, rhs: Self) -> Self {
8474         Self(self.0 | rhs.0)
8475     }
8476 }
8477 impl ::std::ops::BitAnd for PARAFORMAT_BORDERS {
8478     type Output = Self;
bitand(self, rhs: Self) -> Self8479     fn bitand(self, rhs: Self) -> Self {
8480         Self(self.0 & rhs.0)
8481     }
8482 }
8483 impl ::std::ops::BitOrAssign for PARAFORMAT_BORDERS {
bitor_assign(&mut self, rhs: Self)8484     fn bitor_assign(&mut self, rhs: Self) {
8485         self.0.bitor_assign(rhs.0)
8486     }
8487 }
8488 impl ::std::ops::BitAndAssign for PARAFORMAT_BORDERS {
bitand_assign(&mut self, rhs: Self)8489     fn bitand_assign(&mut self, rhs: Self) {
8490         self.0.bitand_assign(rhs.0)
8491     }
8492 }
8493 impl ::std::ops::Not for PARAFORMAT_BORDERS {
8494     type Output = Self;
not(self) -> Self8495     fn not(self) -> Self {
8496         Self(self.0.not())
8497     }
8498 }
8499 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8500 #[repr(transparent)]
8501 pub struct PARAFORMAT_MASK(pub u32);
8502 pub const PFM_ALIGNMENT: PARAFORMAT_MASK = PARAFORMAT_MASK(8u32);
8503 pub const PFM_NUMBERING: PARAFORMAT_MASK = PARAFORMAT_MASK(32u32);
8504 pub const PFM_OFFSET: PARAFORMAT_MASK = PARAFORMAT_MASK(4u32);
8505 pub const PFM_OFFSETINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(2147483648u32);
8506 pub const PFM_RIGHTINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(2u32);
8507 pub const PFM_RTLPARA: PARAFORMAT_MASK = PARAFORMAT_MASK(65536u32);
8508 pub const PFM_STARTINDENT: PARAFORMAT_MASK = PARAFORMAT_MASK(1u32);
8509 pub const PFM_TABSTOPS: PARAFORMAT_MASK = PARAFORMAT_MASK(16u32);
8510 impl ::std::convert::From<u32> for PARAFORMAT_MASK {
from(value: u32) -> Self8511     fn from(value: u32) -> Self {
8512         Self(value)
8513     }
8514 }
8515 unsafe impl ::windows::runtime::Abi for PARAFORMAT_MASK {
8516     type Abi = Self;
8517     type DefaultType = Self;
8518 }
8519 impl ::std::ops::BitOr for PARAFORMAT_MASK {
8520     type Output = Self;
bitor(self, rhs: Self) -> Self8521     fn bitor(self, rhs: Self) -> Self {
8522         Self(self.0 | rhs.0)
8523     }
8524 }
8525 impl ::std::ops::BitAnd for PARAFORMAT_MASK {
8526     type Output = Self;
bitand(self, rhs: Self) -> Self8527     fn bitand(self, rhs: Self) -> Self {
8528         Self(self.0 & rhs.0)
8529     }
8530 }
8531 impl ::std::ops::BitOrAssign for PARAFORMAT_MASK {
bitor_assign(&mut self, rhs: Self)8532     fn bitor_assign(&mut self, rhs: Self) {
8533         self.0.bitor_assign(rhs.0)
8534     }
8535 }
8536 impl ::std::ops::BitAndAssign for PARAFORMAT_MASK {
bitand_assign(&mut self, rhs: Self)8537     fn bitand_assign(&mut self, rhs: Self) {
8538         self.0.bitand_assign(rhs.0)
8539     }
8540 }
8541 impl ::std::ops::Not for PARAFORMAT_MASK {
8542     type Output = Self;
not(self) -> Self8543     fn not(self) -> Self {
8544         Self(self.0.not())
8545     }
8546 }
8547 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8548 #[repr(transparent)]
8549 pub struct PARAFORMAT_NUMBERING_STYLE(pub u16);
8550 pub const PFNS_PAREN: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(0u16);
8551 pub const PFNS_PARENS: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(256u16);
8552 pub const PFNS_PERIOD: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(512u16);
8553 pub const PFNS_PLAIN: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(768u16);
8554 pub const PFNS_NONUMBER: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(1024u16);
8555 pub const PFNS_NEWNUMBER: PARAFORMAT_NUMBERING_STYLE = PARAFORMAT_NUMBERING_STYLE(32768u16);
8556 impl ::std::convert::From<u16> for PARAFORMAT_NUMBERING_STYLE {
from(value: u16) -> Self8557     fn from(value: u16) -> Self {
8558         Self(value)
8559     }
8560 }
8561 unsafe impl ::windows::runtime::Abi for PARAFORMAT_NUMBERING_STYLE {
8562     type Abi = Self;
8563     type DefaultType = Self;
8564 }
8565 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8566 #[repr(transparent)]
8567 pub struct PARAFORMAT_SHADING_STYLE(pub u16);
8568 pub const PARAFORMAT_SHADING_STYLE_NONE: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(0u16);
8569 pub const PARAFORMAT_SHADING_STYLE_DARK_HORIZ: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(1u16);
8570 pub const PARAFORMAT_SHADING_STYLE_DARK_VERT: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(2u16);
8571 pub const PARAFORMAT_SHADING_STYLE_DARK_DOWN_DIAG: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(3u16);
8572 pub const PARAFORMAT_SHADING_STYLE_DARK_UP_DIAG: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(4u16);
8573 pub const PARAFORMAT_SHADING_STYLE_DARK_GRID: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(5u16);
8574 pub const PARAFORMAT_SHADING_STYLE_DARK_TRELLIS: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(6u16);
8575 pub const PARAFORMAT_SHADING_STYLE_LIGHT_HORZ: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(7u16);
8576 pub const PARAFORMAT_SHADING_STYLE_LIGHT_VERT: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(8u16);
8577 pub const PARAFORMAT_SHADING_STYLE_LIGHT_DOWN_DIAG: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(9u16);
8578 pub const PARAFORMAT_SHADING_STYLE_LIGHT_UP_DIAG: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(10u16);
8579 pub const PARAFORMAT_SHADING_STYLE_LIGHT_GRID: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(11u16);
8580 pub const PARAFORMAT_SHADING_STYLE_LIGHT_TRELLIS: PARAFORMAT_SHADING_STYLE = PARAFORMAT_SHADING_STYLE(12u16);
8581 impl ::std::convert::From<u16> for PARAFORMAT_SHADING_STYLE {
from(value: u16) -> Self8582     fn from(value: u16) -> Self {
8583         Self(value)
8584     }
8585 }
8586 unsafe impl ::windows::runtime::Abi for PARAFORMAT_SHADING_STYLE {
8587     type Abi = Self;
8588     type DefaultType = Self;
8589 }
8590 pub const PC_DELIMITER: u32 = 4u32;
8591 pub const PC_FOLLOWING: u32 = 1u32;
8592 pub const PC_LEADING: u32 = 2u32;
8593 pub const PC_OVERFLOW: u32 = 3u32;
8594 pub type PCreateTextServices = unsafe extern "system" fn(punkouter: ::windows::runtime::RawPtr, pitexthost: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
8595 pub const PFA_FULL_GLYPHS: u32 = 8u32;
8596 pub const PFA_FULL_INTERLETTER: u32 = 6u32;
8597 pub const PFA_FULL_INTERWORD: u32 = 4u32;
8598 pub const PFA_FULL_NEWSPAPER: u32 = 5u32;
8599 pub const PFA_FULL_SCALED: u32 = 7u32;
8600 pub const PFA_JUSTIFY: u32 = 4u32;
8601 pub const PFM_BORDER: u32 = 2048u32;
8602 pub const PFM_BOX: u32 = 67108864u32;
8603 pub const PFM_COLLAPSED: u32 = 16777216u32;
8604 pub const PFM_DONOTHYPHEN: u32 = 4194304u32;
8605 pub const PFM_KEEP: u32 = 131072u32;
8606 pub const PFM_KEEPNEXT: u32 = 262144u32;
8607 pub const PFM_LINESPACING: u32 = 256u32;
8608 pub const PFM_NOLINENUMBER: u32 = 1048576u32;
8609 pub const PFM_NOWIDOWCONTROL: u32 = 2097152u32;
8610 pub const PFM_NUMBERINGSTART: u32 = 32768u32;
8611 pub const PFM_NUMBERINGSTYLE: u32 = 8192u32;
8612 pub const PFM_NUMBERINGTAB: u32 = 16384u32;
8613 pub const PFM_OUTLINELEVEL: u32 = 33554432u32;
8614 pub const PFM_PAGEBREAKBEFORE: u32 = 524288u32;
8615 pub const PFM_RESERVED2: u32 = 134217728u32;
8616 pub const PFM_SHADING: u32 = 4096u32;
8617 pub const PFM_SIDEBYSIDE: u32 = 8388608u32;
8618 pub const PFM_SPACEAFTER: u32 = 128u32;
8619 pub const PFM_SPACEBEFORE: u32 = 64u32;
8620 pub const PFM_STYLE: u32 = 1024u32;
8621 pub const PFM_TABLE: u32 = 1073741824u32;
8622 pub const PFM_TABLEROWDELIMITER: u32 = 268435456u32;
8623 pub const PFM_TEXTWRAPPINGBREAK: u32 = 536870912u32;
8624 pub const PFN_ARABIC: u32 = 2u32;
8625 pub const PFN_BULLET: u32 = 1u32;
8626 pub const PFN_LCLETTER: u32 = 3u32;
8627 pub const PFN_LCROMAN: u32 = 5u32;
8628 pub const PFN_UCLETTER: u32 = 4u32;
8629 pub const PFN_UCROMAN: u32 = 6u32;
8630 pub type PShutdownTextServices = unsafe extern "system" fn(ptextservices: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
8631 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8632 #[repr(C, packed(4))]
8633 #[cfg(feature = "Win32_Foundation")]
8634 pub struct PUNCTUATION {
8635     pub iSize: u32,
8636     pub szPunctuation: super::super::super::Foundation::PSTR,
8637 }
8638 #[cfg(feature = "Win32_Foundation")]
8639 impl PUNCTUATION {}
8640 #[cfg(feature = "Win32_Foundation")]
8641 impl ::std::default::Default for PUNCTUATION {
default() -> Self8642     fn default() -> Self {
8643         unsafe { ::std::mem::zeroed() }
8644     }
8645 }
8646 #[cfg(feature = "Win32_Foundation")]
8647 impl ::std::cmp::PartialEq for PUNCTUATION {
eq(&self, _other: &Self) -> bool8648     fn eq(&self, _other: &Self) -> bool {
8649         unimplemented!()
8650     }
8651 }
8652 #[cfg(feature = "Win32_Foundation")]
8653 impl ::std::cmp::Eq for PUNCTUATION {}
8654 #[cfg(feature = "Win32_Foundation")]
8655 unsafe impl ::windows::runtime::Abi for PUNCTUATION {
8656     type Abi = Self;
8657     type DefaultType = Self;
8658 }
8659 pub const RECO_COPY: i32 = 2i32;
8660 pub const RECO_CUT: i32 = 3i32;
8661 pub const RECO_DRAG: i32 = 4i32;
8662 pub const RECO_DROP: i32 = 1i32;
8663 pub const RECO_PASTE: i32 = 0i32;
8664 #[derive(:: std :: clone :: Clone)]
8665 #[repr(C)]
8666 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8667 pub struct REOBJECT {
8668     pub cbStruct: u32,
8669     pub cp: i32,
8670     pub clsid: ::windows::runtime::GUID,
8671     pub poleobj: ::std::option::Option<super::super::super::System::Ole::IOleObject>,
8672     pub pstg: ::std::option::Option<super::super::super::System::Com::StructuredStorage::IStorage>,
8673     pub polesite: ::std::option::Option<super::super::super::System::Ole::IOleClientSite>,
8674     pub sizel: super::super::super::Foundation::SIZE,
8675     pub dvaspect: u32,
8676     pub dwFlags: REOBJECT_FLAGS,
8677     pub dwUser: u32,
8678 }
8679 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8680 impl REOBJECT {}
8681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8682 impl ::std::default::Default for REOBJECT {
default() -> Self8683     fn default() -> Self {
8684         unsafe { ::std::mem::zeroed() }
8685     }
8686 }
8687 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8688 impl ::std::fmt::Debug for REOBJECT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8689     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8690         fmt.debug_struct("REOBJECT")
8691             .field("cbStruct", &self.cbStruct)
8692             .field("cp", &self.cp)
8693             .field("clsid", &self.clsid)
8694             .field("poleobj", &self.poleobj)
8695             .field("pstg", &self.pstg)
8696             .field("polesite", &self.polesite)
8697             .field("sizel", &self.sizel)
8698             .field("dvaspect", &self.dvaspect)
8699             .field("dwFlags", &self.dwFlags)
8700             .field("dwUser", &self.dwUser)
8701             .finish()
8702     }
8703 }
8704 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8705 impl ::std::cmp::PartialEq for REOBJECT {
eq(&self, other: &Self) -> bool8706     fn eq(&self, other: &Self) -> bool {
8707         self.cbStruct == other.cbStruct && self.cp == other.cp && self.clsid == other.clsid && self.poleobj == other.poleobj && self.pstg == other.pstg && self.polesite == other.polesite && self.sizel == other.sizel && self.dvaspect == other.dvaspect && self.dwFlags == other.dwFlags && self.dwUser == other.dwUser
8708     }
8709 }
8710 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8711 impl ::std::cmp::Eq for REOBJECT {}
8712 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))]
8713 unsafe impl ::windows::runtime::Abi for REOBJECT {
8714     type Abi = ::std::mem::ManuallyDrop<Self>;
8715     type DefaultType = Self;
8716 }
8717 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8718 #[repr(transparent)]
8719 pub struct REOBJECT_FLAGS(pub u32);
8720 pub const REO_ALIGNTORIGHT: REOBJECT_FLAGS = REOBJECT_FLAGS(256u32);
8721 pub const REO_BELOWBASELINE: REOBJECT_FLAGS = REOBJECT_FLAGS(2u32);
8722 pub const REO_BLANK: REOBJECT_FLAGS = REOBJECT_FLAGS(16u32);
8723 pub const REO_CANROTATE: REOBJECT_FLAGS = REOBJECT_FLAGS(128u32);
8724 pub const REO_DONTNEEDPALETTE: REOBJECT_FLAGS = REOBJECT_FLAGS(32u32);
8725 pub const REO_DYNAMICSIZE: REOBJECT_FLAGS = REOBJECT_FLAGS(8u32);
8726 pub const REO_GETMETAFILE: REOBJECT_FLAGS = REOBJECT_FLAGS(4194304u32);
8727 pub const REO_HILITED: REOBJECT_FLAGS = REOBJECT_FLAGS(16777216u32);
8728 pub const REO_INPLACEACTIVE: REOBJECT_FLAGS = REOBJECT_FLAGS(33554432u32);
8729 pub const REO_INVERTEDSELECT: REOBJECT_FLAGS = REOBJECT_FLAGS(4u32);
8730 pub const REO_LINK: REOBJECT_FLAGS = REOBJECT_FLAGS(2147483648u32);
8731 pub const REO_LINKAVAILABLE: REOBJECT_FLAGS = REOBJECT_FLAGS(8388608u32);
8732 pub const REO_OPEN: REOBJECT_FLAGS = REOBJECT_FLAGS(67108864u32);
8733 pub const REO_OWNERDRAWSELECT: REOBJECT_FLAGS = REOBJECT_FLAGS(64u32);
8734 pub const REO_RESIZABLE: REOBJECT_FLAGS = REOBJECT_FLAGS(1u32);
8735 pub const REO_SELECTED: REOBJECT_FLAGS = REOBJECT_FLAGS(134217728u32);
8736 pub const REO_STATIC: REOBJECT_FLAGS = REOBJECT_FLAGS(1073741824u32);
8737 pub const REO_USEASBACKGROUND: REOBJECT_FLAGS = REOBJECT_FLAGS(1024u32);
8738 pub const REO_WRAPTEXTAROUND: REOBJECT_FLAGS = REOBJECT_FLAGS(512u32);
8739 impl ::std::convert::From<u32> for REOBJECT_FLAGS {
from(value: u32) -> Self8740     fn from(value: u32) -> Self {
8741         Self(value)
8742     }
8743 }
8744 unsafe impl ::windows::runtime::Abi for REOBJECT_FLAGS {
8745     type Abi = Self;
8746     type DefaultType = Self;
8747 }
8748 impl ::std::ops::BitOr for REOBJECT_FLAGS {
8749     type Output = Self;
bitor(self, rhs: Self) -> Self8750     fn bitor(self, rhs: Self) -> Self {
8751         Self(self.0 | rhs.0)
8752     }
8753 }
8754 impl ::std::ops::BitAnd for REOBJECT_FLAGS {
8755     type Output = Self;
bitand(self, rhs: Self) -> Self8756     fn bitand(self, rhs: Self) -> Self {
8757         Self(self.0 & rhs.0)
8758     }
8759 }
8760 impl ::std::ops::BitOrAssign for REOBJECT_FLAGS {
bitor_assign(&mut self, rhs: Self)8761     fn bitor_assign(&mut self, rhs: Self) {
8762         self.0.bitor_assign(rhs.0)
8763     }
8764 }
8765 impl ::std::ops::BitAndAssign for REOBJECT_FLAGS {
bitand_assign(&mut self, rhs: Self)8766     fn bitand_assign(&mut self, rhs: Self) {
8767         self.0.bitand_assign(rhs.0)
8768     }
8769 }
8770 impl ::std::ops::Not for REOBJECT_FLAGS {
8771     type Output = Self;
not(self) -> Self8772     fn not(self) -> Self {
8773         Self(self.0.not())
8774     }
8775 }
8776 pub const REO_NULL: i32 = 0i32;
8777 pub const REO_READWRITEMASK: i32 = 2047i32;
8778 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8779 #[repr(C, packed(4))]
8780 #[cfg(feature = "Win32_System_Com")]
8781 pub struct REPASTESPECIAL {
8782     pub dwAspect: super::super::super::System::Com::DVASPECT,
8783     pub dwParam: usize,
8784 }
8785 #[cfg(feature = "Win32_System_Com")]
8786 impl REPASTESPECIAL {}
8787 #[cfg(feature = "Win32_System_Com")]
8788 impl ::std::default::Default for REPASTESPECIAL {
default() -> Self8789     fn default() -> Self {
8790         unsafe { ::std::mem::zeroed() }
8791     }
8792 }
8793 #[cfg(feature = "Win32_System_Com")]
8794 impl ::std::cmp::PartialEq for REPASTESPECIAL {
eq(&self, _other: &Self) -> bool8795     fn eq(&self, _other: &Self) -> bool {
8796         unimplemented!()
8797     }
8798 }
8799 #[cfg(feature = "Win32_System_Com")]
8800 impl ::std::cmp::Eq for REPASTESPECIAL {}
8801 #[cfg(feature = "Win32_System_Com")]
8802 unsafe impl ::windows::runtime::Abi for REPASTESPECIAL {
8803     type Abi = Self;
8804     type DefaultType = Self;
8805 }
8806 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8807 #[repr(C, packed(4))]
8808 #[cfg(feature = "Win32_Foundation")]
8809 pub struct REQRESIZE {
8810     pub nmhdr: super::NMHDR,
8811     pub rc: super::super::super::Foundation::RECT,
8812 }
8813 #[cfg(feature = "Win32_Foundation")]
8814 impl REQRESIZE {}
8815 #[cfg(feature = "Win32_Foundation")]
8816 impl ::std::default::Default for REQRESIZE {
default() -> Self8817     fn default() -> Self {
8818         unsafe { ::std::mem::zeroed() }
8819     }
8820 }
8821 #[cfg(feature = "Win32_Foundation")]
8822 impl ::std::cmp::PartialEq for REQRESIZE {
eq(&self, _other: &Self) -> bool8823     fn eq(&self, _other: &Self) -> bool {
8824         unimplemented!()
8825     }
8826 }
8827 #[cfg(feature = "Win32_Foundation")]
8828 impl ::std::cmp::Eq for REQRESIZE {}
8829 #[cfg(feature = "Win32_Foundation")]
8830 unsafe impl ::windows::runtime::Abi for REQRESIZE {
8831     type Abi = Self;
8832     type DefaultType = Self;
8833 }
8834 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8835 impl ::std::clone::Clone for RICHEDIT_IMAGE_PARAMETERS {
clone(&self) -> Self8836     fn clone(&self) -> Self {
8837         unimplemented!()
8838     }
8839 }
8840 #[repr(C, packed(4))]
8841 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8842 pub struct RICHEDIT_IMAGE_PARAMETERS {
8843     pub xWidth: i32,
8844     pub yHeight: i32,
8845     pub Ascent: i32,
8846     pub Type: super::super::super::Graphics::Gdi::TEXT_ALIGN_OPTIONS,
8847     pub pwszAlternateText: super::super::super::Foundation::PWSTR,
8848     pub pIStream: ::std::option::Option<super::super::super::System::Com::IStream>,
8849 }
8850 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8851 impl RICHEDIT_IMAGE_PARAMETERS {}
8852 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8853 impl ::std::default::Default for RICHEDIT_IMAGE_PARAMETERS {
default() -> Self8854     fn default() -> Self {
8855         unsafe { ::std::mem::zeroed() }
8856     }
8857 }
8858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8859 impl ::std::cmp::PartialEq for RICHEDIT_IMAGE_PARAMETERS {
eq(&self, _other: &Self) -> bool8860     fn eq(&self, _other: &Self) -> bool {
8861         unimplemented!()
8862     }
8863 }
8864 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8865 impl ::std::cmp::Eq for RICHEDIT_IMAGE_PARAMETERS {}
8866 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
8867 unsafe impl ::windows::runtime::Abi for RICHEDIT_IMAGE_PARAMETERS {
8868     type Abi = ::std::mem::ManuallyDrop<Self>;
8869     type DefaultType = Self;
8870 }
8871 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8872 #[repr(transparent)]
8873 pub struct RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(pub u16);
8874 pub const SEL_EMPTY: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(0u16);
8875 pub const SEL_TEXT: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(1u16);
8876 pub const SEL_OBJECT: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(2u16);
8877 pub const SEL_MULTICHAR: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(4u16);
8878 pub const SEL_MULTIOBJECT: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(8u16);
8879 pub const GCM_RIGHTMOUSEDROP: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE = RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE(32768u16);
8880 impl ::std::convert::From<u16> for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
from(value: u16) -> Self8881     fn from(value: u16) -> Self {
8882         Self(value)
8883     }
8884 }
8885 unsafe impl ::windows::runtime::Abi for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
8886     type Abi = Self;
8887     type DefaultType = Self;
8888 }
8889 impl ::std::ops::BitOr for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
8890     type Output = Self;
bitor(self, rhs: Self) -> Self8891     fn bitor(self, rhs: Self) -> Self {
8892         Self(self.0 | rhs.0)
8893     }
8894 }
8895 impl ::std::ops::BitAnd for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
8896     type Output = Self;
bitand(self, rhs: Self) -> Self8897     fn bitand(self, rhs: Self) -> Self {
8898         Self(self.0 & rhs.0)
8899     }
8900 }
8901 impl ::std::ops::BitOrAssign for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
bitor_assign(&mut self, rhs: Self)8902     fn bitor_assign(&mut self, rhs: Self) {
8903         self.0.bitor_assign(rhs.0)
8904     }
8905 }
8906 impl ::std::ops::BitAndAssign for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
bitand_assign(&mut self, rhs: Self)8907     fn bitand_assign(&mut self, rhs: Self) {
8908         self.0.bitand_assign(rhs.0)
8909     }
8910 }
8911 impl ::std::ops::Not for RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE {
8912     type Output = Self;
not(self) -> Self8913     fn not(self) -> Self {
8914         Self(self.0.not())
8915     }
8916 }
8917 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
8918 #[repr(transparent)]
8919 pub struct RICH_EDIT_GET_OBJECT_FLAGS(pub u32);
8920 pub const REO_GETOBJ_POLEOBJ: RICH_EDIT_GET_OBJECT_FLAGS = RICH_EDIT_GET_OBJECT_FLAGS(1u32);
8921 pub const REO_GETOBJ_PSTG: RICH_EDIT_GET_OBJECT_FLAGS = RICH_EDIT_GET_OBJECT_FLAGS(2u32);
8922 pub const REO_GETOBJ_POLESITE: RICH_EDIT_GET_OBJECT_FLAGS = RICH_EDIT_GET_OBJECT_FLAGS(4u32);
8923 pub const REO_GETOBJ_NO_INTERFACES: RICH_EDIT_GET_OBJECT_FLAGS = RICH_EDIT_GET_OBJECT_FLAGS(0u32);
8924 pub const REO_GETOBJ_ALL_INTERFACES: RICH_EDIT_GET_OBJECT_FLAGS = RICH_EDIT_GET_OBJECT_FLAGS(7u32);
8925 impl ::std::convert::From<u32> for RICH_EDIT_GET_OBJECT_FLAGS {
from(value: u32) -> Self8926     fn from(value: u32) -> Self {
8927         Self(value)
8928     }
8929 }
8930 unsafe impl ::windows::runtime::Abi for RICH_EDIT_GET_OBJECT_FLAGS {
8931     type Abi = Self;
8932     type DefaultType = Self;
8933 }
8934 impl ::std::ops::BitOr for RICH_EDIT_GET_OBJECT_FLAGS {
8935     type Output = Self;
bitor(self, rhs: Self) -> Self8936     fn bitor(self, rhs: Self) -> Self {
8937         Self(self.0 | rhs.0)
8938     }
8939 }
8940 impl ::std::ops::BitAnd for RICH_EDIT_GET_OBJECT_FLAGS {
8941     type Output = Self;
bitand(self, rhs: Self) -> Self8942     fn bitand(self, rhs: Self) -> Self {
8943         Self(self.0 & rhs.0)
8944     }
8945 }
8946 impl ::std::ops::BitOrAssign for RICH_EDIT_GET_OBJECT_FLAGS {
bitor_assign(&mut self, rhs: Self)8947     fn bitor_assign(&mut self, rhs: Self) {
8948         self.0.bitor_assign(rhs.0)
8949     }
8950 }
8951 impl ::std::ops::BitAndAssign for RICH_EDIT_GET_OBJECT_FLAGS {
bitand_assign(&mut self, rhs: Self)8952     fn bitand_assign(&mut self, rhs: Self) {
8953         self.0.bitand_assign(rhs.0)
8954     }
8955 }
8956 impl ::std::ops::Not for RICH_EDIT_GET_OBJECT_FLAGS {
8957     type Output = Self;
not(self) -> Self8958     fn not(self) -> Self {
8959         Self(self.0.not())
8960     }
8961 }
8962 pub const RTO_DISABLEHANDLES: u32 = 2u32;
8963 pub const RTO_READINGMODE: u32 = 3u32;
8964 pub const RTO_SHOWHANDLES: u32 = 1u32;
8965 pub const SCF_ALL: u32 = 4u32;
8966 pub const SCF_ASSOCIATEFONT: u32 = 16u32;
8967 pub const SCF_ASSOCIATEFONT2: u32 = 64u32;
8968 pub const SCF_CHARREPFROMLCID: u32 = 256u32;
8969 pub const SCF_DEFAULT: u32 = 0u32;
8970 pub const SCF_NOKBUPDATE: u32 = 32u32;
8971 pub const SCF_SELECTION: u32 = 1u32;
8972 pub const SCF_SMARTFONT: u32 = 128u32;
8973 pub const SCF_USEUIRULES: u32 = 8u32;
8974 pub const SCF_WORD: u32 = 2u32;
8975 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
8976 #[repr(C, packed(4))]
8977 #[cfg(feature = "Win32_Foundation")]
8978 pub struct SELCHANGE {
8979     pub nmhdr: super::NMHDR,
8980     pub chrg: CHARRANGE,
8981     pub seltyp: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE,
8982 }
8983 #[cfg(feature = "Win32_Foundation")]
8984 impl SELCHANGE {}
8985 #[cfg(feature = "Win32_Foundation")]
8986 impl ::std::default::Default for SELCHANGE {
default() -> Self8987     fn default() -> Self {
8988         unsafe { ::std::mem::zeroed() }
8989     }
8990 }
8991 #[cfg(feature = "Win32_Foundation")]
8992 impl ::std::cmp::PartialEq for SELCHANGE {
eq(&self, _other: &Self) -> bool8993     fn eq(&self, _other: &Self) -> bool {
8994         unimplemented!()
8995     }
8996 }
8997 #[cfg(feature = "Win32_Foundation")]
8998 impl ::std::cmp::Eq for SELCHANGE {}
8999 #[cfg(feature = "Win32_Foundation")]
9000 unsafe impl ::windows::runtime::Abi for SELCHANGE {
9001     type Abi = Self;
9002     type DefaultType = Self;
9003 }
9004 pub const SES_ALLOWBEEPS: u32 = 256u32;
9005 pub const SES_BEEPONMAXTEXT: u32 = 2u32;
9006 pub const SES_BIDI: u32 = 4096u32;
9007 pub const SES_CTFALLOWEMBED: u32 = 2097152u32;
9008 pub const SES_CTFALLOWPROOFING: u32 = 8388608u32;
9009 pub const SES_CTFALLOWSMARTTAG: u32 = 4194304u32;
9010 pub const SES_CTFNOLOCK: u32 = 268435456u32;
9011 pub const SES_CUSTOMLOOK: u32 = 524288u32;
9012 pub const SES_DEFAULTLATINLIGA: u32 = 16u32;
9013 pub const SES_DRAFTMODE: u32 = 32768u32;
9014 pub const SES_EMULATE10: u32 = 16u32;
9015 pub const SES_EMULATESYSEDIT: u32 = 1u32;
9016 pub const SES_EXTENDBACKCOLOR: u32 = 4u32;
9017 pub const SES_EX_HANDLEFRIENDLYURL: u32 = 256u32;
9018 pub const SES_EX_HIDETEMPFORMAT: u32 = 268435456u32;
9019 pub const SES_EX_MULTITOUCH: u32 = 134217728u32;
9020 pub const SES_EX_NOACETATESELECTION: u32 = 1048576u32;
9021 pub const SES_EX_NOMATH: u32 = 64u32;
9022 pub const SES_EX_NOTABLE: u32 = 4u32;
9023 pub const SES_EX_NOTHEMING: u32 = 524288u32;
9024 pub const SES_EX_USEMOUSEWPARAM: u32 = 536870912u32;
9025 pub const SES_EX_USESINGLELINE: u32 = 2097152u32;
9026 pub const SES_HIDEGRIDLINES: u32 = 131072u32;
9027 pub const SES_HYPERLINKTOOLTIPS: u32 = 8u32;
9028 pub const SES_LBSCROLLNOTIFY: u32 = 1048576u32;
9029 pub const SES_LOGICALCARET: u32 = 16777216u32;
9030 pub const SES_LOWERCASE: u32 = 1024u32;
9031 pub const SES_MAPCPS: u32 = 8u32;
9032 pub const SES_MAX: u32 = 536870912u32;
9033 pub const SES_MULTISELECT: u32 = 134217728u32;
9034 pub const SES_NOEALINEHEIGHTADJUST: u32 = 536870912u32;
9035 pub const SES_NOFOCUSLINKNOTIFY: u32 = 32u32;
9036 pub const SES_NOIME: u32 = 128u32;
9037 pub const SES_NOINPUTSEQUENCECHK: u32 = 2048u32;
9038 pub const SES_SCROLLONKILLFOCUS: u32 = 8192u32;
9039 pub const SES_SMARTDRAGDROP: u32 = 67108864u32;
9040 pub const SES_UPPERCASE: u32 = 512u32;
9041 pub const SES_USEAIMM: u32 = 64u32;
9042 pub const SES_USEATFONT: u32 = 262144u32;
9043 pub const SES_USECRLF: u32 = 32u32;
9044 pub const SES_USECTF: u32 = 65536u32;
9045 pub const SES_WORDDRAGDROP: u32 = 33554432u32;
9046 pub const SES_XLTCRCRLFTOCR: u32 = 16384u32;
9047 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9048 #[repr(C)]
9049 pub struct SETTEXTEX {
9050     pub flags: u32,
9051     pub codepage: u32,
9052 }
9053 impl SETTEXTEX {}
9054 impl ::std::default::Default for SETTEXTEX {
default() -> Self9055     fn default() -> Self {
9056         unsafe { ::std::mem::zeroed() }
9057     }
9058 }
9059 impl ::std::fmt::Debug for SETTEXTEX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9060     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9061         fmt.debug_struct("SETTEXTEX").field("flags", &self.flags).field("codepage", &self.codepage).finish()
9062     }
9063 }
9064 impl ::std::cmp::PartialEq for SETTEXTEX {
eq(&self, other: &Self) -> bool9065     fn eq(&self, other: &Self) -> bool {
9066         self.flags == other.flags && self.codepage == other.codepage
9067     }
9068 }
9069 impl ::std::cmp::Eq for SETTEXTEX {}
9070 unsafe impl ::windows::runtime::Abi for SETTEXTEX {
9071     type Abi = Self;
9072     type DefaultType = Self;
9073 }
9074 pub const SFF_KEEPDOCINFO: u32 = 4096u32;
9075 pub const SFF_PERSISTVIEWSCALE: u32 = 8192u32;
9076 pub const SFF_PLAINRTF: u32 = 16384u32;
9077 pub const SFF_PWD: u32 = 2048u32;
9078 pub const SFF_SELECTION: u32 = 32768u32;
9079 pub const SFF_WRITEXTRAPAR: u32 = 128u32;
9080 pub const SF_NCRFORNONASCII: u32 = 64u32;
9081 pub const SF_RTF: u32 = 2u32;
9082 pub const SF_RTFNOOBJS: u32 = 3u32;
9083 pub const SF_RTFVAL: u32 = 1792u32;
9084 pub const SF_TEXT: u32 = 1u32;
9085 pub const SF_TEXTIZED: u32 = 4u32;
9086 pub const SF_UNICODE: u32 = 16u32;
9087 pub const SF_USECODEPAGE: u32 = 32u32;
9088 pub const SPF_DONTSETDEFAULT: u32 = 2u32;
9089 pub const SPF_SETDEFAULT: u32 = 4u32;
9090 pub const ST_DEFAULT: u32 = 0u32;
9091 pub const ST_KEEPUNDO: u32 = 1u32;
9092 pub const ST_NEWCHARS: u32 = 4u32;
9093 pub const ST_SELECTION: u32 = 2u32;
9094 pub const ST_UNICODE: u32 = 8u32;
9095 pub const S_MSG_KEY_IGNORED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262657i32 as _);
9096 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9097 #[repr(C)]
9098 pub struct TABLECELLPARMS {
9099     pub dxWidth: i32,
9100     pub _bitfield: u16,
9101     pub wShading: u16,
9102     pub dxBrdrLeft: i16,
9103     pub dyBrdrTop: i16,
9104     pub dxBrdrRight: i16,
9105     pub dyBrdrBottom: i16,
9106     pub crBrdrLeft: u32,
9107     pub crBrdrTop: u32,
9108     pub crBrdrRight: u32,
9109     pub crBrdrBottom: u32,
9110     pub crBackPat: u32,
9111     pub crForePat: u32,
9112 }
9113 impl TABLECELLPARMS {}
9114 impl ::std::default::Default for TABLECELLPARMS {
default() -> Self9115     fn default() -> Self {
9116         unsafe { ::std::mem::zeroed() }
9117     }
9118 }
9119 impl ::std::fmt::Debug for TABLECELLPARMS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9120     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9121         fmt.debug_struct("TABLECELLPARMS")
9122             .field("dxWidth", &self.dxWidth)
9123             .field("_bitfield", &self._bitfield)
9124             .field("wShading", &self.wShading)
9125             .field("dxBrdrLeft", &self.dxBrdrLeft)
9126             .field("dyBrdrTop", &self.dyBrdrTop)
9127             .field("dxBrdrRight", &self.dxBrdrRight)
9128             .field("dyBrdrBottom", &self.dyBrdrBottom)
9129             .field("crBrdrLeft", &self.crBrdrLeft)
9130             .field("crBrdrTop", &self.crBrdrTop)
9131             .field("crBrdrRight", &self.crBrdrRight)
9132             .field("crBrdrBottom", &self.crBrdrBottom)
9133             .field("crBackPat", &self.crBackPat)
9134             .field("crForePat", &self.crForePat)
9135             .finish()
9136     }
9137 }
9138 impl ::std::cmp::PartialEq for TABLECELLPARMS {
eq(&self, other: &Self) -> bool9139     fn eq(&self, other: &Self) -> bool {
9140         self.dxWidth == other.dxWidth
9141             && self._bitfield == other._bitfield
9142             && self.wShading == other.wShading
9143             && self.dxBrdrLeft == other.dxBrdrLeft
9144             && self.dyBrdrTop == other.dyBrdrTop
9145             && self.dxBrdrRight == other.dxBrdrRight
9146             && self.dyBrdrBottom == other.dyBrdrBottom
9147             && self.crBrdrLeft == other.crBrdrLeft
9148             && self.crBrdrTop == other.crBrdrTop
9149             && self.crBrdrRight == other.crBrdrRight
9150             && self.crBrdrBottom == other.crBrdrBottom
9151             && self.crBackPat == other.crBackPat
9152             && self.crForePat == other.crForePat
9153     }
9154 }
9155 impl ::std::cmp::Eq for TABLECELLPARMS {}
9156 unsafe impl ::windows::runtime::Abi for TABLECELLPARMS {
9157     type Abi = Self;
9158     type DefaultType = Self;
9159 }
9160 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9161 #[repr(C)]
9162 pub struct TABLEROWPARMS {
9163     pub cbRow: u8,
9164     pub cbCell: u8,
9165     pub cCell: u8,
9166     pub cRow: u8,
9167     pub dxCellMargin: i32,
9168     pub dxIndent: i32,
9169     pub dyHeight: i32,
9170     pub _bitfield: u32,
9171     pub cpStartRow: i32,
9172     pub bTableLevel: u8,
9173     pub iCell: u8,
9174 }
9175 impl TABLEROWPARMS {}
9176 impl ::std::default::Default for TABLEROWPARMS {
default() -> Self9177     fn default() -> Self {
9178         unsafe { ::std::mem::zeroed() }
9179     }
9180 }
9181 impl ::std::fmt::Debug for TABLEROWPARMS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9182     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9183         fmt.debug_struct("TABLEROWPARMS")
9184             .field("cbRow", &self.cbRow)
9185             .field("cbCell", &self.cbCell)
9186             .field("cCell", &self.cCell)
9187             .field("cRow", &self.cRow)
9188             .field("dxCellMargin", &self.dxCellMargin)
9189             .field("dxIndent", &self.dxIndent)
9190             .field("dyHeight", &self.dyHeight)
9191             .field("_bitfield", &self._bitfield)
9192             .field("cpStartRow", &self.cpStartRow)
9193             .field("bTableLevel", &self.bTableLevel)
9194             .field("iCell", &self.iCell)
9195             .finish()
9196     }
9197 }
9198 impl ::std::cmp::PartialEq for TABLEROWPARMS {
eq(&self, other: &Self) -> bool9199     fn eq(&self, other: &Self) -> bool {
9200         self.cbRow == other.cbRow && self.cbCell == other.cbCell && self.cCell == other.cCell && self.cRow == other.cRow && self.dxCellMargin == other.dxCellMargin && self.dxIndent == other.dxIndent && self.dyHeight == other.dyHeight && self._bitfield == other._bitfield && self.cpStartRow == other.cpStartRow && self.bTableLevel == other.bTableLevel && self.iCell == other.iCell
9201     }
9202 }
9203 impl ::std::cmp::Eq for TABLEROWPARMS {}
9204 unsafe impl ::windows::runtime::Abi for TABLEROWPARMS {
9205     type Abi = Self;
9206     type DefaultType = Self;
9207 }
9208 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9209 #[repr(transparent)]
9210 pub struct TEXTMODE(pub i32);
9211 pub const TM_PLAINTEXT: TEXTMODE = TEXTMODE(1i32);
9212 pub const TM_RICHTEXT: TEXTMODE = TEXTMODE(2i32);
9213 pub const TM_SINGLELEVELUNDO: TEXTMODE = TEXTMODE(4i32);
9214 pub const TM_MULTILEVELUNDO: TEXTMODE = TEXTMODE(8i32);
9215 pub const TM_SINGLECODEPAGE: TEXTMODE = TEXTMODE(16i32);
9216 pub const TM_MULTICODEPAGE: TEXTMODE = TEXTMODE(32i32);
9217 impl ::std::convert::From<i32> for TEXTMODE {
from(value: i32) -> Self9218     fn from(value: i32) -> Self {
9219         Self(value)
9220     }
9221 }
9222 unsafe impl ::windows::runtime::Abi for TEXTMODE {
9223     type Abi = Self;
9224     type DefaultType = Self;
9225 }
9226 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9227 #[repr(C, packed(4))]
9228 #[cfg(feature = "Win32_Foundation")]
9229 pub struct TEXTRANGEA {
9230     pub chrg: CHARRANGE,
9231     pub lpstrText: super::super::super::Foundation::PSTR,
9232 }
9233 #[cfg(feature = "Win32_Foundation")]
9234 impl TEXTRANGEA {}
9235 #[cfg(feature = "Win32_Foundation")]
9236 impl ::std::default::Default for TEXTRANGEA {
default() -> Self9237     fn default() -> Self {
9238         unsafe { ::std::mem::zeroed() }
9239     }
9240 }
9241 #[cfg(feature = "Win32_Foundation")]
9242 impl ::std::cmp::PartialEq for TEXTRANGEA {
eq(&self, _other: &Self) -> bool9243     fn eq(&self, _other: &Self) -> bool {
9244         unimplemented!()
9245     }
9246 }
9247 #[cfg(feature = "Win32_Foundation")]
9248 impl ::std::cmp::Eq for TEXTRANGEA {}
9249 #[cfg(feature = "Win32_Foundation")]
9250 unsafe impl ::windows::runtime::Abi for TEXTRANGEA {
9251     type Abi = Self;
9252     type DefaultType = Self;
9253 }
9254 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9255 #[repr(C, packed(4))]
9256 #[cfg(feature = "Win32_Foundation")]
9257 pub struct TEXTRANGEW {
9258     pub chrg: CHARRANGE,
9259     pub lpstrText: super::super::super::Foundation::PWSTR,
9260 }
9261 #[cfg(feature = "Win32_Foundation")]
9262 impl TEXTRANGEW {}
9263 #[cfg(feature = "Win32_Foundation")]
9264 impl ::std::default::Default for TEXTRANGEW {
default() -> Self9265     fn default() -> Self {
9266         unsafe { ::std::mem::zeroed() }
9267     }
9268 }
9269 #[cfg(feature = "Win32_Foundation")]
9270 impl ::std::cmp::PartialEq for TEXTRANGEW {
eq(&self, _other: &Self) -> bool9271     fn eq(&self, _other: &Self) -> bool {
9272         unimplemented!()
9273     }
9274 }
9275 #[cfg(feature = "Win32_Foundation")]
9276 impl ::std::cmp::Eq for TEXTRANGEW {}
9277 #[cfg(feature = "Win32_Foundation")]
9278 unsafe impl ::windows::runtime::Abi for TEXTRANGEW {
9279     type Abi = Self;
9280     type DefaultType = Self;
9281 }
9282 pub const TO_ADVANCEDLAYOUT: u32 = 8u32;
9283 pub const TO_ADVANCEDTYPOGRAPHY: u32 = 1u32;
9284 pub const TO_DISABLECUSTOMTEXTOUT: u32 = 4u32;
9285 pub const TO_SIMPLELINEBREAK: u32 = 2u32;
9286 pub const TXES_ISDIALOG: u32 = 1u32;
9287 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9288 #[repr(transparent)]
9289 pub struct TXTBACKSTYLE(pub i32);
9290 pub const TXTBACK_TRANSPARENT: TXTBACKSTYLE = TXTBACKSTYLE(0i32);
9291 pub const TXTBACK_OPAQUE: TXTBACKSTYLE = TXTBACKSTYLE(1i32);
9292 impl ::std::convert::From<i32> for TXTBACKSTYLE {
from(value: i32) -> Self9293     fn from(value: i32) -> Self {
9294         Self(value)
9295     }
9296 }
9297 unsafe impl ::windows::runtime::Abi for TXTBACKSTYLE {
9298     type Abi = Self;
9299     type DefaultType = Self;
9300 }
9301 pub const TXTBIT_ADVANCEDINPUT: u32 = 536870912u32;
9302 pub const TXTBIT_ALLOWBEEP: u32 = 2048u32;
9303 pub const TXTBIT_AUTOWORDSEL: u32 = 128u32;
9304 pub const TXTBIT_BACKSTYLECHANGE: u32 = 16384u32;
9305 pub const TXTBIT_CHARFORMATCHANGE: u32 = 131072u32;
9306 pub const TXTBIT_CLIENTRECTCHANGE: u32 = 1048576u32;
9307 pub const TXTBIT_D2DDWRITE: u32 = 16777216u32;
9308 pub const TXTBIT_D2DPIXELSNAPPED: u32 = 67108864u32;
9309 pub const TXTBIT_D2DSIMPLETYPOGRAPHY: u32 = 33554432u32;
9310 pub const TXTBIT_D2DSUBPIXELLINES: u32 = 134217728u32;
9311 pub const TXTBIT_DISABLEDRAG: u32 = 4096u32;
9312 pub const TXTBIT_EXTENTCHANGE: u32 = 524288u32;
9313 pub const TXTBIT_FLASHLASTPASSWORDCHAR: u32 = 268435456u32;
9314 pub const TXTBIT_HIDESELECTION: u32 = 32u32;
9315 pub const TXTBIT_MAXLENGTHCHANGE: u32 = 32768u32;
9316 pub const TXTBIT_MULTILINE: u32 = 2u32;
9317 pub const TXTBIT_NOTHREADREFCOUNT: u32 = 4194304u32;
9318 pub const TXTBIT_PARAFORMATCHANGE: u32 = 262144u32;
9319 pub const TXTBIT_READONLY: u32 = 4u32;
9320 pub const TXTBIT_RICHTEXT: u32 = 1u32;
9321 pub const TXTBIT_SAVESELECTION: u32 = 64u32;
9322 pub const TXTBIT_SCROLLBARCHANGE: u32 = 65536u32;
9323 pub const TXTBIT_SELBARCHANGE: u32 = 512u32;
9324 pub const TXTBIT_SHOWACCELERATOR: u32 = 8u32;
9325 pub const TXTBIT_SHOWPASSWORD: u32 = 8388608u32;
9326 pub const TXTBIT_USECURRENTBKG: u32 = 2097152u32;
9327 pub const TXTBIT_USEPASSWORD: u32 = 16u32;
9328 pub const TXTBIT_VERTICAL: u32 = 256u32;
9329 pub const TXTBIT_VIEWINSETCHANGE: u32 = 8192u32;
9330 pub const TXTBIT_WORDWRAP: u32 = 1024u32;
9331 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9332 #[repr(transparent)]
9333 pub struct TXTHITRESULT(pub i32);
9334 pub const TXTHITRESULT_NOHIT: TXTHITRESULT = TXTHITRESULT(0i32);
9335 pub const TXTHITRESULT_TRANSPARENT: TXTHITRESULT = TXTHITRESULT(1i32);
9336 pub const TXTHITRESULT_CLOSE: TXTHITRESULT = TXTHITRESULT(2i32);
9337 pub const TXTHITRESULT_HIT: TXTHITRESULT = TXTHITRESULT(3i32);
9338 impl ::std::convert::From<i32> for TXTHITRESULT {
from(value: i32) -> Self9339     fn from(value: i32) -> Self {
9340         Self(value)
9341     }
9342 }
9343 unsafe impl ::windows::runtime::Abi for TXTHITRESULT {
9344     type Abi = Self;
9345     type DefaultType = Self;
9346 }
9347 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9348 #[repr(transparent)]
9349 pub struct TXTNATURALSIZE(pub i32);
9350 pub const TXTNS_FITTOCONTENT2: TXTNATURALSIZE = TXTNATURALSIZE(0i32);
9351 pub const TXTNS_FITTOCONTENT: TXTNATURALSIZE = TXTNATURALSIZE(1i32);
9352 pub const TXTNS_ROUNDTOLINE: TXTNATURALSIZE = TXTNATURALSIZE(2i32);
9353 pub const TXTNS_FITTOCONTENT3: TXTNATURALSIZE = TXTNATURALSIZE(3i32);
9354 pub const TXTNS_FITTOCONTENTWSP: TXTNATURALSIZE = TXTNATURALSIZE(4i32);
9355 pub const TXTNS_INCLUDELASTLINE: TXTNATURALSIZE = TXTNATURALSIZE(1073741824i32);
9356 pub const TXTNS_EMU: TXTNATURALSIZE = TXTNATURALSIZE(-2147483648i32);
9357 impl ::std::convert::From<i32> for TXTNATURALSIZE {
from(value: i32) -> Self9358     fn from(value: i32) -> Self {
9359         Self(value)
9360     }
9361 }
9362 unsafe impl ::windows::runtime::Abi for TXTNATURALSIZE {
9363     type Abi = Self;
9364     type DefaultType = Self;
9365 }
9366 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9367 #[repr(transparent)]
9368 pub struct TXTVIEW(pub i32);
9369 pub const TXTVIEW_ACTIVE: TXTVIEW = TXTVIEW(0i32);
9370 pub const TXTVIEW_INACTIVE: TXTVIEW = TXTVIEW(-1i32);
9371 impl ::std::convert::From<i32> for TXTVIEW {
from(value: i32) -> Self9372     fn from(value: i32) -> Self {
9373         Self(value)
9374     }
9375 }
9376 unsafe impl ::windows::runtime::Abi for TXTVIEW {
9377     type Abi = Self;
9378     type DefaultType = Self;
9379 }
9380 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9381 #[repr(transparent)]
9382 pub struct UNDONAMEID(pub i32);
9383 pub const UID_UNKNOWN: UNDONAMEID = UNDONAMEID(0i32);
9384 pub const UID_TYPING: UNDONAMEID = UNDONAMEID(1i32);
9385 pub const UID_DELETE: UNDONAMEID = UNDONAMEID(2i32);
9386 pub const UID_DRAGDROP: UNDONAMEID = UNDONAMEID(3i32);
9387 pub const UID_CUT: UNDONAMEID = UNDONAMEID(4i32);
9388 pub const UID_PASTE: UNDONAMEID = UNDONAMEID(5i32);
9389 pub const UID_AUTOTABLE: UNDONAMEID = UNDONAMEID(6i32);
9390 impl ::std::convert::From<i32> for UNDONAMEID {
from(value: i32) -> Self9391     fn from(value: i32) -> Self {
9392         Self(value)
9393     }
9394 }
9395 unsafe impl ::windows::runtime::Abi for UNDONAMEID {
9396     type Abi = Self;
9397     type DefaultType = Self;
9398 }
9399 pub const VM_NORMAL: u32 = 4u32;
9400 pub const VM_OUTLINE: u32 = 2u32;
9401 pub const VM_PAGE: u32 = 9u32;
9402 pub const WBF_CUSTOM: u32 = 512u32;
9403 pub const WBF_LEVEL1: u32 = 128u32;
9404 pub const WBF_LEVEL2: u32 = 256u32;
9405 pub const WBF_OVERFLOW: u32 = 64u32;
9406 pub const WBF_WORDBREAK: u32 = 32u32;
9407 pub const WBF_WORDWRAP: u32 = 16u32;
9408 pub const WB_MOVEWORDNEXT: u32 = 5u32;
9409 pub const WB_MOVEWORDPREV: u32 = 4u32;
9410 pub const WB_NEXTBREAK: u32 = 7u32;
9411 pub const WB_PREVBREAK: u32 = 6u32;
9412 pub const WM_CONTEXTMENU: u32 = 123u32;
9413 pub const WM_NOTIFY: u32 = 78u32;
9414 pub const WM_PRINTCLIENT: u32 = 792u32;
9415 pub const WM_UNICHAR: u32 = 265u32;
9416 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9417 #[repr(C, packed(4))]
9418 #[cfg(feature = "Win32_Foundation")]
9419 pub struct _grouptypingchange {
9420     pub nmhdr: super::NMHDR,
9421     pub fGroupTyping: super::super::super::Foundation::BOOL,
9422 }
9423 #[cfg(feature = "Win32_Foundation")]
9424 impl _grouptypingchange {}
9425 #[cfg(feature = "Win32_Foundation")]
9426 impl ::std::default::Default for _grouptypingchange {
default() -> Self9427     fn default() -> Self {
9428         unsafe { ::std::mem::zeroed() }
9429     }
9430 }
9431 #[cfg(feature = "Win32_Foundation")]
9432 impl ::std::cmp::PartialEq for _grouptypingchange {
eq(&self, _other: &Self) -> bool9433     fn eq(&self, _other: &Self) -> bool {
9434         unimplemented!()
9435     }
9436 }
9437 #[cfg(feature = "Win32_Foundation")]
9438 impl ::std::cmp::Eq for _grouptypingchange {}
9439 #[cfg(feature = "Win32_Foundation")]
9440 unsafe impl ::windows::runtime::Abi for _grouptypingchange {
9441     type Abi = Self;
9442     type DefaultType = Self;
9443 }
9444 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9445 #[repr(C)]
9446 pub struct hyphresult {
9447     pub khyph: KHYPH,
9448     pub ichHyph: i32,
9449     pub chHyph: u16,
9450 }
9451 impl hyphresult {}
9452 impl ::std::default::Default for hyphresult {
default() -> Self9453     fn default() -> Self {
9454         unsafe { ::std::mem::zeroed() }
9455     }
9456 }
9457 impl ::std::fmt::Debug for hyphresult {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9458     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9459         fmt.debug_struct("hyphresult").field("khyph", &self.khyph).field("ichHyph", &self.ichHyph).field("chHyph", &self.chHyph).finish()
9460     }
9461 }
9462 impl ::std::cmp::PartialEq for hyphresult {
eq(&self, other: &Self) -> bool9463     fn eq(&self, other: &Self) -> bool {
9464         self.khyph == other.khyph && self.ichHyph == other.ichHyph && self.chHyph == other.chHyph
9465     }
9466 }
9467 impl ::std::cmp::Eq for hyphresult {}
9468 unsafe impl ::windows::runtime::Abi for hyphresult {
9469     type Abi = Self;
9470     type DefaultType = Self;
9471 }
9472 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9473 #[repr(transparent)]
9474 pub struct tomConstants(pub i32);
9475 pub const tomFalse: tomConstants = tomConstants(0i32);
9476 pub const tomTrue: tomConstants = tomConstants(-1i32);
9477 pub const tomUndefined: tomConstants = tomConstants(-9999999i32);
9478 pub const tomToggle: tomConstants = tomConstants(-9999998i32);
9479 pub const tomAutoColor: tomConstants = tomConstants(-9999997i32);
9480 pub const tomDefault: tomConstants = tomConstants(-9999996i32);
9481 pub const tomSuspend: tomConstants = tomConstants(-9999995i32);
9482 pub const tomResume: tomConstants = tomConstants(-9999994i32);
9483 pub const tomApplyNow: tomConstants = tomConstants(0i32);
9484 pub const tomApplyLater: tomConstants = tomConstants(1i32);
9485 pub const tomTrackParms: tomConstants = tomConstants(2i32);
9486 pub const tomCacheParms: tomConstants = tomConstants(3i32);
9487 pub const tomApplyTmp: tomConstants = tomConstants(4i32);
9488 pub const tomDisableSmartFont: tomConstants = tomConstants(8i32);
9489 pub const tomEnableSmartFont: tomConstants = tomConstants(9i32);
9490 pub const tomUsePoints: tomConstants = tomConstants(10i32);
9491 pub const tomUseTwips: tomConstants = tomConstants(11i32);
9492 pub const tomBackward: tomConstants = tomConstants(-1073741823i32);
9493 pub const tomForward: tomConstants = tomConstants(1073741823i32);
9494 pub const tomMove: tomConstants = tomConstants(0i32);
9495 pub const tomExtend: tomConstants = tomConstants(1i32);
9496 pub const tomNoSelection: tomConstants = tomConstants(0i32);
9497 pub const tomSelectionIP: tomConstants = tomConstants(1i32);
9498 pub const tomSelectionNormal: tomConstants = tomConstants(2i32);
9499 pub const tomSelectionFrame: tomConstants = tomConstants(3i32);
9500 pub const tomSelectionColumn: tomConstants = tomConstants(4i32);
9501 pub const tomSelectionRow: tomConstants = tomConstants(5i32);
9502 pub const tomSelectionBlock: tomConstants = tomConstants(6i32);
9503 pub const tomSelectionInlineShape: tomConstants = tomConstants(7i32);
9504 pub const tomSelectionShape: tomConstants = tomConstants(8i32);
9505 pub const tomSelStartActive: tomConstants = tomConstants(1i32);
9506 pub const tomSelAtEOL: tomConstants = tomConstants(2i32);
9507 pub const tomSelOvertype: tomConstants = tomConstants(4i32);
9508 pub const tomSelActive: tomConstants = tomConstants(8i32);
9509 pub const tomSelReplace: tomConstants = tomConstants(16i32);
9510 pub const tomEnd: tomConstants = tomConstants(0i32);
9511 pub const tomStart: tomConstants = tomConstants(32i32);
9512 pub const tomCollapseEnd: tomConstants = tomConstants(0i32);
9513 pub const tomCollapseStart: tomConstants = tomConstants(1i32);
9514 pub const tomClientCoord: tomConstants = tomConstants(256i32);
9515 pub const tomAllowOffClient: tomConstants = tomConstants(512i32);
9516 pub const tomTransform: tomConstants = tomConstants(1024i32);
9517 pub const tomObjectArg: tomConstants = tomConstants(2048i32);
9518 pub const tomAtEnd: tomConstants = tomConstants(4096i32);
9519 pub const tomNone: tomConstants = tomConstants(0i32);
9520 pub const tomSingle: tomConstants = tomConstants(1i32);
9521 pub const tomWords: tomConstants = tomConstants(2i32);
9522 pub const tomDouble: tomConstants = tomConstants(3i32);
9523 pub const tomDotted: tomConstants = tomConstants(4i32);
9524 pub const tomDash: tomConstants = tomConstants(5i32);
9525 pub const tomDashDot: tomConstants = tomConstants(6i32);
9526 pub const tomDashDotDot: tomConstants = tomConstants(7i32);
9527 pub const tomWave: tomConstants = tomConstants(8i32);
9528 pub const tomThick: tomConstants = tomConstants(9i32);
9529 pub const tomHair: tomConstants = tomConstants(10i32);
9530 pub const tomDoubleWave: tomConstants = tomConstants(11i32);
9531 pub const tomHeavyWave: tomConstants = tomConstants(12i32);
9532 pub const tomLongDash: tomConstants = tomConstants(13i32);
9533 pub const tomThickDash: tomConstants = tomConstants(14i32);
9534 pub const tomThickDashDot: tomConstants = tomConstants(15i32);
9535 pub const tomThickDashDotDot: tomConstants = tomConstants(16i32);
9536 pub const tomThickDotted: tomConstants = tomConstants(17i32);
9537 pub const tomThickLongDash: tomConstants = tomConstants(18i32);
9538 pub const tomLineSpaceSingle: tomConstants = tomConstants(0i32);
9539 pub const tomLineSpace1pt5: tomConstants = tomConstants(1i32);
9540 pub const tomLineSpaceDouble: tomConstants = tomConstants(2i32);
9541 pub const tomLineSpaceAtLeast: tomConstants = tomConstants(3i32);
9542 pub const tomLineSpaceExactly: tomConstants = tomConstants(4i32);
9543 pub const tomLineSpaceMultiple: tomConstants = tomConstants(5i32);
9544 pub const tomLineSpacePercent: tomConstants = tomConstants(6i32);
9545 pub const tomAlignLeft: tomConstants = tomConstants(0i32);
9546 pub const tomAlignCenter: tomConstants = tomConstants(1i32);
9547 pub const tomAlignRight: tomConstants = tomConstants(2i32);
9548 pub const tomAlignJustify: tomConstants = tomConstants(3i32);
9549 pub const tomAlignDecimal: tomConstants = tomConstants(3i32);
9550 pub const tomAlignBar: tomConstants = tomConstants(4i32);
9551 pub const tomDefaultTab: tomConstants = tomConstants(5i32);
9552 pub const tomAlignInterWord: tomConstants = tomConstants(3i32);
9553 pub const tomAlignNewspaper: tomConstants = tomConstants(4i32);
9554 pub const tomAlignInterLetter: tomConstants = tomConstants(5i32);
9555 pub const tomAlignScaled: tomConstants = tomConstants(6i32);
9556 pub const tomSpaces: tomConstants = tomConstants(0i32);
9557 pub const tomDots: tomConstants = tomConstants(1i32);
9558 pub const tomDashes: tomConstants = tomConstants(2i32);
9559 pub const tomLines: tomConstants = tomConstants(3i32);
9560 pub const tomThickLines: tomConstants = tomConstants(4i32);
9561 pub const tomEquals: tomConstants = tomConstants(5i32);
9562 pub const tomTabBack: tomConstants = tomConstants(-3i32);
9563 pub const tomTabNext: tomConstants = tomConstants(-2i32);
9564 pub const tomTabHere: tomConstants = tomConstants(-1i32);
9565 pub const tomListNone: tomConstants = tomConstants(0i32);
9566 pub const tomListBullet: tomConstants = tomConstants(1i32);
9567 pub const tomListNumberAsArabic: tomConstants = tomConstants(2i32);
9568 pub const tomListNumberAsLCLetter: tomConstants = tomConstants(3i32);
9569 pub const tomListNumberAsUCLetter: tomConstants = tomConstants(4i32);
9570 pub const tomListNumberAsLCRoman: tomConstants = tomConstants(5i32);
9571 pub const tomListNumberAsUCRoman: tomConstants = tomConstants(6i32);
9572 pub const tomListNumberAsSequence: tomConstants = tomConstants(7i32);
9573 pub const tomListNumberedCircle: tomConstants = tomConstants(8i32);
9574 pub const tomListNumberedBlackCircleWingding: tomConstants = tomConstants(9i32);
9575 pub const tomListNumberedWhiteCircleWingding: tomConstants = tomConstants(10i32);
9576 pub const tomListNumberedArabicWide: tomConstants = tomConstants(11i32);
9577 pub const tomListNumberedChS: tomConstants = tomConstants(12i32);
9578 pub const tomListNumberedChT: tomConstants = tomConstants(13i32);
9579 pub const tomListNumberedJpnChS: tomConstants = tomConstants(14i32);
9580 pub const tomListNumberedJpnKor: tomConstants = tomConstants(15i32);
9581 pub const tomListNumberedArabic1: tomConstants = tomConstants(16i32);
9582 pub const tomListNumberedArabic2: tomConstants = tomConstants(17i32);
9583 pub const tomListNumberedHebrew: tomConstants = tomConstants(18i32);
9584 pub const tomListNumberedThaiAlpha: tomConstants = tomConstants(19i32);
9585 pub const tomListNumberedThaiNum: tomConstants = tomConstants(20i32);
9586 pub const tomListNumberedHindiAlpha: tomConstants = tomConstants(21i32);
9587 pub const tomListNumberedHindiAlpha1: tomConstants = tomConstants(22i32);
9588 pub const tomListNumberedHindiNum: tomConstants = tomConstants(23i32);
9589 pub const tomListParentheses: tomConstants = tomConstants(65536i32);
9590 pub const tomListPeriod: tomConstants = tomConstants(131072i32);
9591 pub const tomListPlain: tomConstants = tomConstants(196608i32);
9592 pub const tomListNoNumber: tomConstants = tomConstants(262144i32);
9593 pub const tomListMinus: tomConstants = tomConstants(524288i32);
9594 pub const tomIgnoreNumberStyle: tomConstants = tomConstants(16777216i32);
9595 pub const tomParaStyleNormal: tomConstants = tomConstants(-1i32);
9596 pub const tomParaStyleHeading1: tomConstants = tomConstants(-2i32);
9597 pub const tomParaStyleHeading2: tomConstants = tomConstants(-3i32);
9598 pub const tomParaStyleHeading3: tomConstants = tomConstants(-4i32);
9599 pub const tomParaStyleHeading4: tomConstants = tomConstants(-5i32);
9600 pub const tomParaStyleHeading5: tomConstants = tomConstants(-6i32);
9601 pub const tomParaStyleHeading6: tomConstants = tomConstants(-7i32);
9602 pub const tomParaStyleHeading7: tomConstants = tomConstants(-8i32);
9603 pub const tomParaStyleHeading8: tomConstants = tomConstants(-9i32);
9604 pub const tomParaStyleHeading9: tomConstants = tomConstants(-10i32);
9605 pub const tomCharacter: tomConstants = tomConstants(1i32);
9606 pub const tomWord: tomConstants = tomConstants(2i32);
9607 pub const tomSentence: tomConstants = tomConstants(3i32);
9608 pub const tomParagraph: tomConstants = tomConstants(4i32);
9609 pub const tomLine: tomConstants = tomConstants(5i32);
9610 pub const tomStory: tomConstants = tomConstants(6i32);
9611 pub const tomScreen: tomConstants = tomConstants(7i32);
9612 pub const tomSection: tomConstants = tomConstants(8i32);
9613 pub const tomTableColumn: tomConstants = tomConstants(9i32);
9614 pub const tomColumn: tomConstants = tomConstants(9i32);
9615 pub const tomRow: tomConstants = tomConstants(10i32);
9616 pub const tomWindow: tomConstants = tomConstants(11i32);
9617 pub const tomCell: tomConstants = tomConstants(12i32);
9618 pub const tomCharFormat: tomConstants = tomConstants(13i32);
9619 pub const tomParaFormat: tomConstants = tomConstants(14i32);
9620 pub const tomTable: tomConstants = tomConstants(15i32);
9621 pub const tomObject: tomConstants = tomConstants(16i32);
9622 pub const tomPage: tomConstants = tomConstants(17i32);
9623 pub const tomHardParagraph: tomConstants = tomConstants(18i32);
9624 pub const tomCluster: tomConstants = tomConstants(19i32);
9625 pub const tomInlineObject: tomConstants = tomConstants(20i32);
9626 pub const tomInlineObjectArg: tomConstants = tomConstants(21i32);
9627 pub const tomLeafLine: tomConstants = tomConstants(22i32);
9628 pub const tomLayoutColumn: tomConstants = tomConstants(23i32);
9629 pub const tomProcessId: tomConstants = tomConstants(1073741825i32);
9630 pub const tomMatchWord: tomConstants = tomConstants(2i32);
9631 pub const tomMatchCase: tomConstants = tomConstants(4i32);
9632 pub const tomMatchPattern: tomConstants = tomConstants(8i32);
9633 pub const tomUnknownStory: tomConstants = tomConstants(0i32);
9634 pub const tomMainTextStory: tomConstants = tomConstants(1i32);
9635 pub const tomFootnotesStory: tomConstants = tomConstants(2i32);
9636 pub const tomEndnotesStory: tomConstants = tomConstants(3i32);
9637 pub const tomCommentsStory: tomConstants = tomConstants(4i32);
9638 pub const tomTextFrameStory: tomConstants = tomConstants(5i32);
9639 pub const tomEvenPagesHeaderStory: tomConstants = tomConstants(6i32);
9640 pub const tomPrimaryHeaderStory: tomConstants = tomConstants(7i32);
9641 pub const tomEvenPagesFooterStory: tomConstants = tomConstants(8i32);
9642 pub const tomPrimaryFooterStory: tomConstants = tomConstants(9i32);
9643 pub const tomFirstPageHeaderStory: tomConstants = tomConstants(10i32);
9644 pub const tomFirstPageFooterStory: tomConstants = tomConstants(11i32);
9645 pub const tomScratchStory: tomConstants = tomConstants(127i32);
9646 pub const tomFindStory: tomConstants = tomConstants(128i32);
9647 pub const tomReplaceStory: tomConstants = tomConstants(129i32);
9648 pub const tomStoryInactive: tomConstants = tomConstants(0i32);
9649 pub const tomStoryActiveDisplay: tomConstants = tomConstants(1i32);
9650 pub const tomStoryActiveUI: tomConstants = tomConstants(2i32);
9651 pub const tomStoryActiveDisplayUI: tomConstants = tomConstants(3i32);
9652 pub const tomNoAnimation: tomConstants = tomConstants(0i32);
9653 pub const tomLasVegasLights: tomConstants = tomConstants(1i32);
9654 pub const tomBlinkingBackground: tomConstants = tomConstants(2i32);
9655 pub const tomSparkleText: tomConstants = tomConstants(3i32);
9656 pub const tomMarchingBlackAnts: tomConstants = tomConstants(4i32);
9657 pub const tomMarchingRedAnts: tomConstants = tomConstants(5i32);
9658 pub const tomShimmer: tomConstants = tomConstants(6i32);
9659 pub const tomWipeDown: tomConstants = tomConstants(7i32);
9660 pub const tomWipeRight: tomConstants = tomConstants(8i32);
9661 pub const tomAnimationMax: tomConstants = tomConstants(8i32);
9662 pub const tomLowerCase: tomConstants = tomConstants(0i32);
9663 pub const tomUpperCase: tomConstants = tomConstants(1i32);
9664 pub const tomTitleCase: tomConstants = tomConstants(2i32);
9665 pub const tomSentenceCase: tomConstants = tomConstants(4i32);
9666 pub const tomToggleCase: tomConstants = tomConstants(5i32);
9667 pub const tomReadOnly: tomConstants = tomConstants(256i32);
9668 pub const tomShareDenyRead: tomConstants = tomConstants(512i32);
9669 pub const tomShareDenyWrite: tomConstants = tomConstants(1024i32);
9670 pub const tomPasteFile: tomConstants = tomConstants(4096i32);
9671 pub const tomCreateNew: tomConstants = tomConstants(16i32);
9672 pub const tomCreateAlways: tomConstants = tomConstants(32i32);
9673 pub const tomOpenExisting: tomConstants = tomConstants(48i32);
9674 pub const tomOpenAlways: tomConstants = tomConstants(64i32);
9675 pub const tomTruncateExisting: tomConstants = tomConstants(80i32);
9676 pub const tomRTF: tomConstants = tomConstants(1i32);
9677 pub const tomText: tomConstants = tomConstants(2i32);
9678 pub const tomHTML: tomConstants = tomConstants(3i32);
9679 pub const tomWordDocument: tomConstants = tomConstants(4i32);
9680 pub const tomBold: tomConstants = tomConstants(-2147483647i32);
9681 pub const tomItalic: tomConstants = tomConstants(-2147483646i32);
9682 pub const tomUnderline: tomConstants = tomConstants(-2147483644i32);
9683 pub const tomStrikeout: tomConstants = tomConstants(-2147483640i32);
9684 pub const tomProtected: tomConstants = tomConstants(-2147483632i32);
9685 pub const tomLink: tomConstants = tomConstants(-2147483616i32);
9686 pub const tomSmallCaps: tomConstants = tomConstants(-2147483584i32);
9687 pub const tomAllCaps: tomConstants = tomConstants(-2147483520i32);
9688 pub const tomHidden: tomConstants = tomConstants(-2147483392i32);
9689 pub const tomOutline: tomConstants = tomConstants(-2147483136i32);
9690 pub const tomShadow: tomConstants = tomConstants(-2147482624i32);
9691 pub const tomEmboss: tomConstants = tomConstants(-2147481600i32);
9692 pub const tomImprint: tomConstants = tomConstants(-2147479552i32);
9693 pub const tomDisabled: tomConstants = tomConstants(-2147475456i32);
9694 pub const tomRevised: tomConstants = tomConstants(-2147467264i32);
9695 pub const tomSubscriptCF: tomConstants = tomConstants(-2147418112i32);
9696 pub const tomSuperscriptCF: tomConstants = tomConstants(-2147352576i32);
9697 pub const tomFontBound: tomConstants = tomConstants(-2146435072i32);
9698 pub const tomLinkProtected: tomConstants = tomConstants(-2139095040i32);
9699 pub const tomInlineObjectStart: tomConstants = tomConstants(-2130706432i32);
9700 pub const tomExtendedChar: tomConstants = tomConstants(-2113929216i32);
9701 pub const tomAutoBackColor: tomConstants = tomConstants(-2080374784i32);
9702 pub const tomMathZoneNoBuildUp: tomConstants = tomConstants(-2013265920i32);
9703 pub const tomMathZone: tomConstants = tomConstants(-1879048192i32);
9704 pub const tomMathZoneOrdinary: tomConstants = tomConstants(-1610612736i32);
9705 pub const tomAutoTextColor: tomConstants = tomConstants(-1073741824i32);
9706 pub const tomMathZoneDisplay: tomConstants = tomConstants(262144i32);
9707 pub const tomParaEffectRTL: tomConstants = tomConstants(1i32);
9708 pub const tomParaEffectKeep: tomConstants = tomConstants(2i32);
9709 pub const tomParaEffectKeepNext: tomConstants = tomConstants(4i32);
9710 pub const tomParaEffectPageBreakBefore: tomConstants = tomConstants(8i32);
9711 pub const tomParaEffectNoLineNumber: tomConstants = tomConstants(16i32);
9712 pub const tomParaEffectNoWidowControl: tomConstants = tomConstants(32i32);
9713 pub const tomParaEffectDoNotHyphen: tomConstants = tomConstants(64i32);
9714 pub const tomParaEffectSideBySide: tomConstants = tomConstants(128i32);
9715 pub const tomParaEffectCollapsed: tomConstants = tomConstants(256i32);
9716 pub const tomParaEffectOutlineLevel: tomConstants = tomConstants(512i32);
9717 pub const tomParaEffectBox: tomConstants = tomConstants(1024i32);
9718 pub const tomParaEffectTableRowDelimiter: tomConstants = tomConstants(4096i32);
9719 pub const tomParaEffectTable: tomConstants = tomConstants(16384i32);
9720 pub const tomModWidthPairs: tomConstants = tomConstants(1i32);
9721 pub const tomModWidthSpace: tomConstants = tomConstants(2i32);
9722 pub const tomAutoSpaceAlpha: tomConstants = tomConstants(4i32);
9723 pub const tomAutoSpaceNumeric: tomConstants = tomConstants(8i32);
9724 pub const tomAutoSpaceParens: tomConstants = tomConstants(16i32);
9725 pub const tomEmbeddedFont: tomConstants = tomConstants(32i32);
9726 pub const tomDoublestrike: tomConstants = tomConstants(64i32);
9727 pub const tomOverlapping: tomConstants = tomConstants(128i32);
9728 pub const tomNormalCaret: tomConstants = tomConstants(0i32);
9729 pub const tomKoreanBlockCaret: tomConstants = tomConstants(1i32);
9730 pub const tomNullCaret: tomConstants = tomConstants(2i32);
9731 pub const tomIncludeInset: tomConstants = tomConstants(1i32);
9732 pub const tomUnicodeBiDi: tomConstants = tomConstants(1i32);
9733 pub const tomMathCFCheck: tomConstants = tomConstants(4i32);
9734 pub const tomUnlink: tomConstants = tomConstants(8i32);
9735 pub const tomUnhide: tomConstants = tomConstants(16i32);
9736 pub const tomCheckTextLimit: tomConstants = tomConstants(32i32);
9737 pub const tomIgnoreCurrentFont: tomConstants = tomConstants(0i32);
9738 pub const tomMatchCharRep: tomConstants = tomConstants(1i32);
9739 pub const tomMatchFontSignature: tomConstants = tomConstants(2i32);
9740 pub const tomMatchAscii: tomConstants = tomConstants(4i32);
9741 pub const tomGetHeightOnly: tomConstants = tomConstants(8i32);
9742 pub const tomMatchMathFont: tomConstants = tomConstants(16i32);
9743 pub const tomCharset: tomConstants = tomConstants(-2147483648i32);
9744 pub const tomCharRepFromLcid: tomConstants = tomConstants(1073741824i32);
9745 pub const tomAnsi: tomConstants = tomConstants(0i32);
9746 pub const tomEastEurope: tomConstants = tomConstants(1i32);
9747 pub const tomCyrillic: tomConstants = tomConstants(2i32);
9748 pub const tomGreek: tomConstants = tomConstants(3i32);
9749 pub const tomTurkish: tomConstants = tomConstants(4i32);
9750 pub const tomHebrew: tomConstants = tomConstants(5i32);
9751 pub const tomArabic: tomConstants = tomConstants(6i32);
9752 pub const tomBaltic: tomConstants = tomConstants(7i32);
9753 pub const tomVietnamese: tomConstants = tomConstants(8i32);
9754 pub const tomDefaultCharRep: tomConstants = tomConstants(9i32);
9755 pub const tomSymbol: tomConstants = tomConstants(10i32);
9756 pub const tomThai: tomConstants = tomConstants(11i32);
9757 pub const tomShiftJIS: tomConstants = tomConstants(12i32);
9758 pub const tomGB2312: tomConstants = tomConstants(13i32);
9759 pub const tomHangul: tomConstants = tomConstants(14i32);
9760 pub const tomBIG5: tomConstants = tomConstants(15i32);
9761 pub const tomPC437: tomConstants = tomConstants(16i32);
9762 pub const tomOEM: tomConstants = tomConstants(17i32);
9763 pub const tomMac: tomConstants = tomConstants(18i32);
9764 pub const tomArmenian: tomConstants = tomConstants(19i32);
9765 pub const tomSyriac: tomConstants = tomConstants(20i32);
9766 pub const tomThaana: tomConstants = tomConstants(21i32);
9767 pub const tomDevanagari: tomConstants = tomConstants(22i32);
9768 pub const tomBengali: tomConstants = tomConstants(23i32);
9769 pub const tomGurmukhi: tomConstants = tomConstants(24i32);
9770 pub const tomGujarati: tomConstants = tomConstants(25i32);
9771 pub const tomOriya: tomConstants = tomConstants(26i32);
9772 pub const tomTamil: tomConstants = tomConstants(27i32);
9773 pub const tomTelugu: tomConstants = tomConstants(28i32);
9774 pub const tomKannada: tomConstants = tomConstants(29i32);
9775 pub const tomMalayalam: tomConstants = tomConstants(30i32);
9776 pub const tomSinhala: tomConstants = tomConstants(31i32);
9777 pub const tomLao: tomConstants = tomConstants(32i32);
9778 pub const tomTibetan: tomConstants = tomConstants(33i32);
9779 pub const tomMyanmar: tomConstants = tomConstants(34i32);
9780 pub const tomGeorgian: tomConstants = tomConstants(35i32);
9781 pub const tomJamo: tomConstants = tomConstants(36i32);
9782 pub const tomEthiopic: tomConstants = tomConstants(37i32);
9783 pub const tomCherokee: tomConstants = tomConstants(38i32);
9784 pub const tomAboriginal: tomConstants = tomConstants(39i32);
9785 pub const tomOgham: tomConstants = tomConstants(40i32);
9786 pub const tomRunic: tomConstants = tomConstants(41i32);
9787 pub const tomKhmer: tomConstants = tomConstants(42i32);
9788 pub const tomMongolian: tomConstants = tomConstants(43i32);
9789 pub const tomBraille: tomConstants = tomConstants(44i32);
9790 pub const tomYi: tomConstants = tomConstants(45i32);
9791 pub const tomLimbu: tomConstants = tomConstants(46i32);
9792 pub const tomTaiLe: tomConstants = tomConstants(47i32);
9793 pub const tomNewTaiLue: tomConstants = tomConstants(48i32);
9794 pub const tomSylotiNagri: tomConstants = tomConstants(49i32);
9795 pub const tomKharoshthi: tomConstants = tomConstants(50i32);
9796 pub const tomKayahli: tomConstants = tomConstants(51i32);
9797 pub const tomUsymbol: tomConstants = tomConstants(52i32);
9798 pub const tomEmoji: tomConstants = tomConstants(53i32);
9799 pub const tomGlagolitic: tomConstants = tomConstants(54i32);
9800 pub const tomLisu: tomConstants = tomConstants(55i32);
9801 pub const tomVai: tomConstants = tomConstants(56i32);
9802 pub const tomNKo: tomConstants = tomConstants(57i32);
9803 pub const tomOsmanya: tomConstants = tomConstants(58i32);
9804 pub const tomPhagsPa: tomConstants = tomConstants(59i32);
9805 pub const tomGothic: tomConstants = tomConstants(60i32);
9806 pub const tomDeseret: tomConstants = tomConstants(61i32);
9807 pub const tomTifinagh: tomConstants = tomConstants(62i32);
9808 pub const tomCharRepMax: tomConstants = tomConstants(63i32);
9809 pub const tomRE10Mode: tomConstants = tomConstants(1i32);
9810 pub const tomUseAtFont: tomConstants = tomConstants(2i32);
9811 pub const tomTextFlowMask: tomConstants = tomConstants(12i32);
9812 pub const tomTextFlowES: tomConstants = tomConstants(0i32);
9813 pub const tomTextFlowSW: tomConstants = tomConstants(4i32);
9814 pub const tomTextFlowWN: tomConstants = tomConstants(8i32);
9815 pub const tomTextFlowNE: tomConstants = tomConstants(12i32);
9816 pub const tomNoIME: tomConstants = tomConstants(524288i32);
9817 pub const tomSelfIME: tomConstants = tomConstants(262144i32);
9818 pub const tomNoUpScroll: tomConstants = tomConstants(65536i32);
9819 pub const tomNoVpScroll: tomConstants = tomConstants(262144i32);
9820 pub const tomNoLink: tomConstants = tomConstants(0i32);
9821 pub const tomClientLink: tomConstants = tomConstants(1i32);
9822 pub const tomFriendlyLinkName: tomConstants = tomConstants(2i32);
9823 pub const tomFriendlyLinkAddress: tomConstants = tomConstants(3i32);
9824 pub const tomAutoLinkURL: tomConstants = tomConstants(4i32);
9825 pub const tomAutoLinkEmail: tomConstants = tomConstants(5i32);
9826 pub const tomAutoLinkPhone: tomConstants = tomConstants(6i32);
9827 pub const tomAutoLinkPath: tomConstants = tomConstants(7i32);
9828 pub const tomCompressNone: tomConstants = tomConstants(0i32);
9829 pub const tomCompressPunctuation: tomConstants = tomConstants(1i32);
9830 pub const tomCompressPunctuationAndKana: tomConstants = tomConstants(2i32);
9831 pub const tomCompressMax: tomConstants = tomConstants(2i32);
9832 pub const tomUnderlinePositionAuto: tomConstants = tomConstants(0i32);
9833 pub const tomUnderlinePositionBelow: tomConstants = tomConstants(1i32);
9834 pub const tomUnderlinePositionAbove: tomConstants = tomConstants(2i32);
9835 pub const tomUnderlinePositionMax: tomConstants = tomConstants(2i32);
9836 pub const tomFontAlignmentAuto: tomConstants = tomConstants(0i32);
9837 pub const tomFontAlignmentTop: tomConstants = tomConstants(1i32);
9838 pub const tomFontAlignmentBaseline: tomConstants = tomConstants(2i32);
9839 pub const tomFontAlignmentBottom: tomConstants = tomConstants(3i32);
9840 pub const tomFontAlignmentCenter: tomConstants = tomConstants(4i32);
9841 pub const tomFontAlignmentMax: tomConstants = tomConstants(4i32);
9842 pub const tomRubyBelow: tomConstants = tomConstants(128i32);
9843 pub const tomRubyAlignCenter: tomConstants = tomConstants(0i32);
9844 pub const tomRubyAlign010: tomConstants = tomConstants(1i32);
9845 pub const tomRubyAlign121: tomConstants = tomConstants(2i32);
9846 pub const tomRubyAlignLeft: tomConstants = tomConstants(3i32);
9847 pub const tomRubyAlignRight: tomConstants = tomConstants(4i32);
9848 pub const tomLimitsDefault: tomConstants = tomConstants(0i32);
9849 pub const tomLimitsUnderOver: tomConstants = tomConstants(1i32);
9850 pub const tomLimitsSubSup: tomConstants = tomConstants(2i32);
9851 pub const tomUpperLimitAsSuperScript: tomConstants = tomConstants(3i32);
9852 pub const tomLimitsOpposite: tomConstants = tomConstants(4i32);
9853 pub const tomShowLLimPlaceHldr: tomConstants = tomConstants(8i32);
9854 pub const tomShowULimPlaceHldr: tomConstants = tomConstants(16i32);
9855 pub const tomDontGrowWithContent: tomConstants = tomConstants(64i32);
9856 pub const tomGrowWithContent: tomConstants = tomConstants(128i32);
9857 pub const tomSubSupAlign: tomConstants = tomConstants(1i32);
9858 pub const tomLimitAlignMask: tomConstants = tomConstants(3i32);
9859 pub const tomLimitAlignCenter: tomConstants = tomConstants(0i32);
9860 pub const tomLimitAlignLeft: tomConstants = tomConstants(1i32);
9861 pub const tomLimitAlignRight: tomConstants = tomConstants(2i32);
9862 pub const tomShowDegPlaceHldr: tomConstants = tomConstants(8i32);
9863 pub const tomAlignDefault: tomConstants = tomConstants(0i32);
9864 pub const tomAlignMatchAscentDescent: tomConstants = tomConstants(2i32);
9865 pub const tomMathVariant: tomConstants = tomConstants(32i32);
9866 pub const tomStyleDefault: tomConstants = tomConstants(0i32);
9867 pub const tomStyleScriptScriptCramped: tomConstants = tomConstants(1i32);
9868 pub const tomStyleScriptScript: tomConstants = tomConstants(2i32);
9869 pub const tomStyleScriptCramped: tomConstants = tomConstants(3i32);
9870 pub const tomStyleScript: tomConstants = tomConstants(4i32);
9871 pub const tomStyleTextCramped: tomConstants = tomConstants(5i32);
9872 pub const tomStyleText: tomConstants = tomConstants(6i32);
9873 pub const tomStyleDisplayCramped: tomConstants = tomConstants(7i32);
9874 pub const tomStyleDisplay: tomConstants = tomConstants(8i32);
9875 pub const tomMathRelSize: tomConstants = tomConstants(64i32);
9876 pub const tomDecDecSize: tomConstants = tomConstants(254i32);
9877 pub const tomDecSize: tomConstants = tomConstants(255i32);
9878 pub const tomIncSize: tomConstants = tomConstants(65i32);
9879 pub const tomIncIncSize: tomConstants = tomConstants(66i32);
9880 pub const tomGravityUI: tomConstants = tomConstants(0i32);
9881 pub const tomGravityBack: tomConstants = tomConstants(1i32);
9882 pub const tomGravityFore: tomConstants = tomConstants(2i32);
9883 pub const tomGravityIn: tomConstants = tomConstants(3i32);
9884 pub const tomGravityOut: tomConstants = tomConstants(4i32);
9885 pub const tomGravityBackward: tomConstants = tomConstants(536870912i32);
9886 pub const tomGravityForward: tomConstants = tomConstants(1073741824i32);
9887 pub const tomAdjustCRLF: tomConstants = tomConstants(1i32);
9888 pub const tomUseCRLF: tomConstants = tomConstants(2i32);
9889 pub const tomTextize: tomConstants = tomConstants(4i32);
9890 pub const tomAllowFinalEOP: tomConstants = tomConstants(8i32);
9891 pub const tomFoldMathAlpha: tomConstants = tomConstants(16i32);
9892 pub const tomNoHidden: tomConstants = tomConstants(32i32);
9893 pub const tomIncludeNumbering: tomConstants = tomConstants(64i32);
9894 pub const tomTranslateTableCell: tomConstants = tomConstants(128i32);
9895 pub const tomNoMathZoneBrackets: tomConstants = tomConstants(256i32);
9896 pub const tomConvertMathChar: tomConstants = tomConstants(512i32);
9897 pub const tomNoUCGreekItalic: tomConstants = tomConstants(1024i32);
9898 pub const tomAllowMathBold: tomConstants = tomConstants(2048i32);
9899 pub const tomLanguageTag: tomConstants = tomConstants(4096i32);
9900 pub const tomConvertRTF: tomConstants = tomConstants(8192i32);
9901 pub const tomApplyRtfDocProps: tomConstants = tomConstants(16384i32);
9902 pub const tomPhantomShow: tomConstants = tomConstants(1i32);
9903 pub const tomPhantomZeroWidth: tomConstants = tomConstants(2i32);
9904 pub const tomPhantomZeroAscent: tomConstants = tomConstants(4i32);
9905 pub const tomPhantomZeroDescent: tomConstants = tomConstants(8i32);
9906 pub const tomPhantomTransparent: tomConstants = tomConstants(16i32);
9907 pub const tomPhantomASmash: tomConstants = tomConstants(5i32);
9908 pub const tomPhantomDSmash: tomConstants = tomConstants(9i32);
9909 pub const tomPhantomHSmash: tomConstants = tomConstants(3i32);
9910 pub const tomPhantomSmash: tomConstants = tomConstants(13i32);
9911 pub const tomPhantomHorz: tomConstants = tomConstants(12i32);
9912 pub const tomPhantomVert: tomConstants = tomConstants(2i32);
9913 pub const tomBoxHideTop: tomConstants = tomConstants(1i32);
9914 pub const tomBoxHideBottom: tomConstants = tomConstants(2i32);
9915 pub const tomBoxHideLeft: tomConstants = tomConstants(4i32);
9916 pub const tomBoxHideRight: tomConstants = tomConstants(8i32);
9917 pub const tomBoxStrikeH: tomConstants = tomConstants(16i32);
9918 pub const tomBoxStrikeV: tomConstants = tomConstants(32i32);
9919 pub const tomBoxStrikeTLBR: tomConstants = tomConstants(64i32);
9920 pub const tomBoxStrikeBLTR: tomConstants = tomConstants(128i32);
9921 pub const tomBoxAlignCenter: tomConstants = tomConstants(1i32);
9922 pub const tomSpaceMask: tomConstants = tomConstants(28i32);
9923 pub const tomSpaceDefault: tomConstants = tomConstants(0i32);
9924 pub const tomSpaceUnary: tomConstants = tomConstants(4i32);
9925 pub const tomSpaceBinary: tomConstants = tomConstants(8i32);
9926 pub const tomSpaceRelational: tomConstants = tomConstants(12i32);
9927 pub const tomSpaceSkip: tomConstants = tomConstants(16i32);
9928 pub const tomSpaceOrd: tomConstants = tomConstants(20i32);
9929 pub const tomSpaceDifferential: tomConstants = tomConstants(24i32);
9930 pub const tomSizeText: tomConstants = tomConstants(32i32);
9931 pub const tomSizeScript: tomConstants = tomConstants(64i32);
9932 pub const tomSizeScriptScript: tomConstants = tomConstants(96i32);
9933 pub const tomNoBreak: tomConstants = tomConstants(128i32);
9934 pub const tomTransparentForPositioning: tomConstants = tomConstants(256i32);
9935 pub const tomTransparentForSpacing: tomConstants = tomConstants(512i32);
9936 pub const tomStretchCharBelow: tomConstants = tomConstants(0i32);
9937 pub const tomStretchCharAbove: tomConstants = tomConstants(1i32);
9938 pub const tomStretchBaseBelow: tomConstants = tomConstants(2i32);
9939 pub const tomStretchBaseAbove: tomConstants = tomConstants(3i32);
9940 pub const tomMatrixAlignMask: tomConstants = tomConstants(3i32);
9941 pub const tomMatrixAlignCenter: tomConstants = tomConstants(0i32);
9942 pub const tomMatrixAlignTopRow: tomConstants = tomConstants(1i32);
9943 pub const tomMatrixAlignBottomRow: tomConstants = tomConstants(3i32);
9944 pub const tomShowMatPlaceHldr: tomConstants = tomConstants(8i32);
9945 pub const tomEqArrayLayoutWidth: tomConstants = tomConstants(1i32);
9946 pub const tomEqArrayAlignMask: tomConstants = tomConstants(12i32);
9947 pub const tomEqArrayAlignCenter: tomConstants = tomConstants(0i32);
9948 pub const tomEqArrayAlignTopRow: tomConstants = tomConstants(4i32);
9949 pub const tomEqArrayAlignBottomRow: tomConstants = tomConstants(12i32);
9950 pub const tomMathManualBreakMask: tomConstants = tomConstants(127i32);
9951 pub const tomMathBreakLeft: tomConstants = tomConstants(125i32);
9952 pub const tomMathBreakCenter: tomConstants = tomConstants(126i32);
9953 pub const tomMathBreakRight: tomConstants = tomConstants(127i32);
9954 pub const tomMathEqAlign: tomConstants = tomConstants(128i32);
9955 pub const tomMathArgShadingStart: tomConstants = tomConstants(593i32);
9956 pub const tomMathArgShadingEnd: tomConstants = tomConstants(594i32);
9957 pub const tomMathObjShadingStart: tomConstants = tomConstants(595i32);
9958 pub const tomMathObjShadingEnd: tomConstants = tomConstants(596i32);
9959 pub const tomFunctionTypeNone: tomConstants = tomConstants(0i32);
9960 pub const tomFunctionTypeTakesArg: tomConstants = tomConstants(1i32);
9961 pub const tomFunctionTypeTakesLim: tomConstants = tomConstants(2i32);
9962 pub const tomFunctionTypeTakesLim2: tomConstants = tomConstants(3i32);
9963 pub const tomFunctionTypeIsLim: tomConstants = tomConstants(4i32);
9964 pub const tomMathParaAlignDefault: tomConstants = tomConstants(0i32);
9965 pub const tomMathParaAlignCenterGroup: tomConstants = tomConstants(1i32);
9966 pub const tomMathParaAlignCenter: tomConstants = tomConstants(2i32);
9967 pub const tomMathParaAlignLeft: tomConstants = tomConstants(3i32);
9968 pub const tomMathParaAlignRight: tomConstants = tomConstants(4i32);
9969 pub const tomMathDispAlignMask: tomConstants = tomConstants(3i32);
9970 pub const tomMathDispAlignCenterGroup: tomConstants = tomConstants(0i32);
9971 pub const tomMathDispAlignCenter: tomConstants = tomConstants(1i32);
9972 pub const tomMathDispAlignLeft: tomConstants = tomConstants(2i32);
9973 pub const tomMathDispAlignRight: tomConstants = tomConstants(3i32);
9974 pub const tomMathDispIntUnderOver: tomConstants = tomConstants(4i32);
9975 pub const tomMathDispFracTeX: tomConstants = tomConstants(8i32);
9976 pub const tomMathDispNaryGrow: tomConstants = tomConstants(16i32);
9977 pub const tomMathDocEmptyArgMask: tomConstants = tomConstants(96i32);
9978 pub const tomMathDocEmptyArgAuto: tomConstants = tomConstants(0i32);
9979 pub const tomMathDocEmptyArgAlways: tomConstants = tomConstants(32i32);
9980 pub const tomMathDocEmptyArgNever: tomConstants = tomConstants(64i32);
9981 pub const tomMathDocSbSpOpUnchanged: tomConstants = tomConstants(128i32);
9982 pub const tomMathDocDiffMask: tomConstants = tomConstants(768i32);
9983 pub const tomMathDocDiffDefault: tomConstants = tomConstants(0i32);
9984 pub const tomMathDocDiffUpright: tomConstants = tomConstants(256i32);
9985 pub const tomMathDocDiffItalic: tomConstants = tomConstants(512i32);
9986 pub const tomMathDocDiffOpenItalic: tomConstants = tomConstants(768i32);
9987 pub const tomMathDispNarySubSup: tomConstants = tomConstants(1024i32);
9988 pub const tomMathDispDef: tomConstants = tomConstants(2048i32);
9989 pub const tomMathEnableRtl: tomConstants = tomConstants(4096i32);
9990 pub const tomMathBrkBinMask: tomConstants = tomConstants(196608i32);
9991 pub const tomMathBrkBinBefore: tomConstants = tomConstants(0i32);
9992 pub const tomMathBrkBinAfter: tomConstants = tomConstants(65536i32);
9993 pub const tomMathBrkBinDup: tomConstants = tomConstants(131072i32);
9994 pub const tomMathBrkBinSubMask: tomConstants = tomConstants(786432i32);
9995 pub const tomMathBrkBinSubMM: tomConstants = tomConstants(0i32);
9996 pub const tomMathBrkBinSubPM: tomConstants = tomConstants(262144i32);
9997 pub const tomMathBrkBinSubMP: tomConstants = tomConstants(524288i32);
9998 pub const tomSelRange: tomConstants = tomConstants(597i32);
9999 pub const tomHstring: tomConstants = tomConstants(596i32);
10000 pub const tomFontPropTeXStyle: tomConstants = tomConstants(828i32);
10001 pub const tomFontPropAlign: tomConstants = tomConstants(829i32);
10002 pub const tomFontStretch: tomConstants = tomConstants(830i32);
10003 pub const tomFontStyle: tomConstants = tomConstants(831i32);
10004 pub const tomFontStyleUpright: tomConstants = tomConstants(0i32);
10005 pub const tomFontStyleOblique: tomConstants = tomConstants(1i32);
10006 pub const tomFontStyleItalic: tomConstants = tomConstants(2i32);
10007 pub const tomFontStretchDefault: tomConstants = tomConstants(0i32);
10008 pub const tomFontStretchUltraCondensed: tomConstants = tomConstants(1i32);
10009 pub const tomFontStretchExtraCondensed: tomConstants = tomConstants(2i32);
10010 pub const tomFontStretchCondensed: tomConstants = tomConstants(3i32);
10011 pub const tomFontStretchSemiCondensed: tomConstants = tomConstants(4i32);
10012 pub const tomFontStretchNormal: tomConstants = tomConstants(5i32);
10013 pub const tomFontStretchSemiExpanded: tomConstants = tomConstants(6i32);
10014 pub const tomFontStretchExpanded: tomConstants = tomConstants(7i32);
10015 pub const tomFontStretchExtraExpanded: tomConstants = tomConstants(8i32);
10016 pub const tomFontStretchUltraExpanded: tomConstants = tomConstants(9i32);
10017 pub const tomFontWeightDefault: tomConstants = tomConstants(0i32);
10018 pub const tomFontWeightThin: tomConstants = tomConstants(100i32);
10019 pub const tomFontWeightExtraLight: tomConstants = tomConstants(200i32);
10020 pub const tomFontWeightLight: tomConstants = tomConstants(300i32);
10021 pub const tomFontWeightNormal: tomConstants = tomConstants(400i32);
10022 pub const tomFontWeightRegular: tomConstants = tomConstants(400i32);
10023 pub const tomFontWeightMedium: tomConstants = tomConstants(500i32);
10024 pub const tomFontWeightSemiBold: tomConstants = tomConstants(600i32);
10025 pub const tomFontWeightBold: tomConstants = tomConstants(700i32);
10026 pub const tomFontWeightExtraBold: tomConstants = tomConstants(800i32);
10027 pub const tomFontWeightBlack: tomConstants = tomConstants(900i32);
10028 pub const tomFontWeightHeavy: tomConstants = tomConstants(900i32);
10029 pub const tomFontWeightExtraBlack: tomConstants = tomConstants(950i32);
10030 pub const tomParaPropMathAlign: tomConstants = tomConstants(1079i32);
10031 pub const tomDocMathBuild: tomConstants = tomConstants(128i32);
10032 pub const tomMathLMargin: tomConstants = tomConstants(129i32);
10033 pub const tomMathRMargin: tomConstants = tomConstants(130i32);
10034 pub const tomMathWrapIndent: tomConstants = tomConstants(131i32);
10035 pub const tomMathWrapRight: tomConstants = tomConstants(132i32);
10036 pub const tomMathPostSpace: tomConstants = tomConstants(134i32);
10037 pub const tomMathPreSpace: tomConstants = tomConstants(133i32);
10038 pub const tomMathInterSpace: tomConstants = tomConstants(135i32);
10039 pub const tomMathIntraSpace: tomConstants = tomConstants(136i32);
10040 pub const tomCanCopy: tomConstants = tomConstants(137i32);
10041 pub const tomCanRedo: tomConstants = tomConstants(138i32);
10042 pub const tomCanUndo: tomConstants = tomConstants(139i32);
10043 pub const tomUndoLimit: tomConstants = tomConstants(140i32);
10044 pub const tomDocAutoLink: tomConstants = tomConstants(141i32);
10045 pub const tomEllipsisMode: tomConstants = tomConstants(142i32);
10046 pub const tomEllipsisState: tomConstants = tomConstants(143i32);
10047 pub const tomEllipsisNone: tomConstants = tomConstants(0i32);
10048 pub const tomEllipsisEnd: tomConstants = tomConstants(1i32);
10049 pub const tomEllipsisWord: tomConstants = tomConstants(3i32);
10050 pub const tomEllipsisPresent: tomConstants = tomConstants(1i32);
10051 pub const tomVTopCell: tomConstants = tomConstants(1i32);
10052 pub const tomVLowCell: tomConstants = tomConstants(2i32);
10053 pub const tomHStartCell: tomConstants = tomConstants(4i32);
10054 pub const tomHContCell: tomConstants = tomConstants(8i32);
10055 pub const tomRowUpdate: tomConstants = tomConstants(1i32);
10056 pub const tomRowApplyDefault: tomConstants = tomConstants(0i32);
10057 pub const tomCellStructureChangeOnly: tomConstants = tomConstants(1i32);
10058 pub const tomRowHeightActual: tomConstants = tomConstants(2059i32);
10059 impl ::std::convert::From<i32> for tomConstants {
from(value: i32) -> Self10060     fn from(value: i32) -> Self {
10061         Self(value)
10062     }
10063 }
10064 unsafe impl ::windows::runtime::Abi for tomConstants {
10065     type Abi = Self;
10066     type DefaultType = Self;
10067 }
10068