1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3 #[repr(transparent)]
4 pub struct ANCHOR_CHANGE_HISTORY_FLAGS(pub u32);
5 pub const TS_CH_PRECEDING_DEL: ANCHOR_CHANGE_HISTORY_FLAGS = ANCHOR_CHANGE_HISTORY_FLAGS(1u32);
6 pub const TS_CH_FOLLOWING_DEL: ANCHOR_CHANGE_HISTORY_FLAGS = ANCHOR_CHANGE_HISTORY_FLAGS(2u32);
7 impl ::std::convert::From<u32> for ANCHOR_CHANGE_HISTORY_FLAGS {
from(value: u32) -> Self8     fn from(value: u32) -> Self {
9         Self(value)
10     }
11 }
12 unsafe impl ::windows::runtime::Abi for ANCHOR_CHANGE_HISTORY_FLAGS {
13     type Abi = Self;
14     type DefaultType = Self;
15 }
16 impl ::std::ops::BitOr for ANCHOR_CHANGE_HISTORY_FLAGS {
17     type Output = Self;
bitor(self, rhs: Self) -> Self18     fn bitor(self, rhs: Self) -> Self {
19         Self(self.0 | rhs.0)
20     }
21 }
22 impl ::std::ops::BitAnd for ANCHOR_CHANGE_HISTORY_FLAGS {
23     type Output = Self;
bitand(self, rhs: Self) -> Self24     fn bitand(self, rhs: Self) -> Self {
25         Self(self.0 & rhs.0)
26     }
27 }
28 impl ::std::ops::BitOrAssign for ANCHOR_CHANGE_HISTORY_FLAGS {
bitor_assign(&mut self, rhs: Self)29     fn bitor_assign(&mut self, rhs: Self) {
30         self.0.bitor_assign(rhs.0)
31     }
32 }
33 impl ::std::ops::BitAndAssign for ANCHOR_CHANGE_HISTORY_FLAGS {
bitand_assign(&mut self, rhs: Self)34     fn bitand_assign(&mut self, rhs: Self) {
35         self.0.bitand_assign(rhs.0)
36     }
37 }
38 impl ::std::ops::Not for ANCHOR_CHANGE_HISTORY_FLAGS {
39     type Output = Self;
not(self) -> Self40     fn not(self) -> Self {
41         Self(self.0.not())
42     }
43 }
44 pub const AccClientDocMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4232629296, 20286, 20385, [128, 59, 173, 14, 25, 106, 131, 177]);
45 pub const AccDictionary: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1702030870, 24549, 17201, [187, 109, 118, 164, 156, 86, 228, 35]);
46 pub const AccServerDocMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1619633022, 60298, 18477, [189, 111, 249, 244, 105, 4, 209, 109]);
47 pub const AccStore: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1413514111, 19455, 19173, [161, 177, 119, 34, 236, 198, 51, 42]);
48 pub const CLSID_TF_CategoryMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2763343009, 17293, 19265, [147, 37, 134, 149, 35, 226, 214, 199]);
49 pub const CLSID_TF_ClassicLangBar: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(857224716, 6908, 19721, [168, 107, 159, 156, 182, 220, 235, 156]);
50 pub const CLSID_TF_DisplayAttributeMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1021791716, 21459, 19828, [139, 131, 67, 27, 56, 40, 186, 83]);
51 pub const CLSID_TF_InputProcessorProfiles: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(868563536, 62550, 18564, [176, 73, 133, 253, 100, 62, 207, 237]);
52 pub const CLSID_TF_LangBarItemMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3113424530, 41651, 20395, [191, 51, 158, 198, 249, 251, 150, 172]);
53 pub const CLSID_TF_LangBarMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3954216005, 27722, 20444, [174, 83, 78, 184, 196, 199, 219, 142]);
54 pub const CLSID_TF_ThreadMgr: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1385864811, 25991, 20259, [171, 158, 156, 125, 104, 62, 60, 80]);
55 pub const CLSID_TF_TransitoryExtensionUIEntry: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2926305288, 2043, 16397, [139, 235, 51, 122, 100, 247, 5, 31]);
56 pub const CLSID_TsfServices: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(967760896, 27488, 18139, [141, 49, 54, 66, 190, 14, 67, 115]);
57 pub const DCM_FLAGS_CTFMON: u32 = 2u32;
58 pub const DCM_FLAGS_LOCALTHREADTSF: u32 = 4u32;
59 pub const DCM_FLAGS_TASKENG: u32 = 1u32;
60 #[cfg(feature = "Win32_Foundation")]
61 #[inline]
DoMsCtfMonitor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(dwflags: u32, heventforservicestop: Param1) -> super::super::Foundation::BOOL62 pub unsafe fn DoMsCtfMonitor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(dwflags: u32, heventforservicestop: Param1) -> super::super::Foundation::BOOL {
63     #[cfg(windows)]
64     {
65         #[link(name = "windows")]
66         extern "system" {
67             fn DoMsCtfMonitor(dwflags: u32, heventforservicestop: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
68         }
69         ::std::mem::transmute(DoMsCtfMonitor(::std::mem::transmute(dwflags), heventforservicestop.into_param().abi()))
70     }
71     #[cfg(not(windows))]
72     unimplemented!("Unsupported target OS");
73 }
74 pub const DocWrap: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3208802174, 31326, 17622, [131, 12, 163, 144, 234, 148, 98, 163]);
75 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
76 #[repr(transparent)]
77 pub struct GET_TEXT_AND_PROPERTY_UPDATES_FLAGS(pub u32);
78 pub const TF_GTP_NONE: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS = GET_TEXT_AND_PROPERTY_UPDATES_FLAGS(0u32);
79 pub const TF_GTP_INCL_TEXT: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS = GET_TEXT_AND_PROPERTY_UPDATES_FLAGS(1u32);
80 impl ::std::convert::From<u32> for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
from(value: u32) -> Self81     fn from(value: u32) -> Self {
82         Self(value)
83     }
84 }
85 unsafe impl ::windows::runtime::Abi for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
86     type Abi = Self;
87     type DefaultType = Self;
88 }
89 impl ::std::ops::BitOr for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
90     type Output = Self;
bitor(self, rhs: Self) -> Self91     fn bitor(self, rhs: Self) -> Self {
92         Self(self.0 | rhs.0)
93     }
94 }
95 impl ::std::ops::BitAnd for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
96     type Output = Self;
bitand(self, rhs: Self) -> Self97     fn bitand(self, rhs: Self) -> Self {
98         Self(self.0 & rhs.0)
99     }
100 }
101 impl ::std::ops::BitOrAssign for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
bitor_assign(&mut self, rhs: Self)102     fn bitor_assign(&mut self, rhs: Self) {
103         self.0.bitor_assign(rhs.0)
104     }
105 }
106 impl ::std::ops::BitAndAssign for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
bitand_assign(&mut self, rhs: Self)107     fn bitand_assign(&mut self, rhs: Self) {
108         self.0.bitand_assign(rhs.0)
109     }
110 }
111 impl ::std::ops::Not for GET_TEXT_AND_PROPERTY_UPDATES_FLAGS {
112     type Output = Self;
not(self) -> Self113     fn not(self) -> Self {
114         Self(self.0.not())
115     }
116 }
117 pub const GUID_APP_FUNCTIONPROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1286533150, 4783, 19214, [157, 177, 166, 236, 91, 136, 18, 8]);
118 pub const GUID_COMPARTMENT_CONVERSIONMODEBIAS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1419244822, 61073, 17262, [185, 70, 170, 44, 5, 241, 172, 91]);
119 pub const GUID_COMPARTMENT_EMPTYCONTEXT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3611852223, 32846, 16837, [137, 77, 173, 150, 253, 78, 234, 19]);
120 pub const GUID_COMPARTMENT_ENABLED_PROFILES_UPDATED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2462186824, 43438, 19068, [190, 8, 67, 41, 228, 114, 56, 23]);
121 pub const GUID_COMPARTMENT_HANDWRITING_OPENCLOSE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4188941419, 6246, 17249, [175, 114, 122, 163, 9, 72, 137, 14]);
122 pub const GUID_COMPARTMENT_KEYBOARD_DISABLED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1906684499, 6481, 18027, [159, 188, 156, 136, 8, 250, 132, 242]);
123 pub const GUID_COMPARTMENT_KEYBOARD_INPUTMODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3059295505, 48366, 16674, [167, 196, 9, 244, 179, 250, 67, 150]);
124 pub const GUID_COMPARTMENT_KEYBOARD_INPUTMODE_CONVERSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3438304728, 19079, 4567, [166, 226, 0, 6, 91, 132, 67, 92]);
125 pub const GUID_COMPARTMENT_KEYBOARD_INPUTMODE_SENTENCE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3438304729, 19079, 4567, [166, 226, 0, 6, 91, 132, 67, 92]);
126 pub const GUID_COMPARTMENT_KEYBOARD_OPENCLOSE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1478965933, 443, 16740, [149, 198, 117, 91, 160, 181, 22, 45]);
127 pub const GUID_COMPARTMENT_SAPI_AUDIO: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1370431622, 52331, 17789, [181, 170, 139, 25, 220, 41, 10, 180]);
128 pub const GUID_COMPARTMENT_SPEECH_CFGMENU: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4218182701, 20099, 19382, [145, 162, 224, 25, 191, 246, 118, 45]);
129 pub const GUID_COMPARTMENT_SPEECH_DISABLED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1455801863, 1795, 20057, [142, 82, 203, 200, 78, 139, 190, 53]);
130 pub const GUID_COMPARTMENT_SPEECH_GLOBALSTATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(710213262, 3336, 17932, [167, 93, 135, 3, 95, 244, 54, 197]);
131 pub const GUID_COMPARTMENT_SPEECH_OPENCLOSE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1414359651, 58088, 18258, [187, 209, 0, 9, 96, 188, 160, 131]);
132 pub const GUID_COMPARTMENT_SPEECH_UI_STATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3642758896, 37735, 20455, [154, 191, 188, 89, 218, 203, 224, 227]);
133 pub const GUID_COMPARTMENT_TIPUISTATUS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(344761324, 870, 16412, [141, 117, 237, 151, 141, 133, 251, 201]);
134 pub const GUID_COMPARTMENT_TRANSITORYEXTENSION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2346928117, 51104, 4567, [180, 8, 0, 6, 91, 132, 67, 92]);
135 pub const GUID_COMPARTMENT_TRANSITORYEXTENSION_DOCUMENTMANAGER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2346928119, 51104, 4567, [180, 8, 0, 6, 91, 132, 67, 92]);
136 pub const GUID_COMPARTMENT_TRANSITORYEXTENSION_PARENT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2346928120, 51104, 4567, [180, 8, 0, 6, 91, 132, 67, 92]);
137 pub const GUID_INTEGRATIONSTYLE_SEARCHBOX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3872505105, 33527, 18691, [174, 33, 26, 99, 151, 205, 226, 235]);
138 pub const GUID_LBI_INPUTMODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(746039326, 16844, 16760, [163, 167, 95, 138, 152, 117, 104, 230]);
139 pub const GUID_LBI_SAPILAYR_CFGMENUBUTTON: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3492750497, 37933, 16942, [141, 153, 180, 242, 173, 222, 233, 153]);
140 pub const GUID_MODEBIAS_CHINESE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2061313758, 17192, 18587, [131, 174, 100, 147, 117, 12, 173, 92]);
141 pub const GUID_MODEBIAS_CONVERSATION: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(256819460, 6032, 17467, [149, 241, 225, 15, 147, 157, 101, 70]);
142 pub const GUID_MODEBIAS_DATETIME: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4072518514, 32609, 16441, [146, 239, 28, 53, 89, 159, 2, 34]);
143 pub const GUID_MODEBIAS_FILENAME: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3623290878, 17606, 20426, [142, 118, 134, 171, 80, 199, 147, 27]);
144 pub const GUID_MODEBIAS_FULLWIDTHALPHANUMERIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2169020344, 45930, 18237, [129, 70, 228, 162, 37, 139, 36, 174]);
145 pub const GUID_MODEBIAS_FULLWIDTHHANGUL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3222988489, 17845, 20432, [156, 177, 159, 76, 235, 195, 159, 234]);
146 pub const GUID_MODEBIAS_HALFWIDTHKATAKANA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(6253411, 30932, 16844, [136, 89, 72, 92, 168, 33, 167, 149]);
147 pub const GUID_MODEBIAS_HANGUL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1995375937, 9139, 19831, [160, 116, 105, 24, 1, 204, 234, 23]);
148 pub const GUID_MODEBIAS_HIRAGANA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3611111790, 39825, 18161, [162, 128, 49, 89, 127, 82, 198, 148]);
149 pub const GUID_MODEBIAS_KATAKANA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(772730333, 14874, 18846, [133, 67, 60, 126, 231, 148, 152, 17]);
150 pub const GUID_MODEBIAS_NAME: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4259057904, 53817, 18879, [184, 252, 84, 16, 202, 170, 66, 126]);
151 pub const GUID_MODEBIAS_NONE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]);
152 pub const GUID_MODEBIAS_NUMERIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1075934828, 59506, 18685, [156, 238, 78, 197, 199, 94, 22, 195]);
153 pub const GUID_MODEBIAS_READING: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3809887139, 25702, 19647, [141, 139, 11, 212, 216, 84, 84, 97]);
154 pub const GUID_MODEBIAS_URLHISTORY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2332972249, 25586, 19560, [132, 212, 121, 174, 231, 165, 159, 9]);
155 pub const GUID_PROP_ATTRIBUTE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(884233840, 29990, 4562, [161, 71, 0, 16, 90, 39, 153, 181]);
156 pub const GUID_PROP_COMPOSING: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3777675360, 44821, 4562, [175, 197, 0, 16, 90, 39, 153, 181]);
157 pub const GUID_PROP_INPUTSCOPE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(387177818, 26855, 19035, [154, 246, 89, 42, 89, 92, 119, 141]);
158 pub const GUID_PROP_LANGID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(847302176, 32818, 4562, [182, 3, 0, 16, 90, 39, 153, 181]);
159 pub const GUID_PROP_MODEBIAS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(925763350, 38735, 16556, [160, 136, 8, 205, 201, 46, 191, 188]);
160 pub const GUID_PROP_READING: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1415837632, 36401, 4562, [191, 70, 0, 16, 90, 39, 153, 181]);
161 pub const GUID_PROP_TEXTOWNER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4058174752, 2409, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
162 pub const GUID_PROP_TKB_ALTERNATES: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1890756611, 38541, 17966, [185, 59, 33, 100, 201, 21, 23, 247]);
163 pub const GUID_SYSTEM_FUNCTIONPROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2590608304, 3873, 4563, [141, 241, 0, 16, 90, 39, 153, 181]);
164 pub const GUID_TFCAT_CATEGORY_OF_TIP: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1397508289, 1543, 16536, [165, 33, 79, 200, 153, 199, 62, 144]);
165 pub const GUID_TFCAT_DISPLAYATTRIBUTEPROPERTY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3110017051, 59980, 19185, [128, 86, 124, 50, 26, 187, 176, 145]);
166 pub const GUID_TFCAT_DISPLAYATTRIBUTEPROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(74157184, 5703, 16631, [155, 33, 185, 59, 129, 170, 188, 27]);
167 pub const GUID_TFCAT_PROPSTYLE_STATIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1449113816, 27604, 19617, [178, 35, 15, 44, 203, 143, 79, 150]);
168 pub const GUID_TFCAT_PROP_AUDIODATA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2608587689, 59563, 19783, [168, 254, 37, 79, 164, 35, 67, 109]);
169 pub const GUID_TFCAT_PROP_INKDATA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2087355054, 45271, 20244, [167, 69, 20, 242, 139, 0, 157, 97]);
170 pub const GUID_TFCAT_TIPCAP_COMLESS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(910300633, 30140, 4567, [166, 239, 0, 6, 91, 132, 67, 92]);
171 pub const GUID_TFCAT_TIPCAP_DUALMODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(989009058, 55199, 19227, [153, 146, 21, 8, 109, 51, 155, 5]);
172 pub const GUID_TFCAT_TIPCAP_IMMERSIVEONLY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(977426860, 25613, 19156, [137, 247, 30, 182, 126, 124, 78, 232]);
173 pub const GUID_TFCAT_TIPCAP_IMMERSIVESUPPORT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(329258719, 22027, 18125, [148, 122, 76, 58, 241, 224, 227, 93]);
174 pub const GUID_TFCAT_TIPCAP_INPUTMODECOMPARTMENT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3438304727, 19079, 4567, [166, 226, 0, 6, 91, 132, 67, 92]);
175 pub const GUID_TFCAT_TIPCAP_LOCALSERVER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1953930985, 19046, 20381, [144, 214, 191, 139, 124, 62, 180, 97]);
176 pub const GUID_TFCAT_TIPCAP_SECUREMODE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1238563278, 8030, 4567, [166, 211, 0, 6, 91, 132, 67, 92]);
177 pub const GUID_TFCAT_TIPCAP_SYSTRAYSUPPORT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(626020276, 31659, 19393, [156, 105, 207, 129, 137, 15, 14, 245]);
178 pub const GUID_TFCAT_TIPCAP_TSF3: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(131904687, 39134, 17736, [190, 247, 37, 189, 69, 151, 154, 31]);
179 pub const GUID_TFCAT_TIPCAP_UIELEMENTENABLED: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1238563279, 8030, 4567, [166, 211, 0, 6, 91, 132, 67, 92]);
180 pub const GUID_TFCAT_TIPCAP_WOW16: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(910300634, 30140, 4567, [166, 239, 0, 6, 91, 132, 67, 92]);
181 pub const GUID_TFCAT_TIP_HANDWRITING: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(611240839, 49906, 19134, [144, 91, 200, 179, 138, 221, 44, 67]);
182 pub const GUID_TFCAT_TIP_KEYBOARD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(880041059, 45808, 18308, [139, 103, 94, 18, 200, 112, 26, 49]);
183 pub const GUID_TFCAT_TIP_SPEECH: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3047636177, 33621, 17003, [161, 97, 37, 152, 8, 242, 107, 20]);
184 pub const GUID_TFCAT_TRANSITORYEXTENSIONUI: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1661132322, 42447, 19202, [191, 232, 77, 114, 178, 190, 211, 198]);
185 pub const GUID_TS_SERVICE_ACCESSIBLE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4185416192, 42431, 18959, [140, 36, 251, 22, 245, 209, 170, 187]);
186 pub const GUID_TS_SERVICE_ACTIVEX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3935533648, 51622, 19325, [137, 74, 73, 217, 155, 120, 72, 52]);
187 pub const GUID_TS_SERVICE_DATAOBJECT: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1619458997, 57893, 18126, [167, 112, 193, 187, 211, 224, 93, 123]);
188 pub const GXFPF_NEAREST: u32 = 2u32;
189 pub const GXFPF_ROUND_NEAREST: u32 = 1u32;
190 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
191 #[repr(transparent)]
192 pub struct HKL(pub isize);
193 impl ::std::default::Default for HKL {
default() -> Self194     fn default() -> Self {
195         unsafe { ::std::mem::zeroed() }
196     }
197 }
198 unsafe impl ::windows::runtime::Handle for HKL {}
199 unsafe impl ::windows::runtime::Abi for HKL {
200     type Abi = Self;
201     type DefaultType = Self;
202 }
203 #[repr(transparent)]
204 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
205 pub struct IAccClientDocMgr(::windows::runtime::IUnknown);
206 impl IAccClientDocMgr {
207     #[cfg(feature = "Win32_System_Com")]
GetDocuments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumUnknown>208     pub unsafe fn GetDocuments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumUnknown> {
209         let mut result__: <super::super::System::Com::IEnumUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
210         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumUnknown>(result__)
211     }
212     #[cfg(feature = "Win32_Foundation")]
LookupByHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwnd: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>213     pub unsafe fn LookupByHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwnd: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
214         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
215         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
216     }
217     #[cfg(feature = "Win32_Foundation")]
LookupByPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, pt: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>218     pub unsafe fn LookupByPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, pt: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
219         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
220         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pt.into_param().abi(), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
221     }
GetFocused(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>222     pub unsafe fn GetFocused(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
223         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
224         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
225     }
226 }
227 unsafe impl ::windows::runtime::Interface for IAccClientDocMgr {
228     type Vtable = IAccClientDocMgr_abi;
229     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1284071481, 31597, 18918, [168, 193, 69, 17, 106, 152, 41, 43]);
230 }
231 impl ::std::convert::From<IAccClientDocMgr> for ::windows::runtime::IUnknown {
from(value: IAccClientDocMgr) -> Self232     fn from(value: IAccClientDocMgr) -> Self {
233         unsafe { ::std::mem::transmute(value) }
234     }
235 }
236 impl ::std::convert::From<&IAccClientDocMgr> for ::windows::runtime::IUnknown {
from(value: &IAccClientDocMgr) -> Self237     fn from(value: &IAccClientDocMgr) -> Self {
238         ::std::convert::From::from(::std::clone::Clone::clone(value))
239     }
240 }
241 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAccClientDocMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>242     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
243         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
244     }
245 }
246 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAccClientDocMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>247     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
248         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
249     }
250 }
251 #[repr(C)]
252 #[doc(hidden)]
253 pub struct IAccClientDocMgr_abi(
254     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
255     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
257     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enumunknown: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
258     #[cfg(not(feature = "Win32_System_Com"))] usize,
259     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
260     #[cfg(not(feature = "Win32_Foundation"))] usize,
261     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pt: super::super::Foundation::POINT, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
262     #[cfg(not(feature = "Win32_Foundation"))] usize,
263     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
264 );
265 #[repr(transparent)]
266 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
267 pub struct IAccDictionary(::windows::runtime::IUnknown);
268 impl IAccDictionary {
269     #[cfg(feature = "Win32_Foundation")]
GetLocalizedString(&self, term: *const ::windows::runtime::GUID, lcid: u32, presult: *mut super::super::Foundation::BSTR, plcid: *mut u32) -> ::windows::runtime::Result<()>270     pub unsafe fn GetLocalizedString(&self, term: *const ::windows::runtime::GUID, lcid: u32, presult: *mut super::super::Foundation::BSTR, plcid: *mut u32) -> ::windows::runtime::Result<()> {
271         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(term), ::std::mem::transmute(lcid), ::std::mem::transmute(presult), ::std::mem::transmute(plcid)).ok()
272     }
GetParentTerm(&self, term: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::GUID>273     pub unsafe fn GetParentTerm(&self, term: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::GUID> {
274         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
275         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(term), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
276     }
277     #[cfg(feature = "Win32_Foundation")]
GetMnemonicString(&self, term: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR>278     pub unsafe fn GetMnemonicString(&self, term: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
279         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
280         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(term), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
281     }
282     #[cfg(feature = "Win32_Foundation")]
LookupMnemonicTerm<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmnemonic: Param0) -> ::windows::runtime::Result<::windows::runtime::GUID>283     pub unsafe fn LookupMnemonicTerm<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrmnemonic: Param0) -> ::windows::runtime::Result<::windows::runtime::GUID> {
284         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
285         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), bstrmnemonic.into_param().abi(), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
286     }
287     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ConvertValueToString<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, term: *const ::windows::runtime::GUID, lcid: u32, varvalue: Param2, pbstrresult: *mut super::super::Foundation::BSTR, plcid: *mut u32) -> ::windows::runtime::Result<()>288     pub unsafe fn ConvertValueToString<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, term: *const ::windows::runtime::GUID, lcid: u32, varvalue: Param2, pbstrresult: *mut super::super::Foundation::BSTR, plcid: *mut u32) -> ::windows::runtime::Result<()> {
289         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(term), ::std::mem::transmute(lcid), varvalue.into_param().abi(), ::std::mem::transmute(pbstrresult), ::std::mem::transmute(plcid)).ok()
290     }
291 }
292 unsafe impl ::windows::runtime::Interface for IAccDictionary {
293     type Vtable = IAccDictionary_abi;
294     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(499436383, 55095, 18253, [173, 233, 92, 207, 201, 188, 28, 201]);
295 }
296 impl ::std::convert::From<IAccDictionary> for ::windows::runtime::IUnknown {
from(value: IAccDictionary) -> Self297     fn from(value: IAccDictionary) -> Self {
298         unsafe { ::std::mem::transmute(value) }
299     }
300 }
301 impl ::std::convert::From<&IAccDictionary> for ::windows::runtime::IUnknown {
from(value: &IAccDictionary) -> Self302     fn from(value: &IAccDictionary) -> Self {
303         ::std::convert::From::from(::std::clone::Clone::clone(value))
304     }
305 }
306 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAccDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>307     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
308         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
309     }
310 }
311 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAccDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>312     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
313         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
314     }
315 }
316 #[repr(C)]
317 #[doc(hidden)]
318 pub struct IAccDictionary_abi(
319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
320     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
321     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
322     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, term: *const ::windows::runtime::GUID, lcid: u32, presult: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, plcid: *mut u32) -> ::windows::runtime::HRESULT,
323     #[cfg(not(feature = "Win32_Foundation"))] usize,
324     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, term: *const ::windows::runtime::GUID, pparentterm: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
325     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, term: *const ::windows::runtime::GUID, presult: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
326     #[cfg(not(feature = "Win32_Foundation"))] usize,
327     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrmnemonic: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pterm: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
328     #[cfg(not(feature = "Win32_Foundation"))] usize,
329     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, term: *const ::windows::runtime::GUID, lcid: u32, varvalue: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>, pbstrresult: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, plcid: *mut u32) -> ::windows::runtime::HRESULT,
330     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
331 );
332 #[repr(transparent)]
333 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
334 pub struct IAccServerDocMgr(::windows::runtime::IUnknown);
335 impl IAccServerDocMgr {
NewDocument<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()>336     pub unsafe fn NewDocument<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()> {
337         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi()).ok()
338     }
RevokeDocument<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>339     pub unsafe fn RevokeDocument<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
340         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
341     }
OnDocumentFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>342     pub unsafe fn OnDocumentFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
343         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
344     }
345 }
346 unsafe impl ::windows::runtime::Interface for IAccServerDocMgr {
347     type Vtable = IAccServerDocMgr_abi;
348     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2910614479, 28117, 18517, [171, 194, 176, 75, 173, 91, 145, 83]);
349 }
350 impl ::std::convert::From<IAccServerDocMgr> for ::windows::runtime::IUnknown {
from(value: IAccServerDocMgr) -> Self351     fn from(value: IAccServerDocMgr) -> Self {
352         unsafe { ::std::mem::transmute(value) }
353     }
354 }
355 impl ::std::convert::From<&IAccServerDocMgr> for ::windows::runtime::IUnknown {
from(value: &IAccServerDocMgr) -> Self356     fn from(value: &IAccServerDocMgr) -> Self {
357         ::std::convert::From::from(::std::clone::Clone::clone(value))
358     }
359 }
360 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAccServerDocMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>361     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
362         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
363     }
364 }
365 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAccServerDocMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>366     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
367         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
368     }
369 }
370 #[repr(C)]
371 #[doc(hidden)]
372 pub struct IAccServerDocMgr_abi(
373     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
374     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
375     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
376     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
379 );
380 #[repr(transparent)]
381 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
382 pub struct IAccStore(::windows::runtime::IUnknown);
383 impl IAccStore {
Register<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()>384     pub unsafe fn Register<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()> {
385         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi()).ok()
386     }
Unregister<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>387     pub unsafe fn Unregister<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
388         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
389     }
390     #[cfg(feature = "Win32_System_Com")]
GetDocuments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumUnknown>391     pub unsafe fn GetDocuments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumUnknown> {
392         let mut result__: <super::super::System::Com::IEnumUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
393         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumUnknown>(result__)
394     }
395     #[cfg(feature = "Win32_Foundation")]
LookupByHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwnd: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>396     pub unsafe fn LookupByHWND<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwnd: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
397         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
398         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
399     }
400     #[cfg(feature = "Win32_Foundation")]
LookupByPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, pt: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>401     pub unsafe fn LookupByPoint<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, pt: Param0, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
402         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
403         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pt.into_param().abi(), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
404     }
OnDocumentFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>405     pub unsafe fn OnDocumentFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
406         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
407     }
GetFocused(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>408     pub unsafe fn GetFocused(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
409         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
410         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
411     }
412 }
413 unsafe impl ::windows::runtime::Interface for IAccStore {
414     type Vtable = IAccStore_abi;
415     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3805104739, 11122, 19784, [183, 57, 149, 228, 118, 81, 149, 186]);
416 }
417 impl ::std::convert::From<IAccStore> for ::windows::runtime::IUnknown {
from(value: IAccStore) -> Self418     fn from(value: IAccStore) -> Self {
419         unsafe { ::std::mem::transmute(value) }
420     }
421 }
422 impl ::std::convert::From<&IAccStore> for ::windows::runtime::IUnknown {
from(value: &IAccStore) -> Self423     fn from(value: &IAccStore) -> Self {
424         ::std::convert::From::from(::std::clone::Clone::clone(value))
425     }
426 }
427 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAccStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>428     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
429         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
430     }
431 }
432 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAccStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>433     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
434         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
435     }
436 }
437 #[repr(C)]
438 #[doc(hidden)]
439 pub struct IAccStore_abi(
440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
442     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
443     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
445     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, enumunknown: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
446     #[cfg(not(feature = "Win32_System_Com"))] usize,
447     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
448     #[cfg(not(feature = "Win32_Foundation"))] usize,
449     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pt: super::super::Foundation::POINT, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
450     #[cfg(not(feature = "Win32_Foundation"))] usize,
451     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
452     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
453 );
454 #[repr(transparent)]
455 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
456 pub struct IAnchor(::windows::runtime::IUnknown);
457 impl IAnchor {
SetGravity(&self, gravity: TsGravity) -> ::windows::runtime::Result<()>458     pub unsafe fn SetGravity(&self, gravity: TsGravity) -> ::windows::runtime::Result<()> {
459         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(gravity)).ok()
460     }
GetGravity(&self) -> ::windows::runtime::Result<TsGravity>461     pub unsafe fn GetGravity(&self) -> ::windows::runtime::Result<TsGravity> {
462         let mut result__: <TsGravity as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
463         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TsGravity>(result__)
464     }
465     #[cfg(feature = "Win32_Foundation")]
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pawith: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL>466     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pawith: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
467         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
468         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pawith.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
469     }
Compare<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pawith: Param0) -> ::windows::runtime::Result<i32>470     pub unsafe fn Compare<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pawith: Param0) -> ::windows::runtime::Result<i32> {
471         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
472         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pawith.into_param().abi(), &mut result__).from_abi::<i32>(result__)
473     }
Shift<'a, Param3: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: Param3) -> ::windows::runtime::Result<()>474     pub unsafe fn Shift<'a, Param3: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: Param3) -> ::windows::runtime::Result<()> {
475         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), pahaltanchor.into_param().abi()).ok()
476     }
ShiftTo<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pasite: Param0) -> ::windows::runtime::Result<()>477     pub unsafe fn ShiftTo<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pasite: Param0) -> ::windows::runtime::Result<()> {
478         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pasite.into_param().abi()).ok()
479     }
480     #[cfg(feature = "Win32_Foundation")]
ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL>481     pub unsafe fn ShiftRegion(&self, dwflags: u32, dir: TsShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
482         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
483         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(dir), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
484     }
SetChangeHistoryMask(&self, dwmask: u32) -> ::windows::runtime::Result<()>485     pub unsafe fn SetChangeHistoryMask(&self, dwmask: u32) -> ::windows::runtime::Result<()> {
486         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmask)).ok()
487     }
GetChangeHistory(&self) -> ::windows::runtime::Result<ANCHOR_CHANGE_HISTORY_FLAGS>488     pub unsafe fn GetChangeHistory(&self) -> ::windows::runtime::Result<ANCHOR_CHANGE_HISTORY_FLAGS> {
489         let mut result__: <ANCHOR_CHANGE_HISTORY_FLAGS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
490         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ANCHOR_CHANGE_HISTORY_FLAGS>(result__)
491     }
ClearChangeHistory(&self) -> ::windows::runtime::Result<()>492     pub unsafe fn ClearChangeHistory(&self) -> ::windows::runtime::Result<()> {
493         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
494     }
Clone(&self) -> ::windows::runtime::Result<IAnchor>495     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IAnchor> {
496         let mut result__: <IAnchor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
497         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IAnchor>(result__)
498     }
499 }
500 unsafe impl ::windows::runtime::Interface for IAnchor {
501     type Vtable = IAnchor_abi;
502     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(267091508, 23136, 17238, [142, 247, 171, 222, 194, 255, 124, 248]);
503 }
504 impl ::std::convert::From<IAnchor> for ::windows::runtime::IUnknown {
from(value: IAnchor) -> Self505     fn from(value: IAnchor) -> Self {
506         unsafe { ::std::mem::transmute(value) }
507     }
508 }
509 impl ::std::convert::From<&IAnchor> for ::windows::runtime::IUnknown {
from(value: &IAnchor) -> Self510     fn from(value: &IAnchor) -> Self {
511         ::std::convert::From::from(::std::clone::Clone::clone(value))
512     }
513 }
514 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAnchor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>515     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
516         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
517     }
518 }
519 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAnchor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>520     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
521         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
522     }
523 }
524 #[repr(C)]
525 #[doc(hidden)]
526 pub struct IAnchor_abi(
527     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
528     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
529     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
530     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, gravity: TsGravity) -> ::windows::runtime::HRESULT,
531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pgravity: *mut TsGravity) -> ::windows::runtime::HRESULT,
532     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pawith: ::windows::runtime::RawPtr, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
533     #[cfg(not(feature = "Win32_Foundation"))] usize,
534     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pawith: ::windows::runtime::RawPtr, plresult: *mut i32) -> ::windows::runtime::HRESULT,
535     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, cchreq: i32, pcch: *mut i32, pahaltanchor: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pasite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
537     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, dir: TsShiftDir, pfnoregion: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
538     #[cfg(not(feature = "Win32_Foundation"))] usize,
539     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmask: u32) -> ::windows::runtime::HRESULT,
540     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwhistory: *mut ANCHOR_CHANGE_HISTORY_FLAGS) -> ::windows::runtime::HRESULT,
541     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppaclone: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
543 );
544 #[repr(transparent)]
545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
546 pub struct IClonableWrapper(::windows::runtime::IUnknown);
547 impl IClonableWrapper {
CloneNewWrapper<T: ::windows::runtime::Interface>(&self) -> ::windows::runtime::Result<T>548     pub unsafe fn CloneNewWrapper<T: ::windows::runtime::Interface>(&self) -> ::windows::runtime::Result<T> {
549         let mut result__ = ::std::option::Option::None;
550         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
551     }
552 }
553 unsafe impl ::windows::runtime::Interface for IClonableWrapper {
554     type Vtable = IClonableWrapper_abi;
555     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3007215103, 59468, 19914, [162, 92, 51, 184, 220, 0, 51, 116]);
556 }
557 impl ::std::convert::From<IClonableWrapper> for ::windows::runtime::IUnknown {
from(value: IClonableWrapper) -> Self558     fn from(value: IClonableWrapper) -> Self {
559         unsafe { ::std::mem::transmute(value) }
560     }
561 }
562 impl ::std::convert::From<&IClonableWrapper> for ::windows::runtime::IUnknown {
from(value: &IClonableWrapper) -> Self563     fn from(value: &IClonableWrapper) -> Self {
564         ::std::convert::From::from(::std::clone::Clone::clone(value))
565     }
566 }
567 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IClonableWrapper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>568     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
569         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
570     }
571 }
572 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IClonableWrapper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>573     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
574         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
575     }
576 }
577 #[repr(C)]
578 #[doc(hidden)]
579 pub struct IClonableWrapper_abi(
580     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
581     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
582     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
583     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppv: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
584 );
585 #[repr(transparent)]
586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
587 pub struct ICoCreateLocally(::windows::runtime::IUnknown);
588 impl ICoCreateLocally {
589     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
CoCreateLocally<'a, Param5: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param6: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, rclsid: *const ::windows::runtime::GUID, dwclscontext: u32, riid: *const ::windows::runtime::GUID, punk: *mut ::std::option::Option<::windows::runtime::IUnknown>, riidparam: *const ::windows::runtime::GUID, punkparam: Param5, varparam: Param6) -> ::windows::runtime::Result<()>590     pub unsafe fn CoCreateLocally<'a, Param5: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param6: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, rclsid: *const ::windows::runtime::GUID, dwclscontext: u32, riid: *const ::windows::runtime::GUID, punk: *mut ::std::option::Option<::windows::runtime::IUnknown>, riidparam: *const ::windows::runtime::GUID, punkparam: Param5, varparam: Param6) -> ::windows::runtime::Result<()> {
591         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(dwclscontext), ::std::mem::transmute(riid), ::std::mem::transmute(punk), ::std::mem::transmute(riidparam), punkparam.into_param().abi(), varparam.into_param().abi()).ok()
592     }
593 }
594 unsafe impl ::windows::runtime::Interface for ICoCreateLocally {
595     type Vtable = ICoCreateLocally_abi;
596     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(64880810, 62066, 16867, [153, 203, 3, 197, 232, 17, 78, 160]);
597 }
598 impl ::std::convert::From<ICoCreateLocally> for ::windows::runtime::IUnknown {
from(value: ICoCreateLocally) -> Self599     fn from(value: ICoCreateLocally) -> Self {
600         unsafe { ::std::mem::transmute(value) }
601     }
602 }
603 impl ::std::convert::From<&ICoCreateLocally> for ::windows::runtime::IUnknown {
from(value: &ICoCreateLocally) -> Self604     fn from(value: &ICoCreateLocally) -> Self {
605         ::std::convert::From::from(::std::clone::Clone::clone(value))
606     }
607 }
608 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICoCreateLocally {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>609     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
610         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
611     }
612 }
613 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICoCreateLocally {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>614     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
615         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
616     }
617 }
618 #[repr(C)]
619 #[doc(hidden)]
620 pub struct ICoCreateLocally_abi(
621     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
622     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
623     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
624     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
625     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, dwclscontext: u32, riid: *const ::windows::runtime::GUID, punk: *mut ::windows::runtime::RawPtr, riidparam: *const ::windows::runtime::GUID, punkparam: ::windows::runtime::RawPtr, varparam: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
626     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
627 );
628 #[repr(transparent)]
629 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
630 pub struct ICoCreatedLocally(::windows::runtime::IUnknown);
631 impl ICoCreatedLocally {
632     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
LocalInit<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, punklocalobject: Param0, riidparam: *const ::windows::runtime::GUID, punkparam: Param2, varparam: Param3) -> ::windows::runtime::Result<()>633     pub unsafe fn LocalInit<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::VARIANT>>(&self, punklocalobject: Param0, riidparam: *const ::windows::runtime::GUID, punkparam: Param2, varparam: Param3) -> ::windows::runtime::Result<()> {
634         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), punklocalobject.into_param().abi(), ::std::mem::transmute(riidparam), punkparam.into_param().abi(), varparam.into_param().abi()).ok()
635     }
636 }
637 unsafe impl ::windows::runtime::Interface for ICoCreatedLocally {
638     type Vtable = ICoCreatedLocally_abi;
639     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(173271916, 6408, 18242, [140, 255, 44, 238, 46, 147, 249, 76]);
640 }
641 impl ::std::convert::From<ICoCreatedLocally> for ::windows::runtime::IUnknown {
from(value: ICoCreatedLocally) -> Self642     fn from(value: ICoCreatedLocally) -> Self {
643         unsafe { ::std::mem::transmute(value) }
644     }
645 }
646 impl ::std::convert::From<&ICoCreatedLocally> for ::windows::runtime::IUnknown {
from(value: &ICoCreatedLocally) -> Self647     fn from(value: &ICoCreatedLocally) -> Self {
648         ::std::convert::From::from(::std::clone::Clone::clone(value))
649     }
650 }
651 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICoCreatedLocally {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>652     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
653         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
654     }
655 }
656 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICoCreatedLocally {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>657     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
658         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
659     }
660 }
661 #[repr(C)]
662 #[doc(hidden)]
663 pub struct ICoCreatedLocally_abi(
664     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
667     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punklocalobject: ::windows::runtime::RawPtr, riidparam: *const ::windows::runtime::GUID, punkparam: ::windows::runtime::RawPtr, varparam: ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
668     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
669 );
670 #[repr(transparent)]
671 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
672 pub struct IDocWrap(::windows::runtime::IUnknown);
673 impl IDocWrap {
SetDoc<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()>674     pub unsafe fn SetDoc<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<()> {
675         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi()).ok()
676     }
GetWrappedDoc(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>677     pub unsafe fn GetWrappedDoc(&self, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
678         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
679         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
680     }
681 }
682 unsafe impl ::windows::runtime::Interface for IDocWrap {
683     type Vtable = IDocWrap_abi;
684     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3704784382, 3040, 17341, [153, 201, 170, 174, 197, 19, 197, 85]);
685 }
686 impl ::std::convert::From<IDocWrap> for ::windows::runtime::IUnknown {
from(value: IDocWrap) -> Self687     fn from(value: IDocWrap) -> Self {
688         unsafe { ::std::mem::transmute(value) }
689     }
690 }
691 impl ::std::convert::From<&IDocWrap> for ::windows::runtime::IUnknown {
from(value: &IDocWrap) -> Self692     fn from(value: &IDocWrap) -> Self {
693         ::std::convert::From::from(::std::clone::Clone::clone(value))
694     }
695 }
696 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDocWrap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>697     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
698         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
699     }
700 }
701 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDocWrap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>702     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
703         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
704     }
705 }
706 #[repr(C)]
707 #[doc(hidden)]
708 pub struct IDocWrap_abi(
709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
714 );
715 #[repr(transparent)]
716 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
717 pub struct IEnumITfCompositionView(::windows::runtime::IUnknown);
718 impl IEnumITfCompositionView {
Clone(&self) -> ::windows::runtime::Result<IEnumITfCompositionView>719     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumITfCompositionView> {
720         let mut result__: <IEnumITfCompositionView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
721         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumITfCompositionView>(result__)
722     }
Next(&self, ulcount: u32, rgcompositionview: *mut ::std::option::Option<ITfCompositionView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>723     pub unsafe fn Next(&self, ulcount: u32, rgcompositionview: *mut ::std::option::Option<ITfCompositionView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
724         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgcompositionview), ::std::mem::transmute(pcfetched)).ok()
725     }
Reset(&self) -> ::windows::runtime::Result<()>726     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
727         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
728     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>729     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
730         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
731     }
732 }
733 unsafe impl ::windows::runtime::Interface for IEnumITfCompositionView {
734     type Vtable = IEnumITfCompositionView_abi;
735     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1593647802, 30776, 18123, [136, 226, 202, 219, 20, 18, 79, 143]);
736 }
737 impl ::std::convert::From<IEnumITfCompositionView> for ::windows::runtime::IUnknown {
from(value: IEnumITfCompositionView) -> Self738     fn from(value: IEnumITfCompositionView) -> Self {
739         unsafe { ::std::mem::transmute(value) }
740     }
741 }
742 impl ::std::convert::From<&IEnumITfCompositionView> for ::windows::runtime::IUnknown {
from(value: &IEnumITfCompositionView) -> Self743     fn from(value: &IEnumITfCompositionView) -> Self {
744         ::std::convert::From::from(::std::clone::Clone::clone(value))
745     }
746 }
747 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumITfCompositionView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>748     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
749         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
750     }
751 }
752 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumITfCompositionView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>753     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
754         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
755     }
756 }
757 #[repr(C)]
758 #[doc(hidden)]
759 pub struct IEnumITfCompositionView_abi(
760     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
761     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
762     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
763     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
764     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgcompositionview: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
767 );
768 #[repr(transparent)]
769 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
770 pub struct IEnumSpeechCommands(::windows::runtime::IUnknown);
771 impl IEnumSpeechCommands {
Clone(&self) -> ::windows::runtime::Result<IEnumSpeechCommands>772     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumSpeechCommands> {
773         let mut result__: <IEnumSpeechCommands as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
774         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumSpeechCommands>(result__)
775     }
Next(&self, ulcount: u32, pspcmds: *mut *mut u16, pcfetched: *mut u32) -> ::windows::runtime::Result<()>776     pub unsafe fn Next(&self, ulcount: u32, pspcmds: *mut *mut u16, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
777         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pspcmds), ::std::mem::transmute(pcfetched)).ok()
778     }
Reset(&self) -> ::windows::runtime::Result<()>779     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
780         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
781     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>782     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
783         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
784     }
785 }
786 unsafe impl ::windows::runtime::Interface for IEnumSpeechCommands {
787     type Vtable = IEnumSpeechCommands_abi;
788     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2354949199, 2108, 19333, [164, 201, 113, 116, 96, 72, 173, 202]);
789 }
790 impl ::std::convert::From<IEnumSpeechCommands> for ::windows::runtime::IUnknown {
from(value: IEnumSpeechCommands) -> Self791     fn from(value: IEnumSpeechCommands) -> Self {
792         unsafe { ::std::mem::transmute(value) }
793     }
794 }
795 impl ::std::convert::From<&IEnumSpeechCommands> for ::windows::runtime::IUnknown {
from(value: &IEnumSpeechCommands) -> Self796     fn from(value: &IEnumSpeechCommands) -> Self {
797         ::std::convert::From::from(::std::clone::Clone::clone(value))
798     }
799 }
800 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumSpeechCommands {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>801     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
802         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
803     }
804 }
805 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumSpeechCommands {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>806     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
807         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
808     }
809 }
810 #[repr(C)]
811 #[doc(hidden)]
812 pub struct IEnumSpeechCommands_abi(
813     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
814     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pspcmds: *mut *mut u16, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
818     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
819     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
820 );
821 #[repr(transparent)]
822 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
823 pub struct IEnumTfCandidates(::windows::runtime::IUnknown);
824 impl IEnumTfCandidates {
Clone(&self) -> ::windows::runtime::Result<IEnumTfCandidates>825     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfCandidates> {
826         let mut result__: <IEnumTfCandidates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
827         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfCandidates>(result__)
828     }
Next(&self, ulcount: u32, ppcand: *mut ::std::option::Option<ITfCandidateString>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>829     pub unsafe fn Next(&self, ulcount: u32, ppcand: *mut ::std::option::Option<ITfCandidateString>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
830         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppcand), ::std::mem::transmute(pcfetched)).ok()
831     }
Reset(&self) -> ::windows::runtime::Result<()>832     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
833         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
834     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>835     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
836         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
837     }
838 }
839 unsafe impl ::windows::runtime::Interface for IEnumTfCandidates {
840     type Vtable = IEnumTfCandidates_abi;
841     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3740997926, 27776, 19688, [135, 212, 214, 183, 43, 129, 43, 222]);
842 }
843 impl ::std::convert::From<IEnumTfCandidates> for ::windows::runtime::IUnknown {
from(value: IEnumTfCandidates) -> Self844     fn from(value: IEnumTfCandidates) -> Self {
845         unsafe { ::std::mem::transmute(value) }
846     }
847 }
848 impl ::std::convert::From<&IEnumTfCandidates> for ::windows::runtime::IUnknown {
from(value: &IEnumTfCandidates) -> Self849     fn from(value: &IEnumTfCandidates) -> Self {
850         ::std::convert::From::from(::std::clone::Clone::clone(value))
851     }
852 }
853 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfCandidates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>854     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
855         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
856     }
857 }
858 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfCandidates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>859     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
860         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
861     }
862 }
863 #[repr(C)]
864 #[doc(hidden)]
865 pub struct IEnumTfCandidates_abi(
866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppcand: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
873 );
874 #[repr(transparent)]
875 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
876 pub struct IEnumTfContextViews(::windows::runtime::IUnknown);
877 impl IEnumTfContextViews {
Clone(&self) -> ::windows::runtime::Result<IEnumTfContextViews>878     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfContextViews> {
879         let mut result__: <IEnumTfContextViews as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
880         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfContextViews>(result__)
881     }
Next(&self, ulcount: u32, rgviews: *mut ::std::option::Option<ITfContextView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>882     pub unsafe fn Next(&self, ulcount: u32, rgviews: *mut ::std::option::Option<ITfContextView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
883         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgviews), ::std::mem::transmute(pcfetched)).ok()
884     }
Reset(&self) -> ::windows::runtime::Result<()>885     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
886         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
887     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>888     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
889         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
890     }
891 }
892 unsafe impl ::windows::runtime::Interface for IEnumTfContextViews {
893     type Vtable = IEnumTfContextViews_abi;
894     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4039178461, 53048, 17633, [187, 15, 104, 207, 13, 85, 28, 120]);
895 }
896 impl ::std::convert::From<IEnumTfContextViews> for ::windows::runtime::IUnknown {
from(value: IEnumTfContextViews) -> Self897     fn from(value: IEnumTfContextViews) -> Self {
898         unsafe { ::std::mem::transmute(value) }
899     }
900 }
901 impl ::std::convert::From<&IEnumTfContextViews> for ::windows::runtime::IUnknown {
from(value: &IEnumTfContextViews) -> Self902     fn from(value: &IEnumTfContextViews) -> Self {
903         ::std::convert::From::from(::std::clone::Clone::clone(value))
904     }
905 }
906 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfContextViews {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>907     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
908         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
909     }
910 }
911 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfContextViews {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>912     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
913         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
914     }
915 }
916 #[repr(C)]
917 #[doc(hidden)]
918 pub struct IEnumTfContextViews_abi(
919     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
920     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
921     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
922     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
923     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgviews: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
924     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
926 );
927 #[repr(transparent)]
928 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
929 pub struct IEnumTfContexts(::windows::runtime::IUnknown);
930 impl IEnumTfContexts {
Clone(&self) -> ::windows::runtime::Result<IEnumTfContexts>931     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfContexts> {
932         let mut result__: <IEnumTfContexts as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
933         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfContexts>(result__)
934     }
Next(&self, ulcount: u32, rgcontext: *mut ::std::option::Option<ITfContext>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>935     pub unsafe fn Next(&self, ulcount: u32, rgcontext: *mut ::std::option::Option<ITfContext>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
936         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgcontext), ::std::mem::transmute(pcfetched)).ok()
937     }
Reset(&self) -> ::windows::runtime::Result<()>938     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
939         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
940     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>941     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
942         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
943     }
944 }
945 unsafe impl ::windows::runtime::Interface for IEnumTfContexts {
946     type Vtable = IEnumTfContexts_abi;
947     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2400878246, 5716, 17666, [168, 110, 178, 144, 35, 68, 213, 7]);
948 }
949 impl ::std::convert::From<IEnumTfContexts> for ::windows::runtime::IUnknown {
from(value: IEnumTfContexts) -> Self950     fn from(value: IEnumTfContexts) -> Self {
951         unsafe { ::std::mem::transmute(value) }
952     }
953 }
954 impl ::std::convert::From<&IEnumTfContexts> for ::windows::runtime::IUnknown {
from(value: &IEnumTfContexts) -> Self955     fn from(value: &IEnumTfContexts) -> Self {
956         ::std::convert::From::from(::std::clone::Clone::clone(value))
957     }
958 }
959 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfContexts {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>960     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
961         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
962     }
963 }
964 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfContexts {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>965     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
966         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
967     }
968 }
969 #[repr(C)]
970 #[doc(hidden)]
971 pub struct IEnumTfContexts_abi(
972     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
973     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
974     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
975     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
976     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgcontext: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
977     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
978     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
979 );
980 #[repr(transparent)]
981 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
982 pub struct IEnumTfDisplayAttributeInfo(::windows::runtime::IUnknown);
983 impl IEnumTfDisplayAttributeInfo {
Clone(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo>984     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo> {
985         let mut result__: <IEnumTfDisplayAttributeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
986         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDisplayAttributeInfo>(result__)
987     }
Next(&self, ulcount: u32, rginfo: *mut ::std::option::Option<ITfDisplayAttributeInfo>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>988     pub unsafe fn Next(&self, ulcount: u32, rginfo: *mut ::std::option::Option<ITfDisplayAttributeInfo>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
989         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rginfo), ::std::mem::transmute(pcfetched)).ok()
990     }
Reset(&self) -> ::windows::runtime::Result<()>991     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
992         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
993     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>994     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
995         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
996     }
997 }
998 unsafe impl ::windows::runtime::Interface for IEnumTfDisplayAttributeInfo {
999     type Vtable = IEnumTfDisplayAttributeInfo_abi;
1000     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2096039127, 52085, 20096, [167, 171, 95, 91, 199, 211, 50, 222]);
1001 }
1002 impl ::std::convert::From<IEnumTfDisplayAttributeInfo> for ::windows::runtime::IUnknown {
from(value: IEnumTfDisplayAttributeInfo) -> Self1003     fn from(value: IEnumTfDisplayAttributeInfo) -> Self {
1004         unsafe { ::std::mem::transmute(value) }
1005     }
1006 }
1007 impl ::std::convert::From<&IEnumTfDisplayAttributeInfo> for ::windows::runtime::IUnknown {
from(value: &IEnumTfDisplayAttributeInfo) -> Self1008     fn from(value: &IEnumTfDisplayAttributeInfo) -> Self {
1009         ::std::convert::From::from(::std::clone::Clone::clone(value))
1010     }
1011 }
1012 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfDisplayAttributeInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1013     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1014         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1015     }
1016 }
1017 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfDisplayAttributeInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1018     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1019         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1020     }
1021 }
1022 #[repr(C)]
1023 #[doc(hidden)]
1024 pub struct IEnumTfDisplayAttributeInfo_abi(
1025     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1027     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1028     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rginfo: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1032 );
1033 #[repr(transparent)]
1034 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1035 pub struct IEnumTfDocumentMgrs(::windows::runtime::IUnknown);
1036 impl IEnumTfDocumentMgrs {
Clone(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs>1037     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs> {
1038         let mut result__: <IEnumTfDocumentMgrs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1039         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDocumentMgrs>(result__)
1040     }
Next(&self, ulcount: u32, rgdocumentmgr: *mut ::std::option::Option<ITfDocumentMgr>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1041     pub unsafe fn Next(&self, ulcount: u32, rgdocumentmgr: *mut ::std::option::Option<ITfDocumentMgr>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1042         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgdocumentmgr), ::std::mem::transmute(pcfetched)).ok()
1043     }
Reset(&self) -> ::windows::runtime::Result<()>1044     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1045         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1046     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1047     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1048         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1049     }
1050 }
1051 unsafe impl ::windows::runtime::Interface for IEnumTfDocumentMgrs {
1052     type Vtable = IEnumTfDocumentMgrs_abi;
1053     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574728, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
1054 }
1055 impl ::std::convert::From<IEnumTfDocumentMgrs> for ::windows::runtime::IUnknown {
from(value: IEnumTfDocumentMgrs) -> Self1056     fn from(value: IEnumTfDocumentMgrs) -> Self {
1057         unsafe { ::std::mem::transmute(value) }
1058     }
1059 }
1060 impl ::std::convert::From<&IEnumTfDocumentMgrs> for ::windows::runtime::IUnknown {
from(value: &IEnumTfDocumentMgrs) -> Self1061     fn from(value: &IEnumTfDocumentMgrs) -> Self {
1062         ::std::convert::From::from(::std::clone::Clone::clone(value))
1063     }
1064 }
1065 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfDocumentMgrs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1066     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1067         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1068     }
1069 }
1070 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfDocumentMgrs {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1071     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1072         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1073     }
1074 }
1075 #[repr(C)]
1076 #[doc(hidden)]
1077 pub struct IEnumTfDocumentMgrs_abi(
1078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1080     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1081     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1082     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgdocumentmgr: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1083     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1085 );
1086 #[repr(transparent)]
1087 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1088 pub struct IEnumTfFunctionProviders(::windows::runtime::IUnknown);
1089 impl IEnumTfFunctionProviders {
Clone(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders>1090     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders> {
1091         let mut result__: <IEnumTfFunctionProviders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1092         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfFunctionProviders>(result__)
1093     }
Next(&self, ulcount: u32, ppcmdobj: *mut ::std::option::Option<ITfFunctionProvider>, pcfetch: *mut u32) -> ::windows::runtime::Result<()>1094     pub unsafe fn Next(&self, ulcount: u32, ppcmdobj: *mut ::std::option::Option<ITfFunctionProvider>, pcfetch: *mut u32) -> ::windows::runtime::Result<()> {
1095         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppcmdobj), ::std::mem::transmute(pcfetch)).ok()
1096     }
Reset(&self) -> ::windows::runtime::Result<()>1097     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1098         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1099     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1100     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1101         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1102     }
1103 }
1104 unsafe impl ::windows::runtime::Interface for IEnumTfFunctionProviders {
1105     type Vtable = IEnumTfFunctionProviders_abi;
1106     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3836890544, 2448, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
1107 }
1108 impl ::std::convert::From<IEnumTfFunctionProviders> for ::windows::runtime::IUnknown {
from(value: IEnumTfFunctionProviders) -> Self1109     fn from(value: IEnumTfFunctionProviders) -> Self {
1110         unsafe { ::std::mem::transmute(value) }
1111     }
1112 }
1113 impl ::std::convert::From<&IEnumTfFunctionProviders> for ::windows::runtime::IUnknown {
from(value: &IEnumTfFunctionProviders) -> Self1114     fn from(value: &IEnumTfFunctionProviders) -> Self {
1115         ::std::convert::From::from(::std::clone::Clone::clone(value))
1116     }
1117 }
1118 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfFunctionProviders {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1119     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1120         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1121     }
1122 }
1123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfFunctionProviders {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1124     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1125         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1126     }
1127 }
1128 #[repr(C)]
1129 #[doc(hidden)]
1130 pub struct IEnumTfFunctionProviders_abi(
1131     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1133     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1134     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1135     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppcmdobj: *mut ::windows::runtime::RawPtr, pcfetch: *mut u32) -> ::windows::runtime::HRESULT,
1136     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1137     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1138 );
1139 #[repr(transparent)]
1140 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1141 pub struct IEnumTfInputProcessorProfiles(::windows::runtime::IUnknown);
1142 impl IEnumTfInputProcessorProfiles {
Clone(&self) -> ::windows::runtime::Result<IEnumTfInputProcessorProfiles>1143     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfInputProcessorProfiles> {
1144         let mut result__: <IEnumTfInputProcessorProfiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1145         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfInputProcessorProfiles>(result__)
1146     }
Next(&self, ulcount: u32, pprofile: *mut TF_INPUTPROCESSORPROFILE, pcfetch: *mut u32) -> ::windows::runtime::Result<()>1147     pub unsafe fn Next(&self, ulcount: u32, pprofile: *mut TF_INPUTPROCESSORPROFILE, pcfetch: *mut u32) -> ::windows::runtime::Result<()> {
1148         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pprofile), ::std::mem::transmute(pcfetch)).ok()
1149     }
Reset(&self) -> ::windows::runtime::Result<()>1150     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1151         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1152     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1153     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1154         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1155     }
1156 }
1157 unsafe impl ::windows::runtime::Interface for IEnumTfInputProcessorProfiles {
1158     type Vtable = IEnumTfInputProcessorProfiles_abi;
1159     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1908860749, 3880, 4568, [168, 42, 0, 6, 91, 132, 67, 92]);
1160 }
1161 impl ::std::convert::From<IEnumTfInputProcessorProfiles> for ::windows::runtime::IUnknown {
from(value: IEnumTfInputProcessorProfiles) -> Self1162     fn from(value: IEnumTfInputProcessorProfiles) -> Self {
1163         unsafe { ::std::mem::transmute(value) }
1164     }
1165 }
1166 impl ::std::convert::From<&IEnumTfInputProcessorProfiles> for ::windows::runtime::IUnknown {
from(value: &IEnumTfInputProcessorProfiles) -> Self1167     fn from(value: &IEnumTfInputProcessorProfiles) -> Self {
1168         ::std::convert::From::from(::std::clone::Clone::clone(value))
1169     }
1170 }
1171 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfInputProcessorProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1172     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1173         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1174     }
1175 }
1176 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfInputProcessorProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1177     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1178         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1179     }
1180 }
1181 #[repr(C)]
1182 #[doc(hidden)]
1183 pub struct IEnumTfInputProcessorProfiles_abi(
1184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pprofile: *mut TF_INPUTPROCESSORPROFILE, pcfetch: *mut u32) -> ::windows::runtime::HRESULT,
1189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1190     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1191 );
1192 #[repr(transparent)]
1193 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1194 pub struct IEnumTfLangBarItems(::windows::runtime::IUnknown);
1195 impl IEnumTfLangBarItems {
Clone(&self) -> ::windows::runtime::Result<IEnumTfLangBarItems>1196     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfLangBarItems> {
1197         let mut result__: <IEnumTfLangBarItems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1198         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfLangBarItems>(result__)
1199     }
Next(&self, ulcount: u32, ppitem: *mut ::std::option::Option<ITfLangBarItem>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1200     pub unsafe fn Next(&self, ulcount: u32, ppitem: *mut ::std::option::Option<ITfLangBarItem>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1201         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppitem), ::std::mem::transmute(pcfetched)).ok()
1202     }
Reset(&self) -> ::windows::runtime::Result<()>1203     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1204         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1205     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1206     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1207         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1208     }
1209 }
1210 unsafe impl ::windows::runtime::Interface for IEnumTfLangBarItems {
1211     type Vtable = IEnumTfLangBarItems_abi;
1212     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1480537296, 56869, 4562, [175, 221, 0, 16, 90, 39, 153, 181]);
1213 }
1214 impl ::std::convert::From<IEnumTfLangBarItems> for ::windows::runtime::IUnknown {
from(value: IEnumTfLangBarItems) -> Self1215     fn from(value: IEnumTfLangBarItems) -> Self {
1216         unsafe { ::std::mem::transmute(value) }
1217     }
1218 }
1219 impl ::std::convert::From<&IEnumTfLangBarItems> for ::windows::runtime::IUnknown {
from(value: &IEnumTfLangBarItems) -> Self1220     fn from(value: &IEnumTfLangBarItems) -> Self {
1221         ::std::convert::From::from(::std::clone::Clone::clone(value))
1222     }
1223 }
1224 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfLangBarItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1225     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1226         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1227     }
1228 }
1229 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfLangBarItems {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1230     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1231         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1232     }
1233 }
1234 #[repr(C)]
1235 #[doc(hidden)]
1236 pub struct IEnumTfLangBarItems_abi(
1237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1241     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppitem: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1243     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1244 );
1245 #[repr(transparent)]
1246 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1247 pub struct IEnumTfLanguageProfiles(::windows::runtime::IUnknown);
1248 impl IEnumTfLanguageProfiles {
Clone(&self) -> ::windows::runtime::Result<IEnumTfLanguageProfiles>1249     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfLanguageProfiles> {
1250         let mut result__: <IEnumTfLanguageProfiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1251         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfLanguageProfiles>(result__)
1252     }
1253     #[cfg(feature = "Win32_Foundation")]
Next(&self, ulcount: u32, pprofile: *mut TF_LANGUAGEPROFILE, pcfetch: *mut u32) -> ::windows::runtime::Result<()>1254     pub unsafe fn Next(&self, ulcount: u32, pprofile: *mut TF_LANGUAGEPROFILE, pcfetch: *mut u32) -> ::windows::runtime::Result<()> {
1255         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pprofile), ::std::mem::transmute(pcfetch)).ok()
1256     }
Reset(&self) -> ::windows::runtime::Result<()>1257     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1258         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1259     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1260     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1261         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1262     }
1263 }
1264 unsafe impl ::windows::runtime::Interface for IEnumTfLanguageProfiles {
1265     type Vtable = IEnumTfLanguageProfiles_abi;
1266     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1029816081, 44127, 17096, [164, 203, 147, 27, 204, 40, 199, 68]);
1267 }
1268 impl ::std::convert::From<IEnumTfLanguageProfiles> for ::windows::runtime::IUnknown {
from(value: IEnumTfLanguageProfiles) -> Self1269     fn from(value: IEnumTfLanguageProfiles) -> Self {
1270         unsafe { ::std::mem::transmute(value) }
1271     }
1272 }
1273 impl ::std::convert::From<&IEnumTfLanguageProfiles> for ::windows::runtime::IUnknown {
from(value: &IEnumTfLanguageProfiles) -> Self1274     fn from(value: &IEnumTfLanguageProfiles) -> Self {
1275         ::std::convert::From::from(::std::clone::Clone::clone(value))
1276     }
1277 }
1278 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfLanguageProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1279     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1280         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1281     }
1282 }
1283 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfLanguageProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1284     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1285         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1286     }
1287 }
1288 #[repr(C)]
1289 #[doc(hidden)]
1290 pub struct IEnumTfLanguageProfiles_abi(
1291     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1292     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1293     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1294     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1295     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pprofile: *mut TF_LANGUAGEPROFILE, pcfetch: *mut u32) -> ::windows::runtime::HRESULT,
1296     #[cfg(not(feature = "Win32_Foundation"))] usize,
1297     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1298     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1299 );
1300 #[repr(transparent)]
1301 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1302 pub struct IEnumTfLatticeElements(::windows::runtime::IUnknown);
1303 impl IEnumTfLatticeElements {
Clone(&self) -> ::windows::runtime::Result<IEnumTfLatticeElements>1304     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfLatticeElements> {
1305         let mut result__: <IEnumTfLatticeElements as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1306         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfLatticeElements>(result__)
1307     }
1308     #[cfg(feature = "Win32_Foundation")]
Next(&self, ulcount: u32, rgselements: *mut TF_LMLATTELEMENT, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1309     pub unsafe fn Next(&self, ulcount: u32, rgselements: *mut TF_LMLATTELEMENT, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1310         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgselements), ::std::mem::transmute(pcfetched)).ok()
1311     }
Reset(&self) -> ::windows::runtime::Result<()>1312     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1313         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1314     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1315     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1316         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1317     }
1318 }
1319 unsafe impl ::windows::runtime::Interface for IEnumTfLatticeElements {
1320     type Vtable = IEnumTfLatticeElements_abi;
1321     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1452834898, 18394, 18949, [145, 26, 227, 217, 65, 241, 113, 69]);
1322 }
1323 impl ::std::convert::From<IEnumTfLatticeElements> for ::windows::runtime::IUnknown {
from(value: IEnumTfLatticeElements) -> Self1324     fn from(value: IEnumTfLatticeElements) -> Self {
1325         unsafe { ::std::mem::transmute(value) }
1326     }
1327 }
1328 impl ::std::convert::From<&IEnumTfLatticeElements> for ::windows::runtime::IUnknown {
from(value: &IEnumTfLatticeElements) -> Self1329     fn from(value: &IEnumTfLatticeElements) -> Self {
1330         ::std::convert::From::from(::std::clone::Clone::clone(value))
1331     }
1332 }
1333 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfLatticeElements {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1334     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1335         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1336     }
1337 }
1338 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfLatticeElements {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1339     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1340         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1341     }
1342 }
1343 #[repr(C)]
1344 #[doc(hidden)]
1345 pub struct IEnumTfLatticeElements_abi(
1346     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1347     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1350     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgselements: *mut ::std::mem::ManuallyDrop<TF_LMLATTELEMENT>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1351     #[cfg(not(feature = "Win32_Foundation"))] usize,
1352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1354 );
1355 #[repr(transparent)]
1356 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1357 pub struct IEnumTfProperties(::windows::runtime::IUnknown);
1358 impl IEnumTfProperties {
Clone(&self) -> ::windows::runtime::Result<IEnumTfProperties>1359     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfProperties> {
1360         let mut result__: <IEnumTfProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1361         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfProperties>(result__)
1362     }
Next(&self, ulcount: u32, ppprop: *mut ::std::option::Option<ITfProperty>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1363     pub unsafe fn Next(&self, ulcount: u32, ppprop: *mut ::std::option::Option<ITfProperty>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1364         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppprop), ::std::mem::transmute(pcfetched)).ok()
1365     }
Reset(&self) -> ::windows::runtime::Result<()>1366     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1367         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1368     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1369     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1370         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1371     }
1372 }
1373 unsafe impl ::windows::runtime::Interface for IEnumTfProperties {
1374     type Vtable = IEnumTfProperties_abi;
1375     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(421039280, 44201, 4562, [175, 197, 0, 16, 90, 39, 153, 181]);
1376 }
1377 impl ::std::convert::From<IEnumTfProperties> for ::windows::runtime::IUnknown {
from(value: IEnumTfProperties) -> Self1378     fn from(value: IEnumTfProperties) -> Self {
1379         unsafe { ::std::mem::transmute(value) }
1380     }
1381 }
1382 impl ::std::convert::From<&IEnumTfProperties> for ::windows::runtime::IUnknown {
from(value: &IEnumTfProperties) -> Self1383     fn from(value: &IEnumTfProperties) -> Self {
1384         ::std::convert::From::from(::std::clone::Clone::clone(value))
1385     }
1386 }
1387 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1388     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1389         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1390     }
1391 }
1392 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfProperties {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1393     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1394         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1395     }
1396 }
1397 #[repr(C)]
1398 #[doc(hidden)]
1399 pub struct IEnumTfProperties_abi(
1400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppprop: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1407 );
1408 #[repr(transparent)]
1409 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1410 pub struct IEnumTfPropertyValue(::windows::runtime::IUnknown);
1411 impl IEnumTfPropertyValue {
Clone(&self) -> ::windows::runtime::Result<IEnumTfPropertyValue>1412     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfPropertyValue> {
1413         let mut result__: <IEnumTfPropertyValue as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1414         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfPropertyValue>(result__)
1415     }
1416     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Next(&self, ulcount: u32, rgvalues: *mut TF_PROPERTYVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1417     pub unsafe fn Next(&self, ulcount: u32, rgvalues: *mut TF_PROPERTYVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1418         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgvalues), ::std::mem::transmute(pcfetched)).ok()
1419     }
Reset(&self) -> ::windows::runtime::Result<()>1420     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1421         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1422     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1423     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1424         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1425     }
1426 }
1427 unsafe impl ::windows::runtime::Interface for IEnumTfPropertyValue {
1428     type Vtable = IEnumTfPropertyValue_abi;
1429     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2396559387, 31760, 19837, [159, 179, 171, 114, 233, 199, 95, 114]);
1430 }
1431 impl ::std::convert::From<IEnumTfPropertyValue> for ::windows::runtime::IUnknown {
from(value: IEnumTfPropertyValue) -> Self1432     fn from(value: IEnumTfPropertyValue) -> Self {
1433         unsafe { ::std::mem::transmute(value) }
1434     }
1435 }
1436 impl ::std::convert::From<&IEnumTfPropertyValue> for ::windows::runtime::IUnknown {
from(value: &IEnumTfPropertyValue) -> Self1437     fn from(value: &IEnumTfPropertyValue) -> Self {
1438         ::std::convert::From::from(::std::clone::Clone::clone(value))
1439     }
1440 }
1441 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfPropertyValue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1442     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1443         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1444     }
1445 }
1446 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfPropertyValue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1447     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1448         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1449     }
1450 }
1451 #[repr(C)]
1452 #[doc(hidden)]
1453 pub struct IEnumTfPropertyValue_abi(
1454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1458     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgvalues: *mut ::std::mem::ManuallyDrop<TF_PROPERTYVAL>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1459     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1462 );
1463 #[repr(transparent)]
1464 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1465 pub struct IEnumTfRanges(::windows::runtime::IUnknown);
1466 impl IEnumTfRanges {
Clone(&self) -> ::windows::runtime::Result<IEnumTfRanges>1467     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfRanges> {
1468         let mut result__: <IEnumTfRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1469         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfRanges>(result__)
1470     }
Next(&self, ulcount: u32, pprange: *mut ::std::option::Option<ITfRange>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1471     pub unsafe fn Next(&self, ulcount: u32, pprange: *mut ::std::option::Option<ITfRange>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1472         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pprange), ::std::mem::transmute(pcfetched)).ok()
1473     }
Reset(&self) -> ::windows::runtime::Result<()>1474     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1475         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1476     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1477     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1478         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1479     }
1480 }
1481 unsafe impl ::windows::runtime::Interface for IEnumTfRanges {
1482     type Vtable = IEnumTfRanges_abi;
1483     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4187832128, 36402, 4562, [191, 70, 0, 16, 90, 39, 153, 181]);
1484 }
1485 impl ::std::convert::From<IEnumTfRanges> for ::windows::runtime::IUnknown {
from(value: IEnumTfRanges) -> Self1486     fn from(value: IEnumTfRanges) -> Self {
1487         unsafe { ::std::mem::transmute(value) }
1488     }
1489 }
1490 impl ::std::convert::From<&IEnumTfRanges> for ::windows::runtime::IUnknown {
from(value: &IEnumTfRanges) -> Self1491     fn from(value: &IEnumTfRanges) -> Self {
1492         ::std::convert::From::from(::std::clone::Clone::clone(value))
1493     }
1494 }
1495 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfRanges {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1496     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1497         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1498     }
1499 }
1500 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfRanges {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1501     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1502         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1503     }
1504 }
1505 #[repr(C)]
1506 #[doc(hidden)]
1507 pub struct IEnumTfRanges_abi(
1508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pprange: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1515 );
1516 #[repr(transparent)]
1517 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1518 pub struct IEnumTfUIElements(::windows::runtime::IUnknown);
1519 impl IEnumTfUIElements {
Clone(&self) -> ::windows::runtime::Result<IEnumTfUIElements>1520     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumTfUIElements> {
1521         let mut result__: <IEnumTfUIElements as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1522         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfUIElements>(result__)
1523     }
Next(&self, ulcount: u32, ppelement: *mut ::std::option::Option<ITfUIElement>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1524     pub unsafe fn Next(&self, ulcount: u32, ppelement: *mut ::std::option::Option<ITfUIElement>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1525         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppelement), ::std::mem::transmute(pcfetched)).ok()
1526     }
Reset(&self) -> ::windows::runtime::Result<()>1527     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1528         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1529     }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1530     pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1531         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1532     }
1533 }
1534 unsafe impl ::windows::runtime::Interface for IEnumTfUIElements {
1535     type Vtable = IEnumTfUIElements_abi;
1536     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2289740062, 44218, 18737, [132, 218, 60, 82, 8, 207, 84, 63]);
1537 }
1538 impl ::std::convert::From<IEnumTfUIElements> for ::windows::runtime::IUnknown {
from(value: IEnumTfUIElements) -> Self1539     fn from(value: IEnumTfUIElements) -> Self {
1540         unsafe { ::std::mem::transmute(value) }
1541     }
1542 }
1543 impl ::std::convert::From<&IEnumTfUIElements> for ::windows::runtime::IUnknown {
from(value: &IEnumTfUIElements) -> Self1544     fn from(value: &IEnumTfUIElements) -> Self {
1545         ::std::convert::From::from(::std::clone::Clone::clone(value))
1546     }
1547 }
1548 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumTfUIElements {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1549     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1550         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1551     }
1552 }
1553 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumTfUIElements {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1554     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1555         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1556     }
1557 }
1558 #[repr(C)]
1559 #[doc(hidden)]
1560 pub struct IEnumTfUIElements_abi(
1561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1565     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppelement: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1566     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1567     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
1568 );
1569 #[repr(transparent)]
1570 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1571 pub struct IInternalDocWrap(::windows::runtime::IUnknown);
1572 impl IInternalDocWrap {
NotifyRevoke(&self) -> ::windows::runtime::Result<()>1573     pub unsafe fn NotifyRevoke(&self) -> ::windows::runtime::Result<()> {
1574         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
1575     }
1576 }
1577 unsafe impl ::windows::runtime::Interface for IInternalDocWrap {
1578     type Vtable = IInternalDocWrap_abi;
1579     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3786040422, 40372, 16570, [190, 3, 119, 195, 142, 142, 96, 178]);
1580 }
1581 impl ::std::convert::From<IInternalDocWrap> for ::windows::runtime::IUnknown {
from(value: IInternalDocWrap) -> Self1582     fn from(value: IInternalDocWrap) -> Self {
1583         unsafe { ::std::mem::transmute(value) }
1584     }
1585 }
1586 impl ::std::convert::From<&IInternalDocWrap> for ::windows::runtime::IUnknown {
from(value: &IInternalDocWrap) -> Self1587     fn from(value: &IInternalDocWrap) -> Self {
1588         ::std::convert::From::from(::std::clone::Clone::clone(value))
1589     }
1590 }
1591 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IInternalDocWrap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1592     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1593         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1594     }
1595 }
1596 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IInternalDocWrap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1597     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1598         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1599     }
1600 }
1601 #[repr(C)]
1602 #[doc(hidden)]
1603 pub struct IInternalDocWrap_abi(
1604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1608 );
1609 pub const ILMCM_CHECKLAYOUTANDTIPENABLED: u32 = 1u32;
1610 pub const ILMCM_LANGUAGEBAROFF: u32 = 2u32;
1611 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1612 #[repr(transparent)]
1613 pub struct INSERT_TEXT_AT_SELECTION_FLAGS(pub u32);
1614 pub const TF_IAS_NOQUERY: INSERT_TEXT_AT_SELECTION_FLAGS = INSERT_TEXT_AT_SELECTION_FLAGS(1u32);
1615 pub const TF_IAS_QUERYONLY: INSERT_TEXT_AT_SELECTION_FLAGS = INSERT_TEXT_AT_SELECTION_FLAGS(2u32);
1616 pub const TF_IAS_NO_DEFAULT_COMPOSITION: INSERT_TEXT_AT_SELECTION_FLAGS = INSERT_TEXT_AT_SELECTION_FLAGS(2147483648u32);
1617 impl ::std::convert::From<u32> for INSERT_TEXT_AT_SELECTION_FLAGS {
from(value: u32) -> Self1618     fn from(value: u32) -> Self {
1619         Self(value)
1620     }
1621 }
1622 unsafe impl ::windows::runtime::Abi for INSERT_TEXT_AT_SELECTION_FLAGS {
1623     type Abi = Self;
1624     type DefaultType = Self;
1625 }
1626 impl ::std::ops::BitOr for INSERT_TEXT_AT_SELECTION_FLAGS {
1627     type Output = Self;
bitor(self, rhs: Self) -> Self1628     fn bitor(self, rhs: Self) -> Self {
1629         Self(self.0 | rhs.0)
1630     }
1631 }
1632 impl ::std::ops::BitAnd for INSERT_TEXT_AT_SELECTION_FLAGS {
1633     type Output = Self;
bitand(self, rhs: Self) -> Self1634     fn bitand(self, rhs: Self) -> Self {
1635         Self(self.0 & rhs.0)
1636     }
1637 }
1638 impl ::std::ops::BitOrAssign for INSERT_TEXT_AT_SELECTION_FLAGS {
bitor_assign(&mut self, rhs: Self)1639     fn bitor_assign(&mut self, rhs: Self) {
1640         self.0.bitor_assign(rhs.0)
1641     }
1642 }
1643 impl ::std::ops::BitAndAssign for INSERT_TEXT_AT_SELECTION_FLAGS {
bitand_assign(&mut self, rhs: Self)1644     fn bitand_assign(&mut self, rhs: Self) {
1645         self.0.bitand_assign(rhs.0)
1646     }
1647 }
1648 impl ::std::ops::Not for INSERT_TEXT_AT_SELECTION_FLAGS {
1649     type Output = Self;
not(self) -> Self1650     fn not(self) -> Self {
1651         Self(self.0.not())
1652     }
1653 }
1654 #[repr(transparent)]
1655 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1656 pub struct ISpeechCommandProvider(::windows::runtime::IUnknown);
1657 impl ISpeechCommandProvider {
EnumSpeechCommands(&self, langid: u16) -> ::windows::runtime::Result<IEnumSpeechCommands>1658     pub unsafe fn EnumSpeechCommands(&self, langid: u16) -> ::windows::runtime::Result<IEnumSpeechCommands> {
1659         let mut result__: <IEnumSpeechCommands as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1660         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<IEnumSpeechCommands>(result__)
1661     }
1662     #[cfg(feature = "Win32_Foundation")]
ProcessCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszcommand: Param0, cch: u32, langid: u16) -> ::windows::runtime::Result<()>1663     pub unsafe fn ProcessCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszcommand: Param0, cch: u32, langid: u16) -> ::windows::runtime::Result<()> {
1664         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pszcommand.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(langid)).ok()
1665     }
1666 }
1667 unsafe impl ::windows::runtime::Interface for ISpeechCommandProvider {
1668     type Vtable = ISpeechCommandProvider_abi;
1669     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(954244428, 22637, 17242, [181, 146, 200, 168, 102, 145, 222, 198]);
1670 }
1671 impl ::std::convert::From<ISpeechCommandProvider> for ::windows::runtime::IUnknown {
from(value: ISpeechCommandProvider) -> Self1672     fn from(value: ISpeechCommandProvider) -> Self {
1673         unsafe { ::std::mem::transmute(value) }
1674     }
1675 }
1676 impl ::std::convert::From<&ISpeechCommandProvider> for ::windows::runtime::IUnknown {
from(value: &ISpeechCommandProvider) -> Self1677     fn from(value: &ISpeechCommandProvider) -> Self {
1678         ::std::convert::From::from(::std::clone::Clone::clone(value))
1679     }
1680 }
1681 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISpeechCommandProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1682     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1683         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1684     }
1685 }
1686 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISpeechCommandProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1687     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1688         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1689     }
1690 }
1691 #[repr(C)]
1692 #[doc(hidden)]
1693 pub struct ISpeechCommandProvider_abi(
1694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1698     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszcommand: super::super::Foundation::PWSTR, cch: u32, langid: u16) -> ::windows::runtime::HRESULT,
1699     #[cfg(not(feature = "Win32_Foundation"))] usize,
1700 );
1701 #[repr(transparent)]
1702 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1703 pub struct ITextStoreACP(::windows::runtime::IUnknown);
1704 impl ITextStoreACP {
AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()>1705     pub unsafe fn AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()> {
1706         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi(), ::std::mem::transmute(dwmask)).ok()
1707     }
UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>1708     pub unsafe fn UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
1709         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
1710     }
RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT>1711     pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT> {
1712         let mut result__: <::windows::runtime::HRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1713         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags), &mut result__).from_abi::<::windows::runtime::HRESULT>(result__)
1714     }
GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS>1715     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS> {
1716         let mut result__: <TS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1717         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TS_STATUS>(result__)
1718     }
QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::Result<()>1719     pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::Result<()> {
1720         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpteststart), ::std::mem::transmute(acptestend), ::std::mem::transmute(cch), ::std::mem::transmute(pacpresultstart), ::std::mem::transmute(pacpresultend)).ok()
1721     }
1722     #[cfg(feature = "Win32_Foundation")]
GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1723     pub unsafe fn GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1724         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulindex), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection), ::std::mem::transmute(pcfetched)).ok()
1725     }
1726     #[cfg(feature = "Win32_Foundation")]
SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::Result<()>1727     pub unsafe fn SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::Result<()> {
1728         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection)).ok()
1729     }
1730     #[cfg(feature = "Win32_Foundation")]
GetText(&self, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::Result<()>1731     pub unsafe fn GetText(&self, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::Result<()> {
1732         (::windows::runtime::Interface::vtable(self).10)(
1733             ::std::mem::transmute_copy(self),
1734             ::std::mem::transmute(acpstart),
1735             ::std::mem::transmute(acpend),
1736             ::std::mem::transmute(pchplain),
1737             ::std::mem::transmute(cchplainreq),
1738             ::std::mem::transmute(pcchplainret),
1739             ::std::mem::transmute(prgruninfo),
1740             ::std::mem::transmute(cruninforeq),
1741             ::std::mem::transmute(pcruninforet),
1742             ::std::mem::transmute(pacpnext),
1743         )
1744         .ok()
1745     }
1746     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<TS_TEXTCHANGE>1747     pub unsafe fn SetText<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<TS_TEXTCHANGE> {
1748         let mut result__: <TS_TEXTCHANGE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1749         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), pchtext.into_param().abi(), ::std::mem::transmute(cch), &mut result__).from_abi::<TS_TEXTCHANGE>(result__)
1750     }
1751     #[cfg(feature = "Win32_System_Com")]
GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>1752     pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
1753         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1754         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
1755     }
GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1756     pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1757         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1758         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(rguidservice), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1759     }
1760     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1761     pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1762         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1763         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidservice), ::std::mem::transmute(pformatetc), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1764     }
1765     #[cfg(feature = "Win32_System_Com")]
InsertEmbedded<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: Param3) -> ::windows::runtime::Result<TS_TEXTCHANGE>1766     pub unsafe fn InsertEmbedded<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: Param3) -> ::windows::runtime::Result<TS_TEXTCHANGE> {
1767         let mut result__: <TS_TEXTCHANGE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1768         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), pdataobject.into_param().abi(), &mut result__).from_abi::<TS_TEXTCHANGE>(result__)
1769     }
1770     #[cfg(feature = "Win32_Foundation")]
InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()>1771     pub unsafe fn InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
1772         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(pacpstart), ::std::mem::transmute(pacpend), ::std::mem::transmute(pchange)).ok()
1773     }
1774     #[cfg(feature = "Win32_System_Com")]
InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()>1775     pub unsafe fn InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
1776         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pdataobject.into_param().abi(), ::std::mem::transmute(pacpstart), ::std::mem::transmute(pacpend), ::std::mem::transmute(pchange)).ok()
1777     }
RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1778     pub unsafe fn RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
1779         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs)).ok()
1780     }
RequestAttrsAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>1781     pub unsafe fn RequestAttrsAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
1782         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
1783     }
RequestAttrsTransitioningAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>1784     pub unsafe fn RequestAttrsTransitioningAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
1785         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
1786     }
1787     #[cfg(feature = "Win32_Foundation")]
FindNextAttrTransition(&self, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()>1788     pub unsafe fn FindNextAttrTransition(&self, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()> {
1789         (::windows::runtime::Interface::vtable(self).21)(
1790             ::std::mem::transmute_copy(self),
1791             ::std::mem::transmute(acpstart),
1792             ::std::mem::transmute(acphalt),
1793             ::std::mem::transmute(cfilterattrs),
1794             ::std::mem::transmute(pafilterattrs),
1795             ::std::mem::transmute(dwflags),
1796             ::std::mem::transmute(pacpnext),
1797             ::std::mem::transmute(pffound),
1798             ::std::mem::transmute(plfoundoffset),
1799         )
1800         .ok()
1801     }
1802     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1803     pub unsafe fn RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1804         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(paattrvals), ::std::mem::transmute(pcfetched)).ok()
1805     }
GetEndACP(&self) -> ::windows::runtime::Result<i32>1806     pub unsafe fn GetEndACP(&self) -> ::windows::runtime::Result<i32> {
1807         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1808         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
1809     }
GetActiveView(&self) -> ::windows::runtime::Result<u32>1810     pub unsafe fn GetActiveView(&self) -> ::windows::runtime::Result<u32> {
1811         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1812         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1813     }
1814     #[cfg(feature = "Win32_Foundation")]
GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32>1815     pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32> {
1816         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1817         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), ::std::mem::transmute(ptscreen), ::std::mem::transmute(dwflags), &mut result__).from_abi::<i32>(result__)
1818     }
1819     #[cfg(feature = "Win32_Foundation")]
GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>1820     pub unsafe fn GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
1821         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), ::std::mem::transmute(prc), ::std::mem::transmute(pfclipped)).ok()
1822     }
1823     #[cfg(feature = "Win32_Foundation")]
GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT>1824     pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
1825         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1826         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
1827     }
1828     #[cfg(feature = "Win32_Foundation")]
GetWnd(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::HWND>1829     pub unsafe fn GetWnd(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
1830         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1831         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
1832     }
1833 }
1834 unsafe impl ::windows::runtime::Interface for ITextStoreACP {
1835     type Vtable = ITextStoreACP_abi;
1836     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(680038371, 49824, 18490, [163, 234, 140, 177, 206, 81, 255, 61]);
1837 }
1838 impl ::std::convert::From<ITextStoreACP> for ::windows::runtime::IUnknown {
from(value: ITextStoreACP) -> Self1839     fn from(value: ITextStoreACP) -> Self {
1840         unsafe { ::std::mem::transmute(value) }
1841     }
1842 }
1843 impl ::std::convert::From<&ITextStoreACP> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACP) -> Self1844     fn from(value: &ITextStoreACP) -> Self {
1845         ::std::convert::From::from(::std::clone::Clone::clone(value))
1846     }
1847 }
1848 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1849     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1850         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1851     }
1852 }
1853 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1854     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1855         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1856     }
1857 }
1858 #[repr(C)]
1859 #[doc(hidden)]
1860 pub struct ITextStoreACP_abi(
1861     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr, dwmask: u32) -> ::windows::runtime::HRESULT,
1865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: u32, phrsession: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
1867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcs: *mut TS_STATUS) -> ::windows::runtime::HRESULT,
1868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::HRESULT,
1869     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1870     #[cfg(not(feature = "Win32_Foundation"))] usize,
1871     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::HRESULT,
1872     #[cfg(not(feature = "Win32_Foundation"))] usize,
1873     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::HRESULT,
1874     #[cfg(not(feature = "Win32_Foundation"))] usize,
1875     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, acpstart: i32, acpend: i32, pchtext: super::super::Foundation::PWSTR, cch: u32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
1876     #[cfg(not(feature = "Win32_Foundation"))] usize,
1877     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1878     #[cfg(not(feature = "Win32_System_Com"))] usize,
1879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1880     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC, pfinsertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1881     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1882     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: ::windows::runtime::RawPtr, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
1883     #[cfg(not(feature = "Win32_System_Com"))] usize,
1884     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
1885     #[cfg(not(feature = "Win32_Foundation"))] usize,
1886     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pdataobject: ::windows::runtime::RawPtr, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
1887     #[cfg(not(feature = "Win32_System_Com"))] usize,
1888     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1889     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
1890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
1891     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::HRESULT,
1892     #[cfg(not(feature = "Win32_Foundation"))] usize,
1893     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, paattrvals: *mut ::std::mem::ManuallyDrop<TS_ATTRVAL>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1894     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1895     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pacp: *mut i32) -> ::windows::runtime::HRESULT,
1896     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvcview: *mut u32) -> ::windows::runtime::HRESULT,
1897     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32, pacp: *mut i32) -> ::windows::runtime::HRESULT,
1898     #[cfg(not(feature = "Win32_Foundation"))] usize,
1899     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1900     #[cfg(not(feature = "Win32_Foundation"))] usize,
1901     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
1902     #[cfg(not(feature = "Win32_Foundation"))] usize,
1903     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1904     #[cfg(not(feature = "Win32_Foundation"))] usize,
1905 );
1906 #[repr(transparent)]
1907 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1908 pub struct ITextStoreACP2(::windows::runtime::IUnknown);
1909 impl ITextStoreACP2 {
AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()>1910     pub unsafe fn AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()> {
1911         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi(), ::std::mem::transmute(dwmask)).ok()
1912     }
UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>1913     pub unsafe fn UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
1914         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
1915     }
RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT>1916     pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT> {
1917         let mut result__: <::windows::runtime::HRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1918         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags), &mut result__).from_abi::<::windows::runtime::HRESULT>(result__)
1919     }
GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS>1920     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS> {
1921         let mut result__: <TS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1922         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TS_STATUS>(result__)
1923     }
QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::Result<()>1924     pub unsafe fn QueryInsert(&self, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::Result<()> {
1925         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpteststart), ::std::mem::transmute(acptestend), ::std::mem::transmute(cch), ::std::mem::transmute(pacpresultstart), ::std::mem::transmute(pacpresultend)).ok()
1926     }
1927     #[cfg(feature = "Win32_Foundation")]
GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1928     pub unsafe fn GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1929         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulindex), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection), ::std::mem::transmute(pcfetched)).ok()
1930     }
1931     #[cfg(feature = "Win32_Foundation")]
SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::Result<()>1932     pub unsafe fn SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::Result<()> {
1933         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection)).ok()
1934     }
1935     #[cfg(feature = "Win32_Foundation")]
GetText(&self, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::Result<()>1936     pub unsafe fn GetText(&self, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::Result<()> {
1937         (::windows::runtime::Interface::vtable(self).10)(
1938             ::std::mem::transmute_copy(self),
1939             ::std::mem::transmute(acpstart),
1940             ::std::mem::transmute(acpend),
1941             ::std::mem::transmute(pchplain),
1942             ::std::mem::transmute(cchplainreq),
1943             ::std::mem::transmute(pcchplainret),
1944             ::std::mem::transmute(prgruninfo),
1945             ::std::mem::transmute(cruninforeq),
1946             ::std::mem::transmute(pcruninforet),
1947             ::std::mem::transmute(pacpnext),
1948         )
1949         .ok()
1950     }
1951     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<TS_TEXTCHANGE>1952     pub unsafe fn SetText<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<TS_TEXTCHANGE> {
1953         let mut result__: <TS_TEXTCHANGE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1954         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), pchtext.into_param().abi(), ::std::mem::transmute(cch), &mut result__).from_abi::<TS_TEXTCHANGE>(result__)
1955     }
1956     #[cfg(feature = "Win32_System_Com")]
GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>1957     pub unsafe fn GetFormattedText(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
1958         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1959         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
1960     }
GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>1961     pub unsafe fn GetEmbedded(&self, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
1962         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1963         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(rguidservice), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
1964     }
1965     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1966     pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1967         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1968         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidservice), ::std::mem::transmute(pformatetc), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1969     }
1970     #[cfg(feature = "Win32_System_Com")]
InsertEmbedded<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: Param3) -> ::windows::runtime::Result<TS_TEXTCHANGE>1971     pub unsafe fn InsertEmbedded<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: Param3) -> ::windows::runtime::Result<TS_TEXTCHANGE> {
1972         let mut result__: <TS_TEXTCHANGE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1973         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), pdataobject.into_param().abi(), &mut result__).from_abi::<TS_TEXTCHANGE>(result__)
1974     }
1975     #[cfg(feature = "Win32_Foundation")]
InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()>1976     pub unsafe fn InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
1977         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(pacpstart), ::std::mem::transmute(pacpend), ::std::mem::transmute(pchange)).ok()
1978     }
1979     #[cfg(feature = "Win32_System_Com")]
InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()>1980     pub unsafe fn InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
1981         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pdataobject.into_param().abi(), ::std::mem::transmute(pacpstart), ::std::mem::transmute(pacpend), ::std::mem::transmute(pchange)).ok()
1982     }
RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1983     pub unsafe fn RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
1984         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs)).ok()
1985     }
RequestAttrsAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>1986     pub unsafe fn RequestAttrsAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
1987         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
1988     }
RequestAttrsTransitioningAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>1989     pub unsafe fn RequestAttrsTransitioningAtPosition(&self, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
1990         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(acppos), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
1991     }
1992     #[cfg(feature = "Win32_Foundation")]
FindNextAttrTransition(&self, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()>1993     pub unsafe fn FindNextAttrTransition(&self, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()> {
1994         (::windows::runtime::Interface::vtable(self).21)(
1995             ::std::mem::transmute_copy(self),
1996             ::std::mem::transmute(acpstart),
1997             ::std::mem::transmute(acphalt),
1998             ::std::mem::transmute(cfilterattrs),
1999             ::std::mem::transmute(pafilterattrs),
2000             ::std::mem::transmute(dwflags),
2001             ::std::mem::transmute(pacpnext),
2002             ::std::mem::transmute(pffound),
2003             ::std::mem::transmute(plfoundoffset),
2004         )
2005         .ok()
2006     }
2007     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()>2008     pub unsafe fn RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
2009         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(paattrvals), ::std::mem::transmute(pcfetched)).ok()
2010     }
GetEndACP(&self) -> ::windows::runtime::Result<i32>2011     pub unsafe fn GetEndACP(&self) -> ::windows::runtime::Result<i32> {
2012         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2013         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
2014     }
GetActiveView(&self) -> ::windows::runtime::Result<u32>2015     pub unsafe fn GetActiveView(&self) -> ::windows::runtime::Result<u32> {
2016         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2017         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2018     }
2019     #[cfg(feature = "Win32_Foundation")]
GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32>2020     pub unsafe fn GetACPFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32> {
2021         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2022         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), ::std::mem::transmute(ptscreen), ::std::mem::transmute(dwflags), &mut result__).from_abi::<i32>(result__)
2023     }
2024     #[cfg(feature = "Win32_Foundation")]
GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>2025     pub unsafe fn GetTextExt(&self, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
2026         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), ::std::mem::transmute(prc), ::std::mem::transmute(pfclipped)).ok()
2027     }
2028     #[cfg(feature = "Win32_Foundation")]
GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT>2029     pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
2030         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2031         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
2032     }
2033 }
2034 unsafe impl ::windows::runtime::Interface for ITextStoreACP2 {
2035     type Vtable = ITextStoreACP2_abi;
2036     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4167751839, 24548, 19341, [187, 159, 239, 55, 151, 168, 79, 31]);
2037 }
2038 impl ::std::convert::From<ITextStoreACP2> for ::windows::runtime::IUnknown {
from(value: ITextStoreACP2) -> Self2039     fn from(value: ITextStoreACP2) -> Self {
2040         unsafe { ::std::mem::transmute(value) }
2041     }
2042 }
2043 impl ::std::convert::From<&ITextStoreACP2> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACP2) -> Self2044     fn from(value: &ITextStoreACP2) -> Self {
2045         ::std::convert::From::from(::std::clone::Clone::clone(value))
2046     }
2047 }
2048 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACP2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2049     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2050         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2051     }
2052 }
2053 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACP2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2054     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2055         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2056     }
2057 }
2058 #[repr(C)]
2059 #[doc(hidden)]
2060 pub struct ITextStoreACP2_abi(
2061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2064     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr, dwmask: u32) -> ::windows::runtime::HRESULT,
2065     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: u32, phrsession: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
2067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcs: *mut TS_STATUS) -> ::windows::runtime::HRESULT,
2068     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpteststart: i32, acptestend: i32, cch: u32, pacpresultstart: *mut i32, pacpresultend: *mut i32) -> ::windows::runtime::HRESULT,
2069     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ACP, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2070     #[cfg(not(feature = "Win32_Foundation"))] usize,
2071     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pselection: *const TS_SELECTION_ACP) -> ::windows::runtime::HRESULT,
2072     #[cfg(not(feature = "Win32_Foundation"))] usize,
2073     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, pchplain: super::super::Foundation::PWSTR, cchplainreq: u32, pcchplainret: *mut u32, prgruninfo: *mut TS_RUNINFO, cruninforeq: u32, pcruninforet: *mut u32, pacpnext: *mut i32) -> ::windows::runtime::HRESULT,
2074     #[cfg(not(feature = "Win32_Foundation"))] usize,
2075     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, acpstart: i32, acpend: i32, pchtext: super::super::Foundation::PWSTR, cch: u32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2076     #[cfg(not(feature = "Win32_Foundation"))] usize,
2077     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2078     #[cfg(not(feature = "Win32_System_Com"))] usize,
2079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2080     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC, pfinsertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2081     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2082     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, acpstart: i32, acpend: i32, pdataobject: ::windows::runtime::RawPtr, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2083     #[cfg(not(feature = "Win32_System_Com"))] usize,
2084     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cch: u32, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2085     #[cfg(not(feature = "Win32_Foundation"))] usize,
2086     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pdataobject: ::windows::runtime::RawPtr, pacpstart: *mut i32, pacpend: *mut i32, pchange: *mut TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2087     #[cfg(not(feature = "Win32_System_Com"))] usize,
2088     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2089     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
2090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acppos: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
2091     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acphalt: i32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pacpnext: *mut i32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::HRESULT,
2092     #[cfg(not(feature = "Win32_Foundation"))] usize,
2093     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, paattrvals: *mut ::std::mem::ManuallyDrop<TS_ATTRVAL>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2094     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pacp: *mut i32) -> ::windows::runtime::HRESULT,
2096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvcview: *mut u32) -> ::windows::runtime::HRESULT,
2097     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32, pacp: *mut i32) -> ::windows::runtime::HRESULT,
2098     #[cfg(not(feature = "Win32_Foundation"))] usize,
2099     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2100     #[cfg(not(feature = "Win32_Foundation"))] usize,
2101     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2102     #[cfg(not(feature = "Win32_Foundation"))] usize,
2103 );
2104 #[repr(transparent)]
2105 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2106 pub struct ITextStoreACPEx(::windows::runtime::IUnknown);
2107 impl ITextStoreACPEx {
2108     #[cfg(feature = "Win32_Foundation")]
ScrollToRect<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, acpstart: i32, acpend: i32, rc: Param2, dwposition: u32) -> ::windows::runtime::Result<()>2109     pub unsafe fn ScrollToRect<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, acpstart: i32, acpend: i32, rc: Param2, dwposition: u32) -> ::windows::runtime::Result<()> {
2110         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), rc.into_param().abi(), ::std::mem::transmute(dwposition)).ok()
2111     }
2112 }
2113 unsafe impl ::windows::runtime::Interface for ITextStoreACPEx {
2114     type Vtable = ITextStoreACPEx_abi;
2115     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2732473282, 15758, 4563, [129, 169, 247, 83, 251, 230, 26, 0]);
2116 }
2117 impl ::std::convert::From<ITextStoreACPEx> for ::windows::runtime::IUnknown {
from(value: ITextStoreACPEx) -> Self2118     fn from(value: ITextStoreACPEx) -> Self {
2119         unsafe { ::std::mem::transmute(value) }
2120     }
2121 }
2122 impl ::std::convert::From<&ITextStoreACPEx> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACPEx) -> Self2123     fn from(value: &ITextStoreACPEx) -> Self {
2124         ::std::convert::From::from(::std::clone::Clone::clone(value))
2125     }
2126 }
2127 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACPEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2128     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2129         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2130     }
2131 }
2132 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACPEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2133     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2134         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2135     }
2136 }
2137 #[repr(C)]
2138 #[doc(hidden)]
2139 pub struct ITextStoreACPEx_abi(
2140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2142     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2143     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, rc: super::super::Foundation::RECT, dwposition: u32) -> ::windows::runtime::HRESULT,
2144     #[cfg(not(feature = "Win32_Foundation"))] usize,
2145 );
2146 #[repr(transparent)]
2147 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2148 pub struct ITextStoreACPServices(::windows::runtime::IUnknown);
2149 impl ITextStoreACPServices {
2150     #[cfg(feature = "Win32_System_Com")]
Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pprop: Param0, prange: Param1, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param3) -> ::windows::runtime::Result<()>2151     pub unsafe fn Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pprop: Param0, prange: Param1, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param3) -> ::windows::runtime::Result<()> {
2152         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pprop.into_param().abi(), prange.into_param().abi(), ::std::mem::transmute(phdr), pstream.into_param().abi()).ok()
2153     }
2154     #[cfg(feature = "Win32_System_Com")]
Unserialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param3: ::windows::runtime::IntoParam<'a, ITfPersistentPropertyLoaderACP>>(&self, pprop: Param0, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param2, ploader: Param3) -> ::windows::runtime::Result<()>2155     pub unsafe fn Unserialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param3: ::windows::runtime::IntoParam<'a, ITfPersistentPropertyLoaderACP>>(&self, pprop: Param0, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param2, ploader: Param3) -> ::windows::runtime::Result<()> {
2156         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pprop.into_param().abi(), ::std::mem::transmute(phdr), pstream.into_param().abi(), ploader.into_param().abi()).ok()
2157     }
ForceLoadProperty<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>>(&self, pprop: Param0) -> ::windows::runtime::Result<()>2158     pub unsafe fn ForceLoadProperty<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>>(&self, pprop: Param0) -> ::windows::runtime::Result<()> {
2159         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pprop.into_param().abi()).ok()
2160     }
CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<ITfRangeACP>2161     pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<ITfRangeACP> {
2162         let mut result__: <ITfRangeACP as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2163         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), &mut result__).from_abi::<ITfRangeACP>(result__)
2164     }
2165 }
2166 unsafe impl ::windows::runtime::Interface for ITextStoreACPServices {
2167     type Vtable = ITextStoreACPServices_abi;
2168     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574977, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
2169 }
2170 impl ::std::convert::From<ITextStoreACPServices> for ::windows::runtime::IUnknown {
from(value: ITextStoreACPServices) -> Self2171     fn from(value: ITextStoreACPServices) -> Self {
2172         unsafe { ::std::mem::transmute(value) }
2173     }
2174 }
2175 impl ::std::convert::From<&ITextStoreACPServices> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACPServices) -> Self2176     fn from(value: &ITextStoreACPServices) -> Self {
2177         ::std::convert::From::from(::std::clone::Clone::clone(value))
2178     }
2179 }
2180 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACPServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2181     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2182         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2183     }
2184 }
2185 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACPServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2186     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2187         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2188     }
2189 }
2190 #[repr(C)]
2191 #[doc(hidden)]
2192 pub struct ITextStoreACPServices_abi(
2193     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2196     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2197     #[cfg(not(feature = "Win32_System_Com"))] usize,
2198     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: ::windows::runtime::RawPtr, ploader: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2199     #[cfg(not(feature = "Win32_System_Com"))] usize,
2200     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2201     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2202 );
2203 #[repr(transparent)]
2204 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2205 pub struct ITextStoreACPSink(::windows::runtime::IUnknown);
2206 impl ITextStoreACPSink {
OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::Result<()>2207     pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
2208         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(pchange)).ok()
2209     }
OnSelectionChange(&self) -> ::windows::runtime::Result<()>2210     pub unsafe fn OnSelectionChange(&self) -> ::windows::runtime::Result<()> {
2211         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2212     }
OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()>2213     pub unsafe fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()> {
2214         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcode), ::std::mem::transmute(vcview)).ok()
2215     }
OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()>2216     pub unsafe fn OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
2217         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
2218     }
OnAttrsChange(&self, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>2219     pub unsafe fn OnAttrsChange(&self, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
2220         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), ::std::mem::transmute(cattrs), ::std::mem::transmute(paattrs)).ok()
2221     }
OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()>2222     pub unsafe fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()> {
2223         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags)).ok()
2224     }
OnStartEditTransaction(&self) -> ::windows::runtime::Result<()>2225     pub unsafe fn OnStartEditTransaction(&self) -> ::windows::runtime::Result<()> {
2226         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
2227     }
OnEndEditTransaction(&self) -> ::windows::runtime::Result<()>2228     pub unsafe fn OnEndEditTransaction(&self) -> ::windows::runtime::Result<()> {
2229         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2230     }
2231 }
2232 unsafe impl ::windows::runtime::Interface for ITextStoreACPSink {
2233     type Vtable = ITextStoreACPSink_abi;
2234     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(584338580, 42009, 17730, [162, 114, 174, 38, 9, 62, 206, 207]);
2235 }
2236 impl ::std::convert::From<ITextStoreACPSink> for ::windows::runtime::IUnknown {
from(value: ITextStoreACPSink) -> Self2237     fn from(value: ITextStoreACPSink) -> Self {
2238         unsafe { ::std::mem::transmute(value) }
2239     }
2240 }
2241 impl ::std::convert::From<&ITextStoreACPSink> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACPSink) -> Self2242     fn from(value: &ITextStoreACPSink) -> Self {
2243         ::std::convert::From::from(::std::clone::Clone::clone(value))
2244     }
2245 }
2246 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACPSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2247     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2248         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2249     }
2250 }
2251 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACPSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2252     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2253         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2254     }
2255 }
2256 #[repr(C)]
2257 #[doc(hidden)]
2258 pub struct ITextStoreACPSink_abi(
2259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2260     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2261     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2263     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2264     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::HRESULT,
2265     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
2266     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::HRESULT,
2268     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2269     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2270 );
2271 #[repr(transparent)]
2272 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2273 pub struct ITextStoreACPSinkEx(::windows::runtime::IUnknown);
2274 impl ITextStoreACPSinkEx {
OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::Result<()>2275     pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::Result<()> {
2276         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(pchange)).ok()
2277     }
OnSelectionChange(&self) -> ::windows::runtime::Result<()>2278     pub unsafe fn OnSelectionChange(&self) -> ::windows::runtime::Result<()> {
2279         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2280     }
OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()>2281     pub unsafe fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()> {
2282         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcode), ::std::mem::transmute(vcview)).ok()
2283     }
OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()>2284     pub unsafe fn OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
2285         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
2286     }
OnAttrsChange(&self, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>2287     pub unsafe fn OnAttrsChange(&self, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
2288         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), ::std::mem::transmute(cattrs), ::std::mem::transmute(paattrs)).ok()
2289     }
OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()>2290     pub unsafe fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()> {
2291         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags)).ok()
2292     }
OnStartEditTransaction(&self) -> ::windows::runtime::Result<()>2293     pub unsafe fn OnStartEditTransaction(&self) -> ::windows::runtime::Result<()> {
2294         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
2295     }
OnEndEditTransaction(&self) -> ::windows::runtime::Result<()>2296     pub unsafe fn OnEndEditTransaction(&self) -> ::windows::runtime::Result<()> {
2297         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2298     }
OnDisconnect(&self) -> ::windows::runtime::Result<()>2299     pub unsafe fn OnDisconnect(&self) -> ::windows::runtime::Result<()> {
2300         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
2301     }
2302 }
2303 unsafe impl ::windows::runtime::Interface for ITextStoreACPSinkEx {
2304     type Vtable = ITextStoreACPSinkEx_abi;
2305     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(736072804, 16866, 17379, [149, 12, 166, 134, 91, 162, 92, 212]);
2306 }
2307 impl ::std::convert::From<ITextStoreACPSinkEx> for ::windows::runtime::IUnknown {
from(value: ITextStoreACPSinkEx) -> Self2308     fn from(value: ITextStoreACPSinkEx) -> Self {
2309         unsafe { ::std::mem::transmute(value) }
2310     }
2311 }
2312 impl ::std::convert::From<&ITextStoreACPSinkEx> for ::windows::runtime::IUnknown {
from(value: &ITextStoreACPSinkEx) -> Self2313     fn from(value: &ITextStoreACPSinkEx) -> Self {
2314         ::std::convert::From::from(::std::clone::Clone::clone(value))
2315     }
2316 }
2317 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreACPSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2318     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2319         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2320     }
2321 }
2322 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreACPSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2323     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2324         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2325     }
2326 }
2327 impl ::std::convert::From<ITextStoreACPSinkEx> for ITextStoreACPSink {
from(value: ITextStoreACPSinkEx) -> Self2328     fn from(value: ITextStoreACPSinkEx) -> Self {
2329         unsafe { ::std::mem::transmute(value) }
2330     }
2331 }
2332 impl ::std::convert::From<&ITextStoreACPSinkEx> for ITextStoreACPSink {
from(value: &ITextStoreACPSinkEx) -> Self2333     fn from(value: &ITextStoreACPSinkEx) -> Self {
2334         ::std::convert::From::from(::std::clone::Clone::clone(value))
2335     }
2336 }
2337 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoreACPSink> for ITextStoreACPSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoreACPSink>2338     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoreACPSink> {
2339         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoreACPSink>::into(self))
2340     }
2341 }
2342 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoreACPSink> for &ITextStoreACPSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoreACPSink>2343     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoreACPSink> {
2344         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoreACPSink>::into(::std::clone::Clone::clone(self)))
2345     }
2346 }
2347 #[repr(C)]
2348 #[doc(hidden)]
2349 pub struct ITextStoreACPSinkEx_abi(
2350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> ::windows::runtime::HRESULT,
2354     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2355     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::HRESULT,
2356     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
2357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::HRESULT,
2359     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2360     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2361     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2362 );
2363 #[repr(transparent)]
2364 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2365 pub struct ITextStoreAnchor(::windows::runtime::IUnknown);
2366 impl ITextStoreAnchor {
AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()>2367     pub unsafe fn AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1, dwmask: u32) -> ::windows::runtime::Result<()> {
2368         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi(), ::std::mem::transmute(dwmask)).ok()
2369     }
UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()>2370     pub unsafe fn UnadviseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
2371         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
2372     }
RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT>2373     pub unsafe fn RequestLock(&self, dwlockflags: u32) -> ::windows::runtime::Result<::windows::runtime::HRESULT> {
2374         let mut result__: <::windows::runtime::HRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2375         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags), &mut result__).from_abi::<::windows::runtime::HRESULT>(result__)
2376     }
GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS>2377     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS> {
2378         let mut result__: <TS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2379         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TS_STATUS>(result__)
2380     }
QueryInsert<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pateststart: Param0, patestend: Param1, cch: u32, pparesultstart: *mut ::std::option::Option<IAnchor>, pparesultend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()>2381     pub unsafe fn QueryInsert<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pateststart: Param0, patestend: Param1, cch: u32, pparesultstart: *mut ::std::option::Option<IAnchor>, pparesultend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()> {
2382         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pateststart.into_param().abi(), patestend.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(pparesultstart), ::std::mem::transmute(pparesultend)).ok()
2383     }
2384     #[cfg(feature = "Win32_Foundation")]
GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ANCHOR, pcfetched: *mut u32) -> ::windows::runtime::Result<()>2385     pub unsafe fn GetSelection(&self, ulindex: u32, ulcount: u32, pselection: *mut TS_SELECTION_ANCHOR, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
2386         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulindex), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection), ::std::mem::transmute(pcfetched)).ok()
2387     }
2388     #[cfg(feature = "Win32_Foundation")]
SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ANCHOR) -> ::windows::runtime::Result<()>2389     pub unsafe fn SetSelection(&self, ulcount: u32, pselection: *const TS_SELECTION_ANCHOR) -> ::windows::runtime::Result<()> {
2390         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection)).ok()
2391     }
2392     #[cfg(feature = "Win32_Foundation")]
GetText<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pchtext: super::super::Foundation::PWSTR, cchreq: u32, pcch: *mut u32, fupdateanchor: Param6) -> ::windows::runtime::Result<()>2393     pub unsafe fn GetText<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pchtext: super::super::Foundation::PWSTR, cchreq: u32, pcch: *mut u32, fupdateanchor: Param6) -> ::windows::runtime::Result<()> {
2394         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pastart.into_param().abi(), paend.into_param().abi(), ::std::mem::transmute(pchtext), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), fupdateanchor.into_param().abi()).ok()
2395     }
2396     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<()>2397     pub unsafe fn SetText<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pchtext: Param3, cch: u32) -> ::windows::runtime::Result<()> {
2398         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pastart.into_param().abi(), paend.into_param().abi(), pchtext.into_param().abi(), ::std::mem::transmute(cch)).ok()
2399     }
2400     #[cfg(feature = "Win32_System_Com")]
GetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>2401     pub unsafe fn GetFormattedText<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
2402         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2403         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pastart.into_param().abi(), paend.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
2404     }
GetEmbedded<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: u32, papos: Param1, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2405     pub unsafe fn GetEmbedded<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: u32, papos: Param1, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2406         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2407         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), papos.into_param().abi(), ::std::mem::transmute(rguidservice), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2408     }
2409     #[cfg(feature = "Win32_System_Com")]
InsertEmbedded<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pdataobject: Param3) -> ::windows::runtime::Result<()>2410     pub unsafe fn InsertEmbedded<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pastart: Param1, paend: Param2, pdataobject: Param3) -> ::windows::runtime::Result<()> {
2411         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pastart.into_param().abi(), paend.into_param().abi(), pdataobject.into_param().abi()).ok()
2412     }
RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>2413     pub unsafe fn RequestSupportedAttrs(&self, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
2414         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs)).ok()
2415     }
RequestAttrsAtPosition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, papos: Param0, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>2416     pub unsafe fn RequestAttrsAtPosition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, papos: Param0, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
2417         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), papos.into_param().abi(), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
2418     }
RequestAttrsTransitioningAtPosition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, papos: Param0, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>2419     pub unsafe fn RequestAttrsTransitioningAtPosition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, papos: Param0, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
2420         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), papos.into_param().abi(), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags)).ok()
2421     }
2422     #[cfg(feature = "Win32_Foundation")]
FindNextAttrTransition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, pahalt: Param1, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()>2423     pub unsafe fn FindNextAttrTransition<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, pahalt: Param1, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::Result<()> {
2424         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pastart.into_param().abi(), pahalt.into_param().abi(), ::std::mem::transmute(cfilterattrs), ::std::mem::transmute(pafilterattrs), ::std::mem::transmute(dwflags), ::std::mem::transmute(pffound), ::std::mem::transmute(plfoundoffset)).ok()
2425     }
2426     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()>2427     pub unsafe fn RetrieveRequestedAttrs(&self, ulcount: u32, paattrvals: *mut TS_ATTRVAL, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
2428         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(paattrvals), ::std::mem::transmute(pcfetched)).ok()
2429     }
GetStart(&self) -> ::windows::runtime::Result<IAnchor>2430     pub unsafe fn GetStart(&self) -> ::windows::runtime::Result<IAnchor> {
2431         let mut result__: <IAnchor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2432         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IAnchor>(result__)
2433     }
GetEnd(&self) -> ::windows::runtime::Result<IAnchor>2434     pub unsafe fn GetEnd(&self) -> ::windows::runtime::Result<IAnchor> {
2435         let mut result__: <IAnchor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2436         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IAnchor>(result__)
2437     }
GetActiveView(&self) -> ::windows::runtime::Result<u32>2438     pub unsafe fn GetActiveView(&self) -> ::windows::runtime::Result<u32> {
2439         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2440         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2441     }
2442     #[cfg(feature = "Win32_Foundation")]
GetAnchorFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<IAnchor>2443     pub unsafe fn GetAnchorFromPoint(&self, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<IAnchor> {
2444         let mut result__: <IAnchor as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2445         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), ::std::mem::transmute(ptscreen), ::std::mem::transmute(dwflags), &mut result__).from_abi::<IAnchor>(result__)
2446     }
2447     #[cfg(feature = "Win32_Foundation")]
GetTextExt<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, vcview: u32, pastart: Param1, paend: Param2, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>2448     pub unsafe fn GetTextExt<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, vcview: u32, pastart: Param1, paend: Param2, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
2449         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), pastart.into_param().abi(), paend.into_param().abi(), ::std::mem::transmute(prc), ::std::mem::transmute(pfclipped)).ok()
2450     }
2451     #[cfg(feature = "Win32_Foundation")]
GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT>2452     pub unsafe fn GetScreenExt(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
2453         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2454         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
2455     }
2456     #[cfg(feature = "Win32_Foundation")]
GetWnd(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::HWND>2457     pub unsafe fn GetWnd(&self, vcview: u32) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
2458         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2459         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(vcview), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
2460     }
2461     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2462     pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2463         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2464         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidservice), ::std::mem::transmute(pformatetc), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2465     }
2466     #[cfg(feature = "Win32_Foundation")]
InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, ppastart: *mut ::std::option::Option<IAnchor>, ppaend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()>2467     pub unsafe fn InsertTextAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, dwflags: u32, pchtext: Param1, cch: u32, ppastart: *mut ::std::option::Option<IAnchor>, ppaend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()> {
2468         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(ppastart), ::std::mem::transmute(ppaend)).ok()
2469     }
2470     #[cfg(feature = "Win32_System_Com")]
InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, ppastart: *mut ::std::option::Option<IAnchor>, ppaend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()>2471     pub unsafe fn InsertEmbeddedAtSelection<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, dwflags: u32, pdataobject: Param1, ppastart: *mut ::std::option::Option<IAnchor>, ppaend: *mut ::std::option::Option<IAnchor>) -> ::windows::runtime::Result<()> {
2472         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pdataobject.into_param().abi(), ::std::mem::transmute(ppastart), ::std::mem::transmute(ppaend)).ok()
2473     }
2474 }
2475 unsafe impl ::windows::runtime::Interface for ITextStoreAnchor {
2476     type Vtable = ITextStoreAnchor_abi;
2477     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2602596272, 24344, 19948, [190, 233, 60, 199, 34, 245, 223, 224]);
2478 }
2479 impl ::std::convert::From<ITextStoreAnchor> for ::windows::runtime::IUnknown {
from(value: ITextStoreAnchor) -> Self2480     fn from(value: ITextStoreAnchor) -> Self {
2481         unsafe { ::std::mem::transmute(value) }
2482     }
2483 }
2484 impl ::std::convert::From<&ITextStoreAnchor> for ::windows::runtime::IUnknown {
from(value: &ITextStoreAnchor) -> Self2485     fn from(value: &ITextStoreAnchor) -> Self {
2486         ::std::convert::From::from(::std::clone::Clone::clone(value))
2487     }
2488 }
2489 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreAnchor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2490     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2491         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2492     }
2493 }
2494 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreAnchor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2495     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2496         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2497     }
2498 }
2499 #[repr(C)]
2500 #[doc(hidden)]
2501 pub struct ITextStoreAnchor_abi(
2502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2503     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr, dwmask: u32) -> ::windows::runtime::HRESULT,
2506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2507     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: u32, phrsession: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
2508     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcs: *mut TS_STATUS) -> ::windows::runtime::HRESULT,
2509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pateststart: ::windows::runtime::RawPtr, patestend: ::windows::runtime::RawPtr, cch: u32, pparesultstart: *mut ::windows::runtime::RawPtr, pparesultend: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2510     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulindex: u32, ulcount: u32, pselection: *mut ::std::mem::ManuallyDrop<TS_SELECTION_ANCHOR>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2511     #[cfg(not(feature = "Win32_Foundation"))] usize,
2512     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pselection: *const ::std::mem::ManuallyDrop<TS_SELECTION_ANCHOR>) -> ::windows::runtime::HRESULT,
2513     #[cfg(not(feature = "Win32_Foundation"))] usize,
2514     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, pchtext: super::super::Foundation::PWSTR, cchreq: u32, pcch: *mut u32, fupdateanchor: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2515     #[cfg(not(feature = "Win32_Foundation"))] usize,
2516     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, pchtext: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
2517     #[cfg(not(feature = "Win32_Foundation"))] usize,
2518     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2519     #[cfg(not(feature = "Win32_System_Com"))] usize,
2520     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, papos: ::windows::runtime::RawPtr, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2521     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2522     #[cfg(not(feature = "Win32_System_Com"))] usize,
2523     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2524     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, papos: ::windows::runtime::RawPtr, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
2525     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, papos: ::windows::runtime::RawPtr, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
2526     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pastart: ::windows::runtime::RawPtr, pahalt: ::windows::runtime::RawPtr, cfilterattrs: u32, pafilterattrs: *const ::windows::runtime::GUID, dwflags: u32, pffound: *mut super::super::Foundation::BOOL, plfoundoffset: *mut i32) -> ::windows::runtime::HRESULT,
2527     #[cfg(not(feature = "Win32_Foundation"))] usize,
2528     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, paattrvals: *mut ::std::mem::ManuallyDrop<TS_ATTRVAL>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2529     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2530     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppastart: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2531     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppaend: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2532     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvcview: *mut u32) -> ::windows::runtime::HRESULT,
2533     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, ptscreen: *const super::super::Foundation::POINT, dwflags: u32, ppasite: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2534     #[cfg(not(feature = "Win32_Foundation"))] usize,
2535     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2536     #[cfg(not(feature = "Win32_Foundation"))] usize,
2537     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2538     #[cfg(not(feature = "Win32_Foundation"))] usize,
2539     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vcview: u32, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
2540     #[cfg(not(feature = "Win32_Foundation"))] usize,
2541     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC, pfinsertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2542     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2543     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cch: u32, ppastart: *mut ::windows::runtime::RawPtr, ppaend: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2544     #[cfg(not(feature = "Win32_Foundation"))] usize,
2545     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, pdataobject: ::windows::runtime::RawPtr, ppastart: *mut ::windows::runtime::RawPtr, ppaend: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2546     #[cfg(not(feature = "Win32_System_Com"))] usize,
2547 );
2548 #[repr(transparent)]
2549 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2550 pub struct ITextStoreAnchorEx(::windows::runtime::IUnknown);
2551 impl ITextStoreAnchorEx {
2552     #[cfg(feature = "Win32_Foundation")]
ScrollToRect<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, pstart: Param0, pend: Param1, rc: Param2, dwposition: u32) -> ::windows::runtime::Result<()>2553     pub unsafe fn ScrollToRect<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::RECT>>(&self, pstart: Param0, pend: Param1, rc: Param2, dwposition: u32) -> ::windows::runtime::Result<()> {
2554         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pstart.into_param().abi(), pend.into_param().abi(), rc.into_param().abi(), ::std::mem::transmute(dwposition)).ok()
2555     }
2556 }
2557 unsafe impl ::windows::runtime::Interface for ITextStoreAnchorEx {
2558     type Vtable = ITextStoreAnchorEx_abi;
2559     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2732473281, 15758, 4563, [129, 169, 247, 83, 251, 230, 26, 0]);
2560 }
2561 impl ::std::convert::From<ITextStoreAnchorEx> for ::windows::runtime::IUnknown {
from(value: ITextStoreAnchorEx) -> Self2562     fn from(value: ITextStoreAnchorEx) -> Self {
2563         unsafe { ::std::mem::transmute(value) }
2564     }
2565 }
2566 impl ::std::convert::From<&ITextStoreAnchorEx> for ::windows::runtime::IUnknown {
from(value: &ITextStoreAnchorEx) -> Self2567     fn from(value: &ITextStoreAnchorEx) -> Self {
2568         ::std::convert::From::from(::std::clone::Clone::clone(value))
2569     }
2570 }
2571 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2572     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2573         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2574     }
2575 }
2576 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2577     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2578         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2579     }
2580 }
2581 #[repr(C)]
2582 #[doc(hidden)]
2583 pub struct ITextStoreAnchorEx_abi(
2584     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2585     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2586     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2587     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstart: ::windows::runtime::RawPtr, pend: ::windows::runtime::RawPtr, rc: super::super::Foundation::RECT, dwposition: u32) -> ::windows::runtime::HRESULT,
2588     #[cfg(not(feature = "Win32_Foundation"))] usize,
2589 );
2590 #[repr(transparent)]
2591 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2592 pub struct ITextStoreAnchorSink(::windows::runtime::IUnknown);
2593 impl ITextStoreAnchorSink {
OnTextChange<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: Param1, paend: Param2) -> ::windows::runtime::Result<()>2594     pub unsafe fn OnTextChange<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: Param1, paend: Param2) -> ::windows::runtime::Result<()> {
2595         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pastart.into_param().abi(), paend.into_param().abi()).ok()
2596     }
OnSelectionChange(&self) -> ::windows::runtime::Result<()>2597     pub unsafe fn OnSelectionChange(&self) -> ::windows::runtime::Result<()> {
2598         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2599     }
OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()>2600     pub unsafe fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()> {
2601         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcode), ::std::mem::transmute(vcview)).ok()
2602     }
OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()>2603     pub unsafe fn OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
2604         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
2605     }
OnAttrsChange<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>2606     pub unsafe fn OnAttrsChange<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
2607         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pastart.into_param().abi(), paend.into_param().abi(), ::std::mem::transmute(cattrs), ::std::mem::transmute(paattrs)).ok()
2608     }
OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()>2609     pub unsafe fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()> {
2610         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags)).ok()
2611     }
OnStartEditTransaction(&self) -> ::windows::runtime::Result<()>2612     pub unsafe fn OnStartEditTransaction(&self) -> ::windows::runtime::Result<()> {
2613         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
2614     }
OnEndEditTransaction(&self) -> ::windows::runtime::Result<()>2615     pub unsafe fn OnEndEditTransaction(&self) -> ::windows::runtime::Result<()> {
2616         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2617     }
2618 }
2619 unsafe impl ::windows::runtime::Interface for ITextStoreAnchorSink {
2620     type Vtable = ITextStoreAnchorSink_abi;
2621     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574981, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
2622 }
2623 impl ::std::convert::From<ITextStoreAnchorSink> for ::windows::runtime::IUnknown {
from(value: ITextStoreAnchorSink) -> Self2624     fn from(value: ITextStoreAnchorSink) -> Self {
2625         unsafe { ::std::mem::transmute(value) }
2626     }
2627 }
2628 impl ::std::convert::From<&ITextStoreAnchorSink> for ::windows::runtime::IUnknown {
from(value: &ITextStoreAnchorSink) -> Self2629     fn from(value: &ITextStoreAnchorSink) -> Self {
2630         ::std::convert::From::from(::std::clone::Clone::clone(value))
2631     }
2632 }
2633 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreAnchorSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2634     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2635         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2636     }
2637 }
2638 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreAnchorSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2639     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2640         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2641     }
2642 }
2643 #[repr(C)]
2644 #[doc(hidden)]
2645 pub struct ITextStoreAnchorSink_abi(
2646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2650     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2651     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::HRESULT,
2652     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
2653     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::HRESULT,
2655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2657 );
2658 #[repr(transparent)]
2659 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2660 pub struct ITextStoreSinkAnchorEx(::windows::runtime::IUnknown);
2661 impl ITextStoreSinkAnchorEx {
OnTextChange<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: Param1, paend: Param2) -> ::windows::runtime::Result<()>2662     pub unsafe fn OnTextChange<'a, Param1: ::windows::runtime::IntoParam<'a, IAnchor>, Param2: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: Param1, paend: Param2) -> ::windows::runtime::Result<()> {
2663         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), pastart.into_param().abi(), paend.into_param().abi()).ok()
2664     }
OnSelectionChange(&self) -> ::windows::runtime::Result<()>2665     pub unsafe fn OnSelectionChange(&self) -> ::windows::runtime::Result<()> {
2666         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2667     }
OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()>2668     pub unsafe fn OnLayoutChange(&self, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::Result<()> {
2669         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lcode), ::std::mem::transmute(vcview)).ok()
2670     }
OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()>2671     pub unsafe fn OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
2672         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
2673     }
OnAttrsChange<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>2674     pub unsafe fn OnAttrsChange<'a, Param0: ::windows::runtime::IntoParam<'a, IAnchor>, Param1: ::windows::runtime::IntoParam<'a, IAnchor>>(&self, pastart: Param0, paend: Param1, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
2675         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pastart.into_param().abi(), paend.into_param().abi(), ::std::mem::transmute(cattrs), ::std::mem::transmute(paattrs)).ok()
2676     }
OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()>2677     pub unsafe fn OnLockGranted(&self, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::Result<()> {
2678         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlockflags)).ok()
2679     }
OnStartEditTransaction(&self) -> ::windows::runtime::Result<()>2680     pub unsafe fn OnStartEditTransaction(&self) -> ::windows::runtime::Result<()> {
2681         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
2682     }
OnEndEditTransaction(&self) -> ::windows::runtime::Result<()>2683     pub unsafe fn OnEndEditTransaction(&self) -> ::windows::runtime::Result<()> {
2684         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
2685     }
OnDisconnect(&self) -> ::windows::runtime::Result<()>2686     pub unsafe fn OnDisconnect(&self) -> ::windows::runtime::Result<()> {
2687         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
2688     }
2689 }
2690 unsafe impl ::windows::runtime::Interface for ITextStoreSinkAnchorEx {
2691     type Vtable = ITextStoreSinkAnchorEx_abi;
2692     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(627319846, 653, 17524, [151, 123, 17, 27, 177, 20, 254, 62]);
2693 }
2694 impl ::std::convert::From<ITextStoreSinkAnchorEx> for ::windows::runtime::IUnknown {
from(value: ITextStoreSinkAnchorEx) -> Self2695     fn from(value: ITextStoreSinkAnchorEx) -> Self {
2696         unsafe { ::std::mem::transmute(value) }
2697     }
2698 }
2699 impl ::std::convert::From<&ITextStoreSinkAnchorEx> for ::windows::runtime::IUnknown {
from(value: &ITextStoreSinkAnchorEx) -> Self2700     fn from(value: &ITextStoreSinkAnchorEx) -> Self {
2701         ::std::convert::From::from(::std::clone::Clone::clone(value))
2702     }
2703 }
2704 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextStoreSinkAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2705     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2706         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2707     }
2708 }
2709 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextStoreSinkAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2710     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2711         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2712     }
2713 }
2714 impl ::std::convert::From<ITextStoreSinkAnchorEx> for ITextStoreAnchorSink {
from(value: ITextStoreSinkAnchorEx) -> Self2715     fn from(value: ITextStoreSinkAnchorEx) -> Self {
2716         unsafe { ::std::mem::transmute(value) }
2717     }
2718 }
2719 impl ::std::convert::From<&ITextStoreSinkAnchorEx> for ITextStoreAnchorSink {
from(value: &ITextStoreSinkAnchorEx) -> Self2720     fn from(value: &ITextStoreSinkAnchorEx) -> Self {
2721         ::std::convert::From::from(::std::clone::Clone::clone(value))
2722     }
2723 }
2724 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoreAnchorSink> for ITextStoreSinkAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoreAnchorSink>2725     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoreAnchorSink> {
2726         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoreAnchorSink>::into(self))
2727     }
2728 }
2729 impl<'a> ::windows::runtime::IntoParam<'a, ITextStoreAnchorSink> for &ITextStoreSinkAnchorEx {
into_param(self) -> ::windows::runtime::Param<'a, ITextStoreAnchorSink>2730     fn into_param(self) -> ::windows::runtime::Param<'a, ITextStoreAnchorSink> {
2731         ::windows::runtime::Param::Owned(::std::convert::Into::<ITextStoreAnchorSink>::into(::std::clone::Clone::clone(self)))
2732     }
2733 }
2734 #[repr(C)]
2735 #[doc(hidden)]
2736 pub struct ITextStoreSinkAnchorEx_abi(
2737     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2738     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2742     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lcode: TsLayoutCode, vcview: u32) -> ::windows::runtime::HRESULT,
2743     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
2744     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pastart: ::windows::runtime::RawPtr, paend: ::windows::runtime::RawPtr, cattrs: u32, paattrs: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2745     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlockflags: TEXT_STORE_LOCK_FLAGS) -> ::windows::runtime::HRESULT,
2746     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2748     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2749 );
2750 #[repr(transparent)]
2751 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2752 pub struct ITfActiveLanguageProfileNotifySink(::windows::runtime::IUnknown);
2753 impl ITfActiveLanguageProfileNotifySink {
2754     #[cfg(feature = "Win32_Foundation")]
OnActivated<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, factivated: Param2) -> ::windows::runtime::Result<()>2755     pub unsafe fn OnActivated<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, factivated: Param2) -> ::windows::runtime::Result<()> {
2756         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(clsid), ::std::mem::transmute(guidprofile), factivated.into_param().abi()).ok()
2757     }
2758 }
2759 unsafe impl ::windows::runtime::Interface for ITfActiveLanguageProfileNotifySink {
2760     type Vtable = ITfActiveLanguageProfileNotifySink_abi;
2761     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990984053, 43326, 18002, [191, 140, 179, 254, 12, 253, 126, 87]);
2762 }
2763 impl ::std::convert::From<ITfActiveLanguageProfileNotifySink> for ::windows::runtime::IUnknown {
from(value: ITfActiveLanguageProfileNotifySink) -> Self2764     fn from(value: ITfActiveLanguageProfileNotifySink) -> Self {
2765         unsafe { ::std::mem::transmute(value) }
2766     }
2767 }
2768 impl ::std::convert::From<&ITfActiveLanguageProfileNotifySink> for ::windows::runtime::IUnknown {
from(value: &ITfActiveLanguageProfileNotifySink) -> Self2769     fn from(value: &ITfActiveLanguageProfileNotifySink) -> Self {
2770         ::std::convert::From::from(::std::clone::Clone::clone(value))
2771     }
2772 }
2773 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfActiveLanguageProfileNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2774     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2775         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2776     }
2777 }
2778 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfActiveLanguageProfileNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2779     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2780         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2781     }
2782 }
2783 #[repr(C)]
2784 #[doc(hidden)]
2785 pub struct ITfActiveLanguageProfileNotifySink_abi(
2786     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2787     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2788     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2789     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, factivated: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2790     #[cfg(not(feature = "Win32_Foundation"))] usize,
2791 );
2792 #[repr(transparent)]
2793 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2794 pub struct ITfCandidateList(::windows::runtime::IUnknown);
2795 impl ITfCandidateList {
EnumCandidates(&self) -> ::windows::runtime::Result<IEnumTfCandidates>2796     pub unsafe fn EnumCandidates(&self) -> ::windows::runtime::Result<IEnumTfCandidates> {
2797         let mut result__: <IEnumTfCandidates as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2798         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfCandidates>(result__)
2799     }
GetCandidate(&self, nindex: u32) -> ::windows::runtime::Result<ITfCandidateString>2800     pub unsafe fn GetCandidate(&self, nindex: u32) -> ::windows::runtime::Result<ITfCandidateString> {
2801         let mut result__: <ITfCandidateString as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2802         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex), &mut result__).from_abi::<ITfCandidateString>(result__)
2803     }
GetCandidateNum(&self) -> ::windows::runtime::Result<u32>2804     pub unsafe fn GetCandidateNum(&self) -> ::windows::runtime::Result<u32> {
2805         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2806         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2807     }
SetResult(&self, nindex: u32, imcr: TfCandidateResult) -> ::windows::runtime::Result<()>2808     pub unsafe fn SetResult(&self, nindex: u32, imcr: TfCandidateResult) -> ::windows::runtime::Result<()> {
2809         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex), ::std::mem::transmute(imcr)).ok()
2810     }
2811 }
2812 unsafe impl ::windows::runtime::Interface for ITfCandidateList {
2813     type Vtable = ITfCandidateList_abi;
2814     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2746044667, 39899, 18915, [168, 67, 108, 118, 82, 15, 191, 93]);
2815 }
2816 impl ::std::convert::From<ITfCandidateList> for ::windows::runtime::IUnknown {
from(value: ITfCandidateList) -> Self2817     fn from(value: ITfCandidateList) -> Self {
2818         unsafe { ::std::mem::transmute(value) }
2819     }
2820 }
2821 impl ::std::convert::From<&ITfCandidateList> for ::windows::runtime::IUnknown {
from(value: &ITfCandidateList) -> Self2822     fn from(value: &ITfCandidateList) -> Self {
2823         ::std::convert::From::from(::std::clone::Clone::clone(value))
2824     }
2825 }
2826 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCandidateList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2827     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2828         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2829     }
2830 }
2831 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCandidateList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2832     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2833         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2834     }
2835 }
2836 #[repr(C)]
2837 #[doc(hidden)]
2838 pub struct ITfCandidateList_abi(
2839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2841     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2842     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2843     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: u32, ppcand: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pncnt: *mut u32) -> ::windows::runtime::HRESULT,
2845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: u32, imcr: TfCandidateResult) -> ::windows::runtime::HRESULT,
2846 );
2847 #[repr(transparent)]
2848 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2849 pub struct ITfCandidateListUIElement(::windows::runtime::IUnknown);
2850 impl ITfCandidateListUIElement {
2851     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2852     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2853         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2854         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2855     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>2856     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
2857         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2858         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
2859     }
2860     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>2861     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
2862         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
2863     }
2864     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2865     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2866         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2867         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2868     }
GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32>2869     pub unsafe fn GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32> {
2870         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2871         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2872     }
GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>2873     pub unsafe fn GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
2874         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2875         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
2876     }
GetCount(&self) -> ::windows::runtime::Result<u32>2877     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
2878         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2879         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2880     }
GetSelection(&self) -> ::windows::runtime::Result<u32>2881     pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<u32> {
2882         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2883         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2884     }
2885     #[cfg(feature = "Win32_Foundation")]
GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2886     pub unsafe fn GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2887         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2888         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2889     }
GetPageIndex(&self, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::Result<()>2890     pub unsafe fn GetPageIndex(&self, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::Result<()> {
2891         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pindex), ::std::mem::transmute(usize), ::std::mem::transmute(pupagecnt)).ok()
2892     }
SetPageIndex(&self, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::Result<()>2893     pub unsafe fn SetPageIndex(&self, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::Result<()> {
2894         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pindex), ::std::mem::transmute(upagecnt)).ok()
2895     }
GetCurrentPage(&self) -> ::windows::runtime::Result<u32>2896     pub unsafe fn GetCurrentPage(&self) -> ::windows::runtime::Result<u32> {
2897         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2898         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2899     }
2900 }
2901 unsafe impl ::windows::runtime::Interface for ITfCandidateListUIElement {
2902     type Vtable = ITfCandidateListUIElement_abi;
2903     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927875896, 6623, 4567, [166, 210, 0, 6, 91, 132, 67, 92]);
2904 }
2905 impl ::std::convert::From<ITfCandidateListUIElement> for ::windows::runtime::IUnknown {
from(value: ITfCandidateListUIElement) -> Self2906     fn from(value: ITfCandidateListUIElement) -> Self {
2907         unsafe { ::std::mem::transmute(value) }
2908     }
2909 }
2910 impl ::std::convert::From<&ITfCandidateListUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfCandidateListUIElement) -> Self2911     fn from(value: &ITfCandidateListUIElement) -> Self {
2912         ::std::convert::From::from(::std::clone::Clone::clone(value))
2913     }
2914 }
2915 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2916     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2917         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2918     }
2919 }
2920 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2921     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2922         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2923     }
2924 }
2925 impl ::std::convert::From<ITfCandidateListUIElement> for ITfUIElement {
from(value: ITfCandidateListUIElement) -> Self2926     fn from(value: ITfCandidateListUIElement) -> Self {
2927         unsafe { ::std::mem::transmute(value) }
2928     }
2929 }
2930 impl ::std::convert::From<&ITfCandidateListUIElement> for ITfUIElement {
from(value: &ITfCandidateListUIElement) -> Self2931     fn from(value: &ITfCandidateListUIElement) -> Self {
2932         ::std::convert::From::from(::std::clone::Clone::clone(value))
2933     }
2934 }
2935 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for ITfCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>2936     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
2937         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(self))
2938     }
2939 }
2940 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for &ITfCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>2941     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
2942         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(::std::clone::Clone::clone(self)))
2943     }
2944 }
2945 #[repr(C)]
2946 #[doc(hidden)]
2947 pub struct ITfCandidateListUIElement_abi(
2948     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2949     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2951     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2952     #[cfg(not(feature = "Win32_Foundation"))] usize,
2953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
2954     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2955     #[cfg(not(feature = "Win32_Foundation"))] usize,
2956     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2957     #[cfg(not(feature = "Win32_Foundation"))] usize,
2958     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
2959     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2960     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pucount: *mut u32) -> ::windows::runtime::HRESULT,
2961     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puindex: *mut u32) -> ::windows::runtime::HRESULT,
2962     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2963     #[cfg(not(feature = "Win32_Foundation"))] usize,
2964     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::HRESULT,
2965     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::HRESULT,
2966     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pupage: *mut u32) -> ::windows::runtime::HRESULT,
2967 );
2968 #[repr(transparent)]
2969 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2970 pub struct ITfCandidateListUIElementBehavior(::windows::runtime::IUnknown);
2971 impl ITfCandidateListUIElementBehavior {
2972     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2973     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2974         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2975         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2976     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>2977     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
2978         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2979         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
2980     }
2981     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>2982     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
2983         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
2984     }
2985     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2986     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2987         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2988         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2989     }
GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32>2990     pub unsafe fn GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32> {
2991         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2992         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2993     }
GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>2994     pub unsafe fn GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
2995         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2996         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
2997     }
GetCount(&self) -> ::windows::runtime::Result<u32>2998     pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<u32> {
2999         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3000         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3001     }
GetSelection(&self) -> ::windows::runtime::Result<u32>3002     pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<u32> {
3003         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3004         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3005     }
3006     #[cfg(feature = "Win32_Foundation")]
GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3007     pub unsafe fn GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3008         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3009         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3010     }
GetPageIndex(&self, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::Result<()>3011     pub unsafe fn GetPageIndex(&self, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::Result<()> {
3012         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pindex), ::std::mem::transmute(usize), ::std::mem::transmute(pupagecnt)).ok()
3013     }
SetPageIndex(&self, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::Result<()>3014     pub unsafe fn SetPageIndex(&self, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::Result<()> {
3015         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pindex), ::std::mem::transmute(upagecnt)).ok()
3016     }
GetCurrentPage(&self) -> ::windows::runtime::Result<u32>3017     pub unsafe fn GetCurrentPage(&self) -> ::windows::runtime::Result<u32> {
3018         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3019         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3020     }
SetSelection(&self, nindex: u32) -> ::windows::runtime::Result<()>3021     pub unsafe fn SetSelection(&self, nindex: u32) -> ::windows::runtime::Result<()> {
3022         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(nindex)).ok()
3023     }
Finalize(&self) -> ::windows::runtime::Result<()>3024     pub unsafe fn Finalize(&self) -> ::windows::runtime::Result<()> {
3025         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
3026     }
Abort(&self) -> ::windows::runtime::Result<()>3027     pub unsafe fn Abort(&self) -> ::windows::runtime::Result<()> {
3028         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok()
3029     }
3030 }
3031 unsafe impl ::windows::runtime::Interface for ITfCandidateListUIElementBehavior {
3032     type Vtable = ITfCandidateListUIElementBehavior_abi;
3033     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2247807365, 22734, 18810, [148, 96, 53, 83, 102, 182, 75, 154]);
3034 }
3035 impl ::std::convert::From<ITfCandidateListUIElementBehavior> for ::windows::runtime::IUnknown {
from(value: ITfCandidateListUIElementBehavior) -> Self3036     fn from(value: ITfCandidateListUIElementBehavior) -> Self {
3037         unsafe { ::std::mem::transmute(value) }
3038     }
3039 }
3040 impl ::std::convert::From<&ITfCandidateListUIElementBehavior> for ::windows::runtime::IUnknown {
from(value: &ITfCandidateListUIElementBehavior) -> Self3041     fn from(value: &ITfCandidateListUIElementBehavior) -> Self {
3042         ::std::convert::From::from(::std::clone::Clone::clone(value))
3043     }
3044 }
3045 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3046     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3047         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3048     }
3049 }
3050 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3051     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3052         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3053     }
3054 }
3055 impl ::std::convert::From<ITfCandidateListUIElementBehavior> for ITfCandidateListUIElement {
from(value: ITfCandidateListUIElementBehavior) -> Self3056     fn from(value: ITfCandidateListUIElementBehavior) -> Self {
3057         unsafe { ::std::mem::transmute(value) }
3058     }
3059 }
3060 impl ::std::convert::From<&ITfCandidateListUIElementBehavior> for ITfCandidateListUIElement {
from(value: &ITfCandidateListUIElementBehavior) -> Self3061     fn from(value: &ITfCandidateListUIElementBehavior) -> Self {
3062         ::std::convert::From::from(::std::clone::Clone::clone(value))
3063     }
3064 }
3065 impl<'a> ::windows::runtime::IntoParam<'a, ITfCandidateListUIElement> for ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ITfCandidateListUIElement>3066     fn into_param(self) -> ::windows::runtime::Param<'a, ITfCandidateListUIElement> {
3067         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfCandidateListUIElement>::into(self))
3068     }
3069 }
3070 impl<'a> ::windows::runtime::IntoParam<'a, ITfCandidateListUIElement> for &ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ITfCandidateListUIElement>3071     fn into_param(self) -> ::windows::runtime::Param<'a, ITfCandidateListUIElement> {
3072         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfCandidateListUIElement>::into(::std::clone::Clone::clone(self)))
3073     }
3074 }
3075 impl ::std::convert::From<ITfCandidateListUIElementBehavior> for ITfUIElement {
from(value: ITfCandidateListUIElementBehavior) -> Self3076     fn from(value: ITfCandidateListUIElementBehavior) -> Self {
3077         unsafe { ::std::mem::transmute(value) }
3078     }
3079 }
3080 impl ::std::convert::From<&ITfCandidateListUIElementBehavior> for ITfUIElement {
from(value: &ITfCandidateListUIElementBehavior) -> Self3081     fn from(value: &ITfCandidateListUIElementBehavior) -> Self {
3082         ::std::convert::From::from(::std::clone::Clone::clone(value))
3083     }
3084 }
3085 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>3086     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
3087         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(self))
3088     }
3089 }
3090 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for &ITfCandidateListUIElementBehavior {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>3091     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
3092         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(::std::clone::Clone::clone(self)))
3093     }
3094 }
3095 #[repr(C)]
3096 #[doc(hidden)]
3097 pub struct ITfCandidateListUIElementBehavior_abi(
3098     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3099     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3100     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3101     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3102     #[cfg(not(feature = "Win32_Foundation"))] usize,
3103     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3104     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3105     #[cfg(not(feature = "Win32_Foundation"))] usize,
3106     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3107     #[cfg(not(feature = "Win32_Foundation"))] usize,
3108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
3109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pucount: *mut u32) -> ::windows::runtime::HRESULT,
3111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puindex: *mut u32) -> ::windows::runtime::HRESULT,
3112     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3113     #[cfg(not(feature = "Win32_Foundation"))] usize,
3114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pindex: *mut u32, usize: u32, pupagecnt: *mut u32) -> ::windows::runtime::HRESULT,
3115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pindex: *const u32, upagecnt: u32) -> ::windows::runtime::HRESULT,
3116     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pupage: *mut u32) -> ::windows::runtime::HRESULT,
3117     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nindex: u32) -> ::windows::runtime::HRESULT,
3118     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3119     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3120 );
3121 #[repr(transparent)]
3122 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3123 pub struct ITfCandidateString(::windows::runtime::IUnknown);
3124 impl ITfCandidateString {
3125     #[cfg(feature = "Win32_Foundation")]
GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3126     pub unsafe fn GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3127         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3128         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3129     }
GetIndex(&self) -> ::windows::runtime::Result<u32>3130     pub unsafe fn GetIndex(&self) -> ::windows::runtime::Result<u32> {
3131         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3132         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3133     }
3134 }
3135 unsafe impl ::windows::runtime::Interface for ITfCandidateString {
3136     type Vtable = ITfCandidateString_abi;
3137     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1478439294, 64925, 17471, [185, 114, 237, 0, 70, 124, 93, 64]);
3138 }
3139 impl ::std::convert::From<ITfCandidateString> for ::windows::runtime::IUnknown {
from(value: ITfCandidateString) -> Self3140     fn from(value: ITfCandidateString) -> Self {
3141         unsafe { ::std::mem::transmute(value) }
3142     }
3143 }
3144 impl ::std::convert::From<&ITfCandidateString> for ::windows::runtime::IUnknown {
from(value: &ITfCandidateString) -> Self3145     fn from(value: &ITfCandidateString) -> Self {
3146         ::std::convert::From::from(::std::clone::Clone::clone(value))
3147     }
3148 }
3149 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCandidateString {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3150     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3151         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3152     }
3153 }
3154 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCandidateString {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3155     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3156         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3157     }
3158 }
3159 #[repr(C)]
3160 #[doc(hidden)]
3161 pub struct ITfCandidateString_abi(
3162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3165     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3166     #[cfg(not(feature = "Win32_Foundation"))] usize,
3167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnindex: *mut u32) -> ::windows::runtime::HRESULT,
3168 );
3169 #[repr(transparent)]
3170 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3171 pub struct ITfCategoryMgr(::windows::runtime::IUnknown);
3172 impl ITfCategoryMgr {
RegisterCategory(&self, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3173     pub unsafe fn RegisterCategory(&self, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3174         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rcatid), ::std::mem::transmute(rguid)).ok()
3175     }
UnregisterCategory(&self, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3176     pub unsafe fn UnregisterCategory(&self, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3177         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rcatid), ::std::mem::transmute(rguid)).ok()
3178     }
3179     #[cfg(feature = "Win32_System_Com")]
EnumCategoriesInItem(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID>3180     pub unsafe fn EnumCategoriesInItem(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID> {
3181         let mut result__: <super::super::System::Com::IEnumGUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3182         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::System::Com::IEnumGUID>(result__)
3183     }
3184     #[cfg(feature = "Win32_System_Com")]
EnumItemsInCategory(&self, rcatid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID>3185     pub unsafe fn EnumItemsInCategory(&self, rcatid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID> {
3186         let mut result__: <super::super::System::Com::IEnumGUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3187         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(rcatid), &mut result__).from_abi::<super::super::System::Com::IEnumGUID>(result__)
3188     }
FindClosestCategory(&self, rguid: *const ::windows::runtime::GUID, pcatid: *mut ::windows::runtime::GUID, ppcatidlist: *const *const ::windows::runtime::GUID, ulcount: u32) -> ::windows::runtime::Result<()>3189     pub unsafe fn FindClosestCategory(&self, rguid: *const ::windows::runtime::GUID, pcatid: *mut ::windows::runtime::GUID, ppcatidlist: *const *const ::windows::runtime::GUID, ulcount: u32) -> ::windows::runtime::Result<()> {
3190         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), ::std::mem::transmute(pcatid), ::std::mem::transmute(ppcatidlist), ::std::mem::transmute(ulcount)).ok()
3191     }
3192     #[cfg(feature = "Win32_Foundation")]
RegisterGUIDDescription<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, pchdesc: Param2, cch: u32) -> ::windows::runtime::Result<()>3193     pub unsafe fn RegisterGUIDDescription<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, pchdesc: Param2, cch: u32) -> ::windows::runtime::Result<()> {
3194         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rguid), pchdesc.into_param().abi(), ::std::mem::transmute(cch)).ok()
3195     }
UnregisterGUIDDescription(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3196     pub unsafe fn UnregisterGUIDDescription(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3197         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rguid)).ok()
3198     }
3199     #[cfg(feature = "Win32_Foundation")]
GetGUIDDescription(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3200     pub unsafe fn GetGUIDDescription(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3201         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3202         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3203     }
RegisterGUIDDWORD(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::Result<()>3204     pub unsafe fn RegisterGUIDDWORD(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::Result<()> {
3205         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rguid), ::std::mem::transmute(dw)).ok()
3206     }
UnregisterGUIDDWORD(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3207     pub unsafe fn UnregisterGUIDDWORD(&self, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3208         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rguid)).ok()
3209     }
GetGUIDDWORD(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32>3210     pub unsafe fn GetGUIDDWORD(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32> {
3211         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3212         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<u32>(result__)
3213     }
RegisterGUID(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32>3214     pub unsafe fn RegisterGUID(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32> {
3215         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3216         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<u32>(result__)
3217     }
GetGUID(&self, guidatom: u32) -> ::windows::runtime::Result<::windows::runtime::GUID>3218     pub unsafe fn GetGUID(&self, guidatom: u32) -> ::windows::runtime::Result<::windows::runtime::GUID> {
3219         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3220         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidatom), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
3221     }
3222     #[cfg(feature = "Win32_Foundation")]
IsEqualTfGuidAtom(&self, guidatom: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3223     pub unsafe fn IsEqualTfGuidAtom(&self, guidatom: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3224         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3225         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidatom), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3226     }
3227 }
3228 unsafe impl ::windows::runtime::Interface for ITfCategoryMgr {
3229     type Vtable = ITfCategoryMgr_abi;
3230     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3282890677, 63133, 18693, [147, 143, 252, 173, 207, 75, 232, 48]);
3231 }
3232 impl ::std::convert::From<ITfCategoryMgr> for ::windows::runtime::IUnknown {
from(value: ITfCategoryMgr) -> Self3233     fn from(value: ITfCategoryMgr) -> Self {
3234         unsafe { ::std::mem::transmute(value) }
3235     }
3236 }
3237 impl ::std::convert::From<&ITfCategoryMgr> for ::windows::runtime::IUnknown {
from(value: &ITfCategoryMgr) -> Self3238     fn from(value: &ITfCategoryMgr) -> Self {
3239         ::std::convert::From::from(::std::clone::Clone::clone(value))
3240     }
3241 }
3242 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCategoryMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3243     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3244         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3245     }
3246 }
3247 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCategoryMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3248     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3249         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3250     }
3251 }
3252 #[repr(C)]
3253 #[doc(hidden)]
3254 pub struct ITfCategoryMgr_abi(
3255     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3257     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3258     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rcatid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3260     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3261     #[cfg(not(feature = "Win32_System_Com"))] usize,
3262     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rcatid: *const ::windows::runtime::GUID, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3263     #[cfg(not(feature = "Win32_System_Com"))] usize,
3264     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pcatid: *mut ::windows::runtime::GUID, ppcatidlist: *const *const ::windows::runtime::GUID, ulcount: u32) -> ::windows::runtime::HRESULT,
3265     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, pchdesc: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
3266     #[cfg(not(feature = "Win32_Foundation"))] usize,
3267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3268     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pbstrdesc: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3269     #[cfg(not(feature = "Win32_Foundation"))] usize,
3270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::HRESULT,
3271     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3272     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pdw: *mut u32) -> ::windows::runtime::HRESULT,
3273     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pguidatom: *mut u32) -> ::windows::runtime::HRESULT,
3274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidatom: u32, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3275     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidatom: u32, rguid: *const ::windows::runtime::GUID, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3276     #[cfg(not(feature = "Win32_Foundation"))] usize,
3277 );
3278 #[repr(transparent)]
3279 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3280 pub struct ITfCleanupContextDurationSink(::windows::runtime::IUnknown);
3281 impl ITfCleanupContextDurationSink {
OnStartCleanupContext(&self) -> ::windows::runtime::Result<()>3282     pub unsafe fn OnStartCleanupContext(&self) -> ::windows::runtime::Result<()> {
3283         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
3284     }
OnEndCleanupContext(&self) -> ::windows::runtime::Result<()>3285     pub unsafe fn OnEndCleanupContext(&self) -> ::windows::runtime::Result<()> {
3286         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
3287     }
3288 }
3289 unsafe impl ::windows::runtime::Interface for ITfCleanupContextDurationSink {
3290     type Vtable = ITfCleanupContextDurationSink_abi;
3291     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1170428228, 5454, 18327, [190, 216, 211, 58, 231, 191, 135, 148]);
3292 }
3293 impl ::std::convert::From<ITfCleanupContextDurationSink> for ::windows::runtime::IUnknown {
from(value: ITfCleanupContextDurationSink) -> Self3294     fn from(value: ITfCleanupContextDurationSink) -> Self {
3295         unsafe { ::std::mem::transmute(value) }
3296     }
3297 }
3298 impl ::std::convert::From<&ITfCleanupContextDurationSink> for ::windows::runtime::IUnknown {
from(value: &ITfCleanupContextDurationSink) -> Self3299     fn from(value: &ITfCleanupContextDurationSink) -> Self {
3300         ::std::convert::From::from(::std::clone::Clone::clone(value))
3301     }
3302 }
3303 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCleanupContextDurationSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3304     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3305         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3306     }
3307 }
3308 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCleanupContextDurationSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3309     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3310         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3311     }
3312 }
3313 #[repr(C)]
3314 #[doc(hidden)]
3315 pub struct ITfCleanupContextDurationSink_abi(
3316     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3317     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3318     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3319     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3320     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3321 );
3322 #[repr(transparent)]
3323 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3324 pub struct ITfCleanupContextSink(::windows::runtime::IUnknown);
3325 impl ITfCleanupContextSink {
OnCleanupContext<'a, Param1: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, ecwrite: u32, pic: Param1) -> ::windows::runtime::Result<()>3326     pub unsafe fn OnCleanupContext<'a, Param1: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, ecwrite: u32, pic: Param1) -> ::windows::runtime::Result<()> {
3327         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pic.into_param().abi()).ok()
3328     }
3329 }
3330 unsafe impl ::windows::runtime::Interface for ITfCleanupContextSink {
3331     type Vtable = ITfCleanupContextSink_abi;
3332     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(23631497, 31435, 20123, [171, 124, 126, 164, 107, 18, 181, 34]);
3333 }
3334 impl ::std::convert::From<ITfCleanupContextSink> for ::windows::runtime::IUnknown {
from(value: ITfCleanupContextSink) -> Self3335     fn from(value: ITfCleanupContextSink) -> Self {
3336         unsafe { ::std::mem::transmute(value) }
3337     }
3338 }
3339 impl ::std::convert::From<&ITfCleanupContextSink> for ::windows::runtime::IUnknown {
from(value: &ITfCleanupContextSink) -> Self3340     fn from(value: &ITfCleanupContextSink) -> Self {
3341         ::std::convert::From::from(::std::clone::Clone::clone(value))
3342     }
3343 }
3344 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCleanupContextSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3345     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3346         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3347     }
3348 }
3349 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCleanupContextSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3350     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3351         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3352     }
3353 }
3354 #[repr(C)]
3355 #[doc(hidden)]
3356 pub struct ITfCleanupContextSink_abi(
3357     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3359     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3360     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3361 );
3362 #[repr(transparent)]
3363 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3364 pub struct ITfClientId(::windows::runtime::IUnknown);
3365 impl ITfClientId {
GetClientId(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32>3366     pub unsafe fn GetClientId(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32> {
3367         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3368         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), &mut result__).from_abi::<u32>(result__)
3369     }
3370 }
3371 unsafe impl ::windows::runtime::Interface for ITfClientId {
3372     type Vtable = ITfClientId_abi;
3373     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3591011145, 7071, 19426, [183, 2, 71, 233, 220, 5, 222, 195]);
3374 }
3375 impl ::std::convert::From<ITfClientId> for ::windows::runtime::IUnknown {
from(value: ITfClientId) -> Self3376     fn from(value: ITfClientId) -> Self {
3377         unsafe { ::std::mem::transmute(value) }
3378     }
3379 }
3380 impl ::std::convert::From<&ITfClientId> for ::windows::runtime::IUnknown {
from(value: &ITfClientId) -> Self3381     fn from(value: &ITfClientId) -> Self {
3382         ::std::convert::From::from(::std::clone::Clone::clone(value))
3383     }
3384 }
3385 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfClientId {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3386     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3387         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3388     }
3389 }
3390 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfClientId {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3391     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3392         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3393     }
3394 }
3395 #[repr(C)]
3396 #[doc(hidden)]
3397 pub struct ITfClientId_abi(
3398     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, ptid: *mut u32) -> ::windows::runtime::HRESULT,
3402 );
3403 #[repr(transparent)]
3404 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3405 pub struct ITfCompartment(::windows::runtime::IUnknown);
3406 impl ITfCompartment {
3407     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue(&self, tid: u32, pvarvalue: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>3408     pub unsafe fn SetValue(&self, tid: u32, pvarvalue: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> {
3409         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), ::std::mem::transmute(pvarvalue)).ok()
3410     }
3411     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetValue(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3412     pub unsafe fn GetValue(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3413         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3414         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3415     }
3416 }
3417 unsafe impl ::windows::runtime::Interface for ITfCompartment {
3418     type Vtable = ITfCompartment_abi;
3419     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3137927081, 24698, 17284, [134, 35, 5, 104, 146, 182, 67, 113]);
3420 }
3421 impl ::std::convert::From<ITfCompartment> for ::windows::runtime::IUnknown {
from(value: ITfCompartment) -> Self3422     fn from(value: ITfCompartment) -> Self {
3423         unsafe { ::std::mem::transmute(value) }
3424     }
3425 }
3426 impl ::std::convert::From<&ITfCompartment> for ::windows::runtime::IUnknown {
from(value: &ITfCompartment) -> Self3427     fn from(value: &ITfCompartment) -> Self {
3428         ::std::convert::From::from(::std::clone::Clone::clone(value))
3429     }
3430 }
3431 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCompartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3432     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3433         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3434     }
3435 }
3436 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCompartment {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3437     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3438         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3439     }
3440 }
3441 #[repr(C)]
3442 #[doc(hidden)]
3443 pub struct ITfCompartment_abi(
3444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3447     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, pvarvalue: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3448     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3449     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
3450     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3451 );
3452 #[repr(transparent)]
3453 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3454 pub struct ITfCompartmentEventSink(::windows::runtime::IUnknown);
3455 impl ITfCompartmentEventSink {
OnChange(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3456     pub unsafe fn OnChange(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3457         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid)).ok()
3458     }
3459 }
3460 unsafe impl ::windows::runtime::Interface for ITfCompartmentEventSink {
3461     type Vtable = ITfCompartmentEventSink_abi;
3462     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1950006623, 62061, 18655, [140, 197, 35, 132, 146, 65, 155, 100]);
3463 }
3464 impl ::std::convert::From<ITfCompartmentEventSink> for ::windows::runtime::IUnknown {
from(value: ITfCompartmentEventSink) -> Self3465     fn from(value: ITfCompartmentEventSink) -> Self {
3466         unsafe { ::std::mem::transmute(value) }
3467     }
3468 }
3469 impl ::std::convert::From<&ITfCompartmentEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfCompartmentEventSink) -> Self3470     fn from(value: &ITfCompartmentEventSink) -> Self {
3471         ::std::convert::From::from(::std::clone::Clone::clone(value))
3472     }
3473 }
3474 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCompartmentEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3475     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3476         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3477     }
3478 }
3479 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCompartmentEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3480     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3481         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3482     }
3483 }
3484 #[repr(C)]
3485 #[doc(hidden)]
3486 pub struct ITfCompartmentEventSink_abi(
3487     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3488     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3491 );
3492 #[repr(transparent)]
3493 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3494 pub struct ITfCompartmentMgr(::windows::runtime::IUnknown);
3495 impl ITfCompartmentMgr {
GetCompartment(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfCompartment>3496     pub unsafe fn GetCompartment(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfCompartment> {
3497         let mut result__: <ITfCompartment as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3498         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<ITfCompartment>(result__)
3499     }
ClearCompartment(&self, tid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3500     pub unsafe fn ClearCompartment(&self, tid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3501         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), ::std::mem::transmute(rguid)).ok()
3502     }
3503     #[cfg(feature = "Win32_System_Com")]
EnumCompartments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID>3504     pub unsafe fn EnumCompartments(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID> {
3505         let mut result__: <super::super::System::Com::IEnumGUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3506         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumGUID>(result__)
3507     }
3508 }
3509 unsafe impl ::windows::runtime::Interface for ITfCompartmentMgr {
3510     type Vtable = ITfCompartmentMgr_abi;
3511     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2110740396, 6317, 17291, [130, 77, 151, 155, 255, 183, 75, 124]);
3512 }
3513 impl ::std::convert::From<ITfCompartmentMgr> for ::windows::runtime::IUnknown {
from(value: ITfCompartmentMgr) -> Self3514     fn from(value: ITfCompartmentMgr) -> Self {
3515         unsafe { ::std::mem::transmute(value) }
3516     }
3517 }
3518 impl ::std::convert::From<&ITfCompartmentMgr> for ::windows::runtime::IUnknown {
from(value: &ITfCompartmentMgr) -> Self3519     fn from(value: &ITfCompartmentMgr) -> Self {
3520         ::std::convert::From::from(::std::clone::Clone::clone(value))
3521     }
3522 }
3523 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCompartmentMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3524     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3525         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3526     }
3527 }
3528 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCompartmentMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3529     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3530         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3531     }
3532 }
3533 #[repr(C)]
3534 #[doc(hidden)]
3535 pub struct ITfCompartmentMgr_abi(
3536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3537     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3538     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3539     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, ppcomp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3540     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3541     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3542     #[cfg(not(feature = "Win32_System_Com"))] usize,
3543 );
3544 #[repr(transparent)]
3545 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3546 pub struct ITfComposition(::windows::runtime::IUnknown);
3547 impl ITfComposition {
GetRange(&self) -> ::windows::runtime::Result<ITfRange>3548     pub unsafe fn GetRange(&self) -> ::windows::runtime::Result<ITfRange> {
3549         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3550         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfRange>(result__)
3551     }
ShiftStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecwrite: u32, pnewstart: Param1) -> ::windows::runtime::Result<()>3552     pub unsafe fn ShiftStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecwrite: u32, pnewstart: Param1) -> ::windows::runtime::Result<()> {
3553         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pnewstart.into_param().abi()).ok()
3554     }
ShiftEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecwrite: u32, pnewend: Param1) -> ::windows::runtime::Result<()>3555     pub unsafe fn ShiftEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecwrite: u32, pnewend: Param1) -> ::windows::runtime::Result<()> {
3556         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pnewend.into_param().abi()).ok()
3557     }
EndComposition(&self, ecwrite: u32) -> ::windows::runtime::Result<()>3558     pub unsafe fn EndComposition(&self, ecwrite: u32) -> ::windows::runtime::Result<()> {
3559         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite)).ok()
3560     }
3561 }
3562 unsafe impl ::windows::runtime::Interface for ITfComposition {
3563     type Vtable = ITfComposition_abi;
3564     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(538348900, 23183, 19034, [183, 189, 207, 162, 159, 77, 15, 217]);
3565 }
3566 impl ::std::convert::From<ITfComposition> for ::windows::runtime::IUnknown {
from(value: ITfComposition) -> Self3567     fn from(value: ITfComposition) -> Self {
3568         unsafe { ::std::mem::transmute(value) }
3569     }
3570 }
3571 impl ::std::convert::From<&ITfComposition> for ::windows::runtime::IUnknown {
from(value: &ITfComposition) -> Self3572     fn from(value: &ITfComposition) -> Self {
3573         ::std::convert::From::from(::std::clone::Clone::clone(value))
3574     }
3575 }
3576 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfComposition {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3577     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3578         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3579     }
3580 }
3581 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfComposition {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3582     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3583         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3584     }
3585 }
3586 #[repr(C)]
3587 #[doc(hidden)]
3588 pub struct ITfComposition_abi(
3589     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3590     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3591     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3592     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3593     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pnewstart: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3594     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pnewend: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3595     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32) -> ::windows::runtime::HRESULT,
3596 );
3597 #[repr(transparent)]
3598 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3599 pub struct ITfCompositionSink(::windows::runtime::IUnknown);
3600 impl ITfCompositionSink {
OnCompositionTerminated<'a, Param1: ::windows::runtime::IntoParam<'a, ITfComposition>>(&self, ecwrite: u32, pcomposition: Param1) -> ::windows::runtime::Result<()>3601     pub unsafe fn OnCompositionTerminated<'a, Param1: ::windows::runtime::IntoParam<'a, ITfComposition>>(&self, ecwrite: u32, pcomposition: Param1) -> ::windows::runtime::Result<()> {
3602         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pcomposition.into_param().abi()).ok()
3603     }
3604 }
3605 unsafe impl ::windows::runtime::Interface for ITfCompositionSink {
3606     type Vtable = ITfCompositionSink_abi;
3607     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2810278284, 22426, 19221, [162, 128, 50, 184, 87, 122, 204, 94]);
3608 }
3609 impl ::std::convert::From<ITfCompositionSink> for ::windows::runtime::IUnknown {
from(value: ITfCompositionSink) -> Self3610     fn from(value: ITfCompositionSink) -> Self {
3611         unsafe { ::std::mem::transmute(value) }
3612     }
3613 }
3614 impl ::std::convert::From<&ITfCompositionSink> for ::windows::runtime::IUnknown {
from(value: &ITfCompositionSink) -> Self3615     fn from(value: &ITfCompositionSink) -> Self {
3616         ::std::convert::From::from(::std::clone::Clone::clone(value))
3617     }
3618 }
3619 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCompositionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3620     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3621         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3622     }
3623 }
3624 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCompositionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3625     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3626         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3627     }
3628 }
3629 #[repr(C)]
3630 #[doc(hidden)]
3631 pub struct ITfCompositionSink_abi(
3632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3633     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3634     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pcomposition: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3636 );
3637 #[repr(transparent)]
3638 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3639 pub struct ITfCompositionView(::windows::runtime::IUnknown);
3640 impl ITfCompositionView {
GetOwnerClsid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>3641     pub unsafe fn GetOwnerClsid(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
3642         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3643         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
3644     }
GetRange(&self) -> ::windows::runtime::Result<ITfRange>3645     pub unsafe fn GetRange(&self) -> ::windows::runtime::Result<ITfRange> {
3646         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3647         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfRange>(result__)
3648     }
3649 }
3650 unsafe impl ::windows::runtime::Interface for ITfCompositionView {
3651     type Vtable = ITfCompositionView_abi;
3652     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3612607041, 63905, 17252, [190, 252, 219, 205, 44, 67, 149, 183]);
3653 }
3654 impl ::std::convert::From<ITfCompositionView> for ::windows::runtime::IUnknown {
from(value: ITfCompositionView) -> Self3655     fn from(value: ITfCompositionView) -> Self {
3656         unsafe { ::std::mem::transmute(value) }
3657     }
3658 }
3659 impl ::std::convert::From<&ITfCompositionView> for ::windows::runtime::IUnknown {
from(value: &ITfCompositionView) -> Self3660     fn from(value: &ITfCompositionView) -> Self {
3661         ::std::convert::From::from(::std::clone::Clone::clone(value))
3662     }
3663 }
3664 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCompositionView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3665     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3666         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3667     }
3668 }
3669 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCompositionView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3670     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3671         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3672     }
3673 }
3674 #[repr(C)]
3675 #[doc(hidden)]
3676 pub struct ITfCompositionView_abi(
3677     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3679     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
3681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3682 );
3683 #[repr(transparent)]
3684 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3685 pub struct ITfConfigureSystemKeystrokeFeed(::windows::runtime::IUnknown);
3686 impl ITfConfigureSystemKeystrokeFeed {
DisableSystemKeystrokeFeed(&self) -> ::windows::runtime::Result<()>3687     pub unsafe fn DisableSystemKeystrokeFeed(&self) -> ::windows::runtime::Result<()> {
3688         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
3689     }
EnableSystemKeystrokeFeed(&self) -> ::windows::runtime::Result<()>3690     pub unsafe fn EnableSystemKeystrokeFeed(&self) -> ::windows::runtime::Result<()> {
3691         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
3692     }
3693 }
3694 unsafe impl ::windows::runtime::Interface for ITfConfigureSystemKeystrokeFeed {
3695     type Vtable = ITfConfigureSystemKeystrokeFeed_abi;
3696     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(221025946, 48284, 17276, [132, 238, 149, 28, 73, 177, 167, 100]);
3697 }
3698 impl ::std::convert::From<ITfConfigureSystemKeystrokeFeed> for ::windows::runtime::IUnknown {
from(value: ITfConfigureSystemKeystrokeFeed) -> Self3699     fn from(value: ITfConfigureSystemKeystrokeFeed) -> Self {
3700         unsafe { ::std::mem::transmute(value) }
3701     }
3702 }
3703 impl ::std::convert::From<&ITfConfigureSystemKeystrokeFeed> for ::windows::runtime::IUnknown {
from(value: &ITfConfigureSystemKeystrokeFeed) -> Self3704     fn from(value: &ITfConfigureSystemKeystrokeFeed) -> Self {
3705         ::std::convert::From::from(::std::clone::Clone::clone(value))
3706     }
3707 }
3708 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfConfigureSystemKeystrokeFeed {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3709     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3710         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3711     }
3712 }
3713 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfConfigureSystemKeystrokeFeed {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3714     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3715         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3716     }
3717 }
3718 #[repr(C)]
3719 #[doc(hidden)]
3720 pub struct ITfConfigureSystemKeystrokeFeed_abi(
3721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3723     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3724     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3725     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3726 );
3727 #[repr(transparent)]
3728 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3729 pub struct ITfContext(::windows::runtime::IUnknown);
3730 impl ITfContext {
RequestEditSession<'a, Param1: ::windows::runtime::IntoParam<'a, ITfEditSession>>(&self, tid: u32, pes: Param1, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS) -> ::windows::runtime::Result<::windows::runtime::HRESULT>3731     pub unsafe fn RequestEditSession<'a, Param1: ::windows::runtime::IntoParam<'a, ITfEditSession>>(&self, tid: u32, pes: Param1, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS) -> ::windows::runtime::Result<::windows::runtime::HRESULT> {
3732         let mut result__: <::windows::runtime::HRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3733         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), pes.into_param().abi(), ::std::mem::transmute(dwflags), &mut result__).from_abi::<::windows::runtime::HRESULT>(result__)
3734     }
3735     #[cfg(feature = "Win32_Foundation")]
InWriteSession(&self, tid: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3736     pub unsafe fn InWriteSession(&self, tid: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3737         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3738         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3739     }
3740     #[cfg(feature = "Win32_Foundation")]
GetSelection(&self, ec: u32, ulindex: u32, ulcount: u32, pselection: *mut TF_SELECTION, pcfetched: *mut u32) -> ::windows::runtime::Result<()>3741     pub unsafe fn GetSelection(&self, ec: u32, ulindex: u32, ulcount: u32, pselection: *mut TF_SELECTION, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
3742         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(ulindex), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection), ::std::mem::transmute(pcfetched)).ok()
3743     }
3744     #[cfg(feature = "Win32_Foundation")]
SetSelection(&self, ec: u32, ulcount: u32, pselection: *const TF_SELECTION) -> ::windows::runtime::Result<()>3745     pub unsafe fn SetSelection(&self, ec: u32, ulcount: u32, pselection: *const TF_SELECTION) -> ::windows::runtime::Result<()> {
3746         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(ulcount), ::std::mem::transmute(pselection)).ok()
3747     }
GetStart(&self, ec: u32) -> ::windows::runtime::Result<ITfRange>3748     pub unsafe fn GetStart(&self, ec: u32) -> ::windows::runtime::Result<ITfRange> {
3749         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3750         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<ITfRange>(result__)
3751     }
GetEnd(&self, ec: u32) -> ::windows::runtime::Result<ITfRange>3752     pub unsafe fn GetEnd(&self, ec: u32) -> ::windows::runtime::Result<ITfRange> {
3753         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3754         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<ITfRange>(result__)
3755     }
GetActiveView(&self) -> ::windows::runtime::Result<ITfContextView>3756     pub unsafe fn GetActiveView(&self) -> ::windows::runtime::Result<ITfContextView> {
3757         let mut result__: <ITfContextView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3758         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContextView>(result__)
3759     }
EnumViews(&self) -> ::windows::runtime::Result<IEnumTfContextViews>3760     pub unsafe fn EnumViews(&self) -> ::windows::runtime::Result<IEnumTfContextViews> {
3761         let mut result__: <IEnumTfContextViews as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3762         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfContextViews>(result__)
3763     }
GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS>3764     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS> {
3765         let mut result__: <TS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3766         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TS_STATUS>(result__)
3767     }
GetProperty(&self, guidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfProperty>3768     pub unsafe fn GetProperty(&self, guidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfProperty> {
3769         let mut result__: <ITfProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3770         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidprop), &mut result__).from_abi::<ITfProperty>(result__)
3771     }
GetAppProperty(&self, guidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfReadOnlyProperty>3772     pub unsafe fn GetAppProperty(&self, guidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfReadOnlyProperty> {
3773         let mut result__: <ITfReadOnlyProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3774         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidprop), &mut result__).from_abi::<ITfReadOnlyProperty>(result__)
3775     }
TrackProperties(&self, prgprop: *const *const ::windows::runtime::GUID, cprop: u32, prgappprop: *const *const ::windows::runtime::GUID, cappprop: u32) -> ::windows::runtime::Result<ITfReadOnlyProperty>3776     pub unsafe fn TrackProperties(&self, prgprop: *const *const ::windows::runtime::GUID, cprop: u32, prgappprop: *const *const ::windows::runtime::GUID, cappprop: u32) -> ::windows::runtime::Result<ITfReadOnlyProperty> {
3777         let mut result__: <ITfReadOnlyProperty as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3778         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(prgprop), ::std::mem::transmute(cprop), ::std::mem::transmute(prgappprop), ::std::mem::transmute(cappprop), &mut result__).from_abi::<ITfReadOnlyProperty>(result__)
3779     }
EnumProperties(&self) -> ::windows::runtime::Result<IEnumTfProperties>3780     pub unsafe fn EnumProperties(&self) -> ::windows::runtime::Result<IEnumTfProperties> {
3781         let mut result__: <IEnumTfProperties as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3782         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfProperties>(result__)
3783     }
GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>3784     pub unsafe fn GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
3785         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3786         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
3787     }
CreateRangeBackup<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<ITfRangeBackup>3788     pub unsafe fn CreateRangeBackup<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<ITfRangeBackup> {
3789         let mut result__: <ITfRangeBackup as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3790         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), &mut result__).from_abi::<ITfRangeBackup>(result__)
3791     }
3792 }
3793 unsafe impl ::windows::runtime::Interface for ITfContext {
3794     type Vtable = ITfContext_abi;
3795     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574717, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
3796 }
3797 impl ::std::convert::From<ITfContext> for ::windows::runtime::IUnknown {
from(value: ITfContext) -> Self3798     fn from(value: ITfContext) -> Self {
3799         unsafe { ::std::mem::transmute(value) }
3800     }
3801 }
3802 impl ::std::convert::From<&ITfContext> for ::windows::runtime::IUnknown {
from(value: &ITfContext) -> Self3803     fn from(value: &ITfContext) -> Self {
3804         ::std::convert::From::from(::std::clone::Clone::clone(value))
3805     }
3806 }
3807 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3808     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3809         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3810     }
3811 }
3812 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3813     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3814         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3815     }
3816 }
3817 #[repr(C)]
3818 #[doc(hidden)]
3819 pub struct ITfContext_abi(
3820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3821     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3822     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, pes: ::windows::runtime::RawPtr, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS, phrsession: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
3824     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, pfwritesession: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3825     #[cfg(not(feature = "Win32_Foundation"))] usize,
3826     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ulindex: u32, ulcount: u32, pselection: *mut ::std::mem::ManuallyDrop<TF_SELECTION>, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
3827     #[cfg(not(feature = "Win32_Foundation"))] usize,
3828     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ulcount: u32, pselection: *const ::std::mem::ManuallyDrop<TF_SELECTION>) -> ::windows::runtime::HRESULT,
3829     #[cfg(not(feature = "Win32_Foundation"))] usize,
3830     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppstart: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3831     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppend: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppview: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3833     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcs: *mut TS_STATUS) -> ::windows::runtime::HRESULT,
3835     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidprop: *const ::windows::runtime::GUID, ppprop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidprop: *const ::windows::runtime::GUID, ppprop: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prgprop: *const *const ::windows::runtime::GUID, cprop: u32, prgappprop: *const *const ::windows::runtime::GUID, cappprop: u32, ppproperty: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdm: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3840     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, ppbackup: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3841 );
3842 #[repr(transparent)]
3843 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3844 pub struct ITfContextComposition(::windows::runtime::IUnknown);
3845 impl ITfContextComposition {
StartComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcompositionrange: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition>3846     pub unsafe fn StartComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcompositionrange: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition> {
3847         let mut result__: <ITfComposition as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3848         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pcompositionrange.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<ITfComposition>(result__)
3849     }
EnumCompositions(&self) -> ::windows::runtime::Result<IEnumITfCompositionView>3850     pub unsafe fn EnumCompositions(&self) -> ::windows::runtime::Result<IEnumITfCompositionView> {
3851         let mut result__: <IEnumITfCompositionView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3852         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumITfCompositionView>(result__)
3853     }
FindComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecread: u32, ptestrange: Param1) -> ::windows::runtime::Result<IEnumITfCompositionView>3854     pub unsafe fn FindComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecread: u32, ptestrange: Param1) -> ::windows::runtime::Result<IEnumITfCompositionView> {
3855         let mut result__: <IEnumITfCompositionView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3856         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecread), ptestrange.into_param().abi(), &mut result__).from_abi::<IEnumITfCompositionView>(result__)
3857     }
TakeOwnership<'a, Param1: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcomposition: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition>3858     pub unsafe fn TakeOwnership<'a, Param1: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcomposition: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition> {
3859         let mut result__: <ITfComposition as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3860         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pcomposition.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<ITfComposition>(result__)
3861     }
3862 }
3863 unsafe impl ::windows::runtime::Interface for ITfContextComposition {
3864     type Vtable = ITfContextComposition_abi;
3865     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3557591726, 44178, 20423, [154, 17, 14, 224, 226, 58, 163, 155]);
3866 }
3867 impl ::std::convert::From<ITfContextComposition> for ::windows::runtime::IUnknown {
from(value: ITfContextComposition) -> Self3868     fn from(value: ITfContextComposition) -> Self {
3869         unsafe { ::std::mem::transmute(value) }
3870     }
3871 }
3872 impl ::std::convert::From<&ITfContextComposition> for ::windows::runtime::IUnknown {
from(value: &ITfContextComposition) -> Self3873     fn from(value: &ITfContextComposition) -> Self {
3874         ::std::convert::From::from(::std::clone::Clone::clone(value))
3875     }
3876 }
3877 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextComposition {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3878     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3879         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3880     }
3881 }
3882 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextComposition {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3883     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3884         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3885     }
3886 }
3887 #[repr(C)]
3888 #[doc(hidden)]
3889 pub struct ITfContextComposition_abi(
3890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3893     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pcompositionrange: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, ppcomposition: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3894     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3895     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecread: u32, ptestrange: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3896     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pcomposition: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, ppcomposition: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3897 );
3898 #[repr(transparent)]
3899 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3900 pub struct ITfContextKeyEventSink(::windows::runtime::IUnknown);
3901 impl ITfContextKeyEventSink {
3902     #[cfg(feature = "Win32_Foundation")]
OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3903     pub unsafe fn OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3904         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3905         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3906     }
3907     #[cfg(feature = "Win32_Foundation")]
OnKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3908     pub unsafe fn OnKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3909         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3910         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3911     }
3912     #[cfg(feature = "Win32_Foundation")]
OnTestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3913     pub unsafe fn OnTestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3914         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3915         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3916     }
3917     #[cfg(feature = "Win32_Foundation")]
OnTestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3918     pub unsafe fn OnTestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3919         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3920         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3921     }
3922 }
3923 unsafe impl ::windows::runtime::Interface for ITfContextKeyEventSink {
3924     type Vtable = ITfContextKeyEventSink_abi;
3925     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(89307741, 51253, 18740, [191, 80, 132, 106, 170, 103, 67, 47]);
3926 }
3927 impl ::std::convert::From<ITfContextKeyEventSink> for ::windows::runtime::IUnknown {
from(value: ITfContextKeyEventSink) -> Self3928     fn from(value: ITfContextKeyEventSink) -> Self {
3929         unsafe { ::std::mem::transmute(value) }
3930     }
3931 }
3932 impl ::std::convert::From<&ITfContextKeyEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfContextKeyEventSink) -> Self3933     fn from(value: &ITfContextKeyEventSink) -> Self {
3934         ::std::convert::From::from(::std::clone::Clone::clone(value))
3935     }
3936 }
3937 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextKeyEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3938     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3939         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3940     }
3941 }
3942 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextKeyEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3943     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3944         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3945     }
3946 }
3947 #[repr(C)]
3948 #[doc(hidden)]
3949 pub struct ITfContextKeyEventSink_abi(
3950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3951     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3952     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3953     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3954     #[cfg(not(feature = "Win32_Foundation"))] usize,
3955     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3956     #[cfg(not(feature = "Win32_Foundation"))] usize,
3957     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3958     #[cfg(not(feature = "Win32_Foundation"))] usize,
3959     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3960     #[cfg(not(feature = "Win32_Foundation"))] usize,
3961 );
3962 #[repr(transparent)]
3963 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3964 pub struct ITfContextOwner(::windows::runtime::IUnknown);
3965 impl ITfContextOwner {
3966     #[cfg(feature = "Win32_Foundation")]
GetACPFromPoint(&self, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32>3967     pub unsafe fn GetACPFromPoint(&self, ptscreen: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<i32> {
3968         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3969         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ptscreen), ::std::mem::transmute(dwflags), &mut result__).from_abi::<i32>(result__)
3970     }
3971     #[cfg(feature = "Win32_Foundation")]
GetTextExt(&self, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>3972     pub unsafe fn GetTextExt(&self, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
3973         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), ::std::mem::transmute(prc), ::std::mem::transmute(pfclipped)).ok()
3974     }
3975     #[cfg(feature = "Win32_Foundation")]
GetScreenExt(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>3976     pub unsafe fn GetScreenExt(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
3977         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3978         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
3979     }
GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS>3980     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<TS_STATUS> {
3981         let mut result__: <TS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3982         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TS_STATUS>(result__)
3983     }
3984     #[cfg(feature = "Win32_Foundation")]
GetWnd(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3985     pub unsafe fn GetWnd(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3986         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3987         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3988     }
3989     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetAttribute(&self, rguidattribute: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>3990     pub unsafe fn GetAttribute(&self, rguidattribute: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
3991         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3992         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguidattribute), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
3993     }
3994 }
3995 unsafe impl ::windows::runtime::Interface for ITfContextOwner {
3996     type Vtable = ITfContextOwner_abi;
3997     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574732, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
3998 }
3999 impl ::std::convert::From<ITfContextOwner> for ::windows::runtime::IUnknown {
from(value: ITfContextOwner) -> Self4000     fn from(value: ITfContextOwner) -> Self {
4001         unsafe { ::std::mem::transmute(value) }
4002     }
4003 }
4004 impl ::std::convert::From<&ITfContextOwner> for ::windows::runtime::IUnknown {
from(value: &ITfContextOwner) -> Self4005     fn from(value: &ITfContextOwner) -> Self {
4006         ::std::convert::From::from(::std::clone::Clone::clone(value))
4007     }
4008 }
4009 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextOwner {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4010     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4011         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4012     }
4013 }
4014 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextOwner {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4015     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4016         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4017     }
4018 }
4019 #[repr(C)]
4020 #[doc(hidden)]
4021 pub struct ITfContextOwner_abi(
4022     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4023     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4024     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4025     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptscreen: *const super::super::Foundation::POINT, dwflags: u32, pacp: *mut i32) -> ::windows::runtime::HRESULT,
4026     #[cfg(not(feature = "Win32_Foundation"))] usize,
4027     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4028     #[cfg(not(feature = "Win32_Foundation"))] usize,
4029     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4030     #[cfg(not(feature = "Win32_Foundation"))] usize,
4031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdcs: *mut TS_STATUS) -> ::windows::runtime::HRESULT,
4032     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
4033     #[cfg(not(feature = "Win32_Foundation"))] usize,
4034     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguidattribute: *const ::windows::runtime::GUID, pvarvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4035     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4036 );
4037 #[repr(transparent)]
4038 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4039 pub struct ITfContextOwnerCompositionServices(::windows::runtime::IUnknown);
4040 impl ITfContextOwnerCompositionServices {
StartComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcompositionrange: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition>4041     pub unsafe fn StartComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcompositionrange: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition> {
4042         let mut result__: <ITfComposition as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4043         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pcompositionrange.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<ITfComposition>(result__)
4044     }
EnumCompositions(&self) -> ::windows::runtime::Result<IEnumITfCompositionView>4045     pub unsafe fn EnumCompositions(&self) -> ::windows::runtime::Result<IEnumITfCompositionView> {
4046         let mut result__: <IEnumITfCompositionView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4047         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumITfCompositionView>(result__)
4048     }
FindComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecread: u32, ptestrange: Param1) -> ::windows::runtime::Result<IEnumITfCompositionView>4049     pub unsafe fn FindComposition<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ecread: u32, ptestrange: Param1) -> ::windows::runtime::Result<IEnumITfCompositionView> {
4050         let mut result__: <IEnumITfCompositionView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4051         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecread), ptestrange.into_param().abi(), &mut result__).from_abi::<IEnumITfCompositionView>(result__)
4052     }
TakeOwnership<'a, Param1: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcomposition: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition>4053     pub unsafe fn TakeOwnership<'a, Param1: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param2: ::windows::runtime::IntoParam<'a, ITfCompositionSink>>(&self, ecwrite: u32, pcomposition: Param1, psink: Param2) -> ::windows::runtime::Result<ITfComposition> {
4054         let mut result__: <ITfComposition as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4055         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ecwrite), pcomposition.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<ITfComposition>(result__)
4056     }
TerminateComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<()>4057     pub unsafe fn TerminateComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<()> {
4058         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pcomposition.into_param().abi()).ok()
4059     }
4060 }
4061 unsafe impl ::windows::runtime::Interface for ITfContextOwnerCompositionServices {
4062     type Vtable = ITfContextOwnerCompositionServices_abi;
4063     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2252744720, 22843, 18710, [151, 100, 25, 192, 142, 156, 225, 16]);
4064 }
4065 impl ::std::convert::From<ITfContextOwnerCompositionServices> for ::windows::runtime::IUnknown {
from(value: ITfContextOwnerCompositionServices) -> Self4066     fn from(value: ITfContextOwnerCompositionServices) -> Self {
4067         unsafe { ::std::mem::transmute(value) }
4068     }
4069 }
4070 impl ::std::convert::From<&ITfContextOwnerCompositionServices> for ::windows::runtime::IUnknown {
from(value: &ITfContextOwnerCompositionServices) -> Self4071     fn from(value: &ITfContextOwnerCompositionServices) -> Self {
4072         ::std::convert::From::from(::std::clone::Clone::clone(value))
4073     }
4074 }
4075 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextOwnerCompositionServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4076     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4077         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4078     }
4079 }
4080 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextOwnerCompositionServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4081     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4082         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4083     }
4084 }
4085 impl ::std::convert::From<ITfContextOwnerCompositionServices> for ITfContextComposition {
from(value: ITfContextOwnerCompositionServices) -> Self4086     fn from(value: ITfContextOwnerCompositionServices) -> Self {
4087         unsafe { ::std::mem::transmute(value) }
4088     }
4089 }
4090 impl ::std::convert::From<&ITfContextOwnerCompositionServices> for ITfContextComposition {
from(value: &ITfContextOwnerCompositionServices) -> Self4091     fn from(value: &ITfContextOwnerCompositionServices) -> Self {
4092         ::std::convert::From::from(::std::clone::Clone::clone(value))
4093     }
4094 }
4095 impl<'a> ::windows::runtime::IntoParam<'a, ITfContextComposition> for ITfContextOwnerCompositionServices {
into_param(self) -> ::windows::runtime::Param<'a, ITfContextComposition>4096     fn into_param(self) -> ::windows::runtime::Param<'a, ITfContextComposition> {
4097         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfContextComposition>::into(self))
4098     }
4099 }
4100 impl<'a> ::windows::runtime::IntoParam<'a, ITfContextComposition> for &ITfContextOwnerCompositionServices {
into_param(self) -> ::windows::runtime::Param<'a, ITfContextComposition>4101     fn into_param(self) -> ::windows::runtime::Param<'a, ITfContextComposition> {
4102         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfContextComposition>::into(::std::clone::Clone::clone(self)))
4103     }
4104 }
4105 #[repr(C)]
4106 #[doc(hidden)]
4107 pub struct ITfContextOwnerCompositionServices_abi(
4108     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pcompositionrange: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, ppcomposition: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4112     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4113     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecread: u32, ptestrange: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4114     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ecwrite: u32, pcomposition: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, ppcomposition: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4115     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcomposition: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4116 );
4117 #[repr(transparent)]
4118 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4119 pub struct ITfContextOwnerCompositionSink(::windows::runtime::IUnknown);
4120 impl ITfContextOwnerCompositionSink {
4121     #[cfg(feature = "Win32_Foundation")]
OnStartComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL>4122     pub unsafe fn OnStartComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
4123         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4124         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pcomposition.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
4125     }
OnUpdateComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, pcomposition: Param0, prangenew: Param1) -> ::windows::runtime::Result<()>4126     pub unsafe fn OnUpdateComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, pcomposition: Param0, prangenew: Param1) -> ::windows::runtime::Result<()> {
4127         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pcomposition.into_param().abi(), prangenew.into_param().abi()).ok()
4128     }
OnEndComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<()>4129     pub unsafe fn OnEndComposition<'a, Param0: ::windows::runtime::IntoParam<'a, ITfCompositionView>>(&self, pcomposition: Param0) -> ::windows::runtime::Result<()> {
4130         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pcomposition.into_param().abi()).ok()
4131     }
4132 }
4133 unsafe impl ::windows::runtime::Interface for ITfContextOwnerCompositionSink {
4134     type Vtable = ITfContextOwnerCompositionSink_abi;
4135     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1595976256, 46458, 20276, [150, 171, 53, 118, 243, 119, 204, 121]);
4136 }
4137 impl ::std::convert::From<ITfContextOwnerCompositionSink> for ::windows::runtime::IUnknown {
from(value: ITfContextOwnerCompositionSink) -> Self4138     fn from(value: ITfContextOwnerCompositionSink) -> Self {
4139         unsafe { ::std::mem::transmute(value) }
4140     }
4141 }
4142 impl ::std::convert::From<&ITfContextOwnerCompositionSink> for ::windows::runtime::IUnknown {
from(value: &ITfContextOwnerCompositionSink) -> Self4143     fn from(value: &ITfContextOwnerCompositionSink) -> Self {
4144         ::std::convert::From::from(::std::clone::Clone::clone(value))
4145     }
4146 }
4147 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextOwnerCompositionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4148     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4149         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4150     }
4151 }
4152 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextOwnerCompositionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4153     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4154         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4155     }
4156 }
4157 #[repr(C)]
4158 #[doc(hidden)]
4159 pub struct ITfContextOwnerCompositionSink_abi(
4160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4163     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcomposition: ::windows::runtime::RawPtr, pfok: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4164     #[cfg(not(feature = "Win32_Foundation"))] usize,
4165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcomposition: ::windows::runtime::RawPtr, prangenew: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4166     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcomposition: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4167 );
4168 #[repr(transparent)]
4169 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4170 pub struct ITfContextOwnerServices(::windows::runtime::IUnknown);
4171 impl ITfContextOwnerServices {
OnLayoutChange(&self) -> ::windows::runtime::Result<()>4172     pub unsafe fn OnLayoutChange(&self) -> ::windows::runtime::Result<()> {
4173         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
4174     }
OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()>4175     pub unsafe fn OnStatusChange(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
4176         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
4177     }
OnAttributeChange(&self, rguidattribute: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>4178     pub unsafe fn OnAttributeChange(&self, rguidattribute: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
4179         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguidattribute)).ok()
4180     }
4181     #[cfg(feature = "Win32_System_Com")]
Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pprop: Param0, prange: Param1, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param3) -> ::windows::runtime::Result<()>4182     pub unsafe fn Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pprop: Param0, prange: Param1, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param3) -> ::windows::runtime::Result<()> {
4183         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pprop.into_param().abi(), prange.into_param().abi(), ::std::mem::transmute(phdr), pstream.into_param().abi()).ok()
4184     }
4185     #[cfg(feature = "Win32_System_Com")]
Unserialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param3: ::windows::runtime::IntoParam<'a, ITfPersistentPropertyLoaderACP>>(&self, pprop: Param0, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param2, ploader: Param3) -> ::windows::runtime::Result<()>4186     pub unsafe fn Unserialize<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>, Param3: ::windows::runtime::IntoParam<'a, ITfPersistentPropertyLoaderACP>>(&self, pprop: Param0, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: Param2, ploader: Param3) -> ::windows::runtime::Result<()> {
4187         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pprop.into_param().abi(), ::std::mem::transmute(phdr), pstream.into_param().abi(), ploader.into_param().abi()).ok()
4188     }
ForceLoadProperty<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>>(&self, pprop: Param0) -> ::windows::runtime::Result<()>4189     pub unsafe fn ForceLoadProperty<'a, Param0: ::windows::runtime::IntoParam<'a, ITfProperty>>(&self, pprop: Param0) -> ::windows::runtime::Result<()> {
4190         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pprop.into_param().abi()).ok()
4191     }
CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<ITfRangeACP>4192     pub unsafe fn CreateRange(&self, acpstart: i32, acpend: i32) -> ::windows::runtime::Result<ITfRangeACP> {
4193         let mut result__: <ITfRangeACP as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4194         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpstart), ::std::mem::transmute(acpend), &mut result__).from_abi::<ITfRangeACP>(result__)
4195     }
4196 }
4197 unsafe impl ::windows::runtime::Interface for ITfContextOwnerServices {
4198     type Vtable = ITfContextOwnerServices_abi;
4199     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2990454320, 15900, 4563, [167, 69, 0, 80, 4, 10, 180, 7]);
4200 }
4201 impl ::std::convert::From<ITfContextOwnerServices> for ::windows::runtime::IUnknown {
from(value: ITfContextOwnerServices) -> Self4202     fn from(value: ITfContextOwnerServices) -> Self {
4203         unsafe { ::std::mem::transmute(value) }
4204     }
4205 }
4206 impl ::std::convert::From<&ITfContextOwnerServices> for ::windows::runtime::IUnknown {
from(value: &ITfContextOwnerServices) -> Self4207     fn from(value: &ITfContextOwnerServices) -> Self {
4208         ::std::convert::From::from(::std::clone::Clone::clone(value))
4209     }
4210 }
4211 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextOwnerServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4212     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4213         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4214     }
4215 }
4216 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextOwnerServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4217     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4218         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4219     }
4220 }
4221 #[repr(C)]
4222 #[doc(hidden)]
4223 pub struct ITfContextOwnerServices_abi(
4224     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4225     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4227     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4228     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
4229     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguidattribute: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4230     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, phdr: *mut TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4231     #[cfg(not(feature = "Win32_System_Com"))] usize,
4232     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, pstream: ::windows::runtime::RawPtr, ploader: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4233     #[cfg(not(feature = "Win32_System_Com"))] usize,
4234     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprop: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpstart: i32, acpend: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4236 );
4237 #[repr(transparent)]
4238 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4239 pub struct ITfContextView(::windows::runtime::IUnknown);
4240 impl ITfContextView {
4241     #[cfg(feature = "Win32_Foundation")]
GetRangeFromPoint(&self, ec: u32, ppt: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<ITfRange>4242     pub unsafe fn GetRangeFromPoint(&self, ec: u32, ppt: *const super::super::Foundation::POINT, dwflags: u32) -> ::windows::runtime::Result<ITfRange> {
4243         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4244         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(ppt), ::std::mem::transmute(dwflags), &mut result__).from_abi::<ITfRange>(result__)
4245     }
4246     #[cfg(feature = "Win32_Foundation")]
GetTextExt<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>4247     pub unsafe fn GetTextExt<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
4248         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(prc), ::std::mem::transmute(pfclipped)).ok()
4249     }
4250     #[cfg(feature = "Win32_Foundation")]
GetScreenExt(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>4251     pub unsafe fn GetScreenExt(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
4252         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4253         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
4254     }
4255     #[cfg(feature = "Win32_Foundation")]
GetWnd(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>4256     pub unsafe fn GetWnd(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
4257         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4258         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
4259     }
4260 }
4261 unsafe impl ::windows::runtime::Interface for ITfContextView {
4262     type Vtable = ITfContextView_abi;
4263     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(607371150, 3995, 17244, [186, 44, 24, 6, 17, 151, 140, 48]);
4264 }
4265 impl ::std::convert::From<ITfContextView> for ::windows::runtime::IUnknown {
from(value: ITfContextView) -> Self4266     fn from(value: ITfContextView) -> Self {
4267         unsafe { ::std::mem::transmute(value) }
4268     }
4269 }
4270 impl ::std::convert::From<&ITfContextView> for ::windows::runtime::IUnknown {
from(value: &ITfContextView) -> Self4271     fn from(value: &ITfContextView) -> Self {
4272         ::std::convert::From::from(::std::clone::Clone::clone(value))
4273     }
4274 }
4275 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfContextView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4276     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4277         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4278     }
4279 }
4280 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfContextView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4281     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4282         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4283     }
4284 }
4285 #[repr(C)]
4286 #[doc(hidden)]
4287 pub struct ITfContextView_abi(
4288     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4289     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4290     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4291     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppt: *const super::super::Foundation::POINT, dwflags: u32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4292     #[cfg(not(feature = "Win32_Foundation"))] usize,
4293     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, prc: *mut super::super::Foundation::RECT, pfclipped: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4294     #[cfg(not(feature = "Win32_Foundation"))] usize,
4295     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4296     #[cfg(not(feature = "Win32_Foundation"))] usize,
4297     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
4298     #[cfg(not(feature = "Win32_Foundation"))] usize,
4299 );
4300 #[repr(transparent)]
4301 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4302 pub struct ITfCreatePropertyStore(::windows::runtime::IUnknown);
4303 impl ITfCreatePropertyStore {
4304     #[cfg(feature = "Win32_Foundation")]
IsStoreSerializable<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfPropertyStore>>(&self, guidprop: *const ::windows::runtime::GUID, prange: Param1, ppropstore: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>4305     pub unsafe fn IsStoreSerializable<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfPropertyStore>>(&self, guidprop: *const ::windows::runtime::GUID, prange: Param1, ppropstore: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
4306         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4307         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidprop), prange.into_param().abi(), ppropstore.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
4308     }
4309     #[cfg(feature = "Win32_System_Com")]
CreatePropertyStore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, guidprop: *const ::windows::runtime::GUID, prange: Param1, cb: u32, pstream: Param3) -> ::windows::runtime::Result<ITfPropertyStore>4310     pub unsafe fn CreatePropertyStore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, guidprop: *const ::windows::runtime::GUID, prange: Param1, cb: u32, pstream: Param3) -> ::windows::runtime::Result<ITfPropertyStore> {
4311         let mut result__: <ITfPropertyStore as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4312         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(guidprop), prange.into_param().abi(), ::std::mem::transmute(cb), pstream.into_param().abi(), &mut result__).from_abi::<ITfPropertyStore>(result__)
4313     }
4314 }
4315 unsafe impl ::windows::runtime::Interface for ITfCreatePropertyStore {
4316     type Vtable = ITfCreatePropertyStore_abi;
4317     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(610532336, 45231, 4562, [175, 197, 0, 16, 90, 39, 153, 181]);
4318 }
4319 impl ::std::convert::From<ITfCreatePropertyStore> for ::windows::runtime::IUnknown {
from(value: ITfCreatePropertyStore) -> Self4320     fn from(value: ITfCreatePropertyStore) -> Self {
4321         unsafe { ::std::mem::transmute(value) }
4322     }
4323 }
4324 impl ::std::convert::From<&ITfCreatePropertyStore> for ::windows::runtime::IUnknown {
from(value: &ITfCreatePropertyStore) -> Self4325     fn from(value: &ITfCreatePropertyStore) -> Self {
4326         ::std::convert::From::from(::std::clone::Clone::clone(value))
4327     }
4328 }
4329 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfCreatePropertyStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4330     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4331         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4332     }
4333 }
4334 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfCreatePropertyStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4335     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4336         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4337     }
4338 }
4339 #[repr(C)]
4340 #[doc(hidden)]
4341 pub struct ITfCreatePropertyStore_abi(
4342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4345     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidprop: *const ::windows::runtime::GUID, prange: ::windows::runtime::RawPtr, ppropstore: ::windows::runtime::RawPtr, pfserializable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4346     #[cfg(not(feature = "Win32_Foundation"))] usize,
4347     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidprop: *const ::windows::runtime::GUID, prange: ::windows::runtime::RawPtr, cb: u32, pstream: ::windows::runtime::RawPtr, ppstore: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4348     #[cfg(not(feature = "Win32_System_Com"))] usize,
4349 );
4350 #[repr(transparent)]
4351 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4352 pub struct ITfDisplayAttributeInfo(::windows::runtime::IUnknown);
4353 impl ITfDisplayAttributeInfo {
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>4354     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
4355         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4356         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
4357     }
4358     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4359     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4360         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4361         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4362     }
4363     #[cfg(feature = "Win32_Foundation")]
GetAttributeInfo(&self) -> ::windows::runtime::Result<TF_DISPLAYATTRIBUTE>4364     pub unsafe fn GetAttributeInfo(&self) -> ::windows::runtime::Result<TF_DISPLAYATTRIBUTE> {
4365         let mut result__: <TF_DISPLAYATTRIBUTE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4366         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_DISPLAYATTRIBUTE>(result__)
4367     }
4368     #[cfg(feature = "Win32_Foundation")]
SetAttributeInfo(&self, pda: *const TF_DISPLAYATTRIBUTE) -> ::windows::runtime::Result<()>4369     pub unsafe fn SetAttributeInfo(&self, pda: *const TF_DISPLAYATTRIBUTE) -> ::windows::runtime::Result<()> {
4370         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pda)).ok()
4371     }
Reset(&self) -> ::windows::runtime::Result<()>4372     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
4373         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4374     }
4375 }
4376 unsafe impl ::windows::runtime::Interface for ITfDisplayAttributeInfo {
4377     type Vtable = ITfDisplayAttributeInfo_abi;
4378     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1884457042, 12070, 19178, [140, 150, 33, 81, 80, 87, 137, 50]);
4379 }
4380 impl ::std::convert::From<ITfDisplayAttributeInfo> for ::windows::runtime::IUnknown {
from(value: ITfDisplayAttributeInfo) -> Self4381     fn from(value: ITfDisplayAttributeInfo) -> Self {
4382         unsafe { ::std::mem::transmute(value) }
4383     }
4384 }
4385 impl ::std::convert::From<&ITfDisplayAttributeInfo> for ::windows::runtime::IUnknown {
from(value: &ITfDisplayAttributeInfo) -> Self4386     fn from(value: &ITfDisplayAttributeInfo) -> Self {
4387         ::std::convert::From::from(::std::clone::Clone::clone(value))
4388     }
4389 }
4390 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfDisplayAttributeInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4391     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4392         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4393     }
4394 }
4395 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfDisplayAttributeInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4396     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4397         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4398     }
4399 }
4400 #[repr(C)]
4401 #[doc(hidden)]
4402 pub struct ITfDisplayAttributeInfo_abi(
4403     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4404     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4405     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4406     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4407     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdesc: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4408     #[cfg(not(feature = "Win32_Foundation"))] usize,
4409     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pda: *mut TF_DISPLAYATTRIBUTE) -> ::windows::runtime::HRESULT,
4410     #[cfg(not(feature = "Win32_Foundation"))] usize,
4411     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pda: *const TF_DISPLAYATTRIBUTE) -> ::windows::runtime::HRESULT,
4412     #[cfg(not(feature = "Win32_Foundation"))] usize,
4413     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4414 );
4415 #[repr(transparent)]
4416 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4417 pub struct ITfDisplayAttributeMgr(::windows::runtime::IUnknown);
4418 impl ITfDisplayAttributeMgr {
OnUpdateInfo(&self) -> ::windows::runtime::Result<()>4419     pub unsafe fn OnUpdateInfo(&self) -> ::windows::runtime::Result<()> {
4420         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
4421     }
EnumDisplayAttributeInfo(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo>4422     pub unsafe fn EnumDisplayAttributeInfo(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo> {
4423         let mut result__: <IEnumTfDisplayAttributeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4424         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDisplayAttributeInfo>(result__)
4425     }
GetDisplayAttributeInfo(&self, guid: *const ::windows::runtime::GUID, ppinfo: *mut ::std::option::Option<ITfDisplayAttributeInfo>, pclsidowner: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>4426     pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const ::windows::runtime::GUID, ppinfo: *mut ::std::option::Option<ITfDisplayAttributeInfo>, pclsidowner: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
4427         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(guid), ::std::mem::transmute(ppinfo), ::std::mem::transmute(pclsidowner)).ok()
4428     }
4429 }
4430 unsafe impl ::windows::runtime::Interface for ITfDisplayAttributeMgr {
4431     type Vtable = ITfDisplayAttributeMgr_abi;
4432     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2381149075, 23985, 18268, [158, 113, 163, 145, 17, 176, 255, 103]);
4433 }
4434 impl ::std::convert::From<ITfDisplayAttributeMgr> for ::windows::runtime::IUnknown {
from(value: ITfDisplayAttributeMgr) -> Self4435     fn from(value: ITfDisplayAttributeMgr) -> Self {
4436         unsafe { ::std::mem::transmute(value) }
4437     }
4438 }
4439 impl ::std::convert::From<&ITfDisplayAttributeMgr> for ::windows::runtime::IUnknown {
from(value: &ITfDisplayAttributeMgr) -> Self4440     fn from(value: &ITfDisplayAttributeMgr) -> Self {
4441         ::std::convert::From::from(::std::clone::Clone::clone(value))
4442     }
4443 }
4444 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfDisplayAttributeMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4445     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4446         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4447     }
4448 }
4449 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfDisplayAttributeMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4450     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4451         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4452     }
4453 }
4454 #[repr(C)]
4455 #[doc(hidden)]
4456 pub struct ITfDisplayAttributeMgr_abi(
4457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: *const ::windows::runtime::GUID, ppinfo: *mut ::windows::runtime::RawPtr, pclsidowner: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4463 );
4464 #[repr(transparent)]
4465 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4466 pub struct ITfDisplayAttributeNotifySink(::windows::runtime::IUnknown);
4467 impl ITfDisplayAttributeNotifySink {
OnUpdateInfo(&self) -> ::windows::runtime::Result<()>4468     pub unsafe fn OnUpdateInfo(&self) -> ::windows::runtime::Result<()> {
4469         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
4470     }
4471 }
4472 unsafe impl ::windows::runtime::Interface for ITfDisplayAttributeNotifySink {
4473     type Vtable = ITfDisplayAttributeNotifySink_abi;
4474     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2908156930, 57698, 20261, [144, 143, 125, 87, 124, 249, 189, 169]);
4475 }
4476 impl ::std::convert::From<ITfDisplayAttributeNotifySink> for ::windows::runtime::IUnknown {
from(value: ITfDisplayAttributeNotifySink) -> Self4477     fn from(value: ITfDisplayAttributeNotifySink) -> Self {
4478         unsafe { ::std::mem::transmute(value) }
4479     }
4480 }
4481 impl ::std::convert::From<&ITfDisplayAttributeNotifySink> for ::windows::runtime::IUnknown {
from(value: &ITfDisplayAttributeNotifySink) -> Self4482     fn from(value: &ITfDisplayAttributeNotifySink) -> Self {
4483         ::std::convert::From::from(::std::clone::Clone::clone(value))
4484     }
4485 }
4486 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfDisplayAttributeNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4487     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4488         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4489     }
4490 }
4491 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfDisplayAttributeNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4492     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4493         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4494     }
4495 }
4496 #[repr(C)]
4497 #[doc(hidden)]
4498 pub struct ITfDisplayAttributeNotifySink_abi(
4499     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4500     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4501     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4502     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4503 );
4504 #[repr(transparent)]
4505 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4506 pub struct ITfDisplayAttributeProvider(::windows::runtime::IUnknown);
4507 impl ITfDisplayAttributeProvider {
EnumDisplayAttributeInfo(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo>4508     pub unsafe fn EnumDisplayAttributeInfo(&self) -> ::windows::runtime::Result<IEnumTfDisplayAttributeInfo> {
4509         let mut result__: <IEnumTfDisplayAttributeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4510         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDisplayAttributeInfo>(result__)
4511     }
GetDisplayAttributeInfo(&self, guid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfDisplayAttributeInfo>4512     pub unsafe fn GetDisplayAttributeInfo(&self, guid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfDisplayAttributeInfo> {
4513         let mut result__: <ITfDisplayAttributeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4514         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(guid), &mut result__).from_abi::<ITfDisplayAttributeInfo>(result__)
4515     }
4516 }
4517 unsafe impl ::windows::runtime::Interface for ITfDisplayAttributeProvider {
4518     type Vtable = ITfDisplayAttributeProvider_abi;
4519     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4276385655, 5692, 18281, [153, 106, 110, 156, 80, 173, 143, 84]);
4520 }
4521 impl ::std::convert::From<ITfDisplayAttributeProvider> for ::windows::runtime::IUnknown {
from(value: ITfDisplayAttributeProvider) -> Self4522     fn from(value: ITfDisplayAttributeProvider) -> Self {
4523         unsafe { ::std::mem::transmute(value) }
4524     }
4525 }
4526 impl ::std::convert::From<&ITfDisplayAttributeProvider> for ::windows::runtime::IUnknown {
from(value: &ITfDisplayAttributeProvider) -> Self4527     fn from(value: &ITfDisplayAttributeProvider) -> Self {
4528         ::std::convert::From::from(::std::clone::Clone::clone(value))
4529     }
4530 }
4531 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfDisplayAttributeProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4532     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4533         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4534     }
4535 }
4536 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfDisplayAttributeProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4537     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4538         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4539     }
4540 }
4541 #[repr(C)]
4542 #[doc(hidden)]
4543 pub struct ITfDisplayAttributeProvider_abi(
4544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guid: *const ::windows::runtime::GUID, ppinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4549 );
4550 #[repr(transparent)]
4551 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4552 pub struct ITfDocumentMgr(::windows::runtime::IUnknown);
4553 impl ITfDocumentMgr {
CreateContext<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, tidowner: u32, dwflags: u32, punk: Param2, ppic: *mut ::std::option::Option<ITfContext>, pectextstore: *mut u32) -> ::windows::runtime::Result<()>4554     pub unsafe fn CreateContext<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, tidowner: u32, dwflags: u32, punk: Param2, ppic: *mut ::std::option::Option<ITfContext>, pectextstore: *mut u32) -> ::windows::runtime::Result<()> {
4555         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(tidowner), ::std::mem::transmute(dwflags), punk.into_param().abi(), ::std::mem::transmute(ppic), ::std::mem::transmute(pectextstore)).ok()
4556     }
Push<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()>4557     pub unsafe fn Push<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()> {
4558         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pic.into_param().abi()).ok()
4559     }
Pop(&self, dwflags: u32) -> ::windows::runtime::Result<()>4560     pub unsafe fn Pop(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
4561         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
4562     }
GetTop(&self) -> ::windows::runtime::Result<ITfContext>4563     pub unsafe fn GetTop(&self) -> ::windows::runtime::Result<ITfContext> {
4564         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4565         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
4566     }
GetBase(&self) -> ::windows::runtime::Result<ITfContext>4567     pub unsafe fn GetBase(&self) -> ::windows::runtime::Result<ITfContext> {
4568         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4569         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
4570     }
EnumContexts(&self) -> ::windows::runtime::Result<IEnumTfContexts>4571     pub unsafe fn EnumContexts(&self) -> ::windows::runtime::Result<IEnumTfContexts> {
4572         let mut result__: <IEnumTfContexts as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4573         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfContexts>(result__)
4574     }
4575 }
4576 unsafe impl ::windows::runtime::Interface for ITfDocumentMgr {
4577     type Vtable = ITfDocumentMgr_abi;
4578     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574708, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
4579 }
4580 impl ::std::convert::From<ITfDocumentMgr> for ::windows::runtime::IUnknown {
from(value: ITfDocumentMgr) -> Self4581     fn from(value: ITfDocumentMgr) -> Self {
4582         unsafe { ::std::mem::transmute(value) }
4583     }
4584 }
4585 impl ::std::convert::From<&ITfDocumentMgr> for ::windows::runtime::IUnknown {
from(value: &ITfDocumentMgr) -> Self4586     fn from(value: &ITfDocumentMgr) -> Self {
4587         ::std::convert::From::from(::std::clone::Clone::clone(value))
4588     }
4589 }
4590 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfDocumentMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4591     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4592         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4593     }
4594 }
4595 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfDocumentMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4596     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4597         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4598     }
4599 }
4600 #[repr(C)]
4601 #[doc(hidden)]
4602 pub struct ITfDocumentMgr_abi(
4603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4605     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tidowner: u32, dwflags: u32, punk: ::windows::runtime::RawPtr, ppic: *mut ::windows::runtime::RawPtr, pectextstore: *mut u32) -> ::windows::runtime::HRESULT,
4607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4608     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
4609     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppic: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4610     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppic: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4611     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4612 );
4613 #[repr(transparent)]
4614 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4615 pub struct ITfEditRecord(::windows::runtime::IUnknown);
4616 impl ITfEditRecord {
4617     #[cfg(feature = "Win32_Foundation")]
GetSelectionStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>4618     pub unsafe fn GetSelectionStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
4619         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4620         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
4621     }
GetTextAndPropertyUpdates(&self, dwflags: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, prgproperties: *const *const ::windows::runtime::GUID, cproperties: u32) -> ::windows::runtime::Result<IEnumTfRanges>4622     pub unsafe fn GetTextAndPropertyUpdates(&self, dwflags: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, prgproperties: *const *const ::windows::runtime::GUID, cproperties: u32) -> ::windows::runtime::Result<IEnumTfRanges> {
4623         let mut result__: <IEnumTfRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4624         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), ::std::mem::transmute(prgproperties), ::std::mem::transmute(cproperties), &mut result__).from_abi::<IEnumTfRanges>(result__)
4625     }
4626 }
4627 unsafe impl ::windows::runtime::Interface for ITfEditRecord {
4628     type Vtable = ITfEditRecord_abi;
4629     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1121243289, 31770, 19081, [184, 54, 108, 111, 34, 22, 13, 240]);
4630 }
4631 impl ::std::convert::From<ITfEditRecord> for ::windows::runtime::IUnknown {
from(value: ITfEditRecord) -> Self4632     fn from(value: ITfEditRecord) -> Self {
4633         unsafe { ::std::mem::transmute(value) }
4634     }
4635 }
4636 impl ::std::convert::From<&ITfEditRecord> for ::windows::runtime::IUnknown {
from(value: &ITfEditRecord) -> Self4637     fn from(value: &ITfEditRecord) -> Self {
4638         ::std::convert::From::from(::std::clone::Clone::clone(value))
4639     }
4640 }
4641 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfEditRecord {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4642     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4643         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4644     }
4645 }
4646 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfEditRecord {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4647     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4648         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4649     }
4650 }
4651 #[repr(C)]
4652 #[doc(hidden)]
4653 pub struct ITfEditRecord_abi(
4654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4657     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfchanged: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4658     #[cfg(not(feature = "Win32_Foundation"))] usize,
4659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, prgproperties: *const *const ::windows::runtime::GUID, cproperties: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4660 );
4661 #[repr(transparent)]
4662 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4663 pub struct ITfEditSession(::windows::runtime::IUnknown);
4664 impl ITfEditSession {
DoEditSession(&self, ec: u32) -> ::windows::runtime::Result<()>4665     pub unsafe fn DoEditSession(&self, ec: u32) -> ::windows::runtime::Result<()> {
4666         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec)).ok()
4667     }
4668 }
4669 unsafe impl ::windows::runtime::Interface for ITfEditSession {
4670     type Vtable = ITfEditSession_abi;
4671     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574723, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
4672 }
4673 impl ::std::convert::From<ITfEditSession> for ::windows::runtime::IUnknown {
from(value: ITfEditSession) -> Self4674     fn from(value: ITfEditSession) -> Self {
4675         unsafe { ::std::mem::transmute(value) }
4676     }
4677 }
4678 impl ::std::convert::From<&ITfEditSession> for ::windows::runtime::IUnknown {
from(value: &ITfEditSession) -> Self4679     fn from(value: &ITfEditSession) -> Self {
4680         ::std::convert::From::from(::std::clone::Clone::clone(value))
4681     }
4682 }
4683 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfEditSession {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4684     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4685         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4686     }
4687 }
4688 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfEditSession {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4689     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4690         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4691     }
4692 }
4693 #[repr(C)]
4694 #[doc(hidden)]
4695 pub struct ITfEditSession_abi(
4696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4697     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32) -> ::windows::runtime::HRESULT,
4700 );
4701 #[repr(transparent)]
4702 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4703 pub struct ITfEditTransactionSink(::windows::runtime::IUnknown);
4704 impl ITfEditTransactionSink {
OnStartEditTransaction<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()>4705     pub unsafe fn OnStartEditTransaction<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()> {
4706         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pic.into_param().abi()).ok()
4707     }
OnEndEditTransaction<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()>4708     pub unsafe fn OnEndEditTransaction<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()> {
4709         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pic.into_param().abi()).ok()
4710     }
4711 }
4712 unsafe impl ::windows::runtime::Interface for ITfEditTransactionSink {
4713     type Vtable = ITfEditTransactionSink_abi;
4714     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1888468848, 46368, 16747, [176, 108, 44, 65, 171, 68, 248, 186]);
4715 }
4716 impl ::std::convert::From<ITfEditTransactionSink> for ::windows::runtime::IUnknown {
from(value: ITfEditTransactionSink) -> Self4717     fn from(value: ITfEditTransactionSink) -> Self {
4718         unsafe { ::std::mem::transmute(value) }
4719     }
4720 }
4721 impl ::std::convert::From<&ITfEditTransactionSink> for ::windows::runtime::IUnknown {
from(value: &ITfEditTransactionSink) -> Self4722     fn from(value: &ITfEditTransactionSink) -> Self {
4723         ::std::convert::From::from(::std::clone::Clone::clone(value))
4724     }
4725 }
4726 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfEditTransactionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4727     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4728         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4729     }
4730 }
4731 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfEditTransactionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4732     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4733         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4734     }
4735 }
4736 #[repr(C)]
4737 #[doc(hidden)]
4738 pub struct ITfEditTransactionSink_abi(
4739     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4740     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4741     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4742     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4743     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4744 );
4745 #[repr(transparent)]
4746 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4747 pub struct ITfFnAdviseText(::windows::runtime::IUnknown);
4748 impl ITfFnAdviseText {
4749     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4750     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4751         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4752         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4753     }
4754     #[cfg(feature = "Win32_Foundation")]
OnTextUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, prange: Param0, pchtext: Param1, cch: i32) -> ::windows::runtime::Result<()>4755     pub unsafe fn OnTextUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, prange: Param0, pchtext: Param1, cch: i32) -> ::windows::runtime::Result<()> {
4756         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), pchtext.into_param().abi(), ::std::mem::transmute(cch)).ok()
4757     }
OnLatticeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfLMLattice>>(&self, prange: Param0, plattice: Param1) -> ::windows::runtime::Result<()>4758     pub unsafe fn OnLatticeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfLMLattice>>(&self, prange: Param0, plattice: Param1) -> ::windows::runtime::Result<()> {
4759         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), prange.into_param().abi(), plattice.into_param().abi()).ok()
4760     }
4761 }
4762 unsafe impl ::windows::runtime::Interface for ITfFnAdviseText {
4763     type Vtable = ITfFnAdviseText_abi;
4764     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(891758219, 32083, 19929, [146, 183, 114, 150, 174, 70, 18, 73]);
4765 }
4766 impl ::std::convert::From<ITfFnAdviseText> for ::windows::runtime::IUnknown {
from(value: ITfFnAdviseText) -> Self4767     fn from(value: ITfFnAdviseText) -> Self {
4768         unsafe { ::std::mem::transmute(value) }
4769     }
4770 }
4771 impl ::std::convert::From<&ITfFnAdviseText> for ::windows::runtime::IUnknown {
from(value: &ITfFnAdviseText) -> Self4772     fn from(value: &ITfFnAdviseText) -> Self {
4773         ::std::convert::From::from(::std::clone::Clone::clone(value))
4774     }
4775 }
4776 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnAdviseText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4777     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4778         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4779     }
4780 }
4781 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnAdviseText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4782     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4783         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4784     }
4785 }
4786 impl ::std::convert::From<ITfFnAdviseText> for ITfFunction {
from(value: ITfFnAdviseText) -> Self4787     fn from(value: ITfFnAdviseText) -> Self {
4788         unsafe { ::std::mem::transmute(value) }
4789     }
4790 }
4791 impl ::std::convert::From<&ITfFnAdviseText> for ITfFunction {
from(value: &ITfFnAdviseText) -> Self4792     fn from(value: &ITfFnAdviseText) -> Self {
4793         ::std::convert::From::from(::std::clone::Clone::clone(value))
4794     }
4795 }
4796 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnAdviseText {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4797     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4798         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
4799     }
4800 }
4801 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnAdviseText {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4802     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4803         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
4804     }
4805 }
4806 #[repr(C)]
4807 #[doc(hidden)]
4808 pub struct ITfFnAdviseText_abi(
4809     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4810     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4811     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4812     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4813     #[cfg(not(feature = "Win32_Foundation"))] usize,
4814     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, pchtext: super::super::Foundation::PWSTR, cch: i32) -> ::windows::runtime::HRESULT,
4815     #[cfg(not(feature = "Win32_Foundation"))] usize,
4816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, plattice: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4817 );
4818 #[repr(transparent)]
4819 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4820 pub struct ITfFnBalloon(::windows::runtime::IUnknown);
4821 impl ITfFnBalloon {
4822     #[cfg(feature = "Win32_Foundation")]
UpdateBalloon<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, style: TfLBBalloonStyle, pch: Param1, cch: u32) -> ::windows::runtime::Result<()>4823     pub unsafe fn UpdateBalloon<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, style: TfLBBalloonStyle, pch: Param1, cch: u32) -> ::windows::runtime::Result<()> {
4824         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(style), pch.into_param().abi(), ::std::mem::transmute(cch)).ok()
4825     }
4826 }
4827 unsafe impl ::windows::runtime::Interface for ITfFnBalloon {
4828     type Vtable = ITfFnBalloon_abi;
4829     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1001097700, 24510, 17908, [165, 188, 220, 163, 106, 210, 37, 168]);
4830 }
4831 impl ::std::convert::From<ITfFnBalloon> for ::windows::runtime::IUnknown {
from(value: ITfFnBalloon) -> Self4832     fn from(value: ITfFnBalloon) -> Self {
4833         unsafe { ::std::mem::transmute(value) }
4834     }
4835 }
4836 impl ::std::convert::From<&ITfFnBalloon> for ::windows::runtime::IUnknown {
from(value: &ITfFnBalloon) -> Self4837     fn from(value: &ITfFnBalloon) -> Self {
4838         ::std::convert::From::from(::std::clone::Clone::clone(value))
4839     }
4840 }
4841 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4842     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4843         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4844     }
4845 }
4846 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4847     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4848         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4849     }
4850 }
4851 #[repr(C)]
4852 #[doc(hidden)]
4853 pub struct ITfFnBalloon_abi(
4854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4857     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, style: TfLBBalloonStyle, pch: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
4858     #[cfg(not(feature = "Win32_Foundation"))] usize,
4859 );
4860 #[repr(transparent)]
4861 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4862 pub struct ITfFnConfigure(::windows::runtime::IUnknown);
4863 impl ITfFnConfigure {
4864     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4865     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4866         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4867         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4868     }
4869     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>4870     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
4871         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(langid), ::std::mem::transmute(rguidprofile)).ok()
4872     }
4873 }
4874 unsafe impl ::windows::runtime::Interface for ITfFnConfigure {
4875     type Vtable = ITfFnConfigure_abi;
4876     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2297784262, 5975, 18936, [161, 178, 137, 35, 76, 30, 239, 249]);
4877 }
4878 impl ::std::convert::From<ITfFnConfigure> for ::windows::runtime::IUnknown {
from(value: ITfFnConfigure) -> Self4879     fn from(value: ITfFnConfigure) -> Self {
4880         unsafe { ::std::mem::transmute(value) }
4881     }
4882 }
4883 impl ::std::convert::From<&ITfFnConfigure> for ::windows::runtime::IUnknown {
from(value: &ITfFnConfigure) -> Self4884     fn from(value: &ITfFnConfigure) -> Self {
4885         ::std::convert::From::from(::std::clone::Clone::clone(value))
4886     }
4887 }
4888 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnConfigure {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4889     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4890         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4891     }
4892 }
4893 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnConfigure {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4894     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4895         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4896     }
4897 }
4898 impl ::std::convert::From<ITfFnConfigure> for ITfFunction {
from(value: ITfFnConfigure) -> Self4899     fn from(value: ITfFnConfigure) -> Self {
4900         unsafe { ::std::mem::transmute(value) }
4901     }
4902 }
4903 impl ::std::convert::From<&ITfFnConfigure> for ITfFunction {
from(value: &ITfFnConfigure) -> Self4904     fn from(value: &ITfFnConfigure) -> Self {
4905         ::std::convert::From::from(::std::clone::Clone::clone(value))
4906     }
4907 }
4908 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnConfigure {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4909     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4910         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
4911     }
4912 }
4913 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnConfigure {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4914     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4915         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
4916     }
4917 }
4918 #[repr(C)]
4919 #[doc(hidden)]
4920 pub struct ITfFnConfigure_abi(
4921     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4922     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4923     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4924     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4925     #[cfg(not(feature = "Win32_Foundation"))] usize,
4926     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4927     #[cfg(not(feature = "Win32_Foundation"))] usize,
4928 );
4929 #[repr(transparent)]
4930 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4931 pub struct ITfFnConfigureRegisterEudc(::windows::runtime::IUnknown);
4932 impl ITfFnConfigureRegisterEudc {
4933     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4934     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4935         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4936         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4937     }
4938     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: Param3) -> ::windows::runtime::Result<()>4939     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: Param3) -> ::windows::runtime::Result<()> {
4940         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(langid), ::std::mem::transmute(rguidprofile), bstrregistered.into_param().abi()).ok()
4941     }
4942 }
4943 unsafe impl ::windows::runtime::Interface for ITfFnConfigureRegisterEudc {
4944     type Vtable = ITfFnConfigureRegisterEudc_abi;
4945     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3051515893, 55213, 17156, [145, 63, 33, 162, 237, 149, 161, 176]);
4946 }
4947 impl ::std::convert::From<ITfFnConfigureRegisterEudc> for ::windows::runtime::IUnknown {
from(value: ITfFnConfigureRegisterEudc) -> Self4948     fn from(value: ITfFnConfigureRegisterEudc) -> Self {
4949         unsafe { ::std::mem::transmute(value) }
4950     }
4951 }
4952 impl ::std::convert::From<&ITfFnConfigureRegisterEudc> for ::windows::runtime::IUnknown {
from(value: &ITfFnConfigureRegisterEudc) -> Self4953     fn from(value: &ITfFnConfigureRegisterEudc) -> Self {
4954         ::std::convert::From::from(::std::clone::Clone::clone(value))
4955     }
4956 }
4957 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnConfigureRegisterEudc {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4958     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4959         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4960     }
4961 }
4962 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnConfigureRegisterEudc {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4963     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4964         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4965     }
4966 }
4967 impl ::std::convert::From<ITfFnConfigureRegisterEudc> for ITfFunction {
from(value: ITfFnConfigureRegisterEudc) -> Self4968     fn from(value: ITfFnConfigureRegisterEudc) -> Self {
4969         unsafe { ::std::mem::transmute(value) }
4970     }
4971 }
4972 impl ::std::convert::From<&ITfFnConfigureRegisterEudc> for ITfFunction {
from(value: &ITfFnConfigureRegisterEudc) -> Self4973     fn from(value: &ITfFnConfigureRegisterEudc) -> Self {
4974         ::std::convert::From::from(::std::clone::Clone::clone(value))
4975     }
4976 }
4977 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnConfigureRegisterEudc {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4978     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4979         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
4980     }
4981 }
4982 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnConfigureRegisterEudc {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>4983     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
4984         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
4985     }
4986 }
4987 #[repr(C)]
4988 #[doc(hidden)]
4989 pub struct ITfFnConfigureRegisterEudc_abi(
4990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4993     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4994     #[cfg(not(feature = "Win32_Foundation"))] usize,
4995     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4996     #[cfg(not(feature = "Win32_Foundation"))] usize,
4997 );
4998 #[repr(transparent)]
4999 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5000 pub struct ITfFnConfigureRegisterWord(::windows::runtime::IUnknown);
5001 impl ITfFnConfigureRegisterWord {
5002     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5003     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5004         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5005         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5006     }
5007     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: Param3) -> ::windows::runtime::Result<()>5008     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, hwndparent: Param0, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: Param3) -> ::windows::runtime::Result<()> {
5009         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(langid), ::std::mem::transmute(rguidprofile), bstrregistered.into_param().abi()).ok()
5010     }
5011 }
5012 unsafe impl ::windows::runtime::Interface for ITfFnConfigureRegisterWord {
5013     type Vtable = ITfFnConfigureRegisterWord_abi;
5014     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3147137162, 28047, 19402, [132, 0, 83, 144, 181, 134, 174, 223]);
5015 }
5016 impl ::std::convert::From<ITfFnConfigureRegisterWord> for ::windows::runtime::IUnknown {
from(value: ITfFnConfigureRegisterWord) -> Self5017     fn from(value: ITfFnConfigureRegisterWord) -> Self {
5018         unsafe { ::std::mem::transmute(value) }
5019     }
5020 }
5021 impl ::std::convert::From<&ITfFnConfigureRegisterWord> for ::windows::runtime::IUnknown {
from(value: &ITfFnConfigureRegisterWord) -> Self5022     fn from(value: &ITfFnConfigureRegisterWord) -> Self {
5023         ::std::convert::From::from(::std::clone::Clone::clone(value))
5024     }
5025 }
5026 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnConfigureRegisterWord {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5027     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5028         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5029     }
5030 }
5031 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnConfigureRegisterWord {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5032     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5033         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5034     }
5035 }
5036 impl ::std::convert::From<ITfFnConfigureRegisterWord> for ITfFunction {
from(value: ITfFnConfigureRegisterWord) -> Self5037     fn from(value: ITfFnConfigureRegisterWord) -> Self {
5038         unsafe { ::std::mem::transmute(value) }
5039     }
5040 }
5041 impl ::std::convert::From<&ITfFnConfigureRegisterWord> for ITfFunction {
from(value: &ITfFnConfigureRegisterWord) -> Self5042     fn from(value: &ITfFnConfigureRegisterWord) -> Self {
5043         ::std::convert::From::from(::std::clone::Clone::clone(value))
5044     }
5045 }
5046 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnConfigureRegisterWord {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5047     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5048         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5049     }
5050 }
5051 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnConfigureRegisterWord {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5052     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5053         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5054     }
5055 }
5056 #[repr(C)]
5057 #[doc(hidden)]
5058 pub struct ITfFnConfigureRegisterWord_abi(
5059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5062     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5063     #[cfg(not(feature = "Win32_Foundation"))] usize,
5064     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, langid: u16, rguidprofile: *const ::windows::runtime::GUID, bstrregistered: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5065     #[cfg(not(feature = "Win32_Foundation"))] usize,
5066 );
5067 #[repr(transparent)]
5068 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5069 pub struct ITfFnCustomSpeechCommand(::windows::runtime::IUnknown);
5070 impl ITfFnCustomSpeechCommand {
5071     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5072     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5073         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5074         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5075     }
SetSpeechCommandProvider<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pspcmdprovider: Param0) -> ::windows::runtime::Result<()>5076     pub unsafe fn SetSpeechCommandProvider<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pspcmdprovider: Param0) -> ::windows::runtime::Result<()> {
5077         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pspcmdprovider.into_param().abi()).ok()
5078     }
5079 }
5080 unsafe impl ::windows::runtime::Interface for ITfFnCustomSpeechCommand {
5081     type Vtable = ITfFnCustomSpeechCommand_abi;
5082     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4238787401, 41263, 17315, [141, 214, 90, 90, 66, 130, 87, 123]);
5083 }
5084 impl ::std::convert::From<ITfFnCustomSpeechCommand> for ::windows::runtime::IUnknown {
from(value: ITfFnCustomSpeechCommand) -> Self5085     fn from(value: ITfFnCustomSpeechCommand) -> Self {
5086         unsafe { ::std::mem::transmute(value) }
5087     }
5088 }
5089 impl ::std::convert::From<&ITfFnCustomSpeechCommand> for ::windows::runtime::IUnknown {
from(value: &ITfFnCustomSpeechCommand) -> Self5090     fn from(value: &ITfFnCustomSpeechCommand) -> Self {
5091         ::std::convert::From::from(::std::clone::Clone::clone(value))
5092     }
5093 }
5094 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnCustomSpeechCommand {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5095     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5096         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5097     }
5098 }
5099 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnCustomSpeechCommand {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5100     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5101         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5102     }
5103 }
5104 impl ::std::convert::From<ITfFnCustomSpeechCommand> for ITfFunction {
from(value: ITfFnCustomSpeechCommand) -> Self5105     fn from(value: ITfFnCustomSpeechCommand) -> Self {
5106         unsafe { ::std::mem::transmute(value) }
5107     }
5108 }
5109 impl ::std::convert::From<&ITfFnCustomSpeechCommand> for ITfFunction {
from(value: &ITfFnCustomSpeechCommand) -> Self5110     fn from(value: &ITfFnCustomSpeechCommand) -> Self {
5111         ::std::convert::From::from(::std::clone::Clone::clone(value))
5112     }
5113 }
5114 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnCustomSpeechCommand {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5115     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5116         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5117     }
5118 }
5119 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnCustomSpeechCommand {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5120     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5121         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5122     }
5123 }
5124 #[repr(C)]
5125 #[doc(hidden)]
5126 pub struct ITfFnCustomSpeechCommand_abi(
5127     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5129     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5130     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5131     #[cfg(not(feature = "Win32_Foundation"))] usize,
5132     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pspcmdprovider: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5133 );
5134 #[repr(transparent)]
5135 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5136 pub struct ITfFnGetLinguisticAlternates(::windows::runtime::IUnknown);
5137 impl ITfFnGetLinguisticAlternates {
5138     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5139     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5140         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5141         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5142     }
GetAlternates<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList>5143     pub unsafe fn GetAlternates<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList> {
5144         let mut result__: <ITfCandidateList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5145         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<ITfCandidateList>(result__)
5146     }
5147 }
5148 unsafe impl ::windows::runtime::Interface for ITfFnGetLinguisticAlternates {
5149     type Vtable = ITfFnGetLinguisticAlternates_abi;
5150     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927325922, 31333, 17670, [130, 163, 197, 40, 33, 93, 166, 78]);
5151 }
5152 impl ::std::convert::From<ITfFnGetLinguisticAlternates> for ::windows::runtime::IUnknown {
from(value: ITfFnGetLinguisticAlternates) -> Self5153     fn from(value: ITfFnGetLinguisticAlternates) -> Self {
5154         unsafe { ::std::mem::transmute(value) }
5155     }
5156 }
5157 impl ::std::convert::From<&ITfFnGetLinguisticAlternates> for ::windows::runtime::IUnknown {
from(value: &ITfFnGetLinguisticAlternates) -> Self5158     fn from(value: &ITfFnGetLinguisticAlternates) -> Self {
5159         ::std::convert::From::from(::std::clone::Clone::clone(value))
5160     }
5161 }
5162 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnGetLinguisticAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5163     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5164         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5165     }
5166 }
5167 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnGetLinguisticAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5168     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5169         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5170     }
5171 }
5172 impl ::std::convert::From<ITfFnGetLinguisticAlternates> for ITfFunction {
from(value: ITfFnGetLinguisticAlternates) -> Self5173     fn from(value: ITfFnGetLinguisticAlternates) -> Self {
5174         unsafe { ::std::mem::transmute(value) }
5175     }
5176 }
5177 impl ::std::convert::From<&ITfFnGetLinguisticAlternates> for ITfFunction {
from(value: &ITfFnGetLinguisticAlternates) -> Self5178     fn from(value: &ITfFnGetLinguisticAlternates) -> Self {
5179         ::std::convert::From::from(::std::clone::Clone::clone(value))
5180     }
5181 }
5182 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnGetLinguisticAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5183     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5184         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5185     }
5186 }
5187 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnGetLinguisticAlternates {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5188     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5189         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5190     }
5191 }
5192 #[repr(C)]
5193 #[doc(hidden)]
5194 pub struct ITfFnGetLinguisticAlternates_abi(
5195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5198     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5199     #[cfg(not(feature = "Win32_Foundation"))] usize,
5200     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppcandidatelist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5201 );
5202 #[repr(transparent)]
5203 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5204 pub struct ITfFnGetPreferredTouchKeyboardLayout(::windows::runtime::IUnknown);
5205 impl ITfFnGetPreferredTouchKeyboardLayout {
5206     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5207     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5208         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5209         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5210     }
GetLayout(&self, ptkblayouttype: *mut TKBLayoutType, pwpreferredlayoutid: *const u16) -> ::windows::runtime::Result<()>5211     pub unsafe fn GetLayout(&self, ptkblayouttype: *mut TKBLayoutType, pwpreferredlayoutid: *const u16) -> ::windows::runtime::Result<()> {
5212         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ptkblayouttype), ::std::mem::transmute(pwpreferredlayoutid)).ok()
5213     }
5214 }
5215 unsafe impl ::windows::runtime::Interface for ITfFnGetPreferredTouchKeyboardLayout {
5216     type Vtable = ITfFnGetPreferredTouchKeyboardLayout_abi;
5217     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1597020737, 22794, 19148, [169, 127, 216, 239, 255, 19, 253, 252]);
5218 }
5219 impl ::std::convert::From<ITfFnGetPreferredTouchKeyboardLayout> for ::windows::runtime::IUnknown {
from(value: ITfFnGetPreferredTouchKeyboardLayout) -> Self5220     fn from(value: ITfFnGetPreferredTouchKeyboardLayout) -> Self {
5221         unsafe { ::std::mem::transmute(value) }
5222     }
5223 }
5224 impl ::std::convert::From<&ITfFnGetPreferredTouchKeyboardLayout> for ::windows::runtime::IUnknown {
from(value: &ITfFnGetPreferredTouchKeyboardLayout) -> Self5225     fn from(value: &ITfFnGetPreferredTouchKeyboardLayout) -> Self {
5226         ::std::convert::From::from(::std::clone::Clone::clone(value))
5227     }
5228 }
5229 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnGetPreferredTouchKeyboardLayout {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5230     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5231         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5232     }
5233 }
5234 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnGetPreferredTouchKeyboardLayout {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5235     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5236         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5237     }
5238 }
5239 impl ::std::convert::From<ITfFnGetPreferredTouchKeyboardLayout> for ITfFunction {
from(value: ITfFnGetPreferredTouchKeyboardLayout) -> Self5240     fn from(value: ITfFnGetPreferredTouchKeyboardLayout) -> Self {
5241         unsafe { ::std::mem::transmute(value) }
5242     }
5243 }
5244 impl ::std::convert::From<&ITfFnGetPreferredTouchKeyboardLayout> for ITfFunction {
from(value: &ITfFnGetPreferredTouchKeyboardLayout) -> Self5245     fn from(value: &ITfFnGetPreferredTouchKeyboardLayout) -> Self {
5246         ::std::convert::From::from(::std::clone::Clone::clone(value))
5247     }
5248 }
5249 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnGetPreferredTouchKeyboardLayout {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5250     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5251         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5252     }
5253 }
5254 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnGetPreferredTouchKeyboardLayout {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5255     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5256         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5257     }
5258 }
5259 #[repr(C)]
5260 #[doc(hidden)]
5261 pub struct ITfFnGetPreferredTouchKeyboardLayout_abi(
5262     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5263     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5264     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5265     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5266     #[cfg(not(feature = "Win32_Foundation"))] usize,
5267     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptkblayouttype: *mut TKBLayoutType, pwpreferredlayoutid: *const u16) -> ::windows::runtime::HRESULT,
5268 );
5269 #[repr(transparent)]
5270 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5271 pub struct ITfFnGetSAPIObject(::windows::runtime::IUnknown);
5272 impl ITfFnGetSAPIObject {
5273     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5274     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5275         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5276         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5277     }
Get(&self, sobj: TfSapiObject) -> ::windows::runtime::Result<::windows::runtime::IUnknown>5278     pub unsafe fn Get(&self, sobj: TfSapiObject) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
5279         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5280         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(sobj), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
5281     }
5282 }
5283 unsafe impl ::windows::runtime::Interface for ITfFnGetSAPIObject {
5284     type Vtable = ITfFnGetSAPIObject_abi;
5285     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1544206314, 5757, 20313, [191, 181, 70, 147, 117, 94, 144, 202]);
5286 }
5287 impl ::std::convert::From<ITfFnGetSAPIObject> for ::windows::runtime::IUnknown {
from(value: ITfFnGetSAPIObject) -> Self5288     fn from(value: ITfFnGetSAPIObject) -> Self {
5289         unsafe { ::std::mem::transmute(value) }
5290     }
5291 }
5292 impl ::std::convert::From<&ITfFnGetSAPIObject> for ::windows::runtime::IUnknown {
from(value: &ITfFnGetSAPIObject) -> Self5293     fn from(value: &ITfFnGetSAPIObject) -> Self {
5294         ::std::convert::From::from(::std::clone::Clone::clone(value))
5295     }
5296 }
5297 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnGetSAPIObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5298     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5299         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5300     }
5301 }
5302 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnGetSAPIObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5303     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5304         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5305     }
5306 }
5307 impl ::std::convert::From<ITfFnGetSAPIObject> for ITfFunction {
from(value: ITfFnGetSAPIObject) -> Self5308     fn from(value: ITfFnGetSAPIObject) -> Self {
5309         unsafe { ::std::mem::transmute(value) }
5310     }
5311 }
5312 impl ::std::convert::From<&ITfFnGetSAPIObject> for ITfFunction {
from(value: &ITfFnGetSAPIObject) -> Self5313     fn from(value: &ITfFnGetSAPIObject) -> Self {
5314         ::std::convert::From::from(::std::clone::Clone::clone(value))
5315     }
5316 }
5317 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnGetSAPIObject {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5318     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5319         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5320     }
5321 }
5322 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnGetSAPIObject {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5323     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5324         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5325     }
5326 }
5327 #[repr(C)]
5328 #[doc(hidden)]
5329 pub struct ITfFnGetSAPIObject_abi(
5330     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5331     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5332     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5333     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5334     #[cfg(not(feature = "Win32_Foundation"))] usize,
5335     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, sobj: TfSapiObject, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5336 );
5337 #[repr(transparent)]
5338 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5339 pub struct ITfFnLMInternal(::windows::runtime::IUnknown);
5340 impl ITfFnLMInternal {
5341     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5342     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5343         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5344         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5345     }
5346     #[cfg(feature = "Win32_Foundation")]
QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>5347     pub unsafe fn QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
5348         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(ppnewrange), ::std::mem::transmute(pfaccepted)).ok()
5349     }
5350     #[cfg(feature = "Win32_Foundation")]
QueryLangID(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5351     pub unsafe fn QueryLangID(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5352         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5353         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5354     }
GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList>5355     pub unsafe fn GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList> {
5356         let mut result__: <ITfCandidateList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5357         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<ITfCandidateList>(result__)
5358     }
Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5359     pub unsafe fn Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5360         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5361     }
5362     #[cfg(feature = "Win32_Foundation")]
QueryKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5363     pub unsafe fn QueryKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5364         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5365         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), fup.into_param().abi(), vkey.into_param().abi(), lparamkeydata.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5366     }
5367     #[cfg(feature = "Win32_Foundation")]
InvokeKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<()>5368     pub unsafe fn InvokeKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<()> {
5369         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fup.into_param().abi(), vkey.into_param().abi(), lparamkeydata.into_param().abi()).ok()
5370     }
InvokeFunc<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>5371     pub unsafe fn InvokeFunc<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
5372         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(refguidfunc)).ok()
5373     }
ProcessLattice<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5374     pub unsafe fn ProcessLattice<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5375         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5376     }
5377 }
5378 unsafe impl ::windows::runtime::Interface for ITfFnLMInternal {
5379     type Vtable = ITfFnLMInternal_abi;
5380     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(79177137, 44186, 20347, [181, 173, 199, 22, 143, 30, 228, 69]);
5381 }
5382 impl ::std::convert::From<ITfFnLMInternal> for ::windows::runtime::IUnknown {
from(value: ITfFnLMInternal) -> Self5383     fn from(value: ITfFnLMInternal) -> Self {
5384         unsafe { ::std::mem::transmute(value) }
5385     }
5386 }
5387 impl ::std::convert::From<&ITfFnLMInternal> for ::windows::runtime::IUnknown {
from(value: &ITfFnLMInternal) -> Self5388     fn from(value: &ITfFnLMInternal) -> Self {
5389         ::std::convert::From::from(::std::clone::Clone::clone(value))
5390     }
5391 }
5392 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5393     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5394         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5395     }
5396 }
5397 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5398     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5399         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5400     }
5401 }
5402 impl ::std::convert::From<ITfFnLMInternal> for ITfFnLMProcessor {
from(value: ITfFnLMInternal) -> Self5403     fn from(value: ITfFnLMInternal) -> Self {
5404         unsafe { ::std::mem::transmute(value) }
5405     }
5406 }
5407 impl ::std::convert::From<&ITfFnLMInternal> for ITfFnLMProcessor {
from(value: &ITfFnLMInternal) -> Self5408     fn from(value: &ITfFnLMInternal) -> Self {
5409         ::std::convert::From::from(::std::clone::Clone::clone(value))
5410     }
5411 }
5412 impl<'a> ::windows::runtime::IntoParam<'a, ITfFnLMProcessor> for ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ITfFnLMProcessor>5413     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFnLMProcessor> {
5414         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFnLMProcessor>::into(self))
5415     }
5416 }
5417 impl<'a> ::windows::runtime::IntoParam<'a, ITfFnLMProcessor> for &ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ITfFnLMProcessor>5418     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFnLMProcessor> {
5419         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFnLMProcessor>::into(::std::clone::Clone::clone(self)))
5420     }
5421 }
5422 impl ::std::convert::From<ITfFnLMInternal> for ITfFunction {
from(value: ITfFnLMInternal) -> Self5423     fn from(value: ITfFnLMInternal) -> Self {
5424         unsafe { ::std::mem::transmute(value) }
5425     }
5426 }
5427 impl ::std::convert::From<&ITfFnLMInternal> for ITfFunction {
from(value: &ITfFnLMInternal) -> Self5428     fn from(value: &ITfFnLMInternal) -> Self {
5429         ::std::convert::From::from(::std::clone::Clone::clone(value))
5430     }
5431 }
5432 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5433     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5434         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5435     }
5436 }
5437 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnLMInternal {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5438     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5439         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5440     }
5441 }
5442 #[repr(C)]
5443 #[doc(hidden)]
5444 pub struct ITfFnLMInternal_abi(
5445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5447     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5448     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5449     #[cfg(not(feature = "Win32_Foundation"))] usize,
5450     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppnewrange: *mut ::windows::runtime::RawPtr, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5451     #[cfg(not(feature = "Win32_Foundation"))] usize,
5452     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5453     #[cfg(not(feature = "Win32_Foundation"))] usize,
5454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppcandlist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5456     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fup: super::super::Foundation::BOOL, vkey: super::super::Foundation::WPARAM, lparamkeydata: super::super::Foundation::LPARAM, pfinterested: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5457     #[cfg(not(feature = "Win32_Foundation"))] usize,
5458     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fup: super::super::Foundation::BOOL, vkey: super::super::Foundation::WPARAM, lparamkeydata: super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
5459     #[cfg(not(feature = "Win32_Foundation"))] usize,
5460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5462 );
5463 #[repr(transparent)]
5464 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5465 pub struct ITfFnLMProcessor(::windows::runtime::IUnknown);
5466 impl ITfFnLMProcessor {
5467     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5468     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5469         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5470         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5471     }
5472     #[cfg(feature = "Win32_Foundation")]
QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>5473     pub unsafe fn QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
5474         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(ppnewrange), ::std::mem::transmute(pfaccepted)).ok()
5475     }
5476     #[cfg(feature = "Win32_Foundation")]
QueryLangID(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5477     pub unsafe fn QueryLangID(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5478         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5479         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5480     }
GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList>5481     pub unsafe fn GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList> {
5482         let mut result__: <ITfCandidateList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5483         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<ITfCandidateList>(result__)
5484     }
Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5485     pub unsafe fn Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5486         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5487     }
5488     #[cfg(feature = "Win32_Foundation")]
QueryKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5489     pub unsafe fn QueryKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5490         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5491         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), fup.into_param().abi(), vkey.into_param().abi(), lparamkeydata.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5492     }
5493     #[cfg(feature = "Win32_Foundation")]
InvokeKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<()>5494     pub unsafe fn InvokeKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, fup: Param0, vkey: Param1, lparamkeydata: Param2) -> ::windows::runtime::Result<()> {
5495         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fup.into_param().abi(), vkey.into_param().abi(), lparamkeydata.into_param().abi()).ok()
5496     }
InvokeFunc<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>5497     pub unsafe fn InvokeFunc<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
5498         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(refguidfunc)).ok()
5499     }
5500 }
5501 unsafe impl ::windows::runtime::Interface for ITfFnLMProcessor {
5502     type Vtable = ITfFnLMProcessor_abi;
5503     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2063333607, 44107, 16514, [176, 88, 137, 8, 153, 211, 160, 16]);
5504 }
5505 impl ::std::convert::From<ITfFnLMProcessor> for ::windows::runtime::IUnknown {
from(value: ITfFnLMProcessor) -> Self5506     fn from(value: ITfFnLMProcessor) -> Self {
5507         unsafe { ::std::mem::transmute(value) }
5508     }
5509 }
5510 impl ::std::convert::From<&ITfFnLMProcessor> for ::windows::runtime::IUnknown {
from(value: &ITfFnLMProcessor) -> Self5511     fn from(value: &ITfFnLMProcessor) -> Self {
5512         ::std::convert::From::from(::std::clone::Clone::clone(value))
5513     }
5514 }
5515 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnLMProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5516     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5517         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5518     }
5519 }
5520 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnLMProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5521     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5522         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5523     }
5524 }
5525 impl ::std::convert::From<ITfFnLMProcessor> for ITfFunction {
from(value: ITfFnLMProcessor) -> Self5526     fn from(value: ITfFnLMProcessor) -> Self {
5527         unsafe { ::std::mem::transmute(value) }
5528     }
5529 }
5530 impl ::std::convert::From<&ITfFnLMProcessor> for ITfFunction {
from(value: &ITfFnLMProcessor) -> Self5531     fn from(value: &ITfFnLMProcessor) -> Self {
5532         ::std::convert::From::from(::std::clone::Clone::clone(value))
5533     }
5534 }
5535 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnLMProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5536     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5537         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5538     }
5539 }
5540 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnLMProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5541     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5542         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5543     }
5544 }
5545 #[repr(C)]
5546 #[doc(hidden)]
5547 pub struct ITfFnLMProcessor_abi(
5548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5551     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5552     #[cfg(not(feature = "Win32_Foundation"))] usize,
5553     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppnewrange: *mut ::windows::runtime::RawPtr, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5554     #[cfg(not(feature = "Win32_Foundation"))] usize,
5555     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, pfaccepted: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5556     #[cfg(not(feature = "Win32_Foundation"))] usize,
5557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppcandlist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fup: super::super::Foundation::BOOL, vkey: super::super::Foundation::WPARAM, lparamkeydata: super::super::Foundation::LPARAM, pfinterested: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5560     #[cfg(not(feature = "Win32_Foundation"))] usize,
5561     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fup: super::super::Foundation::BOOL, vkey: super::super::Foundation::WPARAM, lparamkeydata: super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
5562     #[cfg(not(feature = "Win32_Foundation"))] usize,
5563     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, refguidfunc: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5564 );
5565 #[repr(transparent)]
5566 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5567 pub struct ITfFnLangProfileUtil(::windows::runtime::IUnknown);
5568 impl ITfFnLangProfileUtil {
5569     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5570     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5571         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5572         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5573     }
RegisterActiveProfiles(&self) -> ::windows::runtime::Result<()>5574     pub unsafe fn RegisterActiveProfiles(&self) -> ::windows::runtime::Result<()> {
5575         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5576     }
5577     #[cfg(feature = "Win32_Foundation")]
IsProfileAvailableForLang(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5578     pub unsafe fn IsProfileAvailableForLang(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5579         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5580         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5581     }
5582 }
5583 unsafe impl ::windows::runtime::Interface for ITfFnLangProfileUtil {
5584     type Vtable = ITfFnLangProfileUtil_abi;
5585     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2826601844, 42689, 19989, [153, 240, 61, 57, 101, 245, 72, 235]);
5586 }
5587 impl ::std::convert::From<ITfFnLangProfileUtil> for ::windows::runtime::IUnknown {
from(value: ITfFnLangProfileUtil) -> Self5588     fn from(value: ITfFnLangProfileUtil) -> Self {
5589         unsafe { ::std::mem::transmute(value) }
5590     }
5591 }
5592 impl ::std::convert::From<&ITfFnLangProfileUtil> for ::windows::runtime::IUnknown {
from(value: &ITfFnLangProfileUtil) -> Self5593     fn from(value: &ITfFnLangProfileUtil) -> Self {
5594         ::std::convert::From::from(::std::clone::Clone::clone(value))
5595     }
5596 }
5597 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnLangProfileUtil {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5598     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5599         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5600     }
5601 }
5602 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnLangProfileUtil {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5603     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5604         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5605     }
5606 }
5607 impl ::std::convert::From<ITfFnLangProfileUtil> for ITfFunction {
from(value: ITfFnLangProfileUtil) -> Self5608     fn from(value: ITfFnLangProfileUtil) -> Self {
5609         unsafe { ::std::mem::transmute(value) }
5610     }
5611 }
5612 impl ::std::convert::From<&ITfFnLangProfileUtil> for ITfFunction {
from(value: &ITfFnLangProfileUtil) -> Self5613     fn from(value: &ITfFnLangProfileUtil) -> Self {
5614         ::std::convert::From::from(::std::clone::Clone::clone(value))
5615     }
5616 }
5617 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnLangProfileUtil {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5618     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5619         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5620     }
5621 }
5622 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnLangProfileUtil {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5623     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5624         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5625     }
5626 }
5627 #[repr(C)]
5628 #[doc(hidden)]
5629 pub struct ITfFnLangProfileUtil_abi(
5630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5631     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5632     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5633     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5634     #[cfg(not(feature = "Win32_Foundation"))] usize,
5635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5636     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, pfavailable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5637     #[cfg(not(feature = "Win32_Foundation"))] usize,
5638 );
5639 #[repr(transparent)]
5640 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5641 pub struct ITfFnPlayBack(::windows::runtime::IUnknown);
5642 impl ITfFnPlayBack {
5643     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5644     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5645         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5646         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5647     }
5648     #[cfg(feature = "Win32_Foundation")]
QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfplayable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>5649     pub unsafe fn QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfplayable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
5650         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(ppnewrange), ::std::mem::transmute(pfplayable)).ok()
5651     }
Play<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5652     pub unsafe fn Play<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5653         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5654     }
5655 }
5656 unsafe impl ::windows::runtime::Interface for ITfFnPlayBack {
5657     type Vtable = ITfFnPlayBack_abi;
5658     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2745439908, 3940, 4563, [181, 183, 0, 192, 79, 195, 36, 161]);
5659 }
5660 impl ::std::convert::From<ITfFnPlayBack> for ::windows::runtime::IUnknown {
from(value: ITfFnPlayBack) -> Self5661     fn from(value: ITfFnPlayBack) -> Self {
5662         unsafe { ::std::mem::transmute(value) }
5663     }
5664 }
5665 impl ::std::convert::From<&ITfFnPlayBack> for ::windows::runtime::IUnknown {
from(value: &ITfFnPlayBack) -> Self5666     fn from(value: &ITfFnPlayBack) -> Self {
5667         ::std::convert::From::from(::std::clone::Clone::clone(value))
5668     }
5669 }
5670 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnPlayBack {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5671     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5672         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5673     }
5674 }
5675 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnPlayBack {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5676     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5677         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5678     }
5679 }
5680 impl ::std::convert::From<ITfFnPlayBack> for ITfFunction {
from(value: ITfFnPlayBack) -> Self5681     fn from(value: ITfFnPlayBack) -> Self {
5682         unsafe { ::std::mem::transmute(value) }
5683     }
5684 }
5685 impl ::std::convert::From<&ITfFnPlayBack> for ITfFunction {
from(value: &ITfFnPlayBack) -> Self5686     fn from(value: &ITfFnPlayBack) -> Self {
5687         ::std::convert::From::from(::std::clone::Clone::clone(value))
5688     }
5689 }
5690 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnPlayBack {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5691     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5692         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5693     }
5694 }
5695 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnPlayBack {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5696     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5697         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5698     }
5699 }
5700 #[repr(C)]
5701 #[doc(hidden)]
5702 pub struct ITfFnPlayBack_abi(
5703     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5704     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5705     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5706     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5707     #[cfg(not(feature = "Win32_Foundation"))] usize,
5708     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppnewrange: *mut ::windows::runtime::RawPtr, pfplayable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5709     #[cfg(not(feature = "Win32_Foundation"))] usize,
5710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5711 );
5712 #[repr(transparent)]
5713 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5714 pub struct ITfFnPropertyUIStatus(::windows::runtime::IUnknown);
5715 impl ITfFnPropertyUIStatus {
5716     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5717     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5718         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5719         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5720     }
GetStatus(&self, refguidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32>5721     pub unsafe fn GetStatus(&self, refguidprop: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<u32> {
5722         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5723         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(refguidprop), &mut result__).from_abi::<u32>(result__)
5724     }
SetStatus(&self, refguidprop: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::Result<()>5725     pub unsafe fn SetStatus(&self, refguidprop: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::Result<()> {
5726         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(refguidprop), ::std::mem::transmute(dw)).ok()
5727     }
5728 }
5729 unsafe impl ::windows::runtime::Interface for ITfFnPropertyUIStatus {
5730     type Vtable = ITfFnPropertyUIStatus_abi;
5731     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(590916718, 11165, 17600, [167, 94, 238, 100, 242, 86, 179, 189]);
5732 }
5733 impl ::std::convert::From<ITfFnPropertyUIStatus> for ::windows::runtime::IUnknown {
from(value: ITfFnPropertyUIStatus) -> Self5734     fn from(value: ITfFnPropertyUIStatus) -> Self {
5735         unsafe { ::std::mem::transmute(value) }
5736     }
5737 }
5738 impl ::std::convert::From<&ITfFnPropertyUIStatus> for ::windows::runtime::IUnknown {
from(value: &ITfFnPropertyUIStatus) -> Self5739     fn from(value: &ITfFnPropertyUIStatus) -> Self {
5740         ::std::convert::From::from(::std::clone::Clone::clone(value))
5741     }
5742 }
5743 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnPropertyUIStatus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5744     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5745         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5746     }
5747 }
5748 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnPropertyUIStatus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5749     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5750         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5751     }
5752 }
5753 impl ::std::convert::From<ITfFnPropertyUIStatus> for ITfFunction {
from(value: ITfFnPropertyUIStatus) -> Self5754     fn from(value: ITfFnPropertyUIStatus) -> Self {
5755         unsafe { ::std::mem::transmute(value) }
5756     }
5757 }
5758 impl ::std::convert::From<&ITfFnPropertyUIStatus> for ITfFunction {
from(value: &ITfFnPropertyUIStatus) -> Self5759     fn from(value: &ITfFnPropertyUIStatus) -> Self {
5760         ::std::convert::From::from(::std::clone::Clone::clone(value))
5761     }
5762 }
5763 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnPropertyUIStatus {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5764     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5765         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5766     }
5767 }
5768 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnPropertyUIStatus {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5769     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5770         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5771     }
5772 }
5773 #[repr(C)]
5774 #[doc(hidden)]
5775 pub struct ITfFnPropertyUIStatus_abi(
5776     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5779     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5780     #[cfg(not(feature = "Win32_Foundation"))] usize,
5781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, refguidprop: *const ::windows::runtime::GUID, pdw: *mut u32) -> ::windows::runtime::HRESULT,
5782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, refguidprop: *const ::windows::runtime::GUID, dw: u32) -> ::windows::runtime::HRESULT,
5783 );
5784 #[repr(transparent)]
5785 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5786 pub struct ITfFnReconversion(::windows::runtime::IUnknown);
5787 impl ITfFnReconversion {
5788     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5789     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5790         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5791         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5792     }
5793     #[cfg(feature = "Win32_Foundation")]
QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfconvertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>5794     pub unsafe fn QueryRange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0, ppnewrange: *mut ::std::option::Option<ITfRange>, pfconvertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
5795         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), prange.into_param().abi(), ::std::mem::transmute(ppnewrange), ::std::mem::transmute(pfconvertable)).ok()
5796     }
GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList>5797     pub unsafe fn GetReconversion<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<ITfCandidateList> {
5798         let mut result__: <ITfCandidateList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5799         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), prange.into_param().abi(), &mut result__).from_abi::<ITfCandidateList>(result__)
5800     }
Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()>5801     pub unsafe fn Reconvert<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prange: Param0) -> ::windows::runtime::Result<()> {
5802         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), prange.into_param().abi()).ok()
5803     }
5804 }
5805 unsafe impl ::windows::runtime::Interface for ITfFnReconversion {
5806     type Vtable = ITfFnReconversion_abi;
5807     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1290441664, 2648, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
5808 }
5809 impl ::std::convert::From<ITfFnReconversion> for ::windows::runtime::IUnknown {
from(value: ITfFnReconversion) -> Self5810     fn from(value: ITfFnReconversion) -> Self {
5811         unsafe { ::std::mem::transmute(value) }
5812     }
5813 }
5814 impl ::std::convert::From<&ITfFnReconversion> for ::windows::runtime::IUnknown {
from(value: &ITfFnReconversion) -> Self5815     fn from(value: &ITfFnReconversion) -> Self {
5816         ::std::convert::From::from(::std::clone::Clone::clone(value))
5817     }
5818 }
5819 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnReconversion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5820     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5821         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5822     }
5823 }
5824 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnReconversion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5825     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5826         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5827     }
5828 }
5829 impl ::std::convert::From<ITfFnReconversion> for ITfFunction {
from(value: ITfFnReconversion) -> Self5830     fn from(value: ITfFnReconversion) -> Self {
5831         unsafe { ::std::mem::transmute(value) }
5832     }
5833 }
5834 impl ::std::convert::From<&ITfFnReconversion> for ITfFunction {
from(value: &ITfFnReconversion) -> Self5835     fn from(value: &ITfFnReconversion) -> Self {
5836         ::std::convert::From::from(::std::clone::Clone::clone(value))
5837     }
5838 }
5839 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnReconversion {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5840     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5841         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5842     }
5843 }
5844 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnReconversion {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5845     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5846         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5847     }
5848 }
5849 #[repr(C)]
5850 #[doc(hidden)]
5851 pub struct ITfFnReconversion_abi(
5852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5855     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5856     #[cfg(not(feature = "Win32_Foundation"))] usize,
5857     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppnewrange: *mut ::windows::runtime::RawPtr, pfconvertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5858     #[cfg(not(feature = "Win32_Foundation"))] usize,
5859     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr, ppcandlist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5860     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5861 );
5862 #[repr(transparent)]
5863 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5864 pub struct ITfFnSearchCandidateProvider(::windows::runtime::IUnknown);
5865 impl ITfFnSearchCandidateProvider {
5866     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5867     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5868         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5869         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5870     }
5871     #[cfg(feature = "Win32_Foundation")]
GetSearchCandidates<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrquery: Param0, bstrapplicationid: Param1) -> ::windows::runtime::Result<ITfCandidateList>5872     pub unsafe fn GetSearchCandidates<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrquery: Param0, bstrapplicationid: Param1) -> ::windows::runtime::Result<ITfCandidateList> {
5873         let mut result__: <ITfCandidateList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5874         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), bstrquery.into_param().abi(), bstrapplicationid.into_param().abi(), &mut result__).from_abi::<ITfCandidateList>(result__)
5875     }
5876     #[cfg(feature = "Win32_Foundation")]
SetResult<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrquery: Param0, bstrapplicationid: Param1, bstrresult: Param2) -> ::windows::runtime::Result<()>5877     pub unsafe fn SetResult<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrquery: Param0, bstrapplicationid: Param1, bstrresult: Param2) -> ::windows::runtime::Result<()> {
5878         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bstrquery.into_param().abi(), bstrapplicationid.into_param().abi(), bstrresult.into_param().abi()).ok()
5879     }
5880 }
5881 unsafe impl ::windows::runtime::Interface for ITfFnSearchCandidateProvider {
5882     type Vtable = ITfFnSearchCandidateProvider_abi;
5883     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2275585423, 62075, 18720, [133, 1, 103, 96, 34, 128, 23, 93]);
5884 }
5885 impl ::std::convert::From<ITfFnSearchCandidateProvider> for ::windows::runtime::IUnknown {
from(value: ITfFnSearchCandidateProvider) -> Self5886     fn from(value: ITfFnSearchCandidateProvider) -> Self {
5887         unsafe { ::std::mem::transmute(value) }
5888     }
5889 }
5890 impl ::std::convert::From<&ITfFnSearchCandidateProvider> for ::windows::runtime::IUnknown {
from(value: &ITfFnSearchCandidateProvider) -> Self5891     fn from(value: &ITfFnSearchCandidateProvider) -> Self {
5892         ::std::convert::From::from(::std::clone::Clone::clone(value))
5893     }
5894 }
5895 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnSearchCandidateProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5896     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5897         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5898     }
5899 }
5900 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnSearchCandidateProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5901     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5902         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5903     }
5904 }
5905 impl ::std::convert::From<ITfFnSearchCandidateProvider> for ITfFunction {
from(value: ITfFnSearchCandidateProvider) -> Self5906     fn from(value: ITfFnSearchCandidateProvider) -> Self {
5907         unsafe { ::std::mem::transmute(value) }
5908     }
5909 }
5910 impl ::std::convert::From<&ITfFnSearchCandidateProvider> for ITfFunction {
from(value: &ITfFnSearchCandidateProvider) -> Self5911     fn from(value: &ITfFnSearchCandidateProvider) -> Self {
5912         ::std::convert::From::from(::std::clone::Clone::clone(value))
5913     }
5914 }
5915 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnSearchCandidateProvider {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5916     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5917         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5918     }
5919 }
5920 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnSearchCandidateProvider {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5921     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5922         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5923     }
5924 }
5925 #[repr(C)]
5926 #[doc(hidden)]
5927 pub struct ITfFnSearchCandidateProvider_abi(
5928     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5929     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5930     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5931     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5932     #[cfg(not(feature = "Win32_Foundation"))] usize,
5933     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrapplicationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pplist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5934     #[cfg(not(feature = "Win32_Foundation"))] usize,
5935     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrapplicationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrresult: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5936     #[cfg(not(feature = "Win32_Foundation"))] usize,
5937 );
5938 #[repr(transparent)]
5939 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5940 pub struct ITfFnShowHelp(::windows::runtime::IUnknown);
5941 impl ITfFnShowHelp {
5942     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5943     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5944         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5945         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5946     }
5947     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0) -> ::windows::runtime::Result<()>5948     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndparent: Param0) -> ::windows::runtime::Result<()> {
5949         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi()).ok()
5950     }
5951 }
5952 unsafe impl ::windows::runtime::Interface for ITfFnShowHelp {
5953     type Vtable = ITfFnShowHelp_abi;
5954     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1521603340, 2381, 19497, [142, 165, 11, 245, 155, 232, 123, 243]);
5955 }
5956 impl ::std::convert::From<ITfFnShowHelp> for ::windows::runtime::IUnknown {
from(value: ITfFnShowHelp) -> Self5957     fn from(value: ITfFnShowHelp) -> Self {
5958         unsafe { ::std::mem::transmute(value) }
5959     }
5960 }
5961 impl ::std::convert::From<&ITfFnShowHelp> for ::windows::runtime::IUnknown {
from(value: &ITfFnShowHelp) -> Self5962     fn from(value: &ITfFnShowHelp) -> Self {
5963         ::std::convert::From::from(::std::clone::Clone::clone(value))
5964     }
5965 }
5966 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFnShowHelp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5967     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5968         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5969     }
5970 }
5971 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFnShowHelp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5972     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5973         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5974     }
5975 }
5976 impl ::std::convert::From<ITfFnShowHelp> for ITfFunction {
from(value: ITfFnShowHelp) -> Self5977     fn from(value: ITfFnShowHelp) -> Self {
5978         unsafe { ::std::mem::transmute(value) }
5979     }
5980 }
5981 impl ::std::convert::From<&ITfFnShowHelp> for ITfFunction {
from(value: &ITfFnShowHelp) -> Self5982     fn from(value: &ITfFnShowHelp) -> Self {
5983         ::std::convert::From::from(::std::clone::Clone::clone(value))
5984     }
5985 }
5986 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for ITfFnShowHelp {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5987     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5988         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(self))
5989     }
5990 }
5991 impl<'a> ::windows::runtime::IntoParam<'a, ITfFunction> for &ITfFnShowHelp {
into_param(self) -> ::windows::runtime::Param<'a, ITfFunction>5992     fn into_param(self) -> ::windows::runtime::Param<'a, ITfFunction> {
5993         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfFunction>::into(::std::clone::Clone::clone(self)))
5994     }
5995 }
5996 #[repr(C)]
5997 #[doc(hidden)]
5998 pub struct ITfFnShowHelp_abi(
5999     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6000     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6001     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6002     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6003     #[cfg(not(feature = "Win32_Foundation"))] usize,
6004     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
6005     #[cfg(not(feature = "Win32_Foundation"))] usize,
6006 );
6007 #[repr(transparent)]
6008 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6009 pub struct ITfFunction(::windows::runtime::IUnknown);
6010 impl ITfFunction {
6011     #[cfg(feature = "Win32_Foundation")]
GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6012     pub unsafe fn GetDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6013         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6014         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6015     }
6016 }
6017 unsafe impl ::windows::runtime::Interface for ITfFunction {
6018     type Vtable = ITfFunction_abi;
6019     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3680056464, 2447, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
6020 }
6021 impl ::std::convert::From<ITfFunction> for ::windows::runtime::IUnknown {
from(value: ITfFunction) -> Self6022     fn from(value: ITfFunction) -> Self {
6023         unsafe { ::std::mem::transmute(value) }
6024     }
6025 }
6026 impl ::std::convert::From<&ITfFunction> for ::windows::runtime::IUnknown {
from(value: &ITfFunction) -> Self6027     fn from(value: &ITfFunction) -> Self {
6028         ::std::convert::From::from(::std::clone::Clone::clone(value))
6029     }
6030 }
6031 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFunction {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6032     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6033         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6034     }
6035 }
6036 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFunction {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6037     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6038         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6039     }
6040 }
6041 #[repr(C)]
6042 #[doc(hidden)]
6043 pub struct ITfFunction_abi(
6044     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6047     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6048     #[cfg(not(feature = "Win32_Foundation"))] usize,
6049 );
6050 #[repr(transparent)]
6051 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6052 pub struct ITfFunctionProvider(::windows::runtime::IUnknown);
6053 impl ITfFunctionProvider {
GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>6054     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
6055         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6056         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
6057     }
6058     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6059     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6060         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6061         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6062     }
GetFunction(&self, rguid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6063     pub unsafe fn GetFunction(&self, rguid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6064         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6065         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6066     }
6067 }
6068 unsafe impl ::windows::runtime::Interface for ITfFunctionProvider {
6069     type Vtable = ITfFunctionProvider_abi;
6070     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(270362128, 2448, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
6071 }
6072 impl ::std::convert::From<ITfFunctionProvider> for ::windows::runtime::IUnknown {
from(value: ITfFunctionProvider) -> Self6073     fn from(value: ITfFunctionProvider) -> Self {
6074         unsafe { ::std::mem::transmute(value) }
6075     }
6076 }
6077 impl ::std::convert::From<&ITfFunctionProvider> for ::windows::runtime::IUnknown {
from(value: &ITfFunctionProvider) -> Self6078     fn from(value: &ITfFunctionProvider) -> Self {
6079         ::std::convert::From::from(::std::clone::Clone::clone(value))
6080     }
6081 }
6082 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfFunctionProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6083     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6084         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6085     }
6086 }
6087 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfFunctionProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6088     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6089         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6090     }
6091 }
6092 #[repr(C)]
6093 #[doc(hidden)]
6094 pub struct ITfFunctionProvider_abi(
6095     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6096     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6097     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6098     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6099     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdesc: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6100     #[cfg(not(feature = "Win32_Foundation"))] usize,
6101     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6102 );
6103 #[repr(transparent)]
6104 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6105 pub struct ITfInputProcessorProfileActivationSink(::windows::runtime::IUnknown);
6106 impl ITfInputProcessorProfileActivationSink {
OnActivated<'a, Param5: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, catid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param5, dwflags: u32) -> ::windows::runtime::Result<()>6107     pub unsafe fn OnActivated<'a, Param5: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, catid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param5, dwflags: u32) -> ::windows::runtime::Result<()> {
6108         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwprofiletype), ::std::mem::transmute(langid), ::std::mem::transmute(clsid), ::std::mem::transmute(catid), ::std::mem::transmute(guidprofile), hkl.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
6109     }
6110 }
6111 unsafe impl ::windows::runtime::Interface for ITfInputProcessorProfileActivationSink {
6112     type Vtable = ITfInputProcessorProfileActivationSink_abi;
6113     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1908860750, 3880, 4568, [168, 42, 0, 6, 91, 132, 67, 92]);
6114 }
6115 impl ::std::convert::From<ITfInputProcessorProfileActivationSink> for ::windows::runtime::IUnknown {
from(value: ITfInputProcessorProfileActivationSink) -> Self6116     fn from(value: ITfInputProcessorProfileActivationSink) -> Self {
6117         unsafe { ::std::mem::transmute(value) }
6118     }
6119 }
6120 impl ::std::convert::From<&ITfInputProcessorProfileActivationSink> for ::windows::runtime::IUnknown {
from(value: &ITfInputProcessorProfileActivationSink) -> Self6121     fn from(value: &ITfInputProcessorProfileActivationSink) -> Self {
6122         ::std::convert::From::from(::std::clone::Clone::clone(value))
6123     }
6124 }
6125 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputProcessorProfileActivationSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6126     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6127         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6128     }
6129 }
6130 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputProcessorProfileActivationSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6131     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6132         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6133     }
6134 }
6135 #[repr(C)]
6136 #[doc(hidden)]
6137 pub struct ITfInputProcessorProfileActivationSink_abi(
6138     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6139     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6140     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6141     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, catid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: HKL, dwflags: u32) -> ::windows::runtime::HRESULT,
6142 );
6143 #[repr(transparent)]
6144 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6145 pub struct ITfInputProcessorProfileMgr(::windows::runtime::IUnknown);
6146 impl ITfInputProcessorProfileMgr {
ActivateProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4, dwflags: u32) -> ::windows::runtime::Result<()>6147     pub unsafe fn ActivateProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4, dwflags: u32) -> ::windows::runtime::Result<()> {
6148         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwprofiletype), ::std::mem::transmute(langid), ::std::mem::transmute(clsid), ::std::mem::transmute(guidprofile), hkl.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
6149     }
DeactivateProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4, dwflags: u32) -> ::windows::runtime::Result<()>6150     pub unsafe fn DeactivateProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4, dwflags: u32) -> ::windows::runtime::Result<()> {
6151         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwprofiletype), ::std::mem::transmute(langid), ::std::mem::transmute(clsid), ::std::mem::transmute(guidprofile), hkl.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
6152     }
GetProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4) -> ::windows::runtime::Result<TF_INPUTPROCESSORPROFILE>6153     pub unsafe fn GetProfile<'a, Param4: ::windows::runtime::IntoParam<'a, HKL>>(&self, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: Param4) -> ::windows::runtime::Result<TF_INPUTPROCESSORPROFILE> {
6154         let mut result__: <TF_INPUTPROCESSORPROFILE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6155         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwprofiletype), ::std::mem::transmute(langid), ::std::mem::transmute(clsid), ::std::mem::transmute(guidprofile), hkl.into_param().abi(), &mut result__).from_abi::<TF_INPUTPROCESSORPROFILE>(result__)
6156     }
EnumProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfInputProcessorProfiles>6157     pub unsafe fn EnumProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfInputProcessorProfiles> {
6158         let mut result__: <IEnumTfInputProcessorProfiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6159         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<IEnumTfInputProcessorProfiles>(result__)
6160     }
ReleaseInputProcessor(&self, rclsid: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>6161     pub unsafe fn ReleaseInputProcessor(&self, rclsid: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
6162         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(dwflags)).ok()
6163     }
6164     #[cfg(feature = "Win32_Foundation")]
RegisterProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param8: ::windows::runtime::IntoParam<'a, HKL>, Param10: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( &self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: Param3, cchdesc: u32, pchiconfile: Param5, cchfile: u32, uiconindex: u32, hklsubstitute: Param8, dwpreferredlayout: u32, benabledbydefault: Param10, dwflags: u32, ) -> ::windows::runtime::Result<()>6165     pub unsafe fn RegisterProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param8: ::windows::runtime::IntoParam<'a, HKL>, Param10: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
6166         &self,
6167         rclsid: *const ::windows::runtime::GUID,
6168         langid: u16,
6169         guidprofile: *const ::windows::runtime::GUID,
6170         pchdesc: Param3,
6171         cchdesc: u32,
6172         pchiconfile: Param5,
6173         cchfile: u32,
6174         uiconindex: u32,
6175         hklsubstitute: Param8,
6176         dwpreferredlayout: u32,
6177         benabledbydefault: Param10,
6178         dwflags: u32,
6179     ) -> ::windows::runtime::Result<()> {
6180         (::windows::runtime::Interface::vtable(self).8)(
6181             ::std::mem::transmute_copy(self),
6182             ::std::mem::transmute(rclsid),
6183             ::std::mem::transmute(langid),
6184             ::std::mem::transmute(guidprofile),
6185             pchdesc.into_param().abi(),
6186             ::std::mem::transmute(cchdesc),
6187             pchiconfile.into_param().abi(),
6188             ::std::mem::transmute(cchfile),
6189             ::std::mem::transmute(uiconindex),
6190             hklsubstitute.into_param().abi(),
6191             ::std::mem::transmute(dwpreferredlayout),
6192             benabledbydefault.into_param().abi(),
6193             ::std::mem::transmute(dwflags),
6194         )
6195         .ok()
6196     }
UnregisterProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()>6197     pub unsafe fn UnregisterProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::Result<()> {
6198         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), ::std::mem::transmute(dwflags)).ok()
6199     }
GetActiveProfile(&self, catid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<TF_INPUTPROCESSORPROFILE>6200     pub unsafe fn GetActiveProfile(&self, catid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<TF_INPUTPROCESSORPROFILE> {
6201         let mut result__: <TF_INPUTPROCESSORPROFILE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6202         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(catid), &mut result__).from_abi::<TF_INPUTPROCESSORPROFILE>(result__)
6203     }
6204 }
6205 unsafe impl ::windows::runtime::Interface for ITfInputProcessorProfileMgr {
6206     type Vtable = ITfInputProcessorProfileMgr_abi;
6207     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1908860748, 3880, 4568, [168, 42, 0, 6, 91, 132, 67, 92]);
6208 }
6209 impl ::std::convert::From<ITfInputProcessorProfileMgr> for ::windows::runtime::IUnknown {
from(value: ITfInputProcessorProfileMgr) -> Self6210     fn from(value: ITfInputProcessorProfileMgr) -> Self {
6211         unsafe { ::std::mem::transmute(value) }
6212     }
6213 }
6214 impl ::std::convert::From<&ITfInputProcessorProfileMgr> for ::windows::runtime::IUnknown {
from(value: &ITfInputProcessorProfileMgr) -> Self6215     fn from(value: &ITfInputProcessorProfileMgr) -> Self {
6216         ::std::convert::From::from(::std::clone::Clone::clone(value))
6217     }
6218 }
6219 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputProcessorProfileMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6220     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6221         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6222     }
6223 }
6224 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputProcessorProfileMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6225     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6226         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6227     }
6228 }
6229 #[repr(C)]
6230 #[doc(hidden)]
6231 pub struct ITfInputProcessorProfileMgr_abi(
6232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6233     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6234     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: HKL, dwflags: u32) -> ::windows::runtime::HRESULT,
6236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: HKL, dwflags: u32) -> ::windows::runtime::HRESULT,
6237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwprofiletype: u32, langid: u16, clsid: *const ::windows::runtime::GUID, guidprofile: *const ::windows::runtime::GUID, hkl: HKL, pprofile: *mut TF_INPUTPROCESSORPROFILE) -> ::windows::runtime::HRESULT,
6238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
6240     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: super::super::Foundation::PWSTR, cchdesc: u32, pchiconfile: super::super::Foundation::PWSTR, cchfile: u32, uiconindex: u32, hklsubstitute: HKL, dwpreferredlayout: u32, benabledbydefault: super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::HRESULT,
6241     #[cfg(not(feature = "Win32_Foundation"))] usize,
6242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflags: u32) -> ::windows::runtime::HRESULT,
6243     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, catid: *const ::windows::runtime::GUID, pprofile: *mut TF_INPUTPROCESSORPROFILE) -> ::windows::runtime::HRESULT,
6244 );
6245 #[repr(transparent)]
6246 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6247 pub struct ITfInputProcessorProfileSubstituteLayout(::windows::runtime::IUnknown);
6248 impl ITfInputProcessorProfileSubstituteLayout {
GetSubstituteKeyboardLayout(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<HKL>6249     pub unsafe fn GetSubstituteKeyboardLayout(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<HKL> {
6250         let mut result__: <HKL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6251         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), &mut result__).from_abi::<HKL>(result__)
6252     }
6253 }
6254 unsafe impl ::windows::runtime::Interface for ITfInputProcessorProfileSubstituteLayout {
6255     type Vtable = ITfInputProcessorProfileSubstituteLayout_abi;
6256     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1339453844, 4098, 17683, [191, 242, 192, 221, 246, 37, 133, 82]);
6257 }
6258 impl ::std::convert::From<ITfInputProcessorProfileSubstituteLayout> for ::windows::runtime::IUnknown {
from(value: ITfInputProcessorProfileSubstituteLayout) -> Self6259     fn from(value: ITfInputProcessorProfileSubstituteLayout) -> Self {
6260         unsafe { ::std::mem::transmute(value) }
6261     }
6262 }
6263 impl ::std::convert::From<&ITfInputProcessorProfileSubstituteLayout> for ::windows::runtime::IUnknown {
from(value: &ITfInputProcessorProfileSubstituteLayout) -> Self6264     fn from(value: &ITfInputProcessorProfileSubstituteLayout) -> Self {
6265         ::std::convert::From::from(::std::clone::Clone::clone(value))
6266     }
6267 }
6268 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputProcessorProfileSubstituteLayout {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6269     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6270         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6271     }
6272 }
6273 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputProcessorProfileSubstituteLayout {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6274     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6275         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6276     }
6277 }
6278 #[repr(C)]
6279 #[doc(hidden)]
6280 pub struct ITfInputProcessorProfileSubstituteLayout_abi(
6281     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6283     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6284     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, phkl: *mut HKL) -> ::windows::runtime::HRESULT,
6285 );
6286 #[repr(transparent)]
6287 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6288 pub struct ITfInputProcessorProfiles(::windows::runtime::IUnknown);
6289 impl ITfInputProcessorProfiles {
Register(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6290     pub unsafe fn Register(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6291         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid)).ok()
6292     }
Unregister(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6293     pub unsafe fn Unregister(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6294         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid)).ok()
6295     }
6296     #[cfg(feature = "Win32_Foundation")]
AddLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: Param3, cchdesc: u32, pchiconfile: Param5, cchfile: u32, uiconindex: u32) -> ::windows::runtime::Result<()>6297     pub unsafe fn AddLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: Param3, cchdesc: u32, pchiconfile: Param5, cchfile: u32, uiconindex: u32) -> ::windows::runtime::Result<()> {
6298         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), pchdesc.into_param().abi(), ::std::mem::transmute(cchdesc), pchiconfile.into_param().abi(), ::std::mem::transmute(cchfile), ::std::mem::transmute(uiconindex)).ok()
6299     }
RemoveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6300     pub unsafe fn RemoveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6301         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile)).ok()
6302     }
6303     #[cfg(feature = "Win32_System_Com")]
EnumInputProcessorInfo(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID>6304     pub unsafe fn EnumInputProcessorInfo(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID> {
6305         let mut result__: <super::super::System::Com::IEnumGUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6306         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumGUID>(result__)
6307     }
GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6308     pub unsafe fn GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6309         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), ::std::mem::transmute(catid), ::std::mem::transmute(pclsid), ::std::mem::transmute(pguidprofile)).ok()
6310     }
SetDefaultLanguageProfile(&self, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6311     pub unsafe fn SetDefaultLanguageProfile(&self, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6312         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), ::std::mem::transmute(rclsid), ::std::mem::transmute(guidprofiles)).ok()
6313     }
ActivateLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6314     pub unsafe fn ActivateLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6315         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofiles)).ok()
6316     }
GetActiveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6317     pub unsafe fn GetActiveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6318         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(plangid), ::std::mem::transmute(pguidprofile)).ok()
6319     }
6320     #[cfg(feature = "Win32_Foundation")]
GetLanguageProfileDescription(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6321     pub unsafe fn GetLanguageProfileDescription(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6322         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6323         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6324     }
GetCurrentLanguage(&self) -> ::windows::runtime::Result<u16>6325     pub unsafe fn GetCurrentLanguage(&self) -> ::windows::runtime::Result<u16> {
6326         let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6327         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u16>(result__)
6328     }
ChangeCurrentLanguage(&self, langid: u16) -> ::windows::runtime::Result<()>6329     pub unsafe fn ChangeCurrentLanguage(&self, langid: u16) -> ::windows::runtime::Result<()> {
6330         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid)).ok()
6331     }
GetLanguageList(&self, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::Result<()>6332     pub unsafe fn GetLanguageList(&self, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::Result<()> {
6333         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pplangid), ::std::mem::transmute(pulcount)).ok()
6334     }
EnumLanguageProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfLanguageProfiles>6335     pub unsafe fn EnumLanguageProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfLanguageProfiles> {
6336         let mut result__: <IEnumTfLanguageProfiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6337         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<IEnumTfLanguageProfiles>(result__)
6338     }
6339     #[cfg(feature = "Win32_Foundation")]
EnableLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()>6340     pub unsafe fn EnableLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()> {
6341         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), fenable.into_param().abi()).ok()
6342     }
6343     #[cfg(feature = "Win32_Foundation")]
IsEnabledLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6344     pub unsafe fn IsEnabledLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6345         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6346         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6347     }
6348     #[cfg(feature = "Win32_Foundation")]
EnableLanguageProfileByDefault<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()>6349     pub unsafe fn EnableLanguageProfileByDefault<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()> {
6350         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), fenable.into_param().abi()).ok()
6351     }
SubstituteKeyboardLayout<'a, Param3: ::windows::runtime::IntoParam<'a, HKL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: Param3) -> ::windows::runtime::Result<()>6352     pub unsafe fn SubstituteKeyboardLayout<'a, Param3: ::windows::runtime::IntoParam<'a, HKL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: Param3) -> ::windows::runtime::Result<()> {
6353         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), hkl.into_param().abi()).ok()
6354     }
6355 }
6356 unsafe impl ::windows::runtime::Interface for ITfInputProcessorProfiles {
6357     type Vtable = ITfInputProcessorProfiles_abi;
6358     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(520271557, 30786, 20198, [138, 11, 154, 36, 24, 58, 149, 202]);
6359 }
6360 impl ::std::convert::From<ITfInputProcessorProfiles> for ::windows::runtime::IUnknown {
from(value: ITfInputProcessorProfiles) -> Self6361     fn from(value: ITfInputProcessorProfiles) -> Self {
6362         unsafe { ::std::mem::transmute(value) }
6363     }
6364 }
6365 impl ::std::convert::From<&ITfInputProcessorProfiles> for ::windows::runtime::IUnknown {
from(value: &ITfInputProcessorProfiles) -> Self6366     fn from(value: &ITfInputProcessorProfiles) -> Self {
6367         ::std::convert::From::from(::std::clone::Clone::clone(value))
6368     }
6369 }
6370 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputProcessorProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6371     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6372         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6373     }
6374 }
6375 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputProcessorProfiles {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6376     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6377         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6378     }
6379 }
6380 #[repr(C)]
6381 #[doc(hidden)]
6382 pub struct ITfInputProcessorProfiles_abi(
6383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6384     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6385     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6387     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6388     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: super::super::Foundation::PWSTR, cchdesc: u32, pchiconfile: super::super::Foundation::PWSTR, cchfile: u32, uiconindex: u32) -> ::windows::runtime::HRESULT,
6389     #[cfg(not(feature = "Win32_Foundation"))] usize,
6390     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6391     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6392     #[cfg(not(feature = "Win32_System_Com"))] usize,
6393     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6394     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6395     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6396     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6397     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pbstrprofile: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6398     #[cfg(not(feature = "Win32_Foundation"))] usize,
6399     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plangid: *mut u16) -> ::windows::runtime::HRESULT,
6400     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16) -> ::windows::runtime::HRESULT,
6401     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::HRESULT,
6402     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6403     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6404     #[cfg(not(feature = "Win32_Foundation"))] usize,
6405     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pfenable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6406     #[cfg(not(feature = "Win32_Foundation"))] usize,
6407     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6408     #[cfg(not(feature = "Win32_Foundation"))] usize,
6409     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: HKL) -> ::windows::runtime::HRESULT,
6410 );
6411 #[repr(transparent)]
6412 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6413 pub struct ITfInputProcessorProfilesEx(::windows::runtime::IUnknown);
6414 impl ITfInputProcessorProfilesEx {
Register(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6415     pub unsafe fn Register(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6416         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid)).ok()
6417     }
Unregister(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6418     pub unsafe fn Unregister(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6419         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid)).ok()
6420     }
6421     #[cfg(feature = "Win32_Foundation")]
AddLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: Param3, cchdesc: u32, pchiconfile: Param5, cchfile: u32, uiconindex: u32) -> ::windows::runtime::Result<()>6422     pub unsafe fn AddLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: Param3, cchdesc: u32, pchiconfile: Param5, cchfile: u32, uiconindex: u32) -> ::windows::runtime::Result<()> {
6423         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), pchdesc.into_param().abi(), ::std::mem::transmute(cchdesc), pchiconfile.into_param().abi(), ::std::mem::transmute(cchfile), ::std::mem::transmute(uiconindex)).ok()
6424     }
RemoveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6425     pub unsafe fn RemoveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6426         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile)).ok()
6427     }
6428     #[cfg(feature = "Win32_System_Com")]
EnumInputProcessorInfo(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID>6429     pub unsafe fn EnumInputProcessorInfo(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumGUID> {
6430         let mut result__: <super::super::System::Com::IEnumGUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6431         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumGUID>(result__)
6432     }
GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6433     pub unsafe fn GetDefaultLanguageProfile(&self, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6434         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), ::std::mem::transmute(catid), ::std::mem::transmute(pclsid), ::std::mem::transmute(pguidprofile)).ok()
6435     }
SetDefaultLanguageProfile(&self, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6436     pub unsafe fn SetDefaultLanguageProfile(&self, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6437         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), ::std::mem::transmute(rclsid), ::std::mem::transmute(guidprofiles)).ok()
6438     }
ActivateLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6439     pub unsafe fn ActivateLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6440         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofiles)).ok()
6441     }
GetActiveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6442     pub unsafe fn GetActiveLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6443         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(plangid), ::std::mem::transmute(pguidprofile)).ok()
6444     }
6445     #[cfg(feature = "Win32_Foundation")]
GetLanguageProfileDescription(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6446     pub unsafe fn GetLanguageProfileDescription(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6447         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6448         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6449     }
GetCurrentLanguage(&self) -> ::windows::runtime::Result<u16>6450     pub unsafe fn GetCurrentLanguage(&self) -> ::windows::runtime::Result<u16> {
6451         let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6452         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u16>(result__)
6453     }
ChangeCurrentLanguage(&self, langid: u16) -> ::windows::runtime::Result<()>6454     pub unsafe fn ChangeCurrentLanguage(&self, langid: u16) -> ::windows::runtime::Result<()> {
6455         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid)).ok()
6456     }
GetLanguageList(&self, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::Result<()>6457     pub unsafe fn GetLanguageList(&self, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::Result<()> {
6458         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pplangid), ::std::mem::transmute(pulcount)).ok()
6459     }
EnumLanguageProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfLanguageProfiles>6460     pub unsafe fn EnumLanguageProfiles(&self, langid: u16) -> ::windows::runtime::Result<IEnumTfLanguageProfiles> {
6461         let mut result__: <IEnumTfLanguageProfiles as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6462         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<IEnumTfLanguageProfiles>(result__)
6463     }
6464     #[cfg(feature = "Win32_Foundation")]
EnableLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()>6465     pub unsafe fn EnableLanguageProfile<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()> {
6466         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), fenable.into_param().abi()).ok()
6467     }
6468     #[cfg(feature = "Win32_Foundation")]
IsEnabledLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6469     pub unsafe fn IsEnabledLanguageProfile(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6470         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6471         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6472     }
6473     #[cfg(feature = "Win32_Foundation")]
EnableLanguageProfileByDefault<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()>6474     pub unsafe fn EnableLanguageProfileByDefault<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: Param3) -> ::windows::runtime::Result<()> {
6475         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), fenable.into_param().abi()).ok()
6476     }
SubstituteKeyboardLayout<'a, Param3: ::windows::runtime::IntoParam<'a, HKL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: Param3) -> ::windows::runtime::Result<()>6477     pub unsafe fn SubstituteKeyboardLayout<'a, Param3: ::windows::runtime::IntoParam<'a, HKL>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: Param3) -> ::windows::runtime::Result<()> {
6478         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), hkl.into_param().abi()).ok()
6479     }
6480     #[cfg(feature = "Win32_Foundation")]
SetLanguageProfileDisplayName<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchfile: Param3, cchfile: u32, uresid: u32) -> ::windows::runtime::Result<()>6481     pub unsafe fn SetLanguageProfileDisplayName<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchfile: Param3, cchfile: u32, uresid: u32) -> ::windows::runtime::Result<()> {
6482         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), pchfile.into_param().abi(), ::std::mem::transmute(cchfile), ::std::mem::transmute(uresid)).ok()
6483     }
6484 }
6485 unsafe impl ::windows::runtime::Interface for ITfInputProcessorProfilesEx {
6486     type Vtable = ITfInputProcessorProfilesEx_abi;
6487     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2301567759, 65024, 19009, [169, 142, 252, 214, 222, 13, 53, 239]);
6488 }
6489 impl ::std::convert::From<ITfInputProcessorProfilesEx> for ::windows::runtime::IUnknown {
from(value: ITfInputProcessorProfilesEx) -> Self6490     fn from(value: ITfInputProcessorProfilesEx) -> Self {
6491         unsafe { ::std::mem::transmute(value) }
6492     }
6493 }
6494 impl ::std::convert::From<&ITfInputProcessorProfilesEx> for ::windows::runtime::IUnknown {
from(value: &ITfInputProcessorProfilesEx) -> Self6495     fn from(value: &ITfInputProcessorProfilesEx) -> Self {
6496         ::std::convert::From::from(::std::clone::Clone::clone(value))
6497     }
6498 }
6499 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputProcessorProfilesEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6500     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6501         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6502     }
6503 }
6504 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputProcessorProfilesEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6505     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6506         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6507     }
6508 }
6509 impl ::std::convert::From<ITfInputProcessorProfilesEx> for ITfInputProcessorProfiles {
from(value: ITfInputProcessorProfilesEx) -> Self6510     fn from(value: ITfInputProcessorProfilesEx) -> Self {
6511         unsafe { ::std::mem::transmute(value) }
6512     }
6513 }
6514 impl ::std::convert::From<&ITfInputProcessorProfilesEx> for ITfInputProcessorProfiles {
from(value: &ITfInputProcessorProfilesEx) -> Self6515     fn from(value: &ITfInputProcessorProfilesEx) -> Self {
6516         ::std::convert::From::from(::std::clone::Clone::clone(value))
6517     }
6518 }
6519 impl<'a> ::windows::runtime::IntoParam<'a, ITfInputProcessorProfiles> for ITfInputProcessorProfilesEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfInputProcessorProfiles>6520     fn into_param(self) -> ::windows::runtime::Param<'a, ITfInputProcessorProfiles> {
6521         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfInputProcessorProfiles>::into(self))
6522     }
6523 }
6524 impl<'a> ::windows::runtime::IntoParam<'a, ITfInputProcessorProfiles> for &ITfInputProcessorProfilesEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfInputProcessorProfiles>6525     fn into_param(self) -> ::windows::runtime::Param<'a, ITfInputProcessorProfiles> {
6526         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfInputProcessorProfiles>::into(::std::clone::Clone::clone(self)))
6527     }
6528 }
6529 #[repr(C)]
6530 #[doc(hidden)]
6531 pub struct ITfInputProcessorProfilesEx_abi(
6532     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6533     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6534     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6535     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6536     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6537     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchdesc: super::super::Foundation::PWSTR, cchdesc: u32, pchiconfile: super::super::Foundation::PWSTR, cchfile: u32, uiconindex: u32) -> ::windows::runtime::HRESULT,
6538     #[cfg(not(feature = "Win32_Foundation"))] usize,
6539     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6540     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6541     #[cfg(not(feature = "Win32_System_Com"))] usize,
6542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, catid: *const ::windows::runtime::GUID, pclsid: *mut ::windows::runtime::GUID, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, rclsid: *const ::windows::runtime::GUID, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofiles: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, plangid: *mut u16, pguidprofile: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6546     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pbstrprofile: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6547     #[cfg(not(feature = "Win32_Foundation"))] usize,
6548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plangid: *mut u16) -> ::windows::runtime::HRESULT,
6549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16) -> ::windows::runtime::HRESULT,
6550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pplangid: *mut *mut u16, pulcount: *mut u32) -> ::windows::runtime::HRESULT,
6551     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6552     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6553     #[cfg(not(feature = "Win32_Foundation"))] usize,
6554     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pfenable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6555     #[cfg(not(feature = "Win32_Foundation"))] usize,
6556     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6557     #[cfg(not(feature = "Win32_Foundation"))] usize,
6558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, hkl: HKL) -> ::windows::runtime::HRESULT,
6559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, langid: u16, guidprofile: *const ::windows::runtime::GUID, pchfile: super::super::Foundation::PWSTR, cchfile: u32, uresid: u32) -> ::windows::runtime::HRESULT,
6560     #[cfg(not(feature = "Win32_Foundation"))] usize,
6561 );
6562 #[repr(transparent)]
6563 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6564 pub struct ITfInputScope(::windows::runtime::IUnknown);
6565 impl ITfInputScope {
GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::Result<()>6566     pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::Result<()> {
6567         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pprginputscopes), ::std::mem::transmute(pccount)).ok()
6568     }
6569     #[cfg(feature = "Win32_Foundation")]
GetPhrase(&self, ppbstrphrases: *mut *mut super::super::Foundation::BSTR, pccount: *mut u32) -> ::windows::runtime::Result<()>6570     pub unsafe fn GetPhrase(&self, ppbstrphrases: *mut *mut super::super::Foundation::BSTR, pccount: *mut u32) -> ::windows::runtime::Result<()> {
6571         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppbstrphrases), ::std::mem::transmute(pccount)).ok()
6572     }
6573     #[cfg(feature = "Win32_Foundation")]
GetRegularExpression(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6574     pub unsafe fn GetRegularExpression(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6575         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6576         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6577     }
6578     #[cfg(feature = "Win32_Foundation")]
GetSRGS(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6579     pub unsafe fn GetSRGS(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6580         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6581         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6582     }
6583     #[cfg(feature = "Win32_Foundation")]
GetXML(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6584     pub unsafe fn GetXML(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6585         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6586         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6587     }
6588 }
6589 unsafe impl ::windows::runtime::Interface for ITfInputScope {
6590     type Vtable = ITfInputScope_abi;
6591     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4259441390, 26916, 19679, [145, 231, 218, 56, 207, 245, 85, 157]);
6592 }
6593 impl ::std::convert::From<ITfInputScope> for ::windows::runtime::IUnknown {
from(value: ITfInputScope) -> Self6594     fn from(value: ITfInputScope) -> Self {
6595         unsafe { ::std::mem::transmute(value) }
6596     }
6597 }
6598 impl ::std::convert::From<&ITfInputScope> for ::windows::runtime::IUnknown {
from(value: &ITfInputScope) -> Self6599     fn from(value: &ITfInputScope) -> Self {
6600         ::std::convert::From::from(::std::clone::Clone::clone(value))
6601     }
6602 }
6603 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputScope {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6604     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6605         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6606     }
6607 }
6608 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputScope {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6609     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6610         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6611     }
6612 }
6613 #[repr(C)]
6614 #[doc(hidden)]
6615 pub struct ITfInputScope_abi(
6616     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6617     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::HRESULT,
6620     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppbstrphrases: *mut *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pccount: *mut u32) -> ::windows::runtime::HRESULT,
6621     #[cfg(not(feature = "Win32_Foundation"))] usize,
6622     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrregexp: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6623     #[cfg(not(feature = "Win32_Foundation"))] usize,
6624     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsrgs: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6625     #[cfg(not(feature = "Win32_Foundation"))] usize,
6626     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrxml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6627     #[cfg(not(feature = "Win32_Foundation"))] usize,
6628 );
6629 #[repr(transparent)]
6630 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6631 pub struct ITfInputScope2(::windows::runtime::IUnknown);
6632 impl ITfInputScope2 {
GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::Result<()>6633     pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::Result<()> {
6634         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pprginputscopes), ::std::mem::transmute(pccount)).ok()
6635     }
6636     #[cfg(feature = "Win32_Foundation")]
GetPhrase(&self, ppbstrphrases: *mut *mut super::super::Foundation::BSTR, pccount: *mut u32) -> ::windows::runtime::Result<()>6637     pub unsafe fn GetPhrase(&self, ppbstrphrases: *mut *mut super::super::Foundation::BSTR, pccount: *mut u32) -> ::windows::runtime::Result<()> {
6638         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppbstrphrases), ::std::mem::transmute(pccount)).ok()
6639     }
6640     #[cfg(feature = "Win32_Foundation")]
GetRegularExpression(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6641     pub unsafe fn GetRegularExpression(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6642         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6643         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6644     }
6645     #[cfg(feature = "Win32_Foundation")]
GetSRGS(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6646     pub unsafe fn GetSRGS(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6647         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6648         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6649     }
6650     #[cfg(feature = "Win32_Foundation")]
GetXML(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6651     pub unsafe fn GetXML(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6652         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6653         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6654     }
6655     #[cfg(feature = "Win32_System_Com")]
EnumWordList(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumString>6656     pub unsafe fn EnumWordList(&self) -> ::windows::runtime::Result<super::super::System::Com::IEnumString> {
6657         let mut result__: <super::super::System::Com::IEnumString as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6658         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::IEnumString>(result__)
6659     }
6660 }
6661 unsafe impl ::windows::runtime::Interface for ITfInputScope2 {
6662     type Vtable = ITfInputScope2_abi;
6663     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1462889120, 27586, 18049, [165, 50, 146, 251, 183, 77, 124, 65]);
6664 }
6665 impl ::std::convert::From<ITfInputScope2> for ::windows::runtime::IUnknown {
from(value: ITfInputScope2) -> Self6666     fn from(value: ITfInputScope2) -> Self {
6667         unsafe { ::std::mem::transmute(value) }
6668     }
6669 }
6670 impl ::std::convert::From<&ITfInputScope2> for ::windows::runtime::IUnknown {
from(value: &ITfInputScope2) -> Self6671     fn from(value: &ITfInputScope2) -> Self {
6672         ::std::convert::From::from(::std::clone::Clone::clone(value))
6673     }
6674 }
6675 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInputScope2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6676     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6677         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6678     }
6679 }
6680 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInputScope2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6681     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6682         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6683     }
6684 }
6685 impl ::std::convert::From<ITfInputScope2> for ITfInputScope {
from(value: ITfInputScope2) -> Self6686     fn from(value: ITfInputScope2) -> Self {
6687         unsafe { ::std::mem::transmute(value) }
6688     }
6689 }
6690 impl ::std::convert::From<&ITfInputScope2> for ITfInputScope {
from(value: &ITfInputScope2) -> Self6691     fn from(value: &ITfInputScope2) -> Self {
6692         ::std::convert::From::from(::std::clone::Clone::clone(value))
6693     }
6694 }
6695 impl<'a> ::windows::runtime::IntoParam<'a, ITfInputScope> for ITfInputScope2 {
into_param(self) -> ::windows::runtime::Param<'a, ITfInputScope>6696     fn into_param(self) -> ::windows::runtime::Param<'a, ITfInputScope> {
6697         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfInputScope>::into(self))
6698     }
6699 }
6700 impl<'a> ::windows::runtime::IntoParam<'a, ITfInputScope> for &ITfInputScope2 {
into_param(self) -> ::windows::runtime::Param<'a, ITfInputScope>6701     fn into_param(self) -> ::windows::runtime::Param<'a, ITfInputScope> {
6702         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfInputScope>::into(::std::clone::Clone::clone(self)))
6703     }
6704 }
6705 #[repr(C)]
6706 #[doc(hidden)]
6707 pub struct ITfInputScope2_abi(
6708     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6709     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6710     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> ::windows::runtime::HRESULT,
6712     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppbstrphrases: *mut *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pccount: *mut u32) -> ::windows::runtime::HRESULT,
6713     #[cfg(not(feature = "Win32_Foundation"))] usize,
6714     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrregexp: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6715     #[cfg(not(feature = "Win32_Foundation"))] usize,
6716     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrsrgs: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6717     #[cfg(not(feature = "Win32_Foundation"))] usize,
6718     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrxml: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6719     #[cfg(not(feature = "Win32_Foundation"))] usize,
6720     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumstring: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6721     #[cfg(not(feature = "Win32_System_Com"))] usize,
6722 );
6723 #[repr(transparent)]
6724 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6725 pub struct ITfInsertAtSelection(::windows::runtime::IUnknown);
6726 impl ITfInsertAtSelection {
6727     #[cfg(feature = "Win32_Foundation")]
InsertTextAtSelection<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: INSERT_TEXT_AT_SELECTION_FLAGS, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<ITfRange>6728     pub unsafe fn InsertTextAtSelection<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: INSERT_TEXT_AT_SELECTION_FLAGS, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<ITfRange> {
6729         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6730         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch), &mut result__).from_abi::<ITfRange>(result__)
6731     }
6732     #[cfg(feature = "Win32_System_Com")]
InsertEmbeddedAtSelection<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<ITfRange>6733     pub unsafe fn InsertEmbeddedAtSelection<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<ITfRange> {
6734         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6735         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pdataobject.into_param().abi(), &mut result__).from_abi::<ITfRange>(result__)
6736     }
6737 }
6738 unsafe impl ::windows::runtime::Interface for ITfInsertAtSelection {
6739     type Vtable = ITfInsertAtSelection_abi;
6740     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1439569594, 12308, 16833, [156, 235, 250, 222, 20, 70, 172, 108]);
6741 }
6742 impl ::std::convert::From<ITfInsertAtSelection> for ::windows::runtime::IUnknown {
from(value: ITfInsertAtSelection) -> Self6743     fn from(value: ITfInsertAtSelection) -> Self {
6744         unsafe { ::std::mem::transmute(value) }
6745     }
6746 }
6747 impl ::std::convert::From<&ITfInsertAtSelection> for ::windows::runtime::IUnknown {
from(value: &ITfInsertAtSelection) -> Self6748     fn from(value: &ITfInsertAtSelection) -> Self {
6749         ::std::convert::From::from(::std::clone::Clone::clone(value))
6750     }
6751 }
6752 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfInsertAtSelection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6753     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6754         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6755     }
6756 }
6757 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfInsertAtSelection {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6758     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6759         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6760     }
6761 }
6762 #[repr(C)]
6763 #[doc(hidden)]
6764 pub struct ITfInsertAtSelection_abi(
6765     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6766     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6767     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6768     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: INSERT_TEXT_AT_SELECTION_FLAGS, pchtext: super::super::Foundation::PWSTR, cch: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6769     #[cfg(not(feature = "Win32_Foundation"))] usize,
6770     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pdataobject: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6771     #[cfg(not(feature = "Win32_System_Com"))] usize,
6772 );
6773 #[repr(transparent)]
6774 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6775 pub struct ITfIntegratableCandidateListUIElement(::windows::runtime::IUnknown);
6776 impl ITfIntegratableCandidateListUIElement {
SetIntegrationStyle<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guidintegrationstyle: Param0) -> ::windows::runtime::Result<()>6777     pub unsafe fn SetIntegrationStyle<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::GUID>>(&self, guidintegrationstyle: Param0) -> ::windows::runtime::Result<()> {
6778         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), guidintegrationstyle.into_param().abi()).ok()
6779     }
GetSelectionStyle(&self) -> ::windows::runtime::Result<TfIntegratableCandidateListSelectionStyle>6780     pub unsafe fn GetSelectionStyle(&self) -> ::windows::runtime::Result<TfIntegratableCandidateListSelectionStyle> {
6781         let mut result__: <TfIntegratableCandidateListSelectionStyle as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6782         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TfIntegratableCandidateListSelectionStyle>(result__)
6783     }
6784     #[cfg(feature = "Win32_Foundation")]
OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6785     pub unsafe fn OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6786         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6787         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6788     }
6789     #[cfg(feature = "Win32_Foundation")]
ShowCandidateNumbers(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6790     pub unsafe fn ShowCandidateNumbers(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6791         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6792         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6793     }
FinalizeExactCompositionString(&self) -> ::windows::runtime::Result<()>6794     pub unsafe fn FinalizeExactCompositionString(&self) -> ::windows::runtime::Result<()> {
6795         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
6796     }
6797 }
6798 unsafe impl ::windows::runtime::Interface for ITfIntegratableCandidateListUIElement {
6799     type Vtable = ITfIntegratableCandidateListUIElement_abi;
6800     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3349607759, 45440, 16751, [178, 191, 123, 242, 228, 104, 61, 123]);
6801 }
6802 impl ::std::convert::From<ITfIntegratableCandidateListUIElement> for ::windows::runtime::IUnknown {
from(value: ITfIntegratableCandidateListUIElement) -> Self6803     fn from(value: ITfIntegratableCandidateListUIElement) -> Self {
6804         unsafe { ::std::mem::transmute(value) }
6805     }
6806 }
6807 impl ::std::convert::From<&ITfIntegratableCandidateListUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfIntegratableCandidateListUIElement) -> Self6808     fn from(value: &ITfIntegratableCandidateListUIElement) -> Self {
6809         ::std::convert::From::from(::std::clone::Clone::clone(value))
6810     }
6811 }
6812 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfIntegratableCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6813     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6814         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6815     }
6816 }
6817 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfIntegratableCandidateListUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6818     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6819         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6820     }
6821 }
6822 #[repr(C)]
6823 #[doc(hidden)]
6824 pub struct ITfIntegratableCandidateListUIElement_abi(
6825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6827     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6828     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, guidintegrationstyle: ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6829     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptfselectionstyle: *mut TfIntegratableCandidateListSelectionStyle) -> ::windows::runtime::HRESULT,
6830     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6831     #[cfg(not(feature = "Win32_Foundation"))] usize,
6832     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6833     #[cfg(not(feature = "Win32_Foundation"))] usize,
6834     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6835 );
6836 #[repr(transparent)]
6837 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6838 pub struct ITfKeyEventSink(::windows::runtime::IUnknown);
6839 impl ITfKeyEventSink {
6840     #[cfg(feature = "Win32_Foundation")]
OnSetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fforeground: Param0) -> ::windows::runtime::Result<()>6841     pub unsafe fn OnSetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fforeground: Param0) -> ::windows::runtime::Result<()> {
6842         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), fforeground.into_param().abi()).ok()
6843     }
6844     #[cfg(feature = "Win32_Foundation")]
OnTestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6845     pub unsafe fn OnTestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6846         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6847         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pic.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6848     }
6849     #[cfg(feature = "Win32_Foundation")]
OnTestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6850     pub unsafe fn OnTestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6851         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6852         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pic.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6853     }
6854     #[cfg(feature = "Win32_Foundation")]
OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6855     pub unsafe fn OnKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6856         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6857         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pic.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6858     }
6859     #[cfg(feature = "Win32_Foundation")]
OnKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6860     pub unsafe fn OnKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, pic: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6861         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6862         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pic.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6863     }
6864     #[cfg(feature = "Win32_Foundation")]
OnPreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6865     pub unsafe fn OnPreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6866         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6867         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6868     }
6869 }
6870 unsafe impl ::windows::runtime::Interface for ITfKeyEventSink {
6871     type Vtable = ITfKeyEventSink_abi;
6872     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574709, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
6873 }
6874 impl ::std::convert::From<ITfKeyEventSink> for ::windows::runtime::IUnknown {
from(value: ITfKeyEventSink) -> Self6875     fn from(value: ITfKeyEventSink) -> Self {
6876         unsafe { ::std::mem::transmute(value) }
6877     }
6878 }
6879 impl ::std::convert::From<&ITfKeyEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfKeyEventSink) -> Self6880     fn from(value: &ITfKeyEventSink) -> Self {
6881         ::std::convert::From::from(::std::clone::Clone::clone(value))
6882     }
6883 }
6884 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfKeyEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6885     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6886         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6887     }
6888 }
6889 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfKeyEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6890     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6891         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6892     }
6893 }
6894 #[repr(C)]
6895 #[doc(hidden)]
6896 pub struct ITfKeyEventSink_abi(
6897     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6898     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6899     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6900     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fforeground: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6901     #[cfg(not(feature = "Win32_Foundation"))] usize,
6902     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6903     #[cfg(not(feature = "Win32_Foundation"))] usize,
6904     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6905     #[cfg(not(feature = "Win32_Foundation"))] usize,
6906     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6907     #[cfg(not(feature = "Win32_Foundation"))] usize,
6908     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6909     #[cfg(not(feature = "Win32_Foundation"))] usize,
6910     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6911     #[cfg(not(feature = "Win32_Foundation"))] usize,
6912 );
6913 #[repr(transparent)]
6914 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6915 pub struct ITfKeyTraceEventSink(::windows::runtime::IUnknown);
6916 impl ITfKeyTraceEventSink {
6917     #[cfg(feature = "Win32_Foundation")]
OnKeyTraceDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<()>6918     pub unsafe fn OnKeyTraceDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<()> {
6919         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi()).ok()
6920     }
6921     #[cfg(feature = "Win32_Foundation")]
OnKeyTraceUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<()>6922     pub unsafe fn OnKeyTraceUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<()> {
6923         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi()).ok()
6924     }
6925 }
6926 unsafe impl ::windows::runtime::Interface for ITfKeyTraceEventSink {
6927     type Vtable = ITfKeyTraceEventSink_abi;
6928     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(483705147, 7222, 16785, [167, 10, 127, 62, 97, 31, 54, 125]);
6929 }
6930 impl ::std::convert::From<ITfKeyTraceEventSink> for ::windows::runtime::IUnknown {
from(value: ITfKeyTraceEventSink) -> Self6931     fn from(value: ITfKeyTraceEventSink) -> Self {
6932         unsafe { ::std::mem::transmute(value) }
6933     }
6934 }
6935 impl ::std::convert::From<&ITfKeyTraceEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfKeyTraceEventSink) -> Self6936     fn from(value: &ITfKeyTraceEventSink) -> Self {
6937         ::std::convert::From::from(::std::clone::Clone::clone(value))
6938     }
6939 }
6940 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfKeyTraceEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6941     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6942         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6943     }
6944 }
6945 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfKeyTraceEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6946     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6947         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6948     }
6949 }
6950 #[repr(C)]
6951 #[doc(hidden)]
6952 pub struct ITfKeyTraceEventSink_abi(
6953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6954     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6956     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
6957     #[cfg(not(feature = "Win32_Foundation"))] usize,
6958     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
6959     #[cfg(not(feature = "Win32_Foundation"))] usize,
6960 );
6961 #[repr(transparent)]
6962 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6963 pub struct ITfKeystrokeMgr(::windows::runtime::IUnknown);
6964 impl ITfKeystrokeMgr {
6965     #[cfg(feature = "Win32_Foundation")]
AdviseKeyEventSink<'a, Param1: ::windows::runtime::IntoParam<'a, ITfKeyEventSink>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, tid: u32, psink: Param1, fforeground: Param2) -> ::windows::runtime::Result<()>6966     pub unsafe fn AdviseKeyEventSink<'a, Param1: ::windows::runtime::IntoParam<'a, ITfKeyEventSink>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, tid: u32, psink: Param1, fforeground: Param2) -> ::windows::runtime::Result<()> {
6967         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), psink.into_param().abi(), fforeground.into_param().abi()).ok()
6968     }
UnadviseKeyEventSink(&self, tid: u32) -> ::windows::runtime::Result<()>6969     pub unsafe fn UnadviseKeyEventSink(&self, tid: u32) -> ::windows::runtime::Result<()> {
6970         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid)).ok()
6971     }
GetForeground(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>6972     pub unsafe fn GetForeground(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
6973         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6974         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
6975     }
6976     #[cfg(feature = "Win32_Foundation")]
TestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6977     pub unsafe fn TestKeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6978         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6979         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6980     }
6981     #[cfg(feature = "Win32_Foundation")]
TestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6982     pub unsafe fn TestKeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6983         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6984         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6985     }
6986     #[cfg(feature = "Win32_Foundation")]
KeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6987     pub unsafe fn KeyDown<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6988         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6989         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6990     }
6991     #[cfg(feature = "Win32_Foundation")]
KeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6992     pub unsafe fn KeyUp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, wparam: Param0, lparam: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6993         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6994         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6995     }
GetPreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<::windows::runtime::GUID>6996     pub unsafe fn GetPreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<::windows::runtime::GUID> {
6997         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6998         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(pprekey), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
6999     }
7000     #[cfg(feature = "Win32_Foundation")]
IsPreservedKey(&self, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7001     pub unsafe fn IsPreservedKey(&self, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7002         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7003         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), ::std::mem::transmute(pprekey), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7004     }
7005     #[cfg(feature = "Win32_Foundation")]
PreserveKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, tid: u32, rguid: *const ::windows::runtime::GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: Param3, cchdesc: u32) -> ::windows::runtime::Result<()>7006     pub unsafe fn PreserveKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, tid: u32, rguid: *const ::windows::runtime::GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: Param3, cchdesc: u32) -> ::windows::runtime::Result<()> {
7007         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), ::std::mem::transmute(rguid), ::std::mem::transmute(prekey), pchdesc.into_param().abi(), ::std::mem::transmute(cchdesc)).ok()
7008     }
UnpreserveKey(&self, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<()>7009     pub unsafe fn UnpreserveKey(&self, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<()> {
7010         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), ::std::mem::transmute(pprekey)).ok()
7011     }
7012     #[cfg(feature = "Win32_Foundation")]
SetPreservedKeyDescription<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rguid: *const ::windows::runtime::GUID, pchdesc: Param1, cchdesc: u32) -> ::windows::runtime::Result<()>7013     pub unsafe fn SetPreservedKeyDescription<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, rguid: *const ::windows::runtime::GUID, pchdesc: Param1, cchdesc: u32) -> ::windows::runtime::Result<()> {
7014         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), pchdesc.into_param().abi(), ::std::mem::transmute(cchdesc)).ok()
7015     }
7016     #[cfg(feature = "Win32_Foundation")]
GetPreservedKeyDescription(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7017     pub unsafe fn GetPreservedKeyDescription(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7018         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7019         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7020     }
7021     #[cfg(feature = "Win32_Foundation")]
SimulatePreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7022     pub unsafe fn SimulatePreservedKey<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7023         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7024         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7025     }
7026 }
7027 unsafe impl ::windows::runtime::Interface for ITfKeystrokeMgr {
7028     type Vtable = ITfKeystrokeMgr_abi;
7029     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574704, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
7030 }
7031 impl ::std::convert::From<ITfKeystrokeMgr> for ::windows::runtime::IUnknown {
from(value: ITfKeystrokeMgr) -> Self7032     fn from(value: ITfKeystrokeMgr) -> Self {
7033         unsafe { ::std::mem::transmute(value) }
7034     }
7035 }
7036 impl ::std::convert::From<&ITfKeystrokeMgr> for ::windows::runtime::IUnknown {
from(value: &ITfKeystrokeMgr) -> Self7037     fn from(value: &ITfKeystrokeMgr) -> Self {
7038         ::std::convert::From::from(::std::clone::Clone::clone(value))
7039     }
7040 }
7041 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfKeystrokeMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7042     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7043         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7044     }
7045 }
7046 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfKeystrokeMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7047     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7048         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7049     }
7050 }
7051 #[repr(C)]
7052 #[doc(hidden)]
7053 pub struct ITfKeystrokeMgr_abi(
7054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7057     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, psink: ::windows::runtime::RawPtr, fforeground: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7058     #[cfg(not(feature = "Win32_Foundation"))] usize,
7059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32) -> ::windows::runtime::HRESULT,
7060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
7061     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7062     #[cfg(not(feature = "Win32_Foundation"))] usize,
7063     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7064     #[cfg(not(feature = "Win32_Foundation"))] usize,
7065     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7066     #[cfg(not(feature = "Win32_Foundation"))] usize,
7067     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7068     #[cfg(not(feature = "Win32_Foundation"))] usize,
7069     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, pprekey: *const TF_PRESERVEDKEY, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
7070     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY, pfregistered: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7071     #[cfg(not(feature = "Win32_Foundation"))] usize,
7072     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, rguid: *const ::windows::runtime::GUID, prekey: *const TF_PRESERVEDKEY, pchdesc: super::super::Foundation::PWSTR, cchdesc: u32) -> ::windows::runtime::HRESULT,
7073     #[cfg(not(feature = "Win32_Foundation"))] usize,
7074     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::HRESULT,
7075     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pchdesc: super::super::Foundation::PWSTR, cchdesc: u32) -> ::windows::runtime::HRESULT,
7076     #[cfg(not(feature = "Win32_Foundation"))] usize,
7077     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pbstrdesc: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7078     #[cfg(not(feature = "Win32_Foundation"))] usize,
7079     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7080     #[cfg(not(feature = "Win32_Foundation"))] usize,
7081 );
7082 #[repr(transparent)]
7083 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7084 pub struct ITfLMLattice(::windows::runtime::IUnknown);
7085 impl ITfLMLattice {
7086     #[cfg(feature = "Win32_Foundation")]
QueryType(&self, rguidtype: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7087     pub unsafe fn QueryType(&self, rguidtype: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7088         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7089         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguidtype), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7090     }
EnumLatticeElements(&self, dwframestart: u32, rguidtype: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<IEnumTfLatticeElements>7091     pub unsafe fn EnumLatticeElements(&self, dwframestart: u32, rguidtype: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<IEnumTfLatticeElements> {
7092         let mut result__: <IEnumTfLatticeElements as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7093         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwframestart), ::std::mem::transmute(rguidtype), &mut result__).from_abi::<IEnumTfLatticeElements>(result__)
7094     }
7095 }
7096 unsafe impl ::windows::runtime::Interface for ITfLMLattice {
7097     type Vtable = ITfLMLattice_abi;
7098     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3559089781, 42431, 17776, [157, 66, 93, 109, 123, 2, 213, 155]);
7099 }
7100 impl ::std::convert::From<ITfLMLattice> for ::windows::runtime::IUnknown {
from(value: ITfLMLattice) -> Self7101     fn from(value: ITfLMLattice) -> Self {
7102         unsafe { ::std::mem::transmute(value) }
7103     }
7104 }
7105 impl ::std::convert::From<&ITfLMLattice> for ::windows::runtime::IUnknown {
from(value: &ITfLMLattice) -> Self7106     fn from(value: &ITfLMLattice) -> Self {
7107         ::std::convert::From::from(::std::clone::Clone::clone(value))
7108     }
7109 }
7110 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLMLattice {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7111     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7112         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7113     }
7114 }
7115 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLMLattice {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7116     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7117         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7118     }
7119 }
7120 #[repr(C)]
7121 #[doc(hidden)]
7122 pub struct ITfLMLattice_abi(
7123     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7124     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7125     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7126     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguidtype: *const ::windows::runtime::GUID, pfsupported: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7127     #[cfg(not(feature = "Win32_Foundation"))] usize,
7128     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwframestart: u32, rguidtype: *const ::windows::runtime::GUID, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7129 );
7130 #[repr(transparent)]
7131 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7132 pub struct ITfLangBarEventSink(::windows::runtime::IUnknown);
7133 impl ITfLangBarEventSink {
OnSetFocus(&self, dwthreadid: u32) -> ::windows::runtime::Result<()>7134     pub unsafe fn OnSetFocus(&self, dwthreadid: u32) -> ::windows::runtime::Result<()> {
7135         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid)).ok()
7136     }
OnThreadTerminate(&self, dwthreadid: u32) -> ::windows::runtime::Result<()>7137     pub unsafe fn OnThreadTerminate(&self, dwthreadid: u32) -> ::windows::runtime::Result<()> {
7138         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid)).ok()
7139     }
OnThreadItemChange(&self, dwthreadid: u32) -> ::windows::runtime::Result<()>7140     pub unsafe fn OnThreadItemChange(&self, dwthreadid: u32) -> ::windows::runtime::Result<()> {
7141         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid)).ok()
7142     }
7143     #[cfg(feature = "Win32_Foundation")]
OnModalInput<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, dwthreadid: u32, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>7144     pub unsafe fn OnModalInput<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, dwthreadid: u32, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
7145         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(umsg), wparam.into_param().abi(), lparam.into_param().abi()).ok()
7146     }
ShowFloating(&self, dwflags: u32) -> ::windows::runtime::Result<()>7147     pub unsafe fn ShowFloating(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
7148         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
7149     }
7150     #[cfg(feature = "Win32_Foundation")]
GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::RECT>7151     pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
7152         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7153         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
7154     }
7155 }
7156 unsafe impl ::windows::runtime::Interface for ITfLangBarEventSink {
7157     type Vtable = ITfLangBarEventSink_abi;
7158     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(413460736, 57518, 4562, [175, 221, 0, 16, 90, 39, 153, 181]);
7159 }
7160 impl ::std::convert::From<ITfLangBarEventSink> for ::windows::runtime::IUnknown {
from(value: ITfLangBarEventSink) -> Self7161     fn from(value: ITfLangBarEventSink) -> Self {
7162         unsafe { ::std::mem::transmute(value) }
7163     }
7164 }
7165 impl ::std::convert::From<&ITfLangBarEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarEventSink) -> Self7166     fn from(value: &ITfLangBarEventSink) -> Self {
7167         ::std::convert::From::from(::std::clone::Clone::clone(value))
7168     }
7169 }
7170 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7171     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7172         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7173     }
7174 }
7175 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7176     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7177         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7178     }
7179 }
7180 #[repr(C)]
7181 #[doc(hidden)]
7182 pub struct ITfLangBarEventSink_abi(
7183     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7184     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7185     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32) -> ::windows::runtime::HRESULT,
7187     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32) -> ::windows::runtime::HRESULT,
7188     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32) -> ::windows::runtime::HRESULT,
7189     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, umsg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
7190     #[cfg(not(feature = "Win32_Foundation"))] usize,
7191     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
7192     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, rguid: *const ::windows::runtime::GUID, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7193     #[cfg(not(feature = "Win32_Foundation"))] usize,
7194 );
7195 #[repr(transparent)]
7196 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7197 pub struct ITfLangBarItem(::windows::runtime::IUnknown);
7198 impl ITfLangBarItem {
GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO>7199     pub unsafe fn GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO> {
7200         let mut result__: <TF_LANGBARITEMINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7201         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LANGBARITEMINFO>(result__)
7202     }
GetStatus(&self) -> ::windows::runtime::Result<u32>7203     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<u32> {
7204         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7205         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7206     }
7207     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>7208     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
7209         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
7210     }
7211     #[cfg(feature = "Win32_Foundation")]
GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7212     pub unsafe fn GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7213         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7214         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7215     }
7216 }
7217 unsafe impl ::windows::runtime::Interface for ITfLangBarItem {
7218     type Vtable = ITfLangBarItem_abi;
7219     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1934888297, 60907, 20201, [150, 201, 35, 170, 48, 178, 89, 22]);
7220 }
7221 impl ::std::convert::From<ITfLangBarItem> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItem) -> Self7222     fn from(value: ITfLangBarItem) -> Self {
7223         unsafe { ::std::mem::transmute(value) }
7224     }
7225 }
7226 impl ::std::convert::From<&ITfLangBarItem> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItem) -> Self7227     fn from(value: &ITfLangBarItem) -> Self {
7228         ::std::convert::From::from(::std::clone::Clone::clone(value))
7229     }
7230 }
7231 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7232     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7233         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7234     }
7235 }
7236 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7237     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7238         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7239     }
7240 }
7241 #[repr(C)]
7242 #[doc(hidden)]
7243 pub struct ITfLangBarItem_abi(
7244     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7245     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7246     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7247     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows::runtime::HRESULT,
7248     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7249     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7250     #[cfg(not(feature = "Win32_Foundation"))] usize,
7251     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtooltip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7252     #[cfg(not(feature = "Win32_Foundation"))] usize,
7253 );
7254 #[repr(transparent)]
7255 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7256 pub struct ITfLangBarItemBalloon(::windows::runtime::IUnknown);
7257 impl ITfLangBarItemBalloon {
GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO>7258     pub unsafe fn GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO> {
7259         let mut result__: <TF_LANGBARITEMINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7260         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LANGBARITEMINFO>(result__)
7261     }
GetStatus(&self) -> ::windows::runtime::Result<u32>7262     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<u32> {
7263         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7264         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7265     }
7266     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>7267     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
7268         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
7269     }
7270     #[cfg(feature = "Win32_Foundation")]
GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7271     pub unsafe fn GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7272         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7273         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7274     }
7275     #[cfg(feature = "Win32_Foundation")]
OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7276     pub unsafe fn OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7277         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(click), pt.into_param().abi(), ::std::mem::transmute(prcarea)).ok()
7278     }
7279     #[cfg(feature = "Win32_Foundation")]
GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE>7280     pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
7281         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7282         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pszdefault), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
7283     }
7284     #[cfg(feature = "Win32_Foundation")]
GetBalloonInfo(&self) -> ::windows::runtime::Result<TF_LBBALLOONINFO>7285     pub unsafe fn GetBalloonInfo(&self) -> ::windows::runtime::Result<TF_LBBALLOONINFO> {
7286         let mut result__: <TF_LBBALLOONINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7287         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LBBALLOONINFO>(result__)
7288     }
7289 }
7290 unsafe impl ::windows::runtime::Interface for ITfLangBarItemBalloon {
7291     type Vtable = ITfLangBarItemBalloon_abi;
7292     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(29545093, 54215, 19323, [181, 181, 217, 116, 17, 208, 194, 131]);
7293 }
7294 impl ::std::convert::From<ITfLangBarItemBalloon> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemBalloon) -> Self7295     fn from(value: ITfLangBarItemBalloon) -> Self {
7296         unsafe { ::std::mem::transmute(value) }
7297     }
7298 }
7299 impl ::std::convert::From<&ITfLangBarItemBalloon> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemBalloon) -> Self7300     fn from(value: &ITfLangBarItemBalloon) -> Self {
7301         ::std::convert::From::from(::std::clone::Clone::clone(value))
7302     }
7303 }
7304 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7305     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7306         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7307     }
7308 }
7309 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7310     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7311         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7312     }
7313 }
7314 impl ::std::convert::From<ITfLangBarItemBalloon> for ITfLangBarItem {
from(value: ITfLangBarItemBalloon) -> Self7315     fn from(value: ITfLangBarItemBalloon) -> Self {
7316         unsafe { ::std::mem::transmute(value) }
7317     }
7318 }
7319 impl ::std::convert::From<&ITfLangBarItemBalloon> for ITfLangBarItem {
from(value: &ITfLangBarItemBalloon) -> Self7320     fn from(value: &ITfLangBarItemBalloon) -> Self {
7321         ::std::convert::From::from(::std::clone::Clone::clone(value))
7322     }
7323 }
7324 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for ITfLangBarItemBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7325     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7326         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(self))
7327     }
7328 }
7329 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for &ITfLangBarItemBalloon {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7330     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7331         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(::std::clone::Clone::clone(self)))
7332     }
7333 }
7334 #[repr(C)]
7335 #[doc(hidden)]
7336 pub struct ITfLangBarItemBalloon_abi(
7337     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7338     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7339     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7340     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows::runtime::HRESULT,
7341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7342     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7343     #[cfg(not(feature = "Win32_Foundation"))] usize,
7344     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtooltip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7345     #[cfg(not(feature = "Win32_Foundation"))] usize,
7346     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, click: TfLBIClick, pt: super::super::Foundation::POINT, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7347     #[cfg(not(feature = "Win32_Foundation"))] usize,
7348     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszdefault: *const super::super::Foundation::SIZE, psz: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
7349     #[cfg(not(feature = "Win32_Foundation"))] usize,
7350     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut ::std::mem::ManuallyDrop<TF_LBBALLOONINFO>) -> ::windows::runtime::HRESULT,
7351     #[cfg(not(feature = "Win32_Foundation"))] usize,
7352 );
7353 #[repr(transparent)]
7354 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7355 pub struct ITfLangBarItemBitmap(::windows::runtime::IUnknown);
7356 impl ITfLangBarItemBitmap {
GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO>7357     pub unsafe fn GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO> {
7358         let mut result__: <TF_LANGBARITEMINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7359         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LANGBARITEMINFO>(result__)
7360     }
GetStatus(&self) -> ::windows::runtime::Result<u32>7361     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<u32> {
7362         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7363         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7364     }
7365     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>7366     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
7367         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
7368     }
7369     #[cfg(feature = "Win32_Foundation")]
GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7370     pub unsafe fn GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7371         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7372         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7373     }
7374     #[cfg(feature = "Win32_Foundation")]
OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7375     pub unsafe fn OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7376         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(click), pt.into_param().abi(), ::std::mem::transmute(prcarea)).ok()
7377     }
7378     #[cfg(feature = "Win32_Foundation")]
GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE>7379     pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
7380         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7381         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pszdefault), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
7382     }
7383     #[cfg(feature = "Win32_Graphics_Gdi")]
DrawBitmap(&self, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::Result<()>7384     pub unsafe fn DrawBitmap(&self, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::Result<()> {
7385         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(bmwidth), ::std::mem::transmute(bmheight), ::std::mem::transmute(dwflags), ::std::mem::transmute(phbmp), ::std::mem::transmute(phbmpmask)).ok()
7386     }
7387 }
7388 unsafe impl ::windows::runtime::Interface for ITfLangBarItemBitmap {
7389     type Vtable = ITfLangBarItemBitmap_abi;
7390     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1937965906, 55074, 16761, [173, 165, 240, 69, 201, 141, 243, 85]);
7391 }
7392 impl ::std::convert::From<ITfLangBarItemBitmap> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemBitmap) -> Self7393     fn from(value: ITfLangBarItemBitmap) -> Self {
7394         unsafe { ::std::mem::transmute(value) }
7395     }
7396 }
7397 impl ::std::convert::From<&ITfLangBarItemBitmap> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemBitmap) -> Self7398     fn from(value: &ITfLangBarItemBitmap) -> Self {
7399         ::std::convert::From::from(::std::clone::Clone::clone(value))
7400     }
7401 }
7402 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemBitmap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7403     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7404         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7405     }
7406 }
7407 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemBitmap {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7408     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7409         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7410     }
7411 }
7412 impl ::std::convert::From<ITfLangBarItemBitmap> for ITfLangBarItem {
from(value: ITfLangBarItemBitmap) -> Self7413     fn from(value: ITfLangBarItemBitmap) -> Self {
7414         unsafe { ::std::mem::transmute(value) }
7415     }
7416 }
7417 impl ::std::convert::From<&ITfLangBarItemBitmap> for ITfLangBarItem {
from(value: &ITfLangBarItemBitmap) -> Self7418     fn from(value: &ITfLangBarItemBitmap) -> Self {
7419         ::std::convert::From::from(::std::clone::Clone::clone(value))
7420     }
7421 }
7422 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for ITfLangBarItemBitmap {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7423     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7424         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(self))
7425     }
7426 }
7427 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for &ITfLangBarItemBitmap {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7428     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7429         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(::std::clone::Clone::clone(self)))
7430     }
7431 }
7432 #[repr(C)]
7433 #[doc(hidden)]
7434 pub struct ITfLangBarItemBitmap_abi(
7435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows::runtime::HRESULT,
7439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7440     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7441     #[cfg(not(feature = "Win32_Foundation"))] usize,
7442     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtooltip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7443     #[cfg(not(feature = "Win32_Foundation"))] usize,
7444     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, click: TfLBIClick, pt: super::super::Foundation::POINT, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7445     #[cfg(not(feature = "Win32_Foundation"))] usize,
7446     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszdefault: *const super::super::Foundation::SIZE, psz: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
7447     #[cfg(not(feature = "Win32_Foundation"))] usize,
7448     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::HRESULT,
7449     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
7450 );
7451 #[repr(transparent)]
7452 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7453 pub struct ITfLangBarItemBitmapButton(::windows::runtime::IUnknown);
7454 impl ITfLangBarItemBitmapButton {
GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO>7455     pub unsafe fn GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO> {
7456         let mut result__: <TF_LANGBARITEMINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7457         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LANGBARITEMINFO>(result__)
7458     }
GetStatus(&self) -> ::windows::runtime::Result<u32>7459     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<u32> {
7460         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7461         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7462     }
7463     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>7464     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
7465         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
7466     }
7467     #[cfg(feature = "Win32_Foundation")]
GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7468     pub unsafe fn GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7469         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7470         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7471     }
7472     #[cfg(feature = "Win32_Foundation")]
OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7473     pub unsafe fn OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7474         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(click), pt.into_param().abi(), ::std::mem::transmute(prcarea)).ok()
7475     }
InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()>7476     pub unsafe fn InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()> {
7477         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pmenu.into_param().abi()).ok()
7478     }
OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()>7479     pub unsafe fn OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()> {
7480         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(wid)).ok()
7481     }
7482     #[cfg(feature = "Win32_Foundation")]
GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE>7483     pub unsafe fn GetPreferredSize(&self, pszdefault: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
7484         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7485         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(pszdefault), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
7486     }
7487     #[cfg(feature = "Win32_Graphics_Gdi")]
DrawBitmap(&self, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::Result<()>7488     pub unsafe fn DrawBitmap(&self, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::Result<()> {
7489         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(bmwidth), ::std::mem::transmute(bmheight), ::std::mem::transmute(dwflags), ::std::mem::transmute(phbmp), ::std::mem::transmute(phbmpmask)).ok()
7490     }
7491     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7492     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7493         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7494         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7495     }
7496 }
7497 unsafe impl ::windows::runtime::Interface for ITfLangBarItemBitmapButton {
7498     type Vtable = ITfLangBarItemBitmapButton_abi;
7499     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2724857125, 16302, 20384, [137, 238, 136, 169, 100, 249, 241, 181]);
7500 }
7501 impl ::std::convert::From<ITfLangBarItemBitmapButton> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemBitmapButton) -> Self7502     fn from(value: ITfLangBarItemBitmapButton) -> Self {
7503         unsafe { ::std::mem::transmute(value) }
7504     }
7505 }
7506 impl ::std::convert::From<&ITfLangBarItemBitmapButton> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemBitmapButton) -> Self7507     fn from(value: &ITfLangBarItemBitmapButton) -> Self {
7508         ::std::convert::From::from(::std::clone::Clone::clone(value))
7509     }
7510 }
7511 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemBitmapButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7512     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7513         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7514     }
7515 }
7516 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemBitmapButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7517     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7518         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7519     }
7520 }
7521 impl ::std::convert::From<ITfLangBarItemBitmapButton> for ITfLangBarItem {
from(value: ITfLangBarItemBitmapButton) -> Self7522     fn from(value: ITfLangBarItemBitmapButton) -> Self {
7523         unsafe { ::std::mem::transmute(value) }
7524     }
7525 }
7526 impl ::std::convert::From<&ITfLangBarItemBitmapButton> for ITfLangBarItem {
from(value: &ITfLangBarItemBitmapButton) -> Self7527     fn from(value: &ITfLangBarItemBitmapButton) -> Self {
7528         ::std::convert::From::from(::std::clone::Clone::clone(value))
7529     }
7530 }
7531 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for ITfLangBarItemBitmapButton {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7532     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7533         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(self))
7534     }
7535 }
7536 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for &ITfLangBarItemBitmapButton {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7537     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7538         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(::std::clone::Clone::clone(self)))
7539     }
7540 }
7541 #[repr(C)]
7542 #[doc(hidden)]
7543 pub struct ITfLangBarItemBitmapButton_abi(
7544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows::runtime::HRESULT,
7548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7549     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7550     #[cfg(not(feature = "Win32_Foundation"))] usize,
7551     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtooltip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7552     #[cfg(not(feature = "Win32_Foundation"))] usize,
7553     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, click: TfLBIClick, pt: super::super::Foundation::POINT, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7554     #[cfg(not(feature = "Win32_Foundation"))] usize,
7555     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmenu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wid: u32) -> ::windows::runtime::HRESULT,
7557     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszdefault: *const super::super::Foundation::SIZE, psz: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
7558     #[cfg(not(feature = "Win32_Foundation"))] usize,
7559     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut super::super::Graphics::Gdi::HBITMAP, phbmpmask: *mut super::super::Graphics::Gdi::HBITMAP) -> ::windows::runtime::HRESULT,
7560     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
7561     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7562     #[cfg(not(feature = "Win32_Foundation"))] usize,
7563 );
7564 #[repr(transparent)]
7565 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7566 pub struct ITfLangBarItemButton(::windows::runtime::IUnknown);
7567 impl ITfLangBarItemButton {
GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO>7568     pub unsafe fn GetInfo(&self) -> ::windows::runtime::Result<TF_LANGBARITEMINFO> {
7569         let mut result__: <TF_LANGBARITEMINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7570         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<TF_LANGBARITEMINFO>(result__)
7571     }
GetStatus(&self) -> ::windows::runtime::Result<u32>7572     pub unsafe fn GetStatus(&self) -> ::windows::runtime::Result<u32> {
7573         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7574         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7575     }
7576     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>7577     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
7578         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
7579     }
7580     #[cfg(feature = "Win32_Foundation")]
GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7581     pub unsafe fn GetTooltipString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7582         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7583         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7584     }
7585     #[cfg(feature = "Win32_Foundation")]
OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>7586     pub unsafe fn OnClick<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, click: TfLBIClick, pt: Param1, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
7587         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(click), pt.into_param().abi(), ::std::mem::transmute(prcarea)).ok()
7588     }
InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()>7589     pub unsafe fn InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()> {
7590         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pmenu.into_param().abi()).ok()
7591     }
OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()>7592     pub unsafe fn OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()> {
7593         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(wid)).ok()
7594     }
7595     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
GetIcon(&self) -> ::windows::runtime::Result<super::WindowsAndMessaging::HICON>7596     pub unsafe fn GetIcon(&self) -> ::windows::runtime::Result<super::WindowsAndMessaging::HICON> {
7597         let mut result__: <super::WindowsAndMessaging::HICON as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7598         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::WindowsAndMessaging::HICON>(result__)
7599     }
7600     #[cfg(feature = "Win32_Foundation")]
GetText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>7601     pub unsafe fn GetText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
7602         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7603         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
7604     }
7605 }
7606 unsafe impl ::windows::runtime::Interface for ITfLangBarItemButton {
7607     type Vtable = ITfLangBarItemButton_abi;
7608     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(684192208, 56869, 4562, [175, 221, 0, 16, 90, 39, 153, 181]);
7609 }
7610 impl ::std::convert::From<ITfLangBarItemButton> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemButton) -> Self7611     fn from(value: ITfLangBarItemButton) -> Self {
7612         unsafe { ::std::mem::transmute(value) }
7613     }
7614 }
7615 impl ::std::convert::From<&ITfLangBarItemButton> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemButton) -> Self7616     fn from(value: &ITfLangBarItemButton) -> Self {
7617         ::std::convert::From::from(::std::clone::Clone::clone(value))
7618     }
7619 }
7620 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7621     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7622         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7623     }
7624 }
7625 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemButton {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7626     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7627         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7628     }
7629 }
7630 impl ::std::convert::From<ITfLangBarItemButton> for ITfLangBarItem {
from(value: ITfLangBarItemButton) -> Self7631     fn from(value: ITfLangBarItemButton) -> Self {
7632         unsafe { ::std::mem::transmute(value) }
7633     }
7634 }
7635 impl ::std::convert::From<&ITfLangBarItemButton> for ITfLangBarItem {
from(value: &ITfLangBarItemButton) -> Self7636     fn from(value: &ITfLangBarItemButton) -> Self {
7637         ::std::convert::From::from(::std::clone::Clone::clone(value))
7638     }
7639 }
7640 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for ITfLangBarItemButton {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7641     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7642         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(self))
7643     }
7644 }
7645 impl<'a> ::windows::runtime::IntoParam<'a, ITfLangBarItem> for &ITfLangBarItemButton {
into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem>7646     fn into_param(self) -> ::windows::runtime::Param<'a, ITfLangBarItem> {
7647         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfLangBarItem>::into(::std::clone::Clone::clone(self)))
7648     }
7649 }
7650 #[repr(C)]
7651 #[doc(hidden)]
7652 pub struct ITfLangBarItemButton_abi(
7653     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7654     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO) -> ::windows::runtime::HRESULT,
7657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7658     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7659     #[cfg(not(feature = "Win32_Foundation"))] usize,
7660     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtooltip: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7661     #[cfg(not(feature = "Win32_Foundation"))] usize,
7662     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, click: TfLBIClick, pt: super::super::Foundation::POINT, prcarea: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7663     #[cfg(not(feature = "Win32_Foundation"))] usize,
7664     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmenu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wid: u32) -> ::windows::runtime::HRESULT,
7666     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phicon: *mut super::WindowsAndMessaging::HICON) -> ::windows::runtime::HRESULT,
7667     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
7668     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7669     #[cfg(not(feature = "Win32_Foundation"))] usize,
7670 );
7671 #[repr(transparent)]
7672 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7673 pub struct ITfLangBarItemMgr(::windows::runtime::IUnknown);
7674 impl ITfLangBarItemMgr {
EnumItems(&self) -> ::windows::runtime::Result<IEnumTfLangBarItems>7675     pub unsafe fn EnumItems(&self) -> ::windows::runtime::Result<IEnumTfLangBarItems> {
7676         let mut result__: <IEnumTfLangBarItems as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7677         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfLangBarItems>(result__)
7678     }
GetItem(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfLangBarItem>7679     pub unsafe fn GetItem(&self, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfLangBarItem> {
7680         let mut result__: <ITfLangBarItem as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7681         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(rguid), &mut result__).from_abi::<ITfLangBarItem>(result__)
7682     }
AddItem<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItem>>(&self, punk: Param0) -> ::windows::runtime::Result<()>7683     pub unsafe fn AddItem<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItem>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
7684         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
7685     }
RemoveItem<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItem>>(&self, punk: Param0) -> ::windows::runtime::Result<()>7686     pub unsafe fn RemoveItem<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItem>>(&self, punk: Param0) -> ::windows::runtime::Result<()> {
7687         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), punk.into_param().abi()).ok()
7688     }
AdviseItemSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItemSink>>(&self, punk: Param0, pdwcookie: *mut u32, rguiditem: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>7689     pub unsafe fn AdviseItemSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarItemSink>>(&self, punk: Param0, pdwcookie: *mut u32, rguiditem: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
7690         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), punk.into_param().abi(), ::std::mem::transmute(pdwcookie), ::std::mem::transmute(rguiditem)).ok()
7691     }
UnadviseItemSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()>7692     pub unsafe fn UnadviseItemSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
7693         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
7694     }
7695     #[cfg(feature = "Win32_Foundation")]
GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::RECT>7696     pub unsafe fn GetItemFloatingRect(&self, dwthreadid: u32, rguid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
7697         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7698         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(rguid), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
7699     }
GetItemsStatus(&self, ulcount: u32, prgguid: *const ::windows::runtime::GUID, pdwstatus: *mut u32) -> ::windows::runtime::Result<()>7700     pub unsafe fn GetItemsStatus(&self, ulcount: u32, prgguid: *const ::windows::runtime::GUID, pdwstatus: *mut u32) -> ::windows::runtime::Result<()> {
7701         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(prgguid), ::std::mem::transmute(pdwstatus)).ok()
7702     }
GetItemNum(&self) -> ::windows::runtime::Result<u32>7703     pub unsafe fn GetItemNum(&self) -> ::windows::runtime::Result<u32> {
7704         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7705         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7706     }
GetItems(&self, ulcount: u32, ppitem: *mut ::std::option::Option<ITfLangBarItem>, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32) -> ::windows::runtime::Result<()>7707     pub unsafe fn GetItems(&self, ulcount: u32, ppitem: *mut ::std::option::Option<ITfLangBarItem>, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
7708         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppitem), ::std::mem::transmute(pinfo), ::std::mem::transmute(pdwstatus), ::std::mem::transmute(pcfetched)).ok()
7709     }
AdviseItemsSink(&self, ulcount: u32, ppunk: *const ::std::option::Option<ITfLangBarItemSink>, pguiditem: *const ::windows::runtime::GUID, pdwcookie: *mut u32) -> ::windows::runtime::Result<()>7710     pub unsafe fn AdviseItemsSink(&self, ulcount: u32, ppunk: *const ::std::option::Option<ITfLangBarItemSink>, pguiditem: *const ::windows::runtime::GUID, pdwcookie: *mut u32) -> ::windows::runtime::Result<()> {
7711         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(ppunk), ::std::mem::transmute(pguiditem), ::std::mem::transmute(pdwcookie)).ok()
7712     }
UnadviseItemsSink(&self, ulcount: u32, pdwcookie: *const u32) -> ::windows::runtime::Result<()>7713     pub unsafe fn UnadviseItemsSink(&self, ulcount: u32, pdwcookie: *const u32) -> ::windows::runtime::Result<()> {
7714         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(pdwcookie)).ok()
7715     }
7716 }
7717 unsafe impl ::windows::runtime::Interface for ITfLangBarItemMgr {
7718     type Vtable = ITfLangBarItemMgr_abi;
7719     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3125185621, 39254, 20401, [165, 157, 82, 167, 221, 124, 198, 170]);
7720 }
7721 impl ::std::convert::From<ITfLangBarItemMgr> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemMgr) -> Self7722     fn from(value: ITfLangBarItemMgr) -> Self {
7723         unsafe { ::std::mem::transmute(value) }
7724     }
7725 }
7726 impl ::std::convert::From<&ITfLangBarItemMgr> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemMgr) -> Self7727     fn from(value: &ITfLangBarItemMgr) -> Self {
7728         ::std::convert::From::from(::std::clone::Clone::clone(value))
7729     }
7730 }
7731 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7732     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7733         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7734     }
7735 }
7736 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7737     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7738         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7739     }
7740 }
7741 #[repr(C)]
7742 #[doc(hidden)]
7743 pub struct ITfLangBarItemMgr_abi(
7744     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7745     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7746     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7748     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rguid: *const ::windows::runtime::GUID, ppitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7749     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7750     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7751     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punk: ::windows::runtime::RawPtr, pdwcookie: *mut u32, rguiditem: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
7752     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
7753     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, rguid: *const ::windows::runtime::GUID, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
7754     #[cfg(not(feature = "Win32_Foundation"))] usize,
7755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, prgguid: *const ::windows::runtime::GUID, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pulcount: *mut u32) -> ::windows::runtime::HRESULT,
7757     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppitem: *mut ::windows::runtime::RawPtr, pinfo: *mut TF_LANGBARITEMINFO, pdwstatus: *mut u32, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
7758     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, ppunk: *const ::windows::runtime::RawPtr, pguiditem: *const ::windows::runtime::GUID, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
7759     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, pdwcookie: *const u32) -> ::windows::runtime::HRESULT,
7760 );
7761 #[repr(transparent)]
7762 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7763 pub struct ITfLangBarItemSink(::windows::runtime::IUnknown);
7764 impl ITfLangBarItemSink {
OnUpdate(&self, dwflags: u32) -> ::windows::runtime::Result<()>7765     pub unsafe fn OnUpdate(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
7766         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
7767     }
7768 }
7769 unsafe impl ::windows::runtime::Interface for ITfLangBarItemSink {
7770     type Vtable = ITfLangBarItemSink_abi;
7771     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1474027936, 56869, 4562, [175, 221, 0, 16, 90, 39, 153, 181]);
7772 }
7773 impl ::std::convert::From<ITfLangBarItemSink> for ::windows::runtime::IUnknown {
from(value: ITfLangBarItemSink) -> Self7774     fn from(value: ITfLangBarItemSink) -> Self {
7775         unsafe { ::std::mem::transmute(value) }
7776     }
7777 }
7778 impl ::std::convert::From<&ITfLangBarItemSink> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarItemSink) -> Self7779     fn from(value: &ITfLangBarItemSink) -> Self {
7780         ::std::convert::From::from(::std::clone::Clone::clone(value))
7781     }
7782 }
7783 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarItemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7784     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7785         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7786     }
7787 }
7788 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarItemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7789     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7790         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7791     }
7792 }
7793 #[repr(C)]
7794 #[doc(hidden)]
7795 pub struct ITfLangBarItemSink_abi(
7796     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7797     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7798     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7799     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
7800 );
7801 #[repr(transparent)]
7802 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7803 pub struct ITfLangBarMgr(::windows::runtime::IUnknown);
7804 impl ITfLangBarMgr {
7805     #[cfg(feature = "Win32_Foundation")]
AdviseEventSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarEventSink>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, psink: Param0, hwnd: Param1, dwflags: u32, pdwcookie: *const u32) -> ::windows::runtime::Result<()>7806     pub unsafe fn AdviseEventSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarEventSink>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, psink: Param0, hwnd: Param1, dwflags: u32, pdwcookie: *const u32) -> ::windows::runtime::Result<()> {
7807         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), psink.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(pdwcookie)).ok()
7808     }
UnadviseEventSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()>7809     pub unsafe fn UnadviseEventSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
7810         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
7811     }
GetThreadMarshalInterface(&self, dwthreadid: u32, dwtype: u32, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>7812     pub unsafe fn GetThreadMarshalInterface(&self, dwthreadid: u32, dwtype: u32, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
7813         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7814         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(dwtype), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
7815     }
GetThreadLangBarItemMgr(&self, dwthreadid: u32, pplbi: *mut ::std::option::Option<ITfLangBarItemMgr>, pdwthreadid: *mut u32) -> ::windows::runtime::Result<()>7816     pub unsafe fn GetThreadLangBarItemMgr(&self, dwthreadid: u32, pplbi: *mut ::std::option::Option<ITfLangBarItemMgr>, pdwthreadid: *mut u32) -> ::windows::runtime::Result<()> {
7817         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(pplbi), ::std::mem::transmute(pdwthreadid)).ok()
7818     }
GetInputProcessorProfiles(&self, dwthreadid: u32, ppaip: *mut ::std::option::Option<ITfInputProcessorProfiles>, pdwthreadid: *mut u32) -> ::windows::runtime::Result<()>7819     pub unsafe fn GetInputProcessorProfiles(&self, dwthreadid: u32, ppaip: *mut ::std::option::Option<ITfInputProcessorProfiles>, pdwthreadid: *mut u32) -> ::windows::runtime::Result<()> {
7820         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(ppaip), ::std::mem::transmute(pdwthreadid)).ok()
7821     }
7822     #[cfg(feature = "Win32_Foundation")]
RestoreLastFocus<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdwthreadid: *mut u32, fprev: Param1) -> ::windows::runtime::Result<()>7823     pub unsafe fn RestoreLastFocus<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdwthreadid: *mut u32, fprev: Param1) -> ::windows::runtime::Result<()> {
7824         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwthreadid), fprev.into_param().abi()).ok()
7825     }
SetModalInput<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarEventSink>>(&self, psink: Param0, dwthreadid: u32, dwflags: u32) -> ::windows::runtime::Result<()>7826     pub unsafe fn SetModalInput<'a, Param0: ::windows::runtime::IntoParam<'a, ITfLangBarEventSink>>(&self, psink: Param0, dwthreadid: u32, dwflags: u32) -> ::windows::runtime::Result<()> {
7827         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), psink.into_param().abi(), ::std::mem::transmute(dwthreadid), ::std::mem::transmute(dwflags)).ok()
7828     }
ShowFloating(&self, dwflags: u32) -> ::windows::runtime::Result<()>7829     pub unsafe fn ShowFloating(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
7830         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
7831     }
GetShowFloatingStatus(&self) -> ::windows::runtime::Result<u32>7832     pub unsafe fn GetShowFloatingStatus(&self) -> ::windows::runtime::Result<u32> {
7833         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7834         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7835     }
7836 }
7837 unsafe impl ::windows::runtime::Interface for ITfLangBarMgr {
7838     type Vtable = ITfLangBarMgr_abi;
7839     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2274711184, 58919, 4562, [141, 219, 0, 16, 90, 39, 153, 181]);
7840 }
7841 impl ::std::convert::From<ITfLangBarMgr> for ::windows::runtime::IUnknown {
from(value: ITfLangBarMgr) -> Self7842     fn from(value: ITfLangBarMgr) -> Self {
7843         unsafe { ::std::mem::transmute(value) }
7844     }
7845 }
7846 impl ::std::convert::From<&ITfLangBarMgr> for ::windows::runtime::IUnknown {
from(value: &ITfLangBarMgr) -> Self7847     fn from(value: &ITfLangBarMgr) -> Self {
7848         ::std::convert::From::from(::std::clone::Clone::clone(value))
7849     }
7850 }
7851 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLangBarMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7852     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7853         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7854     }
7855 }
7856 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLangBarMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7857     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7858         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7859     }
7860 }
7861 #[repr(C)]
7862 #[doc(hidden)]
7863 pub struct ITfLangBarMgr_abi(
7864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7867     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, dwflags: u32, pdwcookie: *const u32) -> ::windows::runtime::HRESULT,
7868     #[cfg(not(feature = "Win32_Foundation"))] usize,
7869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
7870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, dwtype: u32, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, pplbi: *mut ::windows::runtime::RawPtr, pdwthreadid: *mut u32) -> ::windows::runtime::HRESULT,
7872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwthreadid: u32, ppaip: *mut ::windows::runtime::RawPtr, pdwthreadid: *mut u32) -> ::windows::runtime::HRESULT,
7873     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwthreadid: *mut u32, fprev: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7874     #[cfg(not(feature = "Win32_Foundation"))] usize,
7875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, dwthreadid: u32, dwflags: u32) -> ::windows::runtime::HRESULT,
7876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
7877     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
7878 );
7879 #[repr(transparent)]
7880 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7881 pub struct ITfLanguageProfileNotifySink(::windows::runtime::IUnknown);
7882 impl ITfLanguageProfileNotifySink {
7883     #[cfg(feature = "Win32_Foundation")]
OnLanguageChange(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL>7884     pub unsafe fn OnLanguageChange(&self, langid: u16) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
7885         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7886         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
7887     }
OnLanguageChanged(&self) -> ::windows::runtime::Result<()>7888     pub unsafe fn OnLanguageChanged(&self) -> ::windows::runtime::Result<()> {
7889         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
7890     }
7891 }
7892 unsafe impl ::windows::runtime::Interface for ITfLanguageProfileNotifySink {
7893     type Vtable = ITfLanguageProfileNotifySink_abi;
7894     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1137311253, 62612, 19479, [157, 226, 184, 164, 172, 53, 10, 168]);
7895 }
7896 impl ::std::convert::From<ITfLanguageProfileNotifySink> for ::windows::runtime::IUnknown {
from(value: ITfLanguageProfileNotifySink) -> Self7897     fn from(value: ITfLanguageProfileNotifySink) -> Self {
7898         unsafe { ::std::mem::transmute(value) }
7899     }
7900 }
7901 impl ::std::convert::From<&ITfLanguageProfileNotifySink> for ::windows::runtime::IUnknown {
from(value: &ITfLanguageProfileNotifySink) -> Self7902     fn from(value: &ITfLanguageProfileNotifySink) -> Self {
7903         ::std::convert::From::from(::std::clone::Clone::clone(value))
7904     }
7905 }
7906 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfLanguageProfileNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7907     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7908         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7909     }
7910 }
7911 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfLanguageProfileNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7912     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7913         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7914     }
7915 }
7916 #[repr(C)]
7917 #[doc(hidden)]
7918 pub struct ITfLanguageProfileNotifySink_abi(
7919     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7920     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7921     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7922     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, pfaccept: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
7923     #[cfg(not(feature = "Win32_Foundation"))] usize,
7924     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7925 );
7926 #[repr(transparent)]
7927 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7928 pub struct ITfMSAAControl(::windows::runtime::IUnknown);
7929 impl ITfMSAAControl {
SystemEnableMSAA(&self) -> ::windows::runtime::Result<()>7930     pub unsafe fn SystemEnableMSAA(&self) -> ::windows::runtime::Result<()> {
7931         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
7932     }
SystemDisableMSAA(&self) -> ::windows::runtime::Result<()>7933     pub unsafe fn SystemDisableMSAA(&self) -> ::windows::runtime::Result<()> {
7934         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
7935     }
7936 }
7937 unsafe impl ::windows::runtime::Interface for ITfMSAAControl {
7938     type Vtable = ITfMSAAControl_abi;
7939     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3052993339, 14655, 20348, [132, 203, 80, 73, 36, 194, 112, 90]);
7940 }
7941 impl ::std::convert::From<ITfMSAAControl> for ::windows::runtime::IUnknown {
from(value: ITfMSAAControl) -> Self7942     fn from(value: ITfMSAAControl) -> Self {
7943         unsafe { ::std::mem::transmute(value) }
7944     }
7945 }
7946 impl ::std::convert::From<&ITfMSAAControl> for ::windows::runtime::IUnknown {
from(value: &ITfMSAAControl) -> Self7947     fn from(value: &ITfMSAAControl) -> Self {
7948         ::std::convert::From::from(::std::clone::Clone::clone(value))
7949     }
7950 }
7951 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMSAAControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7952     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7953         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7954     }
7955 }
7956 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMSAAControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7957     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7958         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7959     }
7960 }
7961 #[repr(C)]
7962 #[doc(hidden)]
7963 pub struct ITfMSAAControl_abi(
7964     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7965     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7966     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7967     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7968     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7969 );
7970 #[repr(transparent)]
7971 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7972 pub struct ITfMenu(::windows::runtime::IUnknown);
7973 impl ITfMenu {
7974     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
AddMenuItem<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HBITMAP>, Param3: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HBITMAP>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uid: u32, dwflags: u32, hbmp: Param2, hbmpmask: Param3, pch: Param4, cch: u32, ppmenu: *mut ::std::option::Option<ITfMenu>) -> ::windows::runtime::Result<()>7975     pub unsafe fn AddMenuItem<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HBITMAP>, Param3: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HBITMAP>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, uid: u32, dwflags: u32, hbmp: Param2, hbmpmask: Param3, pch: Param4, cch: u32, ppmenu: *mut ::std::option::Option<ITfMenu>) -> ::windows::runtime::Result<()> {
7976         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(uid), ::std::mem::transmute(dwflags), hbmp.into_param().abi(), hbmpmask.into_param().abi(), pch.into_param().abi(), ::std::mem::transmute(cch), ::std::mem::transmute(ppmenu)).ok()
7977     }
7978 }
7979 unsafe impl ::windows::runtime::Interface for ITfMenu {
7980     type Vtable = ITfMenu_abi;
7981     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1871354084, 43680, 20245, [140, 91, 7, 224, 223, 10, 61, 216]);
7982 }
7983 impl ::std::convert::From<ITfMenu> for ::windows::runtime::IUnknown {
from(value: ITfMenu) -> Self7984     fn from(value: ITfMenu) -> Self {
7985         unsafe { ::std::mem::transmute(value) }
7986     }
7987 }
7988 impl ::std::convert::From<&ITfMenu> for ::windows::runtime::IUnknown {
from(value: &ITfMenu) -> Self7989     fn from(value: &ITfMenu) -> Self {
7990         ::std::convert::From::from(::std::clone::Clone::clone(value))
7991     }
7992 }
7993 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMenu {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7994     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7995         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7996     }
7997 }
7998 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMenu {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7999     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8000         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8001     }
8002 }
8003 #[repr(C)]
8004 #[doc(hidden)]
8005 pub struct ITfMenu_abi(
8006     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8009     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uid: u32, dwflags: u32, hbmp: super::super::Graphics::Gdi::HBITMAP, hbmpmask: super::super::Graphics::Gdi::HBITMAP, pch: super::super::Foundation::PWSTR, cch: u32, ppmenu: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8010     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
8011 );
8012 #[repr(transparent)]
8013 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8014 pub struct ITfMessagePump(::windows::runtime::IUnknown);
8015 impl ITfMessagePump {
8016     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
PeekMessageA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>8017     pub unsafe fn PeekMessageA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
8018         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg), hwnd.into_param().abi(), ::std::mem::transmute(wmsgfiltermin), ::std::mem::transmute(wmsgfiltermax), ::std::mem::transmute(wremovemsg), ::std::mem::transmute(pfresult)).ok()
8019     }
8020     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetMessageA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>8021     pub unsafe fn GetMessageA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
8022         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg), hwnd.into_param().abi(), ::std::mem::transmute(wmsgfiltermin), ::std::mem::transmute(wmsgfiltermax), ::std::mem::transmute(pfresult)).ok()
8023     }
8024     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
PeekMessageW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>8025     pub unsafe fn PeekMessageW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
8026         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg), hwnd.into_param().abi(), ::std::mem::transmute(wmsgfiltermin), ::std::mem::transmute(wmsgfiltermax), ::std::mem::transmute(wremovemsg), ::std::mem::transmute(pfresult)).ok()
8027     }
8028     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetMessageW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>8029     pub unsafe fn GetMessageW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: Param1, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
8030         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg), hwnd.into_param().abi(), ::std::mem::transmute(wmsgfiltermin), ::std::mem::transmute(wmsgfiltermax), ::std::mem::transmute(pfresult)).ok()
8031     }
8032 }
8033 unsafe impl ::windows::runtime::Interface for ITfMessagePump {
8034     type Vtable = ITfMessagePump_abi;
8035     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2400946904, 2923, 18548, [144, 197, 189, 118, 1, 30, 143, 124]);
8036 }
8037 impl ::std::convert::From<ITfMessagePump> for ::windows::runtime::IUnknown {
from(value: ITfMessagePump) -> Self8038     fn from(value: ITfMessagePump) -> Self {
8039         unsafe { ::std::mem::transmute(value) }
8040     }
8041 }
8042 impl ::std::convert::From<&ITfMessagePump> for ::windows::runtime::IUnknown {
from(value: &ITfMessagePump) -> Self8043     fn from(value: &ITfMessagePump) -> Self {
8044         ::std::convert::From::from(::std::clone::Clone::clone(value))
8045     }
8046 }
8047 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMessagePump {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8048     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8049         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8050     }
8051 }
8052 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMessagePump {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8053     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8054         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8055     }
8056 }
8057 #[repr(C)]
8058 #[doc(hidden)]
8059 pub struct ITfMessagePump_abi(
8060     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8061     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8063     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8064     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
8065     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8066     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
8067     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, wremovemsg: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8068     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
8069     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *mut super::WindowsAndMessaging::MSG, hwnd: super::super::Foundation::HWND, wmsgfiltermin: u32, wmsgfiltermax: u32, pfresult: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8070     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
8071 );
8072 #[repr(transparent)]
8073 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8074 pub struct ITfMouseSink(::windows::runtime::IUnknown);
8075 impl ITfMouseSink {
8076     #[cfg(feature = "Win32_Foundation")]
OnMouseEvent(&self, uedge: u32, uquadrant: u32, dwbtnstatus: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8077     pub unsafe fn OnMouseEvent(&self, uedge: u32, uquadrant: u32, dwbtnstatus: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8078         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8079         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(uedge), ::std::mem::transmute(uquadrant), ::std::mem::transmute(dwbtnstatus), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8080     }
8081 }
8082 unsafe impl ::windows::runtime::Interface for ITfMouseSink {
8083     type Vtable = ITfMouseSink_abi;
8084     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2712513186, 14884, 17565, [172, 150, 81, 131, 231, 245, 194, 23]);
8085 }
8086 impl ::std::convert::From<ITfMouseSink> for ::windows::runtime::IUnknown {
from(value: ITfMouseSink) -> Self8087     fn from(value: ITfMouseSink) -> Self {
8088         unsafe { ::std::mem::transmute(value) }
8089     }
8090 }
8091 impl ::std::convert::From<&ITfMouseSink> for ::windows::runtime::IUnknown {
from(value: &ITfMouseSink) -> Self8092     fn from(value: &ITfMouseSink) -> Self {
8093         ::std::convert::From::from(::std::clone::Clone::clone(value))
8094     }
8095 }
8096 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMouseSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8097     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8098         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8099     }
8100 }
8101 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMouseSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8102     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8103         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8104     }
8105 }
8106 #[repr(C)]
8107 #[doc(hidden)]
8108 pub struct ITfMouseSink_abi(
8109     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8110     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8111     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8112     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uedge: u32, uquadrant: u32, dwbtnstatus: u32, pfeaten: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8113     #[cfg(not(feature = "Win32_Foundation"))] usize,
8114 );
8115 #[repr(transparent)]
8116 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8117 pub struct ITfMouseTracker(::windows::runtime::IUnknown);
8118 impl ITfMouseTracker {
AdviseMouseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfMouseSink>>(&self, range: Param0, psink: Param1) -> ::windows::runtime::Result<u32>8119     pub unsafe fn AdviseMouseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfMouseSink>>(&self, range: Param0, psink: Param1) -> ::windows::runtime::Result<u32> {
8120         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8121         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), range.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<u32>(result__)
8122     }
UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()>8123     pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
8124         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
8125     }
8126 }
8127 unsafe impl ::windows::runtime::Interface for ITfMouseTracker {
8128     type Vtable = ITfMouseTracker_abi;
8129     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(164710093, 42308, 16690, [146, 91, 122, 250, 142, 243, 34, 208]);
8130 }
8131 impl ::std::convert::From<ITfMouseTracker> for ::windows::runtime::IUnknown {
from(value: ITfMouseTracker) -> Self8132     fn from(value: ITfMouseTracker) -> Self {
8133         unsafe { ::std::mem::transmute(value) }
8134     }
8135 }
8136 impl ::std::convert::From<&ITfMouseTracker> for ::windows::runtime::IUnknown {
from(value: &ITfMouseTracker) -> Self8137     fn from(value: &ITfMouseTracker) -> Self {
8138         ::std::convert::From::from(::std::clone::Clone::clone(value))
8139     }
8140 }
8141 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMouseTracker {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8142     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8143         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8144     }
8145 }
8146 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMouseTracker {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8147     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8148         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8149     }
8150 }
8151 #[repr(C)]
8152 #[doc(hidden)]
8153 pub struct ITfMouseTracker_abi(
8154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8156     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, range: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
8158     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
8159 );
8160 #[repr(transparent)]
8161 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8162 pub struct ITfMouseTrackerACP(::windows::runtime::IUnknown);
8163 impl ITfMouseTrackerACP {
AdviseMouseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRangeACP>, Param1: ::windows::runtime::IntoParam<'a, ITfMouseSink>>(&self, range: Param0, psink: Param1) -> ::windows::runtime::Result<u32>8164     pub unsafe fn AdviseMouseSink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRangeACP>, Param1: ::windows::runtime::IntoParam<'a, ITfMouseSink>>(&self, range: Param0, psink: Param1) -> ::windows::runtime::Result<u32> {
8165         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8166         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), range.into_param().abi(), psink.into_param().abi(), &mut result__).from_abi::<u32>(result__)
8167     }
UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()>8168     pub unsafe fn UnadviseMouseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
8169         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
8170     }
8171 }
8172 unsafe impl ::windows::runtime::Interface for ITfMouseTrackerACP {
8173     type Vtable = ITfMouseTrackerACP_abi;
8174     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1004370146, 49518, 18429, [184, 131, 206, 111, 172, 193, 162, 8]);
8175 }
8176 impl ::std::convert::From<ITfMouseTrackerACP> for ::windows::runtime::IUnknown {
from(value: ITfMouseTrackerACP) -> Self8177     fn from(value: ITfMouseTrackerACP) -> Self {
8178         unsafe { ::std::mem::transmute(value) }
8179     }
8180 }
8181 impl ::std::convert::From<&ITfMouseTrackerACP> for ::windows::runtime::IUnknown {
from(value: &ITfMouseTrackerACP) -> Self8182     fn from(value: &ITfMouseTrackerACP) -> Self {
8183         ::std::convert::From::from(::std::clone::Clone::clone(value))
8184     }
8185 }
8186 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfMouseTrackerACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8187     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8188         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8189     }
8190 }
8191 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfMouseTrackerACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8192     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8193         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8194     }
8195 }
8196 #[repr(C)]
8197 #[doc(hidden)]
8198 pub struct ITfMouseTrackerACP_abi(
8199     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8200     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8201     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8202     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, range: ::windows::runtime::RawPtr, psink: ::windows::runtime::RawPtr, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
8203     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
8204 );
8205 #[repr(transparent)]
8206 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8207 pub struct ITfPersistentPropertyLoaderACP(::windows::runtime::IUnknown);
8208 impl ITfPersistentPropertyLoaderACP {
8209     #[cfg(feature = "Win32_System_Com")]
LoadProperty(&self, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP) -> ::windows::runtime::Result<super::super::System::Com::IStream>8210     pub unsafe fn LoadProperty(&self, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP) -> ::windows::runtime::Result<super::super::System::Com::IStream> {
8211         let mut result__: <super::super::System::Com::IStream as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8212         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(phdr), &mut result__).from_abi::<super::super::System::Com::IStream>(result__)
8213     }
8214 }
8215 unsafe impl ::windows::runtime::Interface for ITfPersistentPropertyLoaderACP {
8216     type Vtable = ITfPersistentPropertyLoaderACP_abi;
8217     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1324912976, 2055, 4563, [141, 240, 0, 16, 90, 39, 153, 181]);
8218 }
8219 impl ::std::convert::From<ITfPersistentPropertyLoaderACP> for ::windows::runtime::IUnknown {
from(value: ITfPersistentPropertyLoaderACP) -> Self8220     fn from(value: ITfPersistentPropertyLoaderACP) -> Self {
8221         unsafe { ::std::mem::transmute(value) }
8222     }
8223 }
8224 impl ::std::convert::From<&ITfPersistentPropertyLoaderACP> for ::windows::runtime::IUnknown {
from(value: &ITfPersistentPropertyLoaderACP) -> Self8225     fn from(value: &ITfPersistentPropertyLoaderACP) -> Self {
8226         ::std::convert::From::from(::std::clone::Clone::clone(value))
8227     }
8228 }
8229 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfPersistentPropertyLoaderACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8230     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8231         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8232     }
8233 }
8234 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfPersistentPropertyLoaderACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8235     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8236         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8237     }
8238 }
8239 #[repr(C)]
8240 #[doc(hidden)]
8241 pub struct ITfPersistentPropertyLoaderACP_abi(
8242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8243     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8244     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8245     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phdr: *const TF_PERSISTENT_PROPERTY_HEADER_ACP, ppstream: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8246     #[cfg(not(feature = "Win32_System_Com"))] usize,
8247 );
8248 #[repr(transparent)]
8249 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8250 pub struct ITfPreservedKeyNotifySink(::windows::runtime::IUnknown);
8251 impl ITfPreservedKeyNotifySink {
OnUpdated(&self, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<()>8252     pub unsafe fn OnUpdated(&self, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::Result<()> {
8253         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pprekey)).ok()
8254     }
8255 }
8256 unsafe impl ::windows::runtime::Interface for ITfPreservedKeyNotifySink {
8257     type Vtable = ITfPreservedKeyNotifySink_abi;
8258     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1870121363, 53937, 17518, [133, 62, 89, 18, 239, 200, 162, 134]);
8259 }
8260 impl ::std::convert::From<ITfPreservedKeyNotifySink> for ::windows::runtime::IUnknown {
from(value: ITfPreservedKeyNotifySink) -> Self8261     fn from(value: ITfPreservedKeyNotifySink) -> Self {
8262         unsafe { ::std::mem::transmute(value) }
8263     }
8264 }
8265 impl ::std::convert::From<&ITfPreservedKeyNotifySink> for ::windows::runtime::IUnknown {
from(value: &ITfPreservedKeyNotifySink) -> Self8266     fn from(value: &ITfPreservedKeyNotifySink) -> Self {
8267         ::std::convert::From::from(::std::clone::Clone::clone(value))
8268     }
8269 }
8270 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfPreservedKeyNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8271     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8272         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8273     }
8274 }
8275 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfPreservedKeyNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8276     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8277         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8278     }
8279 }
8280 #[repr(C)]
8281 #[doc(hidden)]
8282 pub struct ITfPreservedKeyNotifySink_abi(
8283     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8284     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8285     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8286     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pprekey: *const TF_PRESERVEDKEY) -> ::windows::runtime::HRESULT,
8287 );
8288 #[repr(transparent)]
8289 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8290 pub struct ITfProperty(::windows::runtime::IUnknown);
8291 impl ITfProperty {
GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>8292     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
8293         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8294         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
8295     }
EnumRanges<'a, Param2: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, ppenum: *mut ::std::option::Option<IEnumTfRanges>, ptargetrange: Param2) -> ::windows::runtime::Result<()>8296     pub unsafe fn EnumRanges<'a, Param2: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, ppenum: *mut ::std::option::Option<IEnumTfRanges>, ptargetrange: Param2) -> ::windows::runtime::Result<()> {
8297         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(ppenum), ptargetrange.into_param().abi()).ok()
8298     }
8299     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>8300     pub unsafe fn GetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
8301         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8302         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
8303     }
GetContext(&self) -> ::windows::runtime::Result<ITfContext>8304     pub unsafe fn GetContext(&self) -> ::windows::runtime::Result<ITfContext> {
8305         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8306         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
8307     }
FindRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, pprange: *mut ::std::option::Option<ITfRange>, apos: TfAnchor) -> ::windows::runtime::Result<()>8308     pub unsafe fn FindRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, pprange: *mut ::std::option::Option<ITfRange>, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8309         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(pprange), ::std::mem::transmute(apos)).ok()
8310     }
SetValueStore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfPropertyStore>>(&self, ec: u32, prange: Param1, ppropstore: Param2) -> ::windows::runtime::Result<()>8311     pub unsafe fn SetValueStore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>, Param2: ::windows::runtime::IntoParam<'a, ITfPropertyStore>>(&self, ec: u32, prange: Param1, ppropstore: Param2) -> ::windows::runtime::Result<()> {
8312         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ppropstore.into_param().abi()).ok()
8313     }
8314     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, pvarvalue: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>8315     pub unsafe fn SetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, pvarvalue: *const super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> {
8316         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(pvarvalue)).ok()
8317     }
Clear<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<()>8318     pub unsafe fn Clear<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<()> {
8319         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi()).ok()
8320     }
8321 }
8322 unsafe impl ::windows::runtime::Interface for ITfProperty {
8323     type Vtable = ITfProperty_abi;
8324     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3796145760, 38210, 4562, [191, 70, 0, 16, 90, 39, 153, 181]);
8325 }
8326 impl ::std::convert::From<ITfProperty> for ::windows::runtime::IUnknown {
from(value: ITfProperty) -> Self8327     fn from(value: ITfProperty) -> Self {
8328         unsafe { ::std::mem::transmute(value) }
8329     }
8330 }
8331 impl ::std::convert::From<&ITfProperty> for ::windows::runtime::IUnknown {
from(value: &ITfProperty) -> Self8332     fn from(value: &ITfProperty) -> Self {
8333         ::std::convert::From::from(::std::clone::Clone::clone(value))
8334     }
8335 }
8336 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8337     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8338         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8339     }
8340 }
8341 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8342     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8343         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8344     }
8345 }
8346 impl ::std::convert::From<ITfProperty> for ITfReadOnlyProperty {
from(value: ITfProperty) -> Self8347     fn from(value: ITfProperty) -> Self {
8348         unsafe { ::std::mem::transmute(value) }
8349     }
8350 }
8351 impl ::std::convert::From<&ITfProperty> for ITfReadOnlyProperty {
from(value: &ITfProperty) -> Self8352     fn from(value: &ITfProperty) -> Self {
8353         ::std::convert::From::from(::std::clone::Clone::clone(value))
8354     }
8355 }
8356 impl<'a> ::windows::runtime::IntoParam<'a, ITfReadOnlyProperty> for ITfProperty {
into_param(self) -> ::windows::runtime::Param<'a, ITfReadOnlyProperty>8357     fn into_param(self) -> ::windows::runtime::Param<'a, ITfReadOnlyProperty> {
8358         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfReadOnlyProperty>::into(self))
8359     }
8360 }
8361 impl<'a> ::windows::runtime::IntoParam<'a, ITfReadOnlyProperty> for &ITfProperty {
into_param(self) -> ::windows::runtime::Param<'a, ITfReadOnlyProperty>8362     fn into_param(self) -> ::windows::runtime::Param<'a, ITfReadOnlyProperty> {
8363         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfReadOnlyProperty>::into(::std::clone::Clone::clone(self)))
8364     }
8365 }
8366 #[repr(C)]
8367 #[doc(hidden)]
8368 pub struct ITfProperty_abi(
8369     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8370     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8371     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8372     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8373     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppenum: *mut ::windows::runtime::RawPtr, ptargetrange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8374     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, pvarvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
8375     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8376     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, pprange: *mut ::windows::runtime::RawPtr, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, ppropstore: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8379     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, pvarvalue: *const ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
8380     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8382 );
8383 #[repr(transparent)]
8384 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8385 pub struct ITfPropertyStore(::windows::runtime::IUnknown);
8386 impl ITfPropertyStore {
GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>8387     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
8388         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8389         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
8390     }
GetDataType(&self) -> ::windows::runtime::Result<u32>8391     pub unsafe fn GetDataType(&self) -> ::windows::runtime::Result<u32> {
8392         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8393         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8394     }
8395     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetData(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>8396     pub unsafe fn GetData(&self) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
8397         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8398         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
8399     }
8400     #[cfg(feature = "Win32_Foundation")]
OnTextUpdated<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, dwflags: u32, prangenew: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8401     pub unsafe fn OnTextUpdated<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, dwflags: u32, prangenew: Param1) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8402         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8403         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags), prangenew.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8404     }
8405     #[cfg(feature = "Win32_Foundation")]
Shrink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prangenew: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8406     pub unsafe fn Shrink<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prangenew: Param0) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8407         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8408         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), prangenew.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8409     }
Divide<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prangethis: Param0, prangenew: Param1) -> ::windows::runtime::Result<ITfPropertyStore>8410     pub unsafe fn Divide<'a, Param0: ::windows::runtime::IntoParam<'a, ITfRange>, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, prangethis: Param0, prangenew: Param1) -> ::windows::runtime::Result<ITfPropertyStore> {
8411         let mut result__: <ITfPropertyStore as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8412         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), prangethis.into_param().abi(), prangenew.into_param().abi(), &mut result__).from_abi::<ITfPropertyStore>(result__)
8413     }
Clone(&self) -> ::windows::runtime::Result<ITfPropertyStore>8414     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<ITfPropertyStore> {
8415         let mut result__: <ITfPropertyStore as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8416         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfPropertyStore>(result__)
8417     }
GetPropertyRangeCreator(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>8418     pub unsafe fn GetPropertyRangeCreator(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
8419         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8420         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
8421     }
8422     #[cfg(feature = "Win32_System_Com")]
Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstream: Param0) -> ::windows::runtime::Result<u32>8423     pub unsafe fn Serialize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::System::Com::IStream>>(&self, pstream: Param0) -> ::windows::runtime::Result<u32> {
8424         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8425         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), pstream.into_param().abi(), &mut result__).from_abi::<u32>(result__)
8426     }
8427 }
8428 unsafe impl ::windows::runtime::Interface for ITfPropertyStore {
8429     type Vtable = ITfPropertyStore_abi;
8430     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1748283680, 35019, 4562, [191, 69, 0, 16, 90, 39, 153, 181]);
8431 }
8432 impl ::std::convert::From<ITfPropertyStore> for ::windows::runtime::IUnknown {
from(value: ITfPropertyStore) -> Self8433     fn from(value: ITfPropertyStore) -> Self {
8434         unsafe { ::std::mem::transmute(value) }
8435     }
8436 }
8437 impl ::std::convert::From<&ITfPropertyStore> for ::windows::runtime::IUnknown {
from(value: &ITfPropertyStore) -> Self8438     fn from(value: &ITfPropertyStore) -> Self {
8439         ::std::convert::From::from(::std::clone::Clone::clone(value))
8440     }
8441 }
8442 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfPropertyStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8443     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8444         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8445     }
8446 }
8447 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfPropertyStore {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8448     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8449         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8450     }
8451 }
8452 #[repr(C)]
8453 #[doc(hidden)]
8454 pub struct ITfPropertyStore_abi(
8455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8456     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8457     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8458     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8459     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwreserved: *mut u32) -> ::windows::runtime::HRESULT,
8460     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
8461     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8462     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32, prangenew: ::windows::runtime::RawPtr, pfaccept: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8463     #[cfg(not(feature = "Win32_Foundation"))] usize,
8464     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prangenew: ::windows::runtime::RawPtr, pffree: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8465     #[cfg(not(feature = "Win32_Foundation"))] usize,
8466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prangethis: ::windows::runtime::RawPtr, prangenew: ::windows::runtime::RawPtr, pppropstore: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropstore: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8468     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8469     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstream: ::windows::runtime::RawPtr, pcb: *mut u32) -> ::windows::runtime::HRESULT,
8470     #[cfg(not(feature = "Win32_System_Com"))] usize,
8471 );
8472 #[repr(transparent)]
8473 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8474 pub struct ITfQueryEmbedded(::windows::runtime::IUnknown);
8475 impl ITfQueryEmbedded {
8476     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8477     pub unsafe fn QueryInsertEmbedded(&self, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8478         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8479         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidservice), ::std::mem::transmute(pformatetc), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8480     }
8481 }
8482 unsafe impl ::windows::runtime::Interface for ITfQueryEmbedded {
8483     type Vtable = ITfQueryEmbedded_abi;
8484     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(262904795, 53840, 16745, [132, 229, 107, 225, 24, 253, 215, 168]);
8485 }
8486 impl ::std::convert::From<ITfQueryEmbedded> for ::windows::runtime::IUnknown {
from(value: ITfQueryEmbedded) -> Self8487     fn from(value: ITfQueryEmbedded) -> Self {
8488         unsafe { ::std::mem::transmute(value) }
8489     }
8490 }
8491 impl ::std::convert::From<&ITfQueryEmbedded> for ::windows::runtime::IUnknown {
from(value: &ITfQueryEmbedded) -> Self8492     fn from(value: &ITfQueryEmbedded) -> Self {
8493         ::std::convert::From::from(::std::clone::Clone::clone(value))
8494     }
8495 }
8496 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfQueryEmbedded {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8497     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8498         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8499     }
8500 }
8501 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfQueryEmbedded {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8502     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8503         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8504     }
8505 }
8506 #[repr(C)]
8507 #[doc(hidden)]
8508 pub struct ITfQueryEmbedded_abi(
8509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8512     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidservice: *const ::windows::runtime::GUID, pformatetc: *const super::super::System::Com::FORMATETC, pfinsertable: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8513     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
8514 );
8515 #[repr(transparent)]
8516 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8517 pub struct ITfRange(::windows::runtime::IUnknown);
8518 impl ITfRange {
8519     #[cfg(feature = "Win32_Foundation")]
GetText(&self, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::Result<()>8520     pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::Result<()> {
8521         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), ::std::mem::transmute(pchtext), ::std::mem::transmute(cchmax), ::std::mem::transmute(pcch)).ok()
8522     }
8523     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: u32, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<()>8524     pub unsafe fn SetText<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: u32, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<()> {
8525         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch)).ok()
8526     }
8527     #[cfg(feature = "Win32_System_Com")]
GetFormattedText(&self, ec: u32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>8528     pub unsafe fn GetFormattedText(&self, ec: u32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
8529         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8530         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
8531     }
GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>8532     pub unsafe fn GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
8533         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8534         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(rguidservice), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
8535     }
8536     #[cfg(feature = "Win32_System_Com")]
InsertEmbedded<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<()>8537     pub unsafe fn InsertEmbedded<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<()> {
8538         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pdataobject.into_param().abi()).ok()
8539     }
ShiftStart(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()>8540     pub unsafe fn ShiftStart(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()> {
8541         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), ::std::mem::transmute(phalt)).ok()
8542     }
ShiftEnd(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()>8543     pub unsafe fn ShiftEnd(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()> {
8544         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), ::std::mem::transmute(phalt)).ok()
8545     }
ShiftStartToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()>8546     pub unsafe fn ShiftStartToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8547         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(apos)).ok()
8548     }
ShiftEndToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()>8549     pub unsafe fn ShiftEndToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8550         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(apos)).ok()
8551     }
8552     #[cfg(feature = "Win32_Foundation")]
ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8553     pub unsafe fn ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8554         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8555         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dir), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8556     }
8557     #[cfg(feature = "Win32_Foundation")]
ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8558     pub unsafe fn ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8559         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8560         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dir), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8561     }
8562     #[cfg(feature = "Win32_Foundation")]
IsEmpty(&self, ec: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8563     pub unsafe fn IsEmpty(&self, ec: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8564         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8565         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8566     }
Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::runtime::Result<()>8567     pub unsafe fn Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8568         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(apos)).ok()
8569     }
8570     #[cfg(feature = "Win32_Foundation")]
IsEqualStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8571     pub unsafe fn IsEqualStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8572         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8573         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8574     }
8575     #[cfg(feature = "Win32_Foundation")]
IsEqualEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8576     pub unsafe fn IsEqualEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8577         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8578         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8579     }
CompareStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32>8580     pub unsafe fn CompareStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32> {
8581         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8582         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<i32>(result__)
8583     }
CompareEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32>8584     pub unsafe fn CompareEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32> {
8585         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8586         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<i32>(result__)
8587     }
8588     #[cfg(feature = "Win32_Foundation")]
AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8589     pub unsafe fn AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8590         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8591         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchinsert), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8592     }
GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::Result<()>8593     pub unsafe fn GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::Result<()> {
8594         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(pgstart), ::std::mem::transmute(pgend)).ok()
8595     }
SetGravity(&self, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::Result<()>8596     pub unsafe fn SetGravity(&self, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::Result<()> {
8597         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(gstart), ::std::mem::transmute(gend)).ok()
8598     }
Clone(&self) -> ::windows::runtime::Result<ITfRange>8599     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<ITfRange> {
8600         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8601         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfRange>(result__)
8602     }
GetContext(&self) -> ::windows::runtime::Result<ITfContext>8603     pub unsafe fn GetContext(&self) -> ::windows::runtime::Result<ITfContext> {
8604         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8605         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
8606     }
8607 }
8608 unsafe impl ::windows::runtime::Interface for ITfRange {
8609     type Vtable = ITfRange_abi;
8610     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574719, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
8611 }
8612 impl ::std::convert::From<ITfRange> for ::windows::runtime::IUnknown {
from(value: ITfRange) -> Self8613     fn from(value: ITfRange) -> Self {
8614         unsafe { ::std::mem::transmute(value) }
8615     }
8616 }
8617 impl ::std::convert::From<&ITfRange> for ::windows::runtime::IUnknown {
from(value: &ITfRange) -> Self8618     fn from(value: &ITfRange) -> Self {
8619         ::std::convert::From::from(::std::clone::Clone::clone(value))
8620     }
8621 }
8622 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8623     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8624         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8625     }
8626 }
8627 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfRange {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8628     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8629         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8630     }
8631 }
8632 #[repr(C)]
8633 #[doc(hidden)]
8634 pub struct ITfRange_abi(
8635     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8636     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8637     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8638     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::HRESULT,
8639     #[cfg(not(feature = "Win32_Foundation"))] usize,
8640     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cch: i32) -> ::windows::runtime::HRESULT,
8641     #[cfg(not(feature = "Win32_Foundation"))] usize,
8642     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8643     #[cfg(not(feature = "Win32_System_Com"))] usize,
8644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8645     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8646     #[cfg(not(feature = "Win32_System_Com"))] usize,
8647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const ::std::mem::ManuallyDrop<TF_HALTCOND>) -> ::windows::runtime::HRESULT,
8648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const ::std::mem::ManuallyDrop<TF_HALTCOND>) -> ::windows::runtime::HRESULT,
8649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8650     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8651     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dir: TfShiftDir, pfnoregion: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8652     #[cfg(not(feature = "Win32_Foundation"))] usize,
8653     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dir: TfShiftDir, pfnoregion: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8654     #[cfg(not(feature = "Win32_Foundation"))] usize,
8655     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pfempty: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8656     #[cfg(not(feature = "Win32_Foundation"))] usize,
8657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8658     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8659     #[cfg(not(feature = "Win32_Foundation"))] usize,
8660     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8661     #[cfg(not(feature = "Win32_Foundation"))] usize,
8662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, plresult: *mut i32) -> ::windows::runtime::HRESULT,
8663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, plresult: *mut i32) -> ::windows::runtime::HRESULT,
8664     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchinsert: u32, pfinsertok: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8665     #[cfg(not(feature = "Win32_Foundation"))] usize,
8666     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::HRESULT,
8667     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::HRESULT,
8668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclone: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8670 );
8671 #[repr(transparent)]
8672 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8673 pub struct ITfRangeACP(::windows::runtime::IUnknown);
8674 impl ITfRangeACP {
8675     #[cfg(feature = "Win32_Foundation")]
GetText(&self, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::Result<()>8676     pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::Result<()> {
8677         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), ::std::mem::transmute(pchtext), ::std::mem::transmute(cchmax), ::std::mem::transmute(pcch)).ok()
8678     }
8679     #[cfg(feature = "Win32_Foundation")]
SetText<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: u32, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<()>8680     pub unsafe fn SetText<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ec: u32, dwflags: u32, pchtext: Param2, cch: i32) -> ::windows::runtime::Result<()> {
8681         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pchtext.into_param().abi(), ::std::mem::transmute(cch)).ok()
8682     }
8683     #[cfg(feature = "Win32_System_Com")]
GetFormattedText(&self, ec: u32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject>8684     pub unsafe fn GetFormattedText(&self, ec: u32) -> ::windows::runtime::Result<super::super::System::Com::IDataObject> {
8685         let mut result__: <super::super::System::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8686         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<super::super::System::Com::IDataObject>(result__)
8687     }
GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown>8688     pub unsafe fn GetEmbedded(&self, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
8689         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8690         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(rguidservice), ::std::mem::transmute(riid), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
8691     }
8692     #[cfg(feature = "Win32_System_Com")]
InsertEmbedded<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<()>8693     pub unsafe fn InsertEmbedded<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::System::Com::IDataObject>>(&self, ec: u32, dwflags: u32, pdataobject: Param2) -> ::windows::runtime::Result<()> {
8694         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dwflags), pdataobject.into_param().abi()).ok()
8695     }
ShiftStart(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()>8696     pub unsafe fn ShiftStart(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()> {
8697         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), ::std::mem::transmute(phalt)).ok()
8698     }
ShiftEnd(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()>8699     pub unsafe fn ShiftEnd(&self, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const TF_HALTCOND) -> ::windows::runtime::Result<()> {
8700         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchreq), ::std::mem::transmute(pcch), ::std::mem::transmute(phalt)).ok()
8701     }
ShiftStartToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()>8702     pub unsafe fn ShiftStartToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8703         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(apos)).ok()
8704     }
ShiftEndToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()>8705     pub unsafe fn ShiftEndToRange<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8706         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), ::std::mem::transmute(apos)).ok()
8707     }
8708     #[cfg(feature = "Win32_Foundation")]
ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8709     pub unsafe fn ShiftStartRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8710         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8711         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dir), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8712     }
8713     #[cfg(feature = "Win32_Foundation")]
ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8714     pub unsafe fn ShiftEndRegion(&self, ec: u32, dir: TfShiftDir) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8715         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8716         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(dir), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8717     }
8718     #[cfg(feature = "Win32_Foundation")]
IsEmpty(&self, ec: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8719     pub unsafe fn IsEmpty(&self, ec: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8720         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8721         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8722     }
Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::runtime::Result<()>8723     pub unsafe fn Collapse(&self, ec: u32, apos: TfAnchor) -> ::windows::runtime::Result<()> {
8724         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(apos)).ok()
8725     }
8726     #[cfg(feature = "Win32_Foundation")]
IsEqualStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8727     pub unsafe fn IsEqualStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8728         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8729         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8730     }
8731     #[cfg(feature = "Win32_Foundation")]
IsEqualEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8732     pub unsafe fn IsEqualEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8733         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8734         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8735     }
CompareStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32>8736     pub unsafe fn CompareStart<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32> {
8737         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8738         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<i32>(result__)
8739     }
CompareEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32>8740     pub unsafe fn CompareEnd<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, pwith: Param1, apos: TfAnchor) -> ::windows::runtime::Result<i32> {
8741         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8742         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), pwith.into_param().abi(), ::std::mem::transmute(apos), &mut result__).from_abi::<i32>(result__)
8743     }
8744     #[cfg(feature = "Win32_Foundation")]
AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8745     pub unsafe fn AdjustForInsert(&self, ec: u32, cchinsert: u32) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8746         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8747         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(cchinsert), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8748     }
GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::Result<()>8749     pub unsafe fn GetGravity(&self, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::Result<()> {
8750         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(pgstart), ::std::mem::transmute(pgend)).ok()
8751     }
SetGravity(&self, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::Result<()>8752     pub unsafe fn SetGravity(&self, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::Result<()> {
8753         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(gstart), ::std::mem::transmute(gend)).ok()
8754     }
Clone(&self) -> ::windows::runtime::Result<ITfRange>8755     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<ITfRange> {
8756         let mut result__: <ITfRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8757         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfRange>(result__)
8758     }
GetContext(&self) -> ::windows::runtime::Result<ITfContext>8759     pub unsafe fn GetContext(&self) -> ::windows::runtime::Result<ITfContext> {
8760         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8761         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
8762     }
GetExtent(&self, pacpanchor: *mut i32, pcch: *mut i32) -> ::windows::runtime::Result<()>8763     pub unsafe fn GetExtent(&self, pacpanchor: *mut i32, pcch: *mut i32) -> ::windows::runtime::Result<()> {
8764         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(pacpanchor), ::std::mem::transmute(pcch)).ok()
8765     }
SetExtent(&self, acpanchor: i32, cch: i32) -> ::windows::runtime::Result<()>8766     pub unsafe fn SetExtent(&self, acpanchor: i32, cch: i32) -> ::windows::runtime::Result<()> {
8767         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), ::std::mem::transmute(acpanchor), ::std::mem::transmute(cch)).ok()
8768     }
8769 }
8770 unsafe impl ::windows::runtime::Interface for ITfRangeACP {
8771     type Vtable = ITfRangeACP_abi;
8772     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(91906710, 667, 16724, [183, 154, 13, 70, 29, 78, 169, 76]);
8773 }
8774 impl ::std::convert::From<ITfRangeACP> for ::windows::runtime::IUnknown {
from(value: ITfRangeACP) -> Self8775     fn from(value: ITfRangeACP) -> Self {
8776         unsafe { ::std::mem::transmute(value) }
8777     }
8778 }
8779 impl ::std::convert::From<&ITfRangeACP> for ::windows::runtime::IUnknown {
from(value: &ITfRangeACP) -> Self8780     fn from(value: &ITfRangeACP) -> Self {
8781         ::std::convert::From::from(::std::clone::Clone::clone(value))
8782     }
8783 }
8784 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfRangeACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8785     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8786         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8787     }
8788 }
8789 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfRangeACP {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8790     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8791         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8792     }
8793 }
8794 impl ::std::convert::From<ITfRangeACP> for ITfRange {
from(value: ITfRangeACP) -> Self8795     fn from(value: ITfRangeACP) -> Self {
8796         unsafe { ::std::mem::transmute(value) }
8797     }
8798 }
8799 impl ::std::convert::From<&ITfRangeACP> for ITfRange {
from(value: &ITfRangeACP) -> Self8800     fn from(value: &ITfRangeACP) -> Self {
8801         ::std::convert::From::from(::std::clone::Clone::clone(value))
8802     }
8803 }
8804 impl<'a> ::windows::runtime::IntoParam<'a, ITfRange> for ITfRangeACP {
into_param(self) -> ::windows::runtime::Param<'a, ITfRange>8805     fn into_param(self) -> ::windows::runtime::Param<'a, ITfRange> {
8806         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfRange>::into(self))
8807     }
8808 }
8809 impl<'a> ::windows::runtime::IntoParam<'a, ITfRange> for &ITfRangeACP {
into_param(self) -> ::windows::runtime::Param<'a, ITfRange>8810     fn into_param(self) -> ::windows::runtime::Param<'a, ITfRange> {
8811         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfRange>::into(::std::clone::Clone::clone(self)))
8812     }
8813 }
8814 #[repr(C)]
8815 #[doc(hidden)]
8816 pub struct ITfRangeACP_abi(
8817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8818     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8819     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8820     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cchmax: u32, pcch: *mut u32) -> ::windows::runtime::HRESULT,
8821     #[cfg(not(feature = "Win32_Foundation"))] usize,
8822     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pchtext: super::super::Foundation::PWSTR, cch: i32) -> ::windows::runtime::HRESULT,
8823     #[cfg(not(feature = "Win32_Foundation"))] usize,
8824     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8825     #[cfg(not(feature = "Win32_System_Com"))] usize,
8826     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, rguidservice: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8827     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dwflags: u32, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8828     #[cfg(not(feature = "Win32_System_Com"))] usize,
8829     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const ::std::mem::ManuallyDrop<TF_HALTCOND>) -> ::windows::runtime::HRESULT,
8830     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchreq: i32, pcch: *mut i32, phalt: *const ::std::mem::ManuallyDrop<TF_HALTCOND>) -> ::windows::runtime::HRESULT,
8831     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8832     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8833     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dir: TfShiftDir, pfnoregion: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8834     #[cfg(not(feature = "Win32_Foundation"))] usize,
8835     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, dir: TfShiftDir, pfnoregion: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8836     #[cfg(not(feature = "Win32_Foundation"))] usize,
8837     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pfempty: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8838     #[cfg(not(feature = "Win32_Foundation"))] usize,
8839     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, apos: TfAnchor) -> ::windows::runtime::HRESULT,
8840     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8841     #[cfg(not(feature = "Win32_Foundation"))] usize,
8842     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, pfequal: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8843     #[cfg(not(feature = "Win32_Foundation"))] usize,
8844     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, plresult: *mut i32) -> ::windows::runtime::HRESULT,
8845     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, pwith: ::windows::runtime::RawPtr, apos: TfAnchor, plresult: *mut i32) -> ::windows::runtime::HRESULT,
8846     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, cchinsert: u32, pfinsertok: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
8847     #[cfg(not(feature = "Win32_Foundation"))] usize,
8848     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pgstart: *mut TfGravity, pgend: *mut TfGravity) -> ::windows::runtime::HRESULT,
8849     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, gstart: TfGravity, gend: TfGravity) -> ::windows::runtime::HRESULT,
8850     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclone: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8851     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8852     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pacpanchor: *mut i32, pcch: *mut i32) -> ::windows::runtime::HRESULT,
8853     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, acpanchor: i32, cch: i32) -> ::windows::runtime::HRESULT,
8854 );
8855 #[repr(transparent)]
8856 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8857 pub struct ITfRangeBackup(::windows::runtime::IUnknown);
8858 impl ITfRangeBackup {
Restore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<()>8859     pub unsafe fn Restore<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<()> {
8860         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi()).ok()
8861     }
8862 }
8863 unsafe impl ::windows::runtime::Interface for ITfRangeBackup {
8864     type Vtable = ITfRangeBackup_abi;
8865     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1178226797, 27026, 18898, [155, 136, 147, 213, 94, 112, 187, 22]);
8866 }
8867 impl ::std::convert::From<ITfRangeBackup> for ::windows::runtime::IUnknown {
from(value: ITfRangeBackup) -> Self8868     fn from(value: ITfRangeBackup) -> Self {
8869         unsafe { ::std::mem::transmute(value) }
8870     }
8871 }
8872 impl ::std::convert::From<&ITfRangeBackup> for ::windows::runtime::IUnknown {
from(value: &ITfRangeBackup) -> Self8873     fn from(value: &ITfRangeBackup) -> Self {
8874         ::std::convert::From::from(::std::clone::Clone::clone(value))
8875     }
8876 }
8877 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfRangeBackup {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8878     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8879         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8880     }
8881 }
8882 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfRangeBackup {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8883     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8884         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8885     }
8886 }
8887 #[repr(C)]
8888 #[doc(hidden)]
8889 pub struct ITfRangeBackup_abi(
8890     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8893     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8894 );
8895 #[repr(transparent)]
8896 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8897 pub struct ITfReadOnlyProperty(::windows::runtime::IUnknown);
8898 impl ITfReadOnlyProperty {
GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>8899     pub unsafe fn GetType(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
8900         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8901         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
8902     }
EnumRanges<'a, Param2: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, ppenum: *mut ::std::option::Option<IEnumTfRanges>, ptargetrange: Param2) -> ::windows::runtime::Result<()>8903     pub unsafe fn EnumRanges<'a, Param2: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, ppenum: *mut ::std::option::Option<IEnumTfRanges>, ptargetrange: Param2) -> ::windows::runtime::Result<()> {
8904         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), ::std::mem::transmute(ppenum), ptargetrange.into_param().abi()).ok()
8905     }
8906     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<super::super::System::Com::VARIANT>8907     pub unsafe fn GetValue<'a, Param1: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, ec: u32, prange: Param1) -> ::windows::runtime::Result<super::super::System::Com::VARIANT> {
8908         let mut result__: <super::super::System::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8909         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ec), prange.into_param().abi(), &mut result__).from_abi::<super::super::System::Com::VARIANT>(result__)
8910     }
GetContext(&self) -> ::windows::runtime::Result<ITfContext>8911     pub unsafe fn GetContext(&self) -> ::windows::runtime::Result<ITfContext> {
8912         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8913         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
8914     }
8915 }
8916 unsafe impl ::windows::runtime::Interface for ITfReadOnlyProperty {
8917     type Vtable = ITfReadOnlyProperty_abi;
8918     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(399809085, 63672, 19247, [178, 84, 82, 49, 157, 214, 76, 83]);
8919 }
8920 impl ::std::convert::From<ITfReadOnlyProperty> for ::windows::runtime::IUnknown {
from(value: ITfReadOnlyProperty) -> Self8921     fn from(value: ITfReadOnlyProperty) -> Self {
8922         unsafe { ::std::mem::transmute(value) }
8923     }
8924 }
8925 impl ::std::convert::From<&ITfReadOnlyProperty> for ::windows::runtime::IUnknown {
from(value: &ITfReadOnlyProperty) -> Self8926     fn from(value: &ITfReadOnlyProperty) -> Self {
8927         ::std::convert::From::from(::std::clone::Clone::clone(value))
8928     }
8929 }
8930 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfReadOnlyProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8931     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8932         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
8933     }
8934 }
8935 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfReadOnlyProperty {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>8936     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
8937         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
8938     }
8939 }
8940 #[repr(C)]
8941 #[doc(hidden)]
8942 pub struct ITfReadOnlyProperty_abi(
8943     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8944     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8945     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
8946     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
8947     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, ppenum: *mut ::windows::runtime::RawPtr, ptargetrange: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8948     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ec: u32, prange: ::windows::runtime::RawPtr, pvarvalue: *mut ::std::mem::ManuallyDrop<super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT,
8949     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
8950     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontext: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
8951 );
8952 #[repr(transparent)]
8953 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
8954 pub struct ITfReadingInformationUIElement(::windows::runtime::IUnknown);
8955 impl ITfReadingInformationUIElement {
8956     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>8957     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
8958         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8959         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
8960     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>8961     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
8962         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8963         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
8964     }
8965     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>8966     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
8967         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
8968     }
8969     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8970     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8971         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8972         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8973     }
GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32>8974     pub unsafe fn GetUpdatedFlags(&self) -> ::windows::runtime::Result<u32> {
8975         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8976         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8977     }
GetContext(&self) -> ::windows::runtime::Result<ITfContext>8978     pub unsafe fn GetContext(&self) -> ::windows::runtime::Result<ITfContext> {
8979         let mut result__: <ITfContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8980         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfContext>(result__)
8981     }
8982     #[cfg(feature = "Win32_Foundation")]
GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>8983     pub unsafe fn GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
8984         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8985         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
8986     }
GetMaxReadingStringLength(&self) -> ::windows::runtime::Result<u32>8987     pub unsafe fn GetMaxReadingStringLength(&self) -> ::windows::runtime::Result<u32> {
8988         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8989         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8990     }
GetErrorIndex(&self) -> ::windows::runtime::Result<u32>8991     pub unsafe fn GetErrorIndex(&self) -> ::windows::runtime::Result<u32> {
8992         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8993         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
8994     }
8995     #[cfg(feature = "Win32_Foundation")]
IsVerticalOrderPreferred(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>8996     pub unsafe fn IsVerticalOrderPreferred(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
8997         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
8998         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
8999     }
9000 }
9001 unsafe impl ::windows::runtime::Interface for ITfReadingInformationUIElement {
9002     type Vtable = ITfReadingInformationUIElement_abi;
9003     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927875897, 6623, 4567, [166, 210, 0, 6, 91, 132, 67, 92]);
9004 }
9005 impl ::std::convert::From<ITfReadingInformationUIElement> for ::windows::runtime::IUnknown {
from(value: ITfReadingInformationUIElement) -> Self9006     fn from(value: ITfReadingInformationUIElement) -> Self {
9007         unsafe { ::std::mem::transmute(value) }
9008     }
9009 }
9010 impl ::std::convert::From<&ITfReadingInformationUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfReadingInformationUIElement) -> Self9011     fn from(value: &ITfReadingInformationUIElement) -> Self {
9012         ::std::convert::From::from(::std::clone::Clone::clone(value))
9013     }
9014 }
9015 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfReadingInformationUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9016     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9017         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9018     }
9019 }
9020 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfReadingInformationUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9021     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9022         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9023     }
9024 }
9025 impl ::std::convert::From<ITfReadingInformationUIElement> for ITfUIElement {
from(value: ITfReadingInformationUIElement) -> Self9026     fn from(value: ITfReadingInformationUIElement) -> Self {
9027         unsafe { ::std::mem::transmute(value) }
9028     }
9029 }
9030 impl ::std::convert::From<&ITfReadingInformationUIElement> for ITfUIElement {
from(value: &ITfReadingInformationUIElement) -> Self9031     fn from(value: &ITfReadingInformationUIElement) -> Self {
9032         ::std::convert::From::from(::std::clone::Clone::clone(value))
9033     }
9034 }
9035 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for ITfReadingInformationUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>9036     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
9037         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(self))
9038     }
9039 }
9040 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for &ITfReadingInformationUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>9041     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
9042         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(::std::clone::Clone::clone(self)))
9043     }
9044 }
9045 #[repr(C)]
9046 #[doc(hidden)]
9047 pub struct ITfReadingInformationUIElement_abi(
9048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9051     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
9052     #[cfg(not(feature = "Win32_Foundation"))] usize,
9053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
9054     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9055     #[cfg(not(feature = "Win32_Foundation"))] usize,
9056     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9057     #[cfg(not(feature = "Win32_Foundation"))] usize,
9058     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
9059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppic: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9060     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
9061     #[cfg(not(feature = "Win32_Foundation"))] usize,
9062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcchmax: *mut u32) -> ::windows::runtime::HRESULT,
9063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, perrorindex: *mut u32) -> ::windows::runtime::HRESULT,
9064     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfvertical: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9065     #[cfg(not(feature = "Win32_Foundation"))] usize,
9066 );
9067 #[repr(transparent)]
9068 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9069 pub struct ITfReverseConversion(::windows::runtime::IUnknown);
9070 impl ITfReverseConversion {
9071     #[cfg(feature = "Win32_Foundation")]
DoReverseConversion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lpstr: Param0) -> ::windows::runtime::Result<ITfReverseConversionList>9072     pub unsafe fn DoReverseConversion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, lpstr: Param0) -> ::windows::runtime::Result<ITfReverseConversionList> {
9073         let mut result__: <ITfReverseConversionList as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9074         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), lpstr.into_param().abi(), &mut result__).from_abi::<ITfReverseConversionList>(result__)
9075     }
9076 }
9077 unsafe impl ::windows::runtime::Interface for ITfReverseConversion {
9078     type Vtable = ITfReverseConversion_abi;
9079     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2752897378, 5501, 16765, [138, 140, 10, 178, 108, 125, 39, 129]);
9080 }
9081 impl ::std::convert::From<ITfReverseConversion> for ::windows::runtime::IUnknown {
from(value: ITfReverseConversion) -> Self9082     fn from(value: ITfReverseConversion) -> Self {
9083         unsafe { ::std::mem::transmute(value) }
9084     }
9085 }
9086 impl ::std::convert::From<&ITfReverseConversion> for ::windows::runtime::IUnknown {
from(value: &ITfReverseConversion) -> Self9087     fn from(value: &ITfReverseConversion) -> Self {
9088         ::std::convert::From::from(::std::clone::Clone::clone(value))
9089     }
9090 }
9091 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfReverseConversion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9092     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9093         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9094     }
9095 }
9096 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfReverseConversion {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9097     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9098         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9099     }
9100 }
9101 #[repr(C)]
9102 #[doc(hidden)]
9103 pub struct ITfReverseConversion_abi(
9104     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9105     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9106     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9107     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpstr: super::super::Foundation::PWSTR, pplist: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9108     #[cfg(not(feature = "Win32_Foundation"))] usize,
9109 );
9110 #[repr(transparent)]
9111 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9112 pub struct ITfReverseConversionList(::windows::runtime::IUnknown);
9113 impl ITfReverseConversionList {
GetLength(&self) -> ::windows::runtime::Result<u32>9114     pub unsafe fn GetLength(&self) -> ::windows::runtime::Result<u32> {
9115         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9116         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
9117     }
9118     #[cfg(feature = "Win32_Foundation")]
GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>9119     pub unsafe fn GetString(&self, uindex: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
9120         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9121         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(uindex), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
9122     }
9123 }
9124 unsafe impl ::windows::runtime::Interface for ITfReverseConversionList {
9125     type Vtable = ITfReverseConversionList_abi;
9126     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(354249200, 34548, 18036, [183, 33, 86, 145, 30, 121, 127, 71]);
9127 }
9128 impl ::std::convert::From<ITfReverseConversionList> for ::windows::runtime::IUnknown {
from(value: ITfReverseConversionList) -> Self9129     fn from(value: ITfReverseConversionList) -> Self {
9130         unsafe { ::std::mem::transmute(value) }
9131     }
9132 }
9133 impl ::std::convert::From<&ITfReverseConversionList> for ::windows::runtime::IUnknown {
from(value: &ITfReverseConversionList) -> Self9134     fn from(value: &ITfReverseConversionList) -> Self {
9135         ::std::convert::From::from(::std::clone::Clone::clone(value))
9136     }
9137 }
9138 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfReverseConversionList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9139     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9140         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9141     }
9142 }
9143 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfReverseConversionList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9144     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9145         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9146     }
9147 }
9148 #[repr(C)]
9149 #[doc(hidden)]
9150 pub struct ITfReverseConversionList_abi(
9151     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9152     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9153     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puindex: *mut u32) -> ::windows::runtime::HRESULT,
9155     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uindex: u32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
9156     #[cfg(not(feature = "Win32_Foundation"))] usize,
9157 );
9158 #[repr(transparent)]
9159 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9160 pub struct ITfReverseConversionMgr(::windows::runtime::IUnknown);
9161 impl ITfReverseConversionMgr {
GetReverseConversion(&self, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflag: u32) -> ::windows::runtime::Result<ITfReverseConversion>9162     pub unsafe fn GetReverseConversion(&self, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflag: u32) -> ::windows::runtime::Result<ITfReverseConversion> {
9163         let mut result__: <ITfReverseConversion as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9164         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(langid), ::std::mem::transmute(guidprofile), ::std::mem::transmute(dwflag), &mut result__).from_abi::<ITfReverseConversion>(result__)
9165     }
9166 }
9167 unsafe impl ::windows::runtime::Interface for ITfReverseConversionMgr {
9168     type Vtable = ITfReverseConversionMgr_abi;
9169     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3057893942, 50323, 16822, [171, 179, 105, 36, 18, 119, 92, 196]);
9170 }
9171 impl ::std::convert::From<ITfReverseConversionMgr> for ::windows::runtime::IUnknown {
from(value: ITfReverseConversionMgr) -> Self9172     fn from(value: ITfReverseConversionMgr) -> Self {
9173         unsafe { ::std::mem::transmute(value) }
9174     }
9175 }
9176 impl ::std::convert::From<&ITfReverseConversionMgr> for ::windows::runtime::IUnknown {
from(value: &ITfReverseConversionMgr) -> Self9177     fn from(value: &ITfReverseConversionMgr) -> Self {
9178         ::std::convert::From::from(::std::clone::Clone::clone(value))
9179     }
9180 }
9181 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfReverseConversionMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9182     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9183         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9184     }
9185 }
9186 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfReverseConversionMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9187     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9188         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9189     }
9190 }
9191 #[repr(C)]
9192 #[doc(hidden)]
9193 pub struct ITfReverseConversionMgr_abi(
9194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9197     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, langid: u16, guidprofile: *const ::windows::runtime::GUID, dwflag: u32, ppreverseconversion: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9198 );
9199 #[repr(transparent)]
9200 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9201 pub struct ITfSource(::windows::runtime::IUnknown);
9202 impl ITfSource {
AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<u32>9203     pub unsafe fn AdviseSink<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, riid: *const ::windows::runtime::GUID, punk: Param1) -> ::windows::runtime::Result<u32> {
9204         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9205         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), punk.into_param().abi(), &mut result__).from_abi::<u32>(result__)
9206     }
UnadviseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()>9207     pub unsafe fn UnadviseSink(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
9208         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
9209     }
9210 }
9211 unsafe impl ::windows::runtime::Interface for ITfSource {
9212     type Vtable = ITfSource_abi;
9213     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1319406133, 24750, 17519, [143, 214, 230, 168, 216, 36, 89, 247]);
9214 }
9215 impl ::std::convert::From<ITfSource> for ::windows::runtime::IUnknown {
from(value: ITfSource) -> Self9216     fn from(value: ITfSource) -> Self {
9217         unsafe { ::std::mem::transmute(value) }
9218     }
9219 }
9220 impl ::std::convert::From<&ITfSource> for ::windows::runtime::IUnknown {
from(value: &ITfSource) -> Self9221     fn from(value: &ITfSource) -> Self {
9222         ::std::convert::From::from(::std::clone::Clone::clone(value))
9223     }
9224 }
9225 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9226     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9227         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9228     }
9229 }
9230 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9231     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9232         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9233     }
9234 }
9235 #[repr(C)]
9236 #[doc(hidden)]
9237 pub struct ITfSource_abi(
9238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9241     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
9242     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
9243 );
9244 #[repr(transparent)]
9245 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9246 pub struct ITfSourceSingle(::windows::runtime::IUnknown);
9247 impl ITfSourceSingle {
AdviseSingleSink<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, tid: u32, riid: *const ::windows::runtime::GUID, punk: Param2) -> ::windows::runtime::Result<()>9248     pub unsafe fn AdviseSingleSink<'a, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, tid: u32, riid: *const ::windows::runtime::GUID, punk: Param2) -> ::windows::runtime::Result<()> {
9249         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), ::std::mem::transmute(riid), punk.into_param().abi()).ok()
9250     }
UnadviseSingleSink(&self, tid: u32, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>9251     pub unsafe fn UnadviseSingleSink(&self, tid: u32, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
9252         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(tid), ::std::mem::transmute(riid)).ok()
9253     }
9254 }
9255 unsafe impl ::windows::runtime::Interface for ITfSourceSingle {
9256     type Vtable = ITfSourceSingle_abi;
9257     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1930633116, 22185, 18909, [176, 238, 208, 70, 99, 63, 117, 40]);
9258 }
9259 impl ::std::convert::From<ITfSourceSingle> for ::windows::runtime::IUnknown {
from(value: ITfSourceSingle) -> Self9260     fn from(value: ITfSourceSingle) -> Self {
9261         unsafe { ::std::mem::transmute(value) }
9262     }
9263 }
9264 impl ::std::convert::From<&ITfSourceSingle> for ::windows::runtime::IUnknown {
from(value: &ITfSourceSingle) -> Self9265     fn from(value: &ITfSourceSingle) -> Self {
9266         ::std::convert::From::from(::std::clone::Clone::clone(value))
9267     }
9268 }
9269 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSourceSingle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9270     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9271         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9272     }
9273 }
9274 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSourceSingle {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9275     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9276         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9277     }
9278 }
9279 #[repr(C)]
9280 #[doc(hidden)]
9281 pub struct ITfSourceSingle_abi(
9282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9283     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9284     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9285     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, riid: *const ::windows::runtime::GUID, punk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9286     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, tid: u32, riid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
9287 );
9288 #[repr(transparent)]
9289 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9290 pub struct ITfSpeechUIServer(::windows::runtime::IUnknown);
9291 impl ITfSpeechUIServer {
Initialize(&self) -> ::windows::runtime::Result<()>9292     pub unsafe fn Initialize(&self) -> ::windows::runtime::Result<()> {
9293         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
9294     }
9295     #[cfg(feature = "Win32_Foundation")]
ShowUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>9296     pub unsafe fn ShowUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
9297         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
9298     }
9299     #[cfg(feature = "Win32_Foundation")]
UpdateBalloon<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, style: TfLBBalloonStyle, pch: Param1, cch: u32) -> ::windows::runtime::Result<()>9300     pub unsafe fn UpdateBalloon<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, style: TfLBBalloonStyle, pch: Param1, cch: u32) -> ::windows::runtime::Result<()> {
9301         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(style), pch.into_param().abi(), ::std::mem::transmute(cch)).ok()
9302     }
9303 }
9304 unsafe impl ::windows::runtime::Interface for ITfSpeechUIServer {
9305     type Vtable = ITfSpeechUIServer_abi;
9306     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2431232324, 37444, 18591, [167, 143, 222, 103, 175, 192, 19, 167]);
9307 }
9308 impl ::std::convert::From<ITfSpeechUIServer> for ::windows::runtime::IUnknown {
from(value: ITfSpeechUIServer) -> Self9309     fn from(value: ITfSpeechUIServer) -> Self {
9310         unsafe { ::std::mem::transmute(value) }
9311     }
9312 }
9313 impl ::std::convert::From<&ITfSpeechUIServer> for ::windows::runtime::IUnknown {
from(value: &ITfSpeechUIServer) -> Self9314     fn from(value: &ITfSpeechUIServer) -> Self {
9315         ::std::convert::From::from(::std::clone::Clone::clone(value))
9316     }
9317 }
9318 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSpeechUIServer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9319     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9320         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9321     }
9322 }
9323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSpeechUIServer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9324     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9325         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9326     }
9327 }
9328 #[repr(C)]
9329 #[doc(hidden)]
9330 pub struct ITfSpeechUIServer_abi(
9331     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9332     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9333     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9334     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9335     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9336     #[cfg(not(feature = "Win32_Foundation"))] usize,
9337     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, style: TfLBBalloonStyle, pch: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
9338     #[cfg(not(feature = "Win32_Foundation"))] usize,
9339 );
9340 #[repr(transparent)]
9341 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9342 pub struct ITfStatusSink(::windows::runtime::IUnknown);
9343 impl ITfStatusSink {
OnStatusChange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, dwflags: u32) -> ::windows::runtime::Result<()>9344     pub unsafe fn OnStatusChange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0, dwflags: u32) -> ::windows::runtime::Result<()> {
9345         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
9346     }
9347 }
9348 unsafe impl ::windows::runtime::Interface for ITfStatusSink {
9349     type Vtable = ITfStatusSink_abi;
9350     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1803390323, 45671, 20329, [179, 46, 28, 163, 33, 206, 79, 69]);
9351 }
9352 impl ::std::convert::From<ITfStatusSink> for ::windows::runtime::IUnknown {
from(value: ITfStatusSink) -> Self9353     fn from(value: ITfStatusSink) -> Self {
9354         unsafe { ::std::mem::transmute(value) }
9355     }
9356 }
9357 impl ::std::convert::From<&ITfStatusSink> for ::windows::runtime::IUnknown {
from(value: &ITfStatusSink) -> Self9358     fn from(value: &ITfStatusSink) -> Self {
9359         ::std::convert::From::from(::std::clone::Clone::clone(value))
9360     }
9361 }
9362 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfStatusSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9363     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9364         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9365     }
9366 }
9367 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfStatusSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9368     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9369         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9370     }
9371 }
9372 #[repr(C)]
9373 #[doc(hidden)]
9374 pub struct ITfStatusSink_abi(
9375     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9376     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9377     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9378     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
9379 );
9380 #[repr(transparent)]
9381 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9382 pub struct ITfSystemDeviceTypeLangBarItem(::windows::runtime::IUnknown);
9383 impl ITfSystemDeviceTypeLangBarItem {
SetIconMode(&self, dwflags: LANG_BAR_ITEM_ICON_MODE_FLAGS) -> ::windows::runtime::Result<()>9384     pub unsafe fn SetIconMode(&self, dwflags: LANG_BAR_ITEM_ICON_MODE_FLAGS) -> ::windows::runtime::Result<()> {
9385         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
9386     }
GetIconMode(&self) -> ::windows::runtime::Result<u32>9387     pub unsafe fn GetIconMode(&self) -> ::windows::runtime::Result<u32> {
9388         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9389         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
9390     }
9391 }
9392 unsafe impl ::windows::runtime::Interface for ITfSystemDeviceTypeLangBarItem {
9393     type Vtable = ITfSystemDeviceTypeLangBarItem_abi;
9394     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1164390073, 36953, 18082, [131, 141, 69, 48, 53, 95, 106, 119]);
9395 }
9396 impl ::std::convert::From<ITfSystemDeviceTypeLangBarItem> for ::windows::runtime::IUnknown {
from(value: ITfSystemDeviceTypeLangBarItem) -> Self9397     fn from(value: ITfSystemDeviceTypeLangBarItem) -> Self {
9398         unsafe { ::std::mem::transmute(value) }
9399     }
9400 }
9401 impl ::std::convert::From<&ITfSystemDeviceTypeLangBarItem> for ::windows::runtime::IUnknown {
from(value: &ITfSystemDeviceTypeLangBarItem) -> Self9402     fn from(value: &ITfSystemDeviceTypeLangBarItem) -> Self {
9403         ::std::convert::From::from(::std::clone::Clone::clone(value))
9404     }
9405 }
9406 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSystemDeviceTypeLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9407     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9408         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9409     }
9410 }
9411 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSystemDeviceTypeLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9412     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9413         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9414     }
9415 }
9416 #[repr(C)]
9417 #[doc(hidden)]
9418 pub struct ITfSystemDeviceTypeLangBarItem_abi(
9419     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9420     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9421     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9422     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: LANG_BAR_ITEM_ICON_MODE_FLAGS) -> ::windows::runtime::HRESULT,
9423     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
9424 );
9425 #[repr(transparent)]
9426 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9427 pub struct ITfSystemLangBarItem(::windows::runtime::IUnknown);
9428 impl ITfSystemLangBarItem {
9429     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
SetIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::WindowsAndMessaging::HICON>>(&self, hicon: Param0) -> ::windows::runtime::Result<()>9430     pub unsafe fn SetIcon<'a, Param0: ::windows::runtime::IntoParam<'a, super::WindowsAndMessaging::HICON>>(&self, hicon: Param0) -> ::windows::runtime::Result<()> {
9431         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hicon.into_param().abi()).ok()
9432     }
9433     #[cfg(feature = "Win32_Foundation")]
SetTooltipString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pchtooltip: Param0, cch: u32) -> ::windows::runtime::Result<()>9434     pub unsafe fn SetTooltipString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pchtooltip: Param0, cch: u32) -> ::windows::runtime::Result<()> {
9435         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pchtooltip.into_param().abi(), ::std::mem::transmute(cch)).ok()
9436     }
9437 }
9438 unsafe impl ::windows::runtime::Interface for ITfSystemLangBarItem {
9439     type Vtable = ITfSystemLangBarItem_abi;
9440     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(504621548, 27443, 19786, [181, 235, 138, 146, 240, 41, 243, 86]);
9441 }
9442 impl ::std::convert::From<ITfSystemLangBarItem> for ::windows::runtime::IUnknown {
from(value: ITfSystemLangBarItem) -> Self9443     fn from(value: ITfSystemLangBarItem) -> Self {
9444         unsafe { ::std::mem::transmute(value) }
9445     }
9446 }
9447 impl ::std::convert::From<&ITfSystemLangBarItem> for ::windows::runtime::IUnknown {
from(value: &ITfSystemLangBarItem) -> Self9448     fn from(value: &ITfSystemLangBarItem) -> Self {
9449         ::std::convert::From::from(::std::clone::Clone::clone(value))
9450     }
9451 }
9452 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSystemLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9453     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9454         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9455     }
9456 }
9457 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSystemLangBarItem {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9458     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9459         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9460     }
9461 }
9462 #[repr(C)]
9463 #[doc(hidden)]
9464 pub struct ITfSystemLangBarItem_abi(
9465     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9466     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9467     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9468     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hicon: super::WindowsAndMessaging::HICON) -> ::windows::runtime::HRESULT,
9469     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
9470     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchtooltip: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
9471     #[cfg(not(feature = "Win32_Foundation"))] usize,
9472 );
9473 #[repr(transparent)]
9474 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9475 pub struct ITfSystemLangBarItemSink(::windows::runtime::IUnknown);
9476 impl ITfSystemLangBarItemSink {
InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()>9477     pub unsafe fn InitMenu<'a, Param0: ::windows::runtime::IntoParam<'a, ITfMenu>>(&self, pmenu: Param0) -> ::windows::runtime::Result<()> {
9478         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pmenu.into_param().abi()).ok()
9479     }
OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()>9480     pub unsafe fn OnMenuSelect(&self, wid: u32) -> ::windows::runtime::Result<()> {
9481         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(wid)).ok()
9482     }
9483 }
9484 unsafe impl ::windows::runtime::Interface for ITfSystemLangBarItemSink {
9485     type Vtable = ITfSystemLangBarItemSink_abi;
9486     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(340384171, 5071, 18055, [170, 62, 141, 139, 24, 87, 67, 150]);
9487 }
9488 impl ::std::convert::From<ITfSystemLangBarItemSink> for ::windows::runtime::IUnknown {
from(value: ITfSystemLangBarItemSink) -> Self9489     fn from(value: ITfSystemLangBarItemSink) -> Self {
9490         unsafe { ::std::mem::transmute(value) }
9491     }
9492 }
9493 impl ::std::convert::From<&ITfSystemLangBarItemSink> for ::windows::runtime::IUnknown {
from(value: &ITfSystemLangBarItemSink) -> Self9494     fn from(value: &ITfSystemLangBarItemSink) -> Self {
9495         ::std::convert::From::from(::std::clone::Clone::clone(value))
9496     }
9497 }
9498 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSystemLangBarItemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9499     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9500         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9501     }
9502 }
9503 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSystemLangBarItemSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9504     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9505         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9506     }
9507 }
9508 #[repr(C)]
9509 #[doc(hidden)]
9510 pub struct ITfSystemLangBarItemSink_abi(
9511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9513     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9514     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmenu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9515     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, wid: u32) -> ::windows::runtime::HRESULT,
9516 );
9517 #[repr(transparent)]
9518 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9519 pub struct ITfSystemLangBarItemText(::windows::runtime::IUnknown);
9520 impl ITfSystemLangBarItemText {
9521     #[cfg(feature = "Win32_Foundation")]
SetItemText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pch: Param0, cch: u32) -> ::windows::runtime::Result<()>9522     pub unsafe fn SetItemText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pch: Param0, cch: u32) -> ::windows::runtime::Result<()> {
9523         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pch.into_param().abi(), ::std::mem::transmute(cch)).ok()
9524     }
9525     #[cfg(feature = "Win32_Foundation")]
GetItemText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>9526     pub unsafe fn GetItemText(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
9527         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9528         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
9529     }
9530 }
9531 unsafe impl ::windows::runtime::Interface for ITfSystemLangBarItemText {
9532     type Vtable = ITfSystemLangBarItemText_abi;
9533     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1548542181, 47689, 19282, [172, 107, 59, 57, 123, 79, 112, 31]);
9534 }
9535 impl ::std::convert::From<ITfSystemLangBarItemText> for ::windows::runtime::IUnknown {
from(value: ITfSystemLangBarItemText) -> Self9536     fn from(value: ITfSystemLangBarItemText) -> Self {
9537         unsafe { ::std::mem::transmute(value) }
9538     }
9539 }
9540 impl ::std::convert::From<&ITfSystemLangBarItemText> for ::windows::runtime::IUnknown {
from(value: &ITfSystemLangBarItemText) -> Self9541     fn from(value: &ITfSystemLangBarItemText) -> Self {
9542         ::std::convert::From::from(::std::clone::Clone::clone(value))
9543     }
9544 }
9545 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfSystemLangBarItemText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9546     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9547         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9548     }
9549 }
9550 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfSystemLangBarItemText {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9551     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9552         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9553     }
9554 }
9555 #[repr(C)]
9556 #[doc(hidden)]
9557 pub struct ITfSystemLangBarItemText_abi(
9558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9559     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9560     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9561     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pch: super::super::Foundation::PWSTR, cch: u32) -> ::windows::runtime::HRESULT,
9562     #[cfg(not(feature = "Win32_Foundation"))] usize,
9563     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrtext: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
9564     #[cfg(not(feature = "Win32_Foundation"))] usize,
9565 );
9566 #[repr(transparent)]
9567 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9568 pub struct ITfTextEditSink(::windows::runtime::IUnknown);
9569 impl ITfTextEditSink {
OnEndEdit<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfEditRecord>>(&self, pic: Param0, ecreadonly: u32, peditrecord: Param2) -> ::windows::runtime::Result<()>9570     pub unsafe fn OnEndEdit<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfEditRecord>>(&self, pic: Param0, ecreadonly: u32, peditrecord: Param2) -> ::windows::runtime::Result<()> {
9571         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(ecreadonly), peditrecord.into_param().abi()).ok()
9572     }
9573 }
9574 unsafe impl ::windows::runtime::Interface for ITfTextEditSink {
9575     type Vtable = ITfTextEditSink_abi;
9576     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2166871049, 52435, 18051, [150, 122, 180, 61, 91, 72, 43, 247]);
9577 }
9578 impl ::std::convert::From<ITfTextEditSink> for ::windows::runtime::IUnknown {
from(value: ITfTextEditSink) -> Self9579     fn from(value: ITfTextEditSink) -> Self {
9580         unsafe { ::std::mem::transmute(value) }
9581     }
9582 }
9583 impl ::std::convert::From<&ITfTextEditSink> for ::windows::runtime::IUnknown {
from(value: &ITfTextEditSink) -> Self9584     fn from(value: &ITfTextEditSink) -> Self {
9585         ::std::convert::From::from(::std::clone::Clone::clone(value))
9586     }
9587 }
9588 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTextEditSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9589     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9590         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9591     }
9592 }
9593 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTextEditSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9594     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9595         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9596     }
9597 }
9598 #[repr(C)]
9599 #[doc(hidden)]
9600 pub struct ITfTextEditSink_abi(
9601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9604     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, ecreadonly: u32, peditrecord: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9605 );
9606 #[repr(transparent)]
9607 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9608 pub struct ITfTextInputProcessor(::windows::runtime::IUnknown);
9609 impl ITfTextInputProcessor {
Activate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32) -> ::windows::runtime::Result<()>9610     pub unsafe fn Activate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32) -> ::windows::runtime::Result<()> {
9611         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ptim.into_param().abi(), ::std::mem::transmute(tid)).ok()
9612     }
Deactivate(&self) -> ::windows::runtime::Result<()>9613     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
9614         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
9615     }
9616 }
9617 unsafe impl ::windows::runtime::Interface for ITfTextInputProcessor {
9618     type Vtable = ITfTextInputProcessor_abi;
9619     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574711, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
9620 }
9621 impl ::std::convert::From<ITfTextInputProcessor> for ::windows::runtime::IUnknown {
from(value: ITfTextInputProcessor) -> Self9622     fn from(value: ITfTextInputProcessor) -> Self {
9623         unsafe { ::std::mem::transmute(value) }
9624     }
9625 }
9626 impl ::std::convert::From<&ITfTextInputProcessor> for ::windows::runtime::IUnknown {
from(value: &ITfTextInputProcessor) -> Self9627     fn from(value: &ITfTextInputProcessor) -> Self {
9628         ::std::convert::From::from(::std::clone::Clone::clone(value))
9629     }
9630 }
9631 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTextInputProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9632     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9633         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9634     }
9635 }
9636 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTextInputProcessor {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9637     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9638         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9639     }
9640 }
9641 #[repr(C)]
9642 #[doc(hidden)]
9643 pub struct ITfTextInputProcessor_abi(
9644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptim: ::windows::runtime::RawPtr, tid: u32) -> ::windows::runtime::HRESULT,
9648     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9649 );
9650 #[repr(transparent)]
9651 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9652 pub struct ITfTextInputProcessorEx(::windows::runtime::IUnknown);
9653 impl ITfTextInputProcessorEx {
Activate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32) -> ::windows::runtime::Result<()>9654     pub unsafe fn Activate<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32) -> ::windows::runtime::Result<()> {
9655         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ptim.into_param().abi(), ::std::mem::transmute(tid)).ok()
9656     }
Deactivate(&self) -> ::windows::runtime::Result<()>9657     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
9658         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
9659     }
ActivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32, dwflags: u32) -> ::windows::runtime::Result<()>9660     pub unsafe fn ActivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, ITfThreadMgr>>(&self, ptim: Param0, tid: u32, dwflags: u32) -> ::windows::runtime::Result<()> {
9661         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ptim.into_param().abi(), ::std::mem::transmute(tid), ::std::mem::transmute(dwflags)).ok()
9662     }
9663 }
9664 unsafe impl ::windows::runtime::Interface for ITfTextInputProcessorEx {
9665     type Vtable = ITfTextInputProcessorEx_abi;
9666     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1850614018, 63949, 17213, [180, 150, 48, 60, 224, 58, 101, 7]);
9667 }
9668 impl ::std::convert::From<ITfTextInputProcessorEx> for ::windows::runtime::IUnknown {
from(value: ITfTextInputProcessorEx) -> Self9669     fn from(value: ITfTextInputProcessorEx) -> Self {
9670         unsafe { ::std::mem::transmute(value) }
9671     }
9672 }
9673 impl ::std::convert::From<&ITfTextInputProcessorEx> for ::windows::runtime::IUnknown {
from(value: &ITfTextInputProcessorEx) -> Self9674     fn from(value: &ITfTextInputProcessorEx) -> Self {
9675         ::std::convert::From::from(::std::clone::Clone::clone(value))
9676     }
9677 }
9678 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTextInputProcessorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9679     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9680         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9681     }
9682 }
9683 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTextInputProcessorEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9684     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9685         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9686     }
9687 }
9688 impl ::std::convert::From<ITfTextInputProcessorEx> for ITfTextInputProcessor {
from(value: ITfTextInputProcessorEx) -> Self9689     fn from(value: ITfTextInputProcessorEx) -> Self {
9690         unsafe { ::std::mem::transmute(value) }
9691     }
9692 }
9693 impl ::std::convert::From<&ITfTextInputProcessorEx> for ITfTextInputProcessor {
from(value: &ITfTextInputProcessorEx) -> Self9694     fn from(value: &ITfTextInputProcessorEx) -> Self {
9695         ::std::convert::From::from(::std::clone::Clone::clone(value))
9696     }
9697 }
9698 impl<'a> ::windows::runtime::IntoParam<'a, ITfTextInputProcessor> for ITfTextInputProcessorEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfTextInputProcessor>9699     fn into_param(self) -> ::windows::runtime::Param<'a, ITfTextInputProcessor> {
9700         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfTextInputProcessor>::into(self))
9701     }
9702 }
9703 impl<'a> ::windows::runtime::IntoParam<'a, ITfTextInputProcessor> for &ITfTextInputProcessorEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfTextInputProcessor>9704     fn into_param(self) -> ::windows::runtime::Param<'a, ITfTextInputProcessor> {
9705         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfTextInputProcessor>::into(::std::clone::Clone::clone(self)))
9706     }
9707 }
9708 #[repr(C)]
9709 #[doc(hidden)]
9710 pub struct ITfTextInputProcessorEx_abi(
9711     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9712     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9713     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9714     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptim: ::windows::runtime::RawPtr, tid: u32) -> ::windows::runtime::HRESULT,
9715     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9716     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptim: ::windows::runtime::RawPtr, tid: u32, dwflags: u32) -> ::windows::runtime::HRESULT,
9717 );
9718 #[repr(transparent)]
9719 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9720 pub struct ITfTextLayoutSink(::windows::runtime::IUnknown);
9721 impl ITfTextLayoutSink {
OnLayoutChange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfContextView>>(&self, pic: Param0, lcode: TfLayoutCode, pview: Param2) -> ::windows::runtime::Result<()>9722     pub unsafe fn OnLayoutChange<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfContextView>>(&self, pic: Param0, lcode: TfLayoutCode, pview: Param2) -> ::windows::runtime::Result<()> {
9723         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(lcode), pview.into_param().abi()).ok()
9724     }
9725 }
9726 unsafe impl ::windows::runtime::Interface for ITfTextLayoutSink {
9727     type Vtable = ITfTextLayoutSink_abi;
9728     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(720556138, 56667, 18727, [160, 180, 84, 241, 156, 145, 250, 222]);
9729 }
9730 impl ::std::convert::From<ITfTextLayoutSink> for ::windows::runtime::IUnknown {
from(value: ITfTextLayoutSink) -> Self9731     fn from(value: ITfTextLayoutSink) -> Self {
9732         unsafe { ::std::mem::transmute(value) }
9733     }
9734 }
9735 impl ::std::convert::From<&ITfTextLayoutSink> for ::windows::runtime::IUnknown {
from(value: &ITfTextLayoutSink) -> Self9736     fn from(value: &ITfTextLayoutSink) -> Self {
9737         ::std::convert::From::from(::std::clone::Clone::clone(value))
9738     }
9739 }
9740 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTextLayoutSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9741     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9742         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9743     }
9744 }
9745 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTextLayoutSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9746     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9747         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9748     }
9749 }
9750 #[repr(C)]
9751 #[doc(hidden)]
9752 pub struct ITfTextLayoutSink_abi(
9753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9754     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9755     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9756     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, lcode: TfLayoutCode, pview: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9757 );
9758 #[repr(transparent)]
9759 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9760 pub struct ITfThreadFocusSink(::windows::runtime::IUnknown);
9761 impl ITfThreadFocusSink {
OnSetThreadFocus(&self) -> ::windows::runtime::Result<()>9762     pub unsafe fn OnSetThreadFocus(&self) -> ::windows::runtime::Result<()> {
9763         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
9764     }
OnKillThreadFocus(&self) -> ::windows::runtime::Result<()>9765     pub unsafe fn OnKillThreadFocus(&self) -> ::windows::runtime::Result<()> {
9766         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
9767     }
9768 }
9769 unsafe impl ::windows::runtime::Interface for ITfThreadFocusSink {
9770     type Vtable = ITfThreadFocusSink_abi;
9771     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3237075724, 14880, 16476, [163, 3, 150, 182, 1, 10, 136, 95]);
9772 }
9773 impl ::std::convert::From<ITfThreadFocusSink> for ::windows::runtime::IUnknown {
from(value: ITfThreadFocusSink) -> Self9774     fn from(value: ITfThreadFocusSink) -> Self {
9775         unsafe { ::std::mem::transmute(value) }
9776     }
9777 }
9778 impl ::std::convert::From<&ITfThreadFocusSink> for ::windows::runtime::IUnknown {
from(value: &ITfThreadFocusSink) -> Self9779     fn from(value: &ITfThreadFocusSink) -> Self {
9780         ::std::convert::From::from(::std::clone::Clone::clone(value))
9781     }
9782 }
9783 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfThreadFocusSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9784     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9785         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9786     }
9787 }
9788 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfThreadFocusSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9789     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9790         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9791     }
9792 }
9793 #[repr(C)]
9794 #[doc(hidden)]
9795 pub struct ITfThreadFocusSink_abi(
9796     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9797     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9798     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9799     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9800     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9801 );
9802 #[repr(transparent)]
9803 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9804 pub struct ITfThreadMgr(::windows::runtime::IUnknown);
9805 impl ITfThreadMgr {
Activate(&self) -> ::windows::runtime::Result<u32>9806     pub unsafe fn Activate(&self) -> ::windows::runtime::Result<u32> {
9807         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9808         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
9809     }
Deactivate(&self) -> ::windows::runtime::Result<()>9810     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
9811         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
9812     }
CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>9813     pub unsafe fn CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
9814         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9815         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
9816     }
EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs>9817     pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs> {
9818         let mut result__: <IEnumTfDocumentMgrs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9819         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDocumentMgrs>(result__)
9820     }
GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr>9821     pub unsafe fn GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
9822         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9823         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
9824     }
SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()>9825     pub unsafe fn SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()> {
9826         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pdimfocus.into_param().abi()).ok()
9827     }
9828     #[cfg(feature = "Win32_Foundation")]
AssociateFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, hwnd: Param0, pdimnew: Param1) -> ::windows::runtime::Result<ITfDocumentMgr>9829     pub unsafe fn AssociateFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, hwnd: Param0, pdimnew: Param1) -> ::windows::runtime::Result<ITfDocumentMgr> {
9830         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9831         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), pdimnew.into_param().abi(), &mut result__).from_abi::<ITfDocumentMgr>(result__)
9832     }
9833     #[cfg(feature = "Win32_Foundation")]
IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>9834     pub unsafe fn IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
9835         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9836         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
9837     }
GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider>9838     pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider> {
9839         let mut result__: <ITfFunctionProvider as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9840         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(clsid), &mut result__).from_abi::<ITfFunctionProvider>(result__)
9841     }
EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders>9842     pub unsafe fn EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders> {
9843         let mut result__: <IEnumTfFunctionProviders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9844         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfFunctionProviders>(result__)
9845     }
GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr>9846     pub unsafe fn GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr> {
9847         let mut result__: <ITfCompartmentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9848         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfCompartmentMgr>(result__)
9849     }
9850 }
9851 unsafe impl ::windows::runtime::Interface for ITfThreadMgr {
9852     type Vtable = ITfThreadMgr_abi;
9853     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574721, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
9854 }
9855 impl ::std::convert::From<ITfThreadMgr> for ::windows::runtime::IUnknown {
from(value: ITfThreadMgr) -> Self9856     fn from(value: ITfThreadMgr) -> Self {
9857         unsafe { ::std::mem::transmute(value) }
9858     }
9859 }
9860 impl ::std::convert::From<&ITfThreadMgr> for ::windows::runtime::IUnknown {
from(value: &ITfThreadMgr) -> Self9861     fn from(value: &ITfThreadMgr) -> Self {
9862         ::std::convert::From::from(::std::clone::Clone::clone(value))
9863     }
9864 }
9865 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfThreadMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9866     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9867         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9868     }
9869 }
9870 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfThreadMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9871     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9872         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9873     }
9874 }
9875 #[repr(C)]
9876 #[doc(hidden)]
9877 pub struct ITfThreadMgr_abi(
9878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptid: *mut u32) -> ::windows::runtime::HRESULT,
9882     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9883     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9884     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9885     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdimfocus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9886     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdimfocus: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9887     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, pdimnew: ::windows::runtime::RawPtr, ppdimprev: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9888     #[cfg(not(feature = "Win32_Foundation"))] usize,
9889     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfthreadfocus: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9890     #[cfg(not(feature = "Win32_Foundation"))] usize,
9891     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clsid: *const ::windows::runtime::GUID, ppfuncprov: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9892     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9893     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcompmgr: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9894 );
9895 #[repr(transparent)]
9896 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
9897 pub struct ITfThreadMgr2(::windows::runtime::IUnknown);
9898 impl ITfThreadMgr2 {
Activate(&self) -> ::windows::runtime::Result<u32>9899     pub unsafe fn Activate(&self) -> ::windows::runtime::Result<u32> {
9900         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9901         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
9902     }
Deactivate(&self) -> ::windows::runtime::Result<()>9903     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
9904         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
9905     }
CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>9906     pub unsafe fn CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
9907         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9908         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
9909     }
EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs>9910     pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs> {
9911         let mut result__: <IEnumTfDocumentMgrs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9912         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDocumentMgrs>(result__)
9913     }
GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr>9914     pub unsafe fn GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
9915         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9916         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
9917     }
SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()>9918     pub unsafe fn SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()> {
9919         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pdimfocus.into_param().abi()).ok()
9920     }
9921     #[cfg(feature = "Win32_Foundation")]
IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>9922     pub unsafe fn IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
9923         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9924         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
9925     }
GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider>9926     pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider> {
9927         let mut result__: <ITfFunctionProvider as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9928         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(clsid), &mut result__).from_abi::<ITfFunctionProvider>(result__)
9929     }
EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders>9930     pub unsafe fn EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders> {
9931         let mut result__: <IEnumTfFunctionProviders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9932         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfFunctionProviders>(result__)
9933     }
GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr>9934     pub unsafe fn GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr> {
9935         let mut result__: <ITfCompartmentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9936         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfCompartmentMgr>(result__)
9937     }
ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>9938     pub unsafe fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
9939         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(ptid), ::std::mem::transmute(dwflags)).ok()
9940     }
GetActiveFlags(&self) -> ::windows::runtime::Result<u32>9941     pub unsafe fn GetActiveFlags(&self) -> ::windows::runtime::Result<u32> {
9942         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
9943         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
9944     }
SuspendKeystrokeHandling(&self) -> ::windows::runtime::Result<()>9945     pub unsafe fn SuspendKeystrokeHandling(&self) -> ::windows::runtime::Result<()> {
9946         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
9947     }
ResumeKeystrokeHandling(&self) -> ::windows::runtime::Result<()>9948     pub unsafe fn ResumeKeystrokeHandling(&self) -> ::windows::runtime::Result<()> {
9949         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self)).ok()
9950     }
9951 }
9952 unsafe impl ::windows::runtime::Interface for ITfThreadMgr2 {
9953     type Vtable = ITfThreadMgr2_abi;
9954     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(179411183, 25719, 20200, [136, 18, 103, 128, 237, 184, 45, 94]);
9955 }
9956 impl ::std::convert::From<ITfThreadMgr2> for ::windows::runtime::IUnknown {
from(value: ITfThreadMgr2) -> Self9957     fn from(value: ITfThreadMgr2) -> Self {
9958         unsafe { ::std::mem::transmute(value) }
9959     }
9960 }
9961 impl ::std::convert::From<&ITfThreadMgr2> for ::windows::runtime::IUnknown {
from(value: &ITfThreadMgr2) -> Self9962     fn from(value: &ITfThreadMgr2) -> Self {
9963         ::std::convert::From::from(::std::clone::Clone::clone(value))
9964     }
9965 }
9966 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfThreadMgr2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9967     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9968         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
9969     }
9970 }
9971 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfThreadMgr2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>9972     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
9973         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
9974     }
9975 }
9976 #[repr(C)]
9977 #[doc(hidden)]
9978 pub struct ITfThreadMgr2_abi(
9979     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9980     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9981     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
9982     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptid: *mut u32) -> ::windows::runtime::HRESULT,
9983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9984     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdimfocus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9987     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdimfocus: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9988     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfthreadfocus: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
9989     #[cfg(not(feature = "Win32_Foundation"))] usize,
9990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clsid: *const ::windows::runtime::GUID, ppfuncprov: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9991     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9992     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcompmgr: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9993     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
9994     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdwflags: *mut u32) -> ::windows::runtime::HRESULT,
9995     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
9997 );
9998 #[repr(transparent)]
9999 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10000 pub struct ITfThreadMgrEventSink(::windows::runtime::IUnknown);
10001 impl ITfThreadMgrEventSink {
OnInitDocumentMgr<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdim: Param0) -> ::windows::runtime::Result<()>10002     pub unsafe fn OnInitDocumentMgr<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdim: Param0) -> ::windows::runtime::Result<()> {
10003         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pdim.into_param().abi()).ok()
10004     }
OnUninitDocumentMgr<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdim: Param0) -> ::windows::runtime::Result<()>10005     pub unsafe fn OnUninitDocumentMgr<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdim: Param0) -> ::windows::runtime::Result<()> {
10006         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pdim.into_param().abi()).ok()
10007     }
OnSetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0, pdimprevfocus: Param1) -> ::windows::runtime::Result<()>10008     pub unsafe fn OnSetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0, pdimprevfocus: Param1) -> ::windows::runtime::Result<()> {
10009         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pdimfocus.into_param().abi(), pdimprevfocus.into_param().abi()).ok()
10010     }
OnPushContext<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()>10011     pub unsafe fn OnPushContext<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()> {
10012         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pic.into_param().abi()).ok()
10013     }
OnPopContext<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()>10014     pub unsafe fn OnPopContext<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>>(&self, pic: Param0) -> ::windows::runtime::Result<()> {
10015         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pic.into_param().abi()).ok()
10016     }
10017 }
10018 unsafe impl ::windows::runtime::Interface for ITfThreadMgrEventSink {
10019     type Vtable = ITfThreadMgrEventSink_abi;
10020     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2860574734, 8225, 4562, [147, 224, 0, 96, 176, 103, 184, 110]);
10021 }
10022 impl ::std::convert::From<ITfThreadMgrEventSink> for ::windows::runtime::IUnknown {
from(value: ITfThreadMgrEventSink) -> Self10023     fn from(value: ITfThreadMgrEventSink) -> Self {
10024         unsafe { ::std::mem::transmute(value) }
10025     }
10026 }
10027 impl ::std::convert::From<&ITfThreadMgrEventSink> for ::windows::runtime::IUnknown {
from(value: &ITfThreadMgrEventSink) -> Self10028     fn from(value: &ITfThreadMgrEventSink) -> Self {
10029         ::std::convert::From::from(::std::clone::Clone::clone(value))
10030     }
10031 }
10032 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfThreadMgrEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10033     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10034         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10035     }
10036 }
10037 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfThreadMgrEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10038     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10039         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10040     }
10041 }
10042 #[repr(C)]
10043 #[doc(hidden)]
10044 pub struct ITfThreadMgrEventSink_abi(
10045     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10046     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10047     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10048     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdim: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10049     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdim: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10050     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdimfocus: ::windows::runtime::RawPtr, pdimprevfocus: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10051     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10052     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10053 );
10054 #[repr(transparent)]
10055 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10056 pub struct ITfThreadMgrEx(::windows::runtime::IUnknown);
10057 impl ITfThreadMgrEx {
Activate(&self) -> ::windows::runtime::Result<u32>10058     pub unsafe fn Activate(&self) -> ::windows::runtime::Result<u32> {
10059         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10060         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10061     }
Deactivate(&self) -> ::windows::runtime::Result<()>10062     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
10063         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
10064     }
CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>10065     pub unsafe fn CreateDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
10066         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10067         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
10068     }
EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs>10069     pub unsafe fn EnumDocumentMgrs(&self) -> ::windows::runtime::Result<IEnumTfDocumentMgrs> {
10070         let mut result__: <IEnumTfDocumentMgrs as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10071         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfDocumentMgrs>(result__)
10072     }
GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr>10073     pub unsafe fn GetFocus(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
10074         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10075         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
10076     }
SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()>10077     pub unsafe fn SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, pdimfocus: Param0) -> ::windows::runtime::Result<()> {
10078         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pdimfocus.into_param().abi()).ok()
10079     }
10080     #[cfg(feature = "Win32_Foundation")]
AssociateFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, hwnd: Param0, pdimnew: Param1) -> ::windows::runtime::Result<ITfDocumentMgr>10081     pub unsafe fn AssociateFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, ITfDocumentMgr>>(&self, hwnd: Param0, pdimnew: Param1) -> ::windows::runtime::Result<ITfDocumentMgr> {
10082         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10083         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), pdimnew.into_param().abi(), &mut result__).from_abi::<ITfDocumentMgr>(result__)
10084     }
10085     #[cfg(feature = "Win32_Foundation")]
IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>10086     pub unsafe fn IsThreadFocus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
10087         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10088         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
10089     }
GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider>10090     pub unsafe fn GetFunctionProvider(&self, clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<ITfFunctionProvider> {
10091         let mut result__: <ITfFunctionProvider as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10092         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(clsid), &mut result__).from_abi::<ITfFunctionProvider>(result__)
10093     }
EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders>10094     pub unsafe fn EnumFunctionProviders(&self) -> ::windows::runtime::Result<IEnumTfFunctionProviders> {
10095         let mut result__: <IEnumTfFunctionProviders as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10096         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfFunctionProviders>(result__)
10097     }
GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr>10098     pub unsafe fn GetGlobalCompartment(&self) -> ::windows::runtime::Result<ITfCompartmentMgr> {
10099         let mut result__: <ITfCompartmentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10100         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfCompartmentMgr>(result__)
10101     }
ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()>10102     pub unsafe fn ActivateEx(&self, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::Result<()> {
10103         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(ptid), ::std::mem::transmute(dwflags)).ok()
10104     }
GetActiveFlags(&self) -> ::windows::runtime::Result<u32>10105     pub unsafe fn GetActiveFlags(&self) -> ::windows::runtime::Result<u32> {
10106         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10107         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
10108     }
10109 }
10110 unsafe impl ::windows::runtime::Interface for ITfThreadMgrEx {
10111     type Vtable = ITfThreadMgrEx_abi;
10112     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1049669091, 30100, 19632, [187, 88, 105, 98, 143, 95, 69, 140]);
10113 }
10114 impl ::std::convert::From<ITfThreadMgrEx> for ::windows::runtime::IUnknown {
from(value: ITfThreadMgrEx) -> Self10115     fn from(value: ITfThreadMgrEx) -> Self {
10116         unsafe { ::std::mem::transmute(value) }
10117     }
10118 }
10119 impl ::std::convert::From<&ITfThreadMgrEx> for ::windows::runtime::IUnknown {
from(value: &ITfThreadMgrEx) -> Self10120     fn from(value: &ITfThreadMgrEx) -> Self {
10121         ::std::convert::From::from(::std::clone::Clone::clone(value))
10122     }
10123 }
10124 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfThreadMgrEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10125     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10126         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10127     }
10128 }
10129 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfThreadMgrEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10130     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10131         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10132     }
10133 }
10134 impl ::std::convert::From<ITfThreadMgrEx> for ITfThreadMgr {
from(value: ITfThreadMgrEx) -> Self10135     fn from(value: ITfThreadMgrEx) -> Self {
10136         unsafe { ::std::mem::transmute(value) }
10137     }
10138 }
10139 impl ::std::convert::From<&ITfThreadMgrEx> for ITfThreadMgr {
from(value: &ITfThreadMgrEx) -> Self10140     fn from(value: &ITfThreadMgrEx) -> Self {
10141         ::std::convert::From::from(::std::clone::Clone::clone(value))
10142     }
10143 }
10144 impl<'a> ::windows::runtime::IntoParam<'a, ITfThreadMgr> for ITfThreadMgrEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfThreadMgr>10145     fn into_param(self) -> ::windows::runtime::Param<'a, ITfThreadMgr> {
10146         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfThreadMgr>::into(self))
10147     }
10148 }
10149 impl<'a> ::windows::runtime::IntoParam<'a, ITfThreadMgr> for &ITfThreadMgrEx {
into_param(self) -> ::windows::runtime::Param<'a, ITfThreadMgr>10150     fn into_param(self) -> ::windows::runtime::Param<'a, ITfThreadMgr> {
10151         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfThreadMgr>::into(::std::clone::Clone::clone(self)))
10152     }
10153 }
10154 #[repr(C)]
10155 #[doc(hidden)]
10156 pub struct ITfThreadMgrEx_abi(
10157     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10158     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10159     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10160     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptid: *mut u32) -> ::windows::runtime::HRESULT,
10161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdimfocus: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10165     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdimfocus: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10166     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, pdimnew: ::windows::runtime::RawPtr, ppdimprev: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10167     #[cfg(not(feature = "Win32_Foundation"))] usize,
10168     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfthreadfocus: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10169     #[cfg(not(feature = "Win32_Foundation"))] usize,
10170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, clsid: *const ::windows::runtime::GUID, ppfuncprov: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10171     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10172     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcompmgr: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptid: *mut u32, dwflags: u32) -> ::windows::runtime::HRESULT,
10174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdwflags: *mut u32) -> ::windows::runtime::HRESULT,
10175 );
10176 #[repr(transparent)]
10177 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10178 pub struct ITfToolTipUIElement(::windows::runtime::IUnknown);
10179 impl ITfToolTipUIElement {
10180     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10181     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10182         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10183         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10184     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>10185     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
10186         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10187         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
10188     }
10189     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>10190     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
10191         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
10192     }
10193     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>10194     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
10195         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10196         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
10197     }
10198     #[cfg(feature = "Win32_Foundation")]
GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10199     pub unsafe fn GetString(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10200         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10201         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10202     }
10203 }
10204 unsafe impl ::windows::runtime::Interface for ITfToolTipUIElement {
10205     type Vtable = ITfToolTipUIElement_abi;
10206     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1387367260, 21853, 18098, [176, 10, 250, 104, 1, 68, 251, 219]);
10207 }
10208 impl ::std::convert::From<ITfToolTipUIElement> for ::windows::runtime::IUnknown {
from(value: ITfToolTipUIElement) -> Self10209     fn from(value: ITfToolTipUIElement) -> Self {
10210         unsafe { ::std::mem::transmute(value) }
10211     }
10212 }
10213 impl ::std::convert::From<&ITfToolTipUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfToolTipUIElement) -> Self10214     fn from(value: &ITfToolTipUIElement) -> Self {
10215         ::std::convert::From::from(::std::clone::Clone::clone(value))
10216     }
10217 }
10218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfToolTipUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10219     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10220         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10221     }
10222 }
10223 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfToolTipUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10224     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10225         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10226     }
10227 }
10228 impl ::std::convert::From<ITfToolTipUIElement> for ITfUIElement {
from(value: ITfToolTipUIElement) -> Self10229     fn from(value: ITfToolTipUIElement) -> Self {
10230         unsafe { ::std::mem::transmute(value) }
10231     }
10232 }
10233 impl ::std::convert::From<&ITfToolTipUIElement> for ITfUIElement {
from(value: &ITfToolTipUIElement) -> Self10234     fn from(value: &ITfToolTipUIElement) -> Self {
10235         ::std::convert::From::from(::std::clone::Clone::clone(value))
10236     }
10237 }
10238 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for ITfToolTipUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>10239     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
10240         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(self))
10241     }
10242 }
10243 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for &ITfToolTipUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>10244     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
10245         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(::std::clone::Clone::clone(self)))
10246     }
10247 }
10248 #[repr(C)]
10249 #[doc(hidden)]
10250 pub struct ITfToolTipUIElement_abi(
10251     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10252     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10253     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10254     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10255     #[cfg(not(feature = "Win32_Foundation"))] usize,
10256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
10257     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10258     #[cfg(not(feature = "Win32_Foundation"))] usize,
10259     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10260     #[cfg(not(feature = "Win32_Foundation"))] usize,
10261     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10262     #[cfg(not(feature = "Win32_Foundation"))] usize,
10263 );
10264 #[repr(transparent)]
10265 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10266 pub struct ITfTransitoryExtensionSink(::windows::runtime::IUnknown);
10267 impl ITfTransitoryExtensionSink {
10268     #[cfg(feature = "Win32_Foundation")]
OnTransitoryExtensionUpdated<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, pic: Param0, ecreadonly: u32, presultrange: Param2, pcompositionrange: Param3) -> ::windows::runtime::Result<super::super::Foundation::BOOL>10269     pub unsafe fn OnTransitoryExtensionUpdated<'a, Param0: ::windows::runtime::IntoParam<'a, ITfContext>, Param2: ::windows::runtime::IntoParam<'a, ITfRange>, Param3: ::windows::runtime::IntoParam<'a, ITfRange>>(&self, pic: Param0, ecreadonly: u32, presultrange: Param2, pcompositionrange: Param3) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
10270         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10271         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pic.into_param().abi(), ::std::mem::transmute(ecreadonly), presultrange.into_param().abi(), pcompositionrange.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
10272     }
10273 }
10274 unsafe impl ::windows::runtime::Interface for ITfTransitoryExtensionSink {
10275     type Vtable = ITfTransitoryExtensionSink_abi;
10276     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2786396527, 7255, 18451, [138, 21, 85, 238, 110, 90, 131, 156]);
10277 }
10278 impl ::std::convert::From<ITfTransitoryExtensionSink> for ::windows::runtime::IUnknown {
from(value: ITfTransitoryExtensionSink) -> Self10279     fn from(value: ITfTransitoryExtensionSink) -> Self {
10280         unsafe { ::std::mem::transmute(value) }
10281     }
10282 }
10283 impl ::std::convert::From<&ITfTransitoryExtensionSink> for ::windows::runtime::IUnknown {
from(value: &ITfTransitoryExtensionSink) -> Self10284     fn from(value: &ITfTransitoryExtensionSink) -> Self {
10285         ::std::convert::From::from(::std::clone::Clone::clone(value))
10286     }
10287 }
10288 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTransitoryExtensionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10289     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10290         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10291     }
10292 }
10293 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTransitoryExtensionSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10294     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10295         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10296     }
10297 }
10298 #[repr(C)]
10299 #[doc(hidden)]
10300 pub struct ITfTransitoryExtensionSink_abi(
10301     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10302     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10303     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10304     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pic: ::windows::runtime::RawPtr, ecreadonly: u32, presultrange: ::windows::runtime::RawPtr, pcompositionrange: ::windows::runtime::RawPtr, pfdeleteresultrange: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10305     #[cfg(not(feature = "Win32_Foundation"))] usize,
10306 );
10307 #[repr(transparent)]
10308 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10309 pub struct ITfTransitoryExtensionUIElement(::windows::runtime::IUnknown);
10310 impl ITfTransitoryExtensionUIElement {
10311     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10312     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10313         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10314         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10315     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>10316     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
10317         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10318         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
10319     }
10320     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>10321     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
10322         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
10323     }
10324     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>10325     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
10326         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10327         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
10328     }
GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr>10329     pub unsafe fn GetDocumentMgr(&self) -> ::windows::runtime::Result<ITfDocumentMgr> {
10330         let mut result__: <ITfDocumentMgr as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10331         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITfDocumentMgr>(result__)
10332     }
10333 }
10334 unsafe impl ::windows::runtime::Interface for ITfTransitoryExtensionUIElement {
10335     type Vtable = ITfTransitoryExtensionUIElement_abi;
10336     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2240779626, 38703, 17058, [162, 242, 3, 33, 225, 171, 226, 9]);
10337 }
10338 impl ::std::convert::From<ITfTransitoryExtensionUIElement> for ::windows::runtime::IUnknown {
from(value: ITfTransitoryExtensionUIElement) -> Self10339     fn from(value: ITfTransitoryExtensionUIElement) -> Self {
10340         unsafe { ::std::mem::transmute(value) }
10341     }
10342 }
10343 impl ::std::convert::From<&ITfTransitoryExtensionUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfTransitoryExtensionUIElement) -> Self10344     fn from(value: &ITfTransitoryExtensionUIElement) -> Self {
10345         ::std::convert::From::from(::std::clone::Clone::clone(value))
10346     }
10347 }
10348 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfTransitoryExtensionUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10349     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10350         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10351     }
10352 }
10353 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfTransitoryExtensionUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10354     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10355         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10356     }
10357 }
10358 impl ::std::convert::From<ITfTransitoryExtensionUIElement> for ITfUIElement {
from(value: ITfTransitoryExtensionUIElement) -> Self10359     fn from(value: ITfTransitoryExtensionUIElement) -> Self {
10360         unsafe { ::std::mem::transmute(value) }
10361     }
10362 }
10363 impl ::std::convert::From<&ITfTransitoryExtensionUIElement> for ITfUIElement {
from(value: &ITfTransitoryExtensionUIElement) -> Self10364     fn from(value: &ITfTransitoryExtensionUIElement) -> Self {
10365         ::std::convert::From::from(::std::clone::Clone::clone(value))
10366     }
10367 }
10368 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for ITfTransitoryExtensionUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>10369     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
10370         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(self))
10371     }
10372 }
10373 impl<'a> ::windows::runtime::IntoParam<'a, ITfUIElement> for &ITfTransitoryExtensionUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement>10374     fn into_param(self) -> ::windows::runtime::Param<'a, ITfUIElement> {
10375         ::windows::runtime::Param::Owned(::std::convert::Into::<ITfUIElement>::into(::std::clone::Clone::clone(self)))
10376     }
10377 }
10378 #[repr(C)]
10379 #[doc(hidden)]
10380 pub struct ITfTransitoryExtensionUIElement_abi(
10381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10384     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10385     #[cfg(not(feature = "Win32_Foundation"))] usize,
10386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
10387     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10388     #[cfg(not(feature = "Win32_Foundation"))] usize,
10389     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10390     #[cfg(not(feature = "Win32_Foundation"))] usize,
10391     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdim: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10392 );
10393 #[repr(transparent)]
10394 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10395 pub struct ITfUIElement(::windows::runtime::IUnknown);
10396 impl ITfUIElement {
10397     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10398     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10399         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10400         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10401     }
GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>10402     pub unsafe fn GetGUID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
10403         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10404         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
10405     }
10406     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()>10407     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bshow: Param0) -> ::windows::runtime::Result<()> {
10408         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), bshow.into_param().abi()).ok()
10409     }
10410     #[cfg(feature = "Win32_Foundation")]
IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>10411     pub unsafe fn IsShown(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
10412         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10413         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
10414     }
10415 }
10416 unsafe impl ::windows::runtime::Interface for ITfUIElement {
10417     type Vtable = ITfUIElement_abi;
10418     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927875895, 6623, 4567, [166, 210, 0, 6, 91, 132, 67, 92]);
10419 }
10420 impl ::std::convert::From<ITfUIElement> for ::windows::runtime::IUnknown {
from(value: ITfUIElement) -> Self10421     fn from(value: ITfUIElement) -> Self {
10422         unsafe { ::std::mem::transmute(value) }
10423     }
10424 }
10425 impl ::std::convert::From<&ITfUIElement> for ::windows::runtime::IUnknown {
from(value: &ITfUIElement) -> Self10426     fn from(value: &ITfUIElement) -> Self {
10427         ::std::convert::From::from(::std::clone::Clone::clone(value))
10428     }
10429 }
10430 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10431     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10432         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10433     }
10434 }
10435 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfUIElement {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10436     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10437         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10438     }
10439 }
10440 #[repr(C)]
10441 #[doc(hidden)]
10442 pub struct ITfUIElement_abi(
10443     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10444     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10445     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10446     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrdescription: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10447     #[cfg(not(feature = "Win32_Foundation"))] usize,
10448     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
10449     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10450     #[cfg(not(feature = "Win32_Foundation"))] usize,
10451     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10452     #[cfg(not(feature = "Win32_Foundation"))] usize,
10453 );
10454 #[repr(transparent)]
10455 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10456 pub struct ITfUIElementMgr(::windows::runtime::IUnknown);
10457 impl ITfUIElementMgr {
10458     #[cfg(feature = "Win32_Foundation")]
BeginUIElement<'a, Param0: ::windows::runtime::IntoParam<'a, ITfUIElement>>(&self, pelement: Param0, pbshow: *mut super::super::Foundation::BOOL, pdwuielementid: *mut u32) -> ::windows::runtime::Result<()>10459     pub unsafe fn BeginUIElement<'a, Param0: ::windows::runtime::IntoParam<'a, ITfUIElement>>(&self, pelement: Param0, pbshow: *mut super::super::Foundation::BOOL, pdwuielementid: *mut u32) -> ::windows::runtime::Result<()> {
10460         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pelement.into_param().abi(), ::std::mem::transmute(pbshow), ::std::mem::transmute(pdwuielementid)).ok()
10461     }
UpdateUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()>10462     pub unsafe fn UpdateUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()> {
10463         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid)).ok()
10464     }
EndUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()>10465     pub unsafe fn EndUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()> {
10466         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid)).ok()
10467     }
GetUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<ITfUIElement>10468     pub unsafe fn GetUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<ITfUIElement> {
10469         let mut result__: <ITfUIElement as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10470         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid), &mut result__).from_abi::<ITfUIElement>(result__)
10471     }
EnumUIElements(&self) -> ::windows::runtime::Result<IEnumTfUIElements>10472     pub unsafe fn EnumUIElements(&self) -> ::windows::runtime::Result<IEnumTfUIElements> {
10473         let mut result__: <IEnumTfUIElements as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10474         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumTfUIElements>(result__)
10475     }
10476 }
10477 unsafe impl ::windows::runtime::Interface for ITfUIElementMgr {
10478     type Vtable = ITfUIElementMgr_abi;
10479     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927875893, 6623, 4567, [166, 210, 0, 6, 91, 132, 67, 92]);
10480 }
10481 impl ::std::convert::From<ITfUIElementMgr> for ::windows::runtime::IUnknown {
from(value: ITfUIElementMgr) -> Self10482     fn from(value: ITfUIElementMgr) -> Self {
10483         unsafe { ::std::mem::transmute(value) }
10484     }
10485 }
10486 impl ::std::convert::From<&ITfUIElementMgr> for ::windows::runtime::IUnknown {
from(value: &ITfUIElementMgr) -> Self10487     fn from(value: &ITfUIElementMgr) -> Self {
10488         ::std::convert::From::from(::std::clone::Clone::clone(value))
10489     }
10490 }
10491 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfUIElementMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10492     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10493         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10494     }
10495 }
10496 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfUIElementMgr {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10497     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10498         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10499     }
10500 }
10501 #[repr(C)]
10502 #[doc(hidden)]
10503 pub struct ITfUIElementMgr_abi(
10504     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10505     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10506     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10507     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pelement: ::windows::runtime::RawPtr, pbshow: *mut super::super::Foundation::BOOL, pdwuielementid: *mut u32) -> ::windows::runtime::HRESULT,
10508     #[cfg(not(feature = "Win32_Foundation"))] usize,
10509     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32) -> ::windows::runtime::HRESULT,
10510     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32) -> ::windows::runtime::HRESULT,
10511     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32, ppelement: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10512     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10513 );
10514 #[repr(transparent)]
10515 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10516 pub struct ITfUIElementSink(::windows::runtime::IUnknown);
10517 impl ITfUIElementSink {
10518     #[cfg(feature = "Win32_Foundation")]
BeginUIElement(&self, dwuielementid: u32, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>10519     pub unsafe fn BeginUIElement(&self, dwuielementid: u32, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
10520         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid), ::std::mem::transmute(pbshow)).ok()
10521     }
UpdateUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()>10522     pub unsafe fn UpdateUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()> {
10523         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid)).ok()
10524     }
EndUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()>10525     pub unsafe fn EndUIElement(&self, dwuielementid: u32) -> ::windows::runtime::Result<()> {
10526         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwuielementid)).ok()
10527     }
10528 }
10529 unsafe impl ::windows::runtime::Interface for ITfUIElementSink {
10530     type Vtable = ITfUIElementSink_abi;
10531     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3927875894, 6623, 4567, [166, 210, 0, 6, 91, 132, 67, 92]);
10532 }
10533 impl ::std::convert::From<ITfUIElementSink> for ::windows::runtime::IUnknown {
from(value: ITfUIElementSink) -> Self10534     fn from(value: ITfUIElementSink) -> Self {
10535         unsafe { ::std::mem::transmute(value) }
10536     }
10537 }
10538 impl ::std::convert::From<&ITfUIElementSink> for ::windows::runtime::IUnknown {
from(value: &ITfUIElementSink) -> Self10539     fn from(value: &ITfUIElementSink) -> Self {
10540         ::std::convert::From::from(::std::clone::Clone::clone(value))
10541     }
10542 }
10543 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITfUIElementSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10544     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10545         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10546     }
10547 }
10548 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITfUIElementSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10549     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10550         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10551     }
10552 }
10553 #[repr(C)]
10554 #[doc(hidden)]
10555 pub struct ITfUIElementSink_abi(
10556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10557     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10558     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32, pbshow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
10560     #[cfg(not(feature = "Win32_Foundation"))] usize,
10561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32) -> ::windows::runtime::HRESULT,
10562     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwuielementid: u32) -> ::windows::runtime::HRESULT,
10563 );
10564 #[repr(transparent)]
10565 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10566 pub struct IUIManagerEventSink(::windows::runtime::IUnknown);
10567 impl IUIManagerEventSink {
10568     #[cfg(feature = "Win32_Foundation")]
OnWindowOpening(&self, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>10569     pub unsafe fn OnWindowOpening(&self, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
10570         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcbounds)).ok()
10571     }
10572     #[cfg(feature = "Win32_Foundation")]
OnWindowOpened(&self, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>10573     pub unsafe fn OnWindowOpened(&self, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
10574         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcbounds)).ok()
10575     }
10576     #[cfg(feature = "Win32_Foundation")]
OnWindowUpdating(&self, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>10577     pub unsafe fn OnWindowUpdating(&self, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
10578         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcupdatedbounds)).ok()
10579     }
10580     #[cfg(feature = "Win32_Foundation")]
OnWindowUpdated(&self, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>10581     pub unsafe fn OnWindowUpdated(&self, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
10582         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcupdatedbounds)).ok()
10583     }
OnWindowClosing(&self) -> ::windows::runtime::Result<()>10584     pub unsafe fn OnWindowClosing(&self) -> ::windows::runtime::Result<()> {
10585         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
10586     }
OnWindowClosed(&self) -> ::windows::runtime::Result<()>10587     pub unsafe fn OnWindowClosed(&self) -> ::windows::runtime::Result<()> {
10588         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
10589     }
10590 }
10591 unsafe impl ::windows::runtime::Interface for IUIManagerEventSink {
10592     type Vtable = IUIManagerEventSink_abi;
10593     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3448886928, 42984, 16997, [155, 56, 139, 179, 187, 171, 167, 222]);
10594 }
10595 impl ::std::convert::From<IUIManagerEventSink> for ::windows::runtime::IUnknown {
from(value: IUIManagerEventSink) -> Self10596     fn from(value: IUIManagerEventSink) -> Self {
10597         unsafe { ::std::mem::transmute(value) }
10598     }
10599 }
10600 impl ::std::convert::From<&IUIManagerEventSink> for ::windows::runtime::IUnknown {
from(value: &IUIManagerEventSink) -> Self10601     fn from(value: &IUIManagerEventSink) -> Self {
10602         ::std::convert::From::from(::std::clone::Clone::clone(value))
10603     }
10604 }
10605 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IUIManagerEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10606     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10607         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10608     }
10609 }
10610 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IUIManagerEventSink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10611     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10612         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10613     }
10614 }
10615 #[repr(C)]
10616 #[doc(hidden)]
10617 pub struct IUIManagerEventSink_abi(
10618     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10619     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10620     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10621     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
10622     #[cfg(not(feature = "Win32_Foundation"))] usize,
10623     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
10624     #[cfg(not(feature = "Win32_Foundation"))] usize,
10625     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
10626     #[cfg(not(feature = "Win32_Foundation"))] usize,
10627     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcupdatedbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
10628     #[cfg(not(feature = "Win32_Foundation"))] usize,
10629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10631 );
10632 #[repr(transparent)]
10633 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
10634 pub struct IVersionInfo(::windows::runtime::IUnknown);
10635 impl IVersionInfo {
GetSubcomponentCount(&self, ulsub: u32) -> ::windows::runtime::Result<u32>10636     pub unsafe fn GetSubcomponentCount(&self, ulsub: u32) -> ::windows::runtime::Result<u32> {
10637         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10638         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulsub), &mut result__).from_abi::<u32>(result__)
10639     }
GetImplementationID(&self, ulsub: u32) -> ::windows::runtime::Result<::windows::runtime::GUID>10640     pub unsafe fn GetImplementationID(&self, ulsub: u32) -> ::windows::runtime::Result<::windows::runtime::GUID> {
10641         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10642         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulsub), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
10643     }
GetBuildVersion(&self, ulsub: u32, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::runtime::Result<()>10644     pub unsafe fn GetBuildVersion(&self, ulsub: u32, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::runtime::Result<()> {
10645         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulsub), ::std::mem::transmute(pdwmajor), ::std::mem::transmute(pdwminor)).ok()
10646     }
10647     #[cfg(feature = "Win32_Foundation")]
GetComponentDescription(&self, ulsub: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10648     pub unsafe fn GetComponentDescription(&self, ulsub: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10649         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10650         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulsub), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10651     }
10652     #[cfg(feature = "Win32_Foundation")]
GetInstanceDescription(&self, ulsub: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>10653     pub unsafe fn GetInstanceDescription(&self, ulsub: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
10654         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10655         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulsub), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
10656     }
10657 }
10658 unsafe impl ::windows::runtime::Interface for IVersionInfo {
10659     type Vtable = IVersionInfo_abi;
10660     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1075124460, 56064, 17937, [155, 41, 42, 14, 75, 154, 250, 133]);
10661 }
10662 impl ::std::convert::From<IVersionInfo> for ::windows::runtime::IUnknown {
from(value: IVersionInfo) -> Self10663     fn from(value: IVersionInfo) -> Self {
10664         unsafe { ::std::mem::transmute(value) }
10665     }
10666 }
10667 impl ::std::convert::From<&IVersionInfo> for ::windows::runtime::IUnknown {
from(value: &IVersionInfo) -> Self10668     fn from(value: &IVersionInfo) -> Self {
10669         ::std::convert::From::from(::std::clone::Clone::clone(value))
10670     }
10671 }
10672 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IVersionInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10673     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10674         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
10675     }
10676 }
10677 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IVersionInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>10678     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
10679         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
10680     }
10681 }
10682 #[repr(C)]
10683 #[doc(hidden)]
10684 pub struct IVersionInfo_abi(
10685     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
10686     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
10688     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulsub: u32, ulcount: *mut u32) -> ::windows::runtime::HRESULT,
10689     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulsub: u32, implid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
10690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulsub: u32, pdwmajor: *mut u32, pdwminor: *mut u32) -> ::windows::runtime::HRESULT,
10691     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulsub: u32, pimplstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10692     #[cfg(not(feature = "Win32_Foundation"))] usize,
10693     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulsub: u32, pimplstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
10694     #[cfg(not(feature = "Win32_Foundation"))] usize,
10695 );
10696 #[inline]
InitLocalMsCtfMonitor(dwflags: u32) -> ::windows::runtime::Result<()>10697 pub unsafe fn InitLocalMsCtfMonitor(dwflags: u32) -> ::windows::runtime::Result<()> {
10698     #[cfg(windows)]
10699     {
10700         #[link(name = "windows")]
10701         extern "system" {
10702             fn InitLocalMsCtfMonitor(dwflags: u32) -> ::windows::runtime::HRESULT;
10703         }
10704         InitLocalMsCtfMonitor(::std::mem::transmute(dwflags)).ok()
10705     }
10706     #[cfg(not(windows))]
10707     unimplemented!("Unsupported target OS");
10708 }
10709 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10710 #[repr(transparent)]
10711 pub struct InputScope(pub i32);
10712 pub const IS_DEFAULT: InputScope = InputScope(0i32);
10713 pub const IS_URL: InputScope = InputScope(1i32);
10714 pub const IS_FILE_FULLFILEPATH: InputScope = InputScope(2i32);
10715 pub const IS_FILE_FILENAME: InputScope = InputScope(3i32);
10716 pub const IS_EMAIL_USERNAME: InputScope = InputScope(4i32);
10717 pub const IS_EMAIL_SMTPEMAILADDRESS: InputScope = InputScope(5i32);
10718 pub const IS_LOGINNAME: InputScope = InputScope(6i32);
10719 pub const IS_PERSONALNAME_FULLNAME: InputScope = InputScope(7i32);
10720 pub const IS_PERSONALNAME_PREFIX: InputScope = InputScope(8i32);
10721 pub const IS_PERSONALNAME_GIVENNAME: InputScope = InputScope(9i32);
10722 pub const IS_PERSONALNAME_MIDDLENAME: InputScope = InputScope(10i32);
10723 pub const IS_PERSONALNAME_SURNAME: InputScope = InputScope(11i32);
10724 pub const IS_PERSONALNAME_SUFFIX: InputScope = InputScope(12i32);
10725 pub const IS_ADDRESS_FULLPOSTALADDRESS: InputScope = InputScope(13i32);
10726 pub const IS_ADDRESS_POSTALCODE: InputScope = InputScope(14i32);
10727 pub const IS_ADDRESS_STREET: InputScope = InputScope(15i32);
10728 pub const IS_ADDRESS_STATEORPROVINCE: InputScope = InputScope(16i32);
10729 pub const IS_ADDRESS_CITY: InputScope = InputScope(17i32);
10730 pub const IS_ADDRESS_COUNTRYNAME: InputScope = InputScope(18i32);
10731 pub const IS_ADDRESS_COUNTRYSHORTNAME: InputScope = InputScope(19i32);
10732 pub const IS_CURRENCY_AMOUNTANDSYMBOL: InputScope = InputScope(20i32);
10733 pub const IS_CURRENCY_AMOUNT: InputScope = InputScope(21i32);
10734 pub const IS_DATE_FULLDATE: InputScope = InputScope(22i32);
10735 pub const IS_DATE_MONTH: InputScope = InputScope(23i32);
10736 pub const IS_DATE_DAY: InputScope = InputScope(24i32);
10737 pub const IS_DATE_YEAR: InputScope = InputScope(25i32);
10738 pub const IS_DATE_MONTHNAME: InputScope = InputScope(26i32);
10739 pub const IS_DATE_DAYNAME: InputScope = InputScope(27i32);
10740 pub const IS_DIGITS: InputScope = InputScope(28i32);
10741 pub const IS_NUMBER: InputScope = InputScope(29i32);
10742 pub const IS_ONECHAR: InputScope = InputScope(30i32);
10743 pub const IS_PASSWORD: InputScope = InputScope(31i32);
10744 pub const IS_TELEPHONE_FULLTELEPHONENUMBER: InputScope = InputScope(32i32);
10745 pub const IS_TELEPHONE_COUNTRYCODE: InputScope = InputScope(33i32);
10746 pub const IS_TELEPHONE_AREACODE: InputScope = InputScope(34i32);
10747 pub const IS_TELEPHONE_LOCALNUMBER: InputScope = InputScope(35i32);
10748 pub const IS_TIME_FULLTIME: InputScope = InputScope(36i32);
10749 pub const IS_TIME_HOUR: InputScope = InputScope(37i32);
10750 pub const IS_TIME_MINORSEC: InputScope = InputScope(38i32);
10751 pub const IS_NUMBER_FULLWIDTH: InputScope = InputScope(39i32);
10752 pub const IS_ALPHANUMERIC_HALFWIDTH: InputScope = InputScope(40i32);
10753 pub const IS_ALPHANUMERIC_FULLWIDTH: InputScope = InputScope(41i32);
10754 pub const IS_CURRENCY_CHINESE: InputScope = InputScope(42i32);
10755 pub const IS_BOPOMOFO: InputScope = InputScope(43i32);
10756 pub const IS_HIRAGANA: InputScope = InputScope(44i32);
10757 pub const IS_KATAKANA_HALFWIDTH: InputScope = InputScope(45i32);
10758 pub const IS_KATAKANA_FULLWIDTH: InputScope = InputScope(46i32);
10759 pub const IS_HANJA: InputScope = InputScope(47i32);
10760 pub const IS_HANGUL_HALFWIDTH: InputScope = InputScope(48i32);
10761 pub const IS_HANGUL_FULLWIDTH: InputScope = InputScope(49i32);
10762 pub const IS_SEARCH: InputScope = InputScope(50i32);
10763 pub const IS_FORMULA: InputScope = InputScope(51i32);
10764 pub const IS_SEARCH_INCREMENTAL: InputScope = InputScope(52i32);
10765 pub const IS_CHINESE_HALFWIDTH: InputScope = InputScope(53i32);
10766 pub const IS_CHINESE_FULLWIDTH: InputScope = InputScope(54i32);
10767 pub const IS_NATIVE_SCRIPT: InputScope = InputScope(55i32);
10768 pub const IS_YOMI: InputScope = InputScope(56i32);
10769 pub const IS_TEXT: InputScope = InputScope(57i32);
10770 pub const IS_CHAT: InputScope = InputScope(58i32);
10771 pub const IS_NAME_OR_PHONENUMBER: InputScope = InputScope(59i32);
10772 pub const IS_EMAILNAME_OR_ADDRESS: InputScope = InputScope(60i32);
10773 pub const IS_PRIVATE: InputScope = InputScope(61i32);
10774 pub const IS_MAPS: InputScope = InputScope(62i32);
10775 pub const IS_NUMERIC_PASSWORD: InputScope = InputScope(63i32);
10776 pub const IS_NUMERIC_PIN: InputScope = InputScope(64i32);
10777 pub const IS_ALPHANUMERIC_PIN: InputScope = InputScope(65i32);
10778 pub const IS_ALPHANUMERIC_PIN_SET: InputScope = InputScope(66i32);
10779 pub const IS_FORMULA_NUMBER: InputScope = InputScope(67i32);
10780 pub const IS_CHAT_WITHOUT_EMOJI: InputScope = InputScope(68i32);
10781 pub const IS_PHRASELIST: InputScope = InputScope(-1i32);
10782 pub const IS_REGULAREXPRESSION: InputScope = InputScope(-2i32);
10783 pub const IS_SRGS: InputScope = InputScope(-3i32);
10784 pub const IS_XML: InputScope = InputScope(-4i32);
10785 pub const IS_ENUMSTRING: InputScope = InputScope(-5i32);
10786 impl ::std::convert::From<i32> for InputScope {
from(value: i32) -> Self10787     fn from(value: i32) -> Self {
10788         Self(value)
10789     }
10790 }
10791 unsafe impl ::windows::runtime::Abi for InputScope {
10792     type Abi = Self;
10793     type DefaultType = Self;
10794 }
10795 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10796 #[repr(transparent)]
10797 pub struct LANG_BAR_ITEM_ICON_MODE_FLAGS(pub u32);
10798 pub const TF_DTLBI_NONE: LANG_BAR_ITEM_ICON_MODE_FLAGS = LANG_BAR_ITEM_ICON_MODE_FLAGS(0u32);
10799 pub const TF_DTLBI_USEPROFILEICON: LANG_BAR_ITEM_ICON_MODE_FLAGS = LANG_BAR_ITEM_ICON_MODE_FLAGS(1u32);
10800 impl ::std::convert::From<u32> for LANG_BAR_ITEM_ICON_MODE_FLAGS {
from(value: u32) -> Self10801     fn from(value: u32) -> Self {
10802         Self(value)
10803     }
10804 }
10805 unsafe impl ::windows::runtime::Abi for LANG_BAR_ITEM_ICON_MODE_FLAGS {
10806     type Abi = Self;
10807     type DefaultType = Self;
10808 }
10809 impl ::std::ops::BitOr for LANG_BAR_ITEM_ICON_MODE_FLAGS {
10810     type Output = Self;
bitor(self, rhs: Self) -> Self10811     fn bitor(self, rhs: Self) -> Self {
10812         Self(self.0 | rhs.0)
10813     }
10814 }
10815 impl ::std::ops::BitAnd for LANG_BAR_ITEM_ICON_MODE_FLAGS {
10816     type Output = Self;
bitand(self, rhs: Self) -> Self10817     fn bitand(self, rhs: Self) -> Self {
10818         Self(self.0 & rhs.0)
10819     }
10820 }
10821 impl ::std::ops::BitOrAssign for LANG_BAR_ITEM_ICON_MODE_FLAGS {
bitor_assign(&mut self, rhs: Self)10822     fn bitor_assign(&mut self, rhs: Self) {
10823         self.0.bitor_assign(rhs.0)
10824     }
10825 }
10826 impl ::std::ops::BitAndAssign for LANG_BAR_ITEM_ICON_MODE_FLAGS {
bitand_assign(&mut self, rhs: Self)10827     fn bitand_assign(&mut self, rhs: Self) {
10828         self.0.bitand_assign(rhs.0)
10829     }
10830 }
10831 impl ::std::ops::Not for LANG_BAR_ITEM_ICON_MODE_FLAGS {
10832     type Output = Self;
not(self) -> Self10833     fn not(self) -> Self {
10834         Self(self.0.not())
10835     }
10836 }
10837 pub const LIBID_MSAATEXTLib: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(353250682, 56001, 17794, [148, 125, 42, 143, 215, 139, 130, 205]);
10838 pub const MSAAControl: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(147691071, 31294, 20316, [155, 216, 214, 146, 187, 4, 60, 91]);
10839 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10840 #[repr(transparent)]
10841 pub struct TEXT_STORE_CHANGE_FLAGS(pub u32);
10842 pub const TS_TC_NONE: TEXT_STORE_CHANGE_FLAGS = TEXT_STORE_CHANGE_FLAGS(0u32);
10843 pub const TS_TC_CORRECTION: TEXT_STORE_CHANGE_FLAGS = TEXT_STORE_CHANGE_FLAGS(1u32);
10844 impl ::std::convert::From<u32> for TEXT_STORE_CHANGE_FLAGS {
from(value: u32) -> Self10845     fn from(value: u32) -> Self {
10846         Self(value)
10847     }
10848 }
10849 unsafe impl ::windows::runtime::Abi for TEXT_STORE_CHANGE_FLAGS {
10850     type Abi = Self;
10851     type DefaultType = Self;
10852 }
10853 impl ::std::ops::BitOr for TEXT_STORE_CHANGE_FLAGS {
10854     type Output = Self;
bitor(self, rhs: Self) -> Self10855     fn bitor(self, rhs: Self) -> Self {
10856         Self(self.0 | rhs.0)
10857     }
10858 }
10859 impl ::std::ops::BitAnd for TEXT_STORE_CHANGE_FLAGS {
10860     type Output = Self;
bitand(self, rhs: Self) -> Self10861     fn bitand(self, rhs: Self) -> Self {
10862         Self(self.0 & rhs.0)
10863     }
10864 }
10865 impl ::std::ops::BitOrAssign for TEXT_STORE_CHANGE_FLAGS {
bitor_assign(&mut self, rhs: Self)10866     fn bitor_assign(&mut self, rhs: Self) {
10867         self.0.bitor_assign(rhs.0)
10868     }
10869 }
10870 impl ::std::ops::BitAndAssign for TEXT_STORE_CHANGE_FLAGS {
bitand_assign(&mut self, rhs: Self)10871     fn bitand_assign(&mut self, rhs: Self) {
10872         self.0.bitand_assign(rhs.0)
10873     }
10874 }
10875 impl ::std::ops::Not for TEXT_STORE_CHANGE_FLAGS {
10876     type Output = Self;
not(self) -> Self10877     fn not(self) -> Self {
10878         Self(self.0.not())
10879     }
10880 }
10881 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10882 #[repr(transparent)]
10883 pub struct TEXT_STORE_LOCK_FLAGS(pub u32);
10884 pub const TS_LF_READ: TEXT_STORE_LOCK_FLAGS = TEXT_STORE_LOCK_FLAGS(2u32);
10885 pub const TS_LF_READWRITE: TEXT_STORE_LOCK_FLAGS = TEXT_STORE_LOCK_FLAGS(6u32);
10886 impl ::std::convert::From<u32> for TEXT_STORE_LOCK_FLAGS {
from(value: u32) -> Self10887     fn from(value: u32) -> Self {
10888         Self(value)
10889     }
10890 }
10891 unsafe impl ::windows::runtime::Abi for TEXT_STORE_LOCK_FLAGS {
10892     type Abi = Self;
10893     type DefaultType = Self;
10894 }
10895 impl ::std::ops::BitOr for TEXT_STORE_LOCK_FLAGS {
10896     type Output = Self;
bitor(self, rhs: Self) -> Self10897     fn bitor(self, rhs: Self) -> Self {
10898         Self(self.0 | rhs.0)
10899     }
10900 }
10901 impl ::std::ops::BitAnd for TEXT_STORE_LOCK_FLAGS {
10902     type Output = Self;
bitand(self, rhs: Self) -> Self10903     fn bitand(self, rhs: Self) -> Self {
10904         Self(self.0 & rhs.0)
10905     }
10906 }
10907 impl ::std::ops::BitOrAssign for TEXT_STORE_LOCK_FLAGS {
bitor_assign(&mut self, rhs: Self)10908     fn bitor_assign(&mut self, rhs: Self) {
10909         self.0.bitor_assign(rhs.0)
10910     }
10911 }
10912 impl ::std::ops::BitAndAssign for TEXT_STORE_LOCK_FLAGS {
bitand_assign(&mut self, rhs: Self)10913     fn bitand_assign(&mut self, rhs: Self) {
10914         self.0.bitand_assign(rhs.0)
10915     }
10916 }
10917 impl ::std::ops::Not for TEXT_STORE_LOCK_FLAGS {
10918     type Output = Self;
not(self) -> Self10919     fn not(self) -> Self {
10920         Self(self.0.not())
10921     }
10922 }
10923 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10924 #[repr(transparent)]
10925 pub struct TEXT_STORE_TEXT_CHANGE_FLAGS(pub u32);
10926 pub const TS_ST_NONE: TEXT_STORE_TEXT_CHANGE_FLAGS = TEXT_STORE_TEXT_CHANGE_FLAGS(0u32);
10927 pub const TS_ST_CORRECTION: TEXT_STORE_TEXT_CHANGE_FLAGS = TEXT_STORE_TEXT_CHANGE_FLAGS(1u32);
10928 impl ::std::convert::From<u32> for TEXT_STORE_TEXT_CHANGE_FLAGS {
from(value: u32) -> Self10929     fn from(value: u32) -> Self {
10930         Self(value)
10931     }
10932 }
10933 unsafe impl ::windows::runtime::Abi for TEXT_STORE_TEXT_CHANGE_FLAGS {
10934     type Abi = Self;
10935     type DefaultType = Self;
10936 }
10937 impl ::std::ops::BitOr for TEXT_STORE_TEXT_CHANGE_FLAGS {
10938     type Output = Self;
bitor(self, rhs: Self) -> Self10939     fn bitor(self, rhs: Self) -> Self {
10940         Self(self.0 | rhs.0)
10941     }
10942 }
10943 impl ::std::ops::BitAnd for TEXT_STORE_TEXT_CHANGE_FLAGS {
10944     type Output = Self;
bitand(self, rhs: Self) -> Self10945     fn bitand(self, rhs: Self) -> Self {
10946         Self(self.0 & rhs.0)
10947     }
10948 }
10949 impl ::std::ops::BitOrAssign for TEXT_STORE_TEXT_CHANGE_FLAGS {
bitor_assign(&mut self, rhs: Self)10950     fn bitor_assign(&mut self, rhs: Self) {
10951         self.0.bitor_assign(rhs.0)
10952     }
10953 }
10954 impl ::std::ops::BitAndAssign for TEXT_STORE_TEXT_CHANGE_FLAGS {
bitand_assign(&mut self, rhs: Self)10955     fn bitand_assign(&mut self, rhs: Self) {
10956         self.0.bitand_assign(rhs.0)
10957     }
10958 }
10959 impl ::std::ops::Not for TEXT_STORE_TEXT_CHANGE_FLAGS {
10960     type Output = Self;
not(self) -> Self10961     fn not(self) -> Self {
10962         Self(self.0.not())
10963     }
10964 }
10965 pub const TF_CHAR_EMBEDDED: u32 = 65532u32;
10966 pub const TF_CLUIE_COUNT: u32 = 2u32;
10967 pub const TF_CLUIE_CURRENTPAGE: u32 = 32u32;
10968 pub const TF_CLUIE_DOCUMENTMGR: u32 = 1u32;
10969 pub const TF_CLUIE_PAGEINDEX: u32 = 16u32;
10970 pub const TF_CLUIE_SELECTION: u32 = 4u32;
10971 pub const TF_CLUIE_STRING: u32 = 8u32;
10972 pub const TF_COMMANDING_ENABLED: u32 = 4u32;
10973 pub const TF_COMMANDING_ON: u32 = 8u32;
10974 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
10975 #[repr(transparent)]
10976 pub struct TF_CONTEXT_EDIT_CONTEXT_FLAGS(pub u32);
10977 pub const TF_ES_ASYNCDONTCARE: TF_CONTEXT_EDIT_CONTEXT_FLAGS = TF_CONTEXT_EDIT_CONTEXT_FLAGS(0u32);
10978 pub const TF_ES_SYNC: TF_CONTEXT_EDIT_CONTEXT_FLAGS = TF_CONTEXT_EDIT_CONTEXT_FLAGS(1u32);
10979 pub const TF_ES_READ: TF_CONTEXT_EDIT_CONTEXT_FLAGS = TF_CONTEXT_EDIT_CONTEXT_FLAGS(2u32);
10980 pub const TF_ES_READWRITE: TF_CONTEXT_EDIT_CONTEXT_FLAGS = TF_CONTEXT_EDIT_CONTEXT_FLAGS(6u32);
10981 pub const TF_ES_ASYNC: TF_CONTEXT_EDIT_CONTEXT_FLAGS = TF_CONTEXT_EDIT_CONTEXT_FLAGS(8u32);
10982 impl ::std::convert::From<u32> for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
from(value: u32) -> Self10983     fn from(value: u32) -> Self {
10984         Self(value)
10985     }
10986 }
10987 unsafe impl ::windows::runtime::Abi for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
10988     type Abi = Self;
10989     type DefaultType = Self;
10990 }
10991 impl ::std::ops::BitOr for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
10992     type Output = Self;
bitor(self, rhs: Self) -> Self10993     fn bitor(self, rhs: Self) -> Self {
10994         Self(self.0 | rhs.0)
10995     }
10996 }
10997 impl ::std::ops::BitAnd for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
10998     type Output = Self;
bitand(self, rhs: Self) -> Self10999     fn bitand(self, rhs: Self) -> Self {
11000         Self(self.0 & rhs.0)
11001     }
11002 }
11003 impl ::std::ops::BitOrAssign for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
bitor_assign(&mut self, rhs: Self)11004     fn bitor_assign(&mut self, rhs: Self) {
11005         self.0.bitor_assign(rhs.0)
11006     }
11007 }
11008 impl ::std::ops::BitAndAssign for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
bitand_assign(&mut self, rhs: Self)11009     fn bitand_assign(&mut self, rhs: Self) {
11010         self.0.bitand_assign(rhs.0)
11011     }
11012 }
11013 impl ::std::ops::Not for TF_CONTEXT_EDIT_CONTEXT_FLAGS {
11014     type Output = Self;
not(self) -> Self11015     fn not(self) -> Self {
11016         Self(self.0.not())
11017     }
11018 }
11019 pub const TF_CONVERSIONMODE_ALPHANUMERIC: u32 = 0u32;
11020 pub const TF_CONVERSIONMODE_CHARCODE: u32 = 32u32;
11021 pub const TF_CONVERSIONMODE_EUDC: u32 = 512u32;
11022 pub const TF_CONVERSIONMODE_FIXED: u32 = 2048u32;
11023 pub const TF_CONVERSIONMODE_FULLSHAPE: u32 = 8u32;
11024 pub const TF_CONVERSIONMODE_KATAKANA: u32 = 2u32;
11025 pub const TF_CONVERSIONMODE_NATIVE: u32 = 1u32;
11026 pub const TF_CONVERSIONMODE_NOCONVERSION: u32 = 256u32;
11027 pub const TF_CONVERSIONMODE_ROMAN: u32 = 16u32;
11028 pub const TF_CONVERSIONMODE_SOFTKEYBOARD: u32 = 128u32;
11029 pub const TF_CONVERSIONMODE_SYMBOL: u32 = 1024u32;
11030 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11031 #[repr(transparent)]
11032 pub struct TF_DA_ATTR_INFO(pub i32);
11033 pub const TF_ATTR_INPUT: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(0i32);
11034 pub const TF_ATTR_TARGET_CONVERTED: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(1i32);
11035 pub const TF_ATTR_CONVERTED: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(2i32);
11036 pub const TF_ATTR_TARGET_NOTCONVERTED: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(3i32);
11037 pub const TF_ATTR_INPUT_ERROR: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(4i32);
11038 pub const TF_ATTR_FIXEDCONVERTED: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(5i32);
11039 pub const TF_ATTR_OTHER: TF_DA_ATTR_INFO = TF_DA_ATTR_INFO(-1i32);
11040 impl ::std::convert::From<i32> for TF_DA_ATTR_INFO {
from(value: i32) -> Self11041     fn from(value: i32) -> Self {
11042         Self(value)
11043     }
11044 }
11045 unsafe impl ::windows::runtime::Abi for TF_DA_ATTR_INFO {
11046     type Abi = Self;
11047     type DefaultType = Self;
11048 }
11049 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11050 #[repr(C)]
11051 pub struct TF_DA_COLOR {
11052     pub r#type: TF_DA_COLORTYPE,
11053     pub Anonymous: TF_DA_COLOR_0,
11054 }
11055 impl TF_DA_COLOR {}
11056 impl ::std::default::Default for TF_DA_COLOR {
default() -> Self11057     fn default() -> Self {
11058         unsafe { ::std::mem::zeroed() }
11059     }
11060 }
11061 impl ::std::cmp::PartialEq for TF_DA_COLOR {
eq(&self, _other: &Self) -> bool11062     fn eq(&self, _other: &Self) -> bool {
11063         unimplemented!()
11064     }
11065 }
11066 impl ::std::cmp::Eq for TF_DA_COLOR {}
11067 unsafe impl ::windows::runtime::Abi for TF_DA_COLOR {
11068     type Abi = Self;
11069     type DefaultType = Self;
11070 }
11071 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11072 #[repr(C)]
11073 pub union TF_DA_COLOR_0 {
11074     pub nIndex: i32,
11075     pub cr: u32,
11076 }
11077 impl TF_DA_COLOR_0 {}
11078 impl ::std::default::Default for TF_DA_COLOR_0 {
default() -> Self11079     fn default() -> Self {
11080         unsafe { ::std::mem::zeroed() }
11081     }
11082 }
11083 impl ::std::cmp::PartialEq for TF_DA_COLOR_0 {
eq(&self, _other: &Self) -> bool11084     fn eq(&self, _other: &Self) -> bool {
11085         unimplemented!()
11086     }
11087 }
11088 impl ::std::cmp::Eq for TF_DA_COLOR_0 {}
11089 unsafe impl ::windows::runtime::Abi for TF_DA_COLOR_0 {
11090     type Abi = Self;
11091     type DefaultType = Self;
11092 }
11093 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11094 #[repr(transparent)]
11095 pub struct TF_DA_COLORTYPE(pub i32);
11096 pub const TF_CT_NONE: TF_DA_COLORTYPE = TF_DA_COLORTYPE(0i32);
11097 pub const TF_CT_SYSCOLOR: TF_DA_COLORTYPE = TF_DA_COLORTYPE(1i32);
11098 pub const TF_CT_COLORREF: TF_DA_COLORTYPE = TF_DA_COLORTYPE(2i32);
11099 impl ::std::convert::From<i32> for TF_DA_COLORTYPE {
from(value: i32) -> Self11100     fn from(value: i32) -> Self {
11101         Self(value)
11102     }
11103 }
11104 unsafe impl ::windows::runtime::Abi for TF_DA_COLORTYPE {
11105     type Abi = Self;
11106     type DefaultType = Self;
11107 }
11108 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11109 #[repr(transparent)]
11110 pub struct TF_DA_LINESTYLE(pub i32);
11111 pub const TF_LS_NONE: TF_DA_LINESTYLE = TF_DA_LINESTYLE(0i32);
11112 pub const TF_LS_SOLID: TF_DA_LINESTYLE = TF_DA_LINESTYLE(1i32);
11113 pub const TF_LS_DOT: TF_DA_LINESTYLE = TF_DA_LINESTYLE(2i32);
11114 pub const TF_LS_DASH: TF_DA_LINESTYLE = TF_DA_LINESTYLE(3i32);
11115 pub const TF_LS_SQUIGGLE: TF_DA_LINESTYLE = TF_DA_LINESTYLE(4i32);
11116 impl ::std::convert::From<i32> for TF_DA_LINESTYLE {
from(value: i32) -> Self11117     fn from(value: i32) -> Self {
11118         Self(value)
11119     }
11120 }
11121 unsafe impl ::windows::runtime::Abi for TF_DA_LINESTYLE {
11122     type Abi = Self;
11123     type DefaultType = Self;
11124 }
11125 pub const TF_DICTATION_ENABLED: u32 = 2u32;
11126 pub const TF_DICTATION_ON: u32 = 1u32;
11127 pub const TF_DISABLE_BALLOON: u32 = 2u32;
11128 pub const TF_DISABLE_COMMANDING: u32 = 4u32;
11129 pub const TF_DISABLE_DICTATION: u32 = 2u32;
11130 pub const TF_DISABLE_SPEECH: u32 = 1u32;
11131 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11132 #[repr(C)]
11133 #[cfg(feature = "Win32_Foundation")]
11134 pub struct TF_DISPLAYATTRIBUTE {
11135     pub crText: TF_DA_COLOR,
11136     pub crBk: TF_DA_COLOR,
11137     pub lsStyle: TF_DA_LINESTYLE,
11138     pub fBoldLine: super::super::Foundation::BOOL,
11139     pub crLine: TF_DA_COLOR,
11140     pub bAttr: TF_DA_ATTR_INFO,
11141 }
11142 #[cfg(feature = "Win32_Foundation")]
11143 impl TF_DISPLAYATTRIBUTE {}
11144 #[cfg(feature = "Win32_Foundation")]
11145 impl ::std::default::Default for TF_DISPLAYATTRIBUTE {
default() -> Self11146     fn default() -> Self {
11147         unsafe { ::std::mem::zeroed() }
11148     }
11149 }
11150 #[cfg(feature = "Win32_Foundation")]
11151 impl ::std::cmp::PartialEq for TF_DISPLAYATTRIBUTE {
eq(&self, _other: &Self) -> bool11152     fn eq(&self, _other: &Self) -> bool {
11153         unimplemented!()
11154     }
11155 }
11156 #[cfg(feature = "Win32_Foundation")]
11157 impl ::std::cmp::Eq for TF_DISPLAYATTRIBUTE {}
11158 #[cfg(feature = "Win32_Foundation")]
11159 unsafe impl ::windows::runtime::Abi for TF_DISPLAYATTRIBUTE {
11160     type Abi = Self;
11161     type DefaultType = Self;
11162 }
11163 pub const TF_E_ALREADY_EXISTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220218i32 as _);
11164 pub const TF_E_COMPOSITION_REJECTED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220216i32 as _);
11165 pub const TF_E_DISCONNECTED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220220i32 as _);
11166 pub const TF_E_EMPTYCONTEXT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220215i32 as _);
11167 pub const TF_E_FORMAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220982i32 as _);
11168 pub const TF_E_INVALIDPOINT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220985i32 as _);
11169 pub const TF_E_INVALIDPOS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220992i32 as _);
11170 pub const TF_E_INVALIDVIEW: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220219i32 as _);
11171 pub const TF_E_LOCKED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220224i32 as _);
11172 pub const TF_E_NOCONVERSION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147219968i32 as _);
11173 pub const TF_E_NOINTERFACE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220988i32 as _);
11174 pub const TF_E_NOLAYOUT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220986i32 as _);
11175 pub const TF_E_NOLOCK: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220991i32 as _);
11176 pub const TF_E_NOOBJECT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220990i32 as _);
11177 pub const TF_E_NOPROVIDER: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220221i32 as _);
11178 pub const TF_E_NOSELECTION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220987i32 as _);
11179 pub const TF_E_NOSERVICE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220989i32 as _);
11180 pub const TF_E_NOTOWNEDRANGE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220222i32 as _);
11181 pub const TF_E_RANGE_NOT_COVERED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220217i32 as _);
11182 pub const TF_E_READONLY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220983i32 as _);
11183 pub const TF_E_STACKFULL: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220223i32 as _);
11184 pub const TF_E_SYNCHRONOUS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220984i32 as _);
11185 #[derive(:: std :: clone :: Clone)]
11186 #[repr(C)]
11187 pub struct TF_HALTCOND {
11188     pub pHaltRange: ::std::option::Option<ITfRange>,
11189     pub aHaltPos: TfAnchor,
11190     pub dwFlags: u32,
11191 }
11192 impl TF_HALTCOND {}
11193 impl ::std::default::Default for TF_HALTCOND {
default() -> Self11194     fn default() -> Self {
11195         unsafe { ::std::mem::zeroed() }
11196     }
11197 }
11198 impl ::std::fmt::Debug for TF_HALTCOND {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11199     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11200         fmt.debug_struct("TF_HALTCOND").field("pHaltRange", &self.pHaltRange).field("aHaltPos", &self.aHaltPos).field("dwFlags", &self.dwFlags).finish()
11201     }
11202 }
11203 impl ::std::cmp::PartialEq for TF_HALTCOND {
eq(&self, other: &Self) -> bool11204     fn eq(&self, other: &Self) -> bool {
11205         self.pHaltRange == other.pHaltRange && self.aHaltPos == other.aHaltPos && self.dwFlags == other.dwFlags
11206     }
11207 }
11208 impl ::std::cmp::Eq for TF_HALTCOND {}
11209 unsafe impl ::windows::runtime::Abi for TF_HALTCOND {
11210     type Abi = ::std::mem::ManuallyDrop<Self>;
11211     type DefaultType = Self;
11212 }
11213 pub const TF_HF_OBJECT: u32 = 1u32;
11214 pub const TF_IE_CORRECTION: u32 = 1u32;
11215 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11216 #[repr(C)]
11217 pub struct TF_INPUTPROCESSORPROFILE {
11218     pub dwProfileType: u32,
11219     pub langid: u16,
11220     pub clsid: ::windows::runtime::GUID,
11221     pub guidProfile: ::windows::runtime::GUID,
11222     pub catid: ::windows::runtime::GUID,
11223     pub hklSubstitute: HKL,
11224     pub dwCaps: u32,
11225     pub hkl: HKL,
11226     pub dwFlags: u32,
11227 }
11228 impl TF_INPUTPROCESSORPROFILE {}
11229 impl ::std::default::Default for TF_INPUTPROCESSORPROFILE {
default() -> Self11230     fn default() -> Self {
11231         unsafe { ::std::mem::zeroed() }
11232     }
11233 }
11234 impl ::std::fmt::Debug for TF_INPUTPROCESSORPROFILE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11235     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11236         fmt.debug_struct("TF_INPUTPROCESSORPROFILE")
11237             .field("dwProfileType", &self.dwProfileType)
11238             .field("langid", &self.langid)
11239             .field("clsid", &self.clsid)
11240             .field("guidProfile", &self.guidProfile)
11241             .field("catid", &self.catid)
11242             .field("hklSubstitute", &self.hklSubstitute)
11243             .field("dwCaps", &self.dwCaps)
11244             .field("hkl", &self.hkl)
11245             .field("dwFlags", &self.dwFlags)
11246             .finish()
11247     }
11248 }
11249 impl ::std::cmp::PartialEq for TF_INPUTPROCESSORPROFILE {
eq(&self, other: &Self) -> bool11250     fn eq(&self, other: &Self) -> bool {
11251         self.dwProfileType == other.dwProfileType && self.langid == other.langid && self.clsid == other.clsid && self.guidProfile == other.guidProfile && self.catid == other.catid && self.hklSubstitute == other.hklSubstitute && self.dwCaps == other.dwCaps && self.hkl == other.hkl && self.dwFlags == other.dwFlags
11252     }
11253 }
11254 impl ::std::cmp::Eq for TF_INPUTPROCESSORPROFILE {}
11255 unsafe impl ::windows::runtime::Abi for TF_INPUTPROCESSORPROFILE {
11256     type Abi = Self;
11257     type DefaultType = Self;
11258 }
11259 pub const TF_INVALID_COOKIE: u32 = 4294967295u32;
11260 pub const TF_INVALID_EDIT_COOKIE: u32 = 0u32;
11261 pub const TF_IPPMF_DISABLEPROFILE: u32 = 2u32;
11262 pub const TF_IPPMF_DONTCARECURRENTINPUTLANGUAGE: u32 = 4u32;
11263 pub const TF_IPPMF_ENABLEPROFILE: u32 = 1u32;
11264 pub const TF_IPPMF_FORPROCESS: u32 = 268435456u32;
11265 pub const TF_IPPMF_FORSESSION: u32 = 536870912u32;
11266 pub const TF_IPPMF_FORSYSTEMALL: u32 = 1073741824u32;
11267 pub const TF_IPP_CAPS_COMLESSSUPPORT: u32 = 8u32;
11268 pub const TF_IPP_CAPS_DISABLEONTRANSITORY: u32 = 1u32;
11269 pub const TF_IPP_CAPS_IMMERSIVESUPPORT: u32 = 65536u32;
11270 pub const TF_IPP_CAPS_SECUREMODESUPPORT: u32 = 2u32;
11271 pub const TF_IPP_CAPS_SYSTRAYSUPPORT: u32 = 131072u32;
11272 pub const TF_IPP_CAPS_UIELEMENTENABLED: u32 = 4u32;
11273 pub const TF_IPP_CAPS_WOW16SUPPORT: u32 = 16u32;
11274 pub const TF_IPP_FLAG_ACTIVE: u32 = 1u32;
11275 pub const TF_IPP_FLAG_ENABLED: u32 = 2u32;
11276 pub const TF_IPP_FLAG_SUBSTITUTEDBYINPUTPROCESSOR: u32 = 4u32;
11277 pub const TF_IPSINK_FLAG_ACTIVE: u32 = 1u32;
11278 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11279 #[repr(C)]
11280 pub struct TF_LANGBARITEMINFO {
11281     pub clsidService: ::windows::runtime::GUID,
11282     pub guidItem: ::windows::runtime::GUID,
11283     pub dwStyle: u32,
11284     pub ulSort: u32,
11285     pub szDescription: [u16; 32],
11286 }
11287 impl TF_LANGBARITEMINFO {}
11288 impl ::std::default::Default for TF_LANGBARITEMINFO {
default() -> Self11289     fn default() -> Self {
11290         unsafe { ::std::mem::zeroed() }
11291     }
11292 }
11293 impl ::std::fmt::Debug for TF_LANGBARITEMINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11294     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11295         fmt.debug_struct("TF_LANGBARITEMINFO").field("clsidService", &self.clsidService).field("guidItem", &self.guidItem).field("dwStyle", &self.dwStyle).field("ulSort", &self.ulSort).field("szDescription", &self.szDescription).finish()
11296     }
11297 }
11298 impl ::std::cmp::PartialEq for TF_LANGBARITEMINFO {
eq(&self, other: &Self) -> bool11299     fn eq(&self, other: &Self) -> bool {
11300         self.clsidService == other.clsidService && self.guidItem == other.guidItem && self.dwStyle == other.dwStyle && self.ulSort == other.ulSort && self.szDescription == other.szDescription
11301     }
11302 }
11303 impl ::std::cmp::Eq for TF_LANGBARITEMINFO {}
11304 unsafe impl ::windows::runtime::Abi for TF_LANGBARITEMINFO {
11305     type Abi = Self;
11306     type DefaultType = Self;
11307 }
11308 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11309 #[repr(C)]
11310 #[cfg(feature = "Win32_Foundation")]
11311 pub struct TF_LANGUAGEPROFILE {
11312     pub clsid: ::windows::runtime::GUID,
11313     pub langid: u16,
11314     pub catid: ::windows::runtime::GUID,
11315     pub fActive: super::super::Foundation::BOOL,
11316     pub guidProfile: ::windows::runtime::GUID,
11317 }
11318 #[cfg(feature = "Win32_Foundation")]
11319 impl TF_LANGUAGEPROFILE {}
11320 #[cfg(feature = "Win32_Foundation")]
11321 impl ::std::default::Default for TF_LANGUAGEPROFILE {
default() -> Self11322     fn default() -> Self {
11323         unsafe { ::std::mem::zeroed() }
11324     }
11325 }
11326 #[cfg(feature = "Win32_Foundation")]
11327 impl ::std::fmt::Debug for TF_LANGUAGEPROFILE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11328     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11329         fmt.debug_struct("TF_LANGUAGEPROFILE").field("clsid", &self.clsid).field("langid", &self.langid).field("catid", &self.catid).field("fActive", &self.fActive).field("guidProfile", &self.guidProfile).finish()
11330     }
11331 }
11332 #[cfg(feature = "Win32_Foundation")]
11333 impl ::std::cmp::PartialEq for TF_LANGUAGEPROFILE {
eq(&self, other: &Self) -> bool11334     fn eq(&self, other: &Self) -> bool {
11335         self.clsid == other.clsid && self.langid == other.langid && self.catid == other.catid && self.fActive == other.fActive && self.guidProfile == other.guidProfile
11336     }
11337 }
11338 #[cfg(feature = "Win32_Foundation")]
11339 impl ::std::cmp::Eq for TF_LANGUAGEPROFILE {}
11340 #[cfg(feature = "Win32_Foundation")]
11341 unsafe impl ::windows::runtime::Abi for TF_LANGUAGEPROFILE {
11342     type Abi = Self;
11343     type DefaultType = Self;
11344 }
11345 #[derive(:: std :: clone :: Clone)]
11346 #[repr(C)]
11347 #[cfg(feature = "Win32_Foundation")]
11348 pub struct TF_LBBALLOONINFO {
11349     pub style: TfLBBalloonStyle,
11350     pub bstrText: super::super::Foundation::BSTR,
11351 }
11352 #[cfg(feature = "Win32_Foundation")]
11353 impl TF_LBBALLOONINFO {}
11354 #[cfg(feature = "Win32_Foundation")]
11355 impl ::std::default::Default for TF_LBBALLOONINFO {
default() -> Self11356     fn default() -> Self {
11357         unsafe { ::std::mem::zeroed() }
11358     }
11359 }
11360 #[cfg(feature = "Win32_Foundation")]
11361 impl ::std::fmt::Debug for TF_LBBALLOONINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11362     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11363         fmt.debug_struct("TF_LBBALLOONINFO").field("style", &self.style).field("bstrText", &self.bstrText).finish()
11364     }
11365 }
11366 #[cfg(feature = "Win32_Foundation")]
11367 impl ::std::cmp::PartialEq for TF_LBBALLOONINFO {
eq(&self, other: &Self) -> bool11368     fn eq(&self, other: &Self) -> bool {
11369         self.style == other.style && self.bstrText == other.bstrText
11370     }
11371 }
11372 #[cfg(feature = "Win32_Foundation")]
11373 impl ::std::cmp::Eq for TF_LBBALLOONINFO {}
11374 #[cfg(feature = "Win32_Foundation")]
11375 unsafe impl ::windows::runtime::Abi for TF_LBBALLOONINFO {
11376     type Abi = ::std::mem::ManuallyDrop<Self>;
11377     type DefaultType = Self;
11378 }
11379 pub const TF_LBI_BALLOON: u32 = 16u32;
11380 pub const TF_LBI_BITMAP: u32 = 8u32;
11381 pub const TF_LBI_BMPF_VERTICAL: u32 = 1u32;
11382 pub const TF_LBI_CUSTOMUI: u32 = 32u32;
11383 pub const TF_LBI_DESC_MAXLEN: u32 = 32u32;
11384 pub const TF_LBI_ICON: u32 = 1u32;
11385 pub const TF_LBI_STATUS: u32 = 65536u32;
11386 pub const TF_LBI_STATUS_BTN_TOGGLED: u32 = 65536u32;
11387 pub const TF_LBI_STATUS_DISABLED: u32 = 2u32;
11388 pub const TF_LBI_STATUS_HIDDEN: u32 = 1u32;
11389 pub const TF_LBI_STYLE_BTN_BUTTON: u32 = 65536u32;
11390 pub const TF_LBI_STYLE_BTN_MENU: u32 = 131072u32;
11391 pub const TF_LBI_STYLE_BTN_TOGGLE: u32 = 262144u32;
11392 pub const TF_LBI_STYLE_HIDDENBYDEFAULT: u32 = 16u32;
11393 pub const TF_LBI_STYLE_HIDDENSTATUSCONTROL: u32 = 1u32;
11394 pub const TF_LBI_STYLE_HIDEONNOOTHERITEMS: u32 = 4u32;
11395 pub const TF_LBI_STYLE_SHOWNINTRAY: u32 = 2u32;
11396 pub const TF_LBI_STYLE_SHOWNINTRAYONLY: u32 = 8u32;
11397 pub const TF_LBI_STYLE_TEXTCOLORICON: u32 = 32u32;
11398 pub const TF_LBI_TEXT: u32 = 2u32;
11399 pub const TF_LBI_TOOLTIP: u32 = 4u32;
11400 pub const TF_LBMENUF_CHECKED: u32 = 1u32;
11401 pub const TF_LBMENUF_GRAYED: u32 = 16u32;
11402 pub const TF_LBMENUF_RADIOCHECKED: u32 = 8u32;
11403 pub const TF_LBMENUF_SEPARATOR: u32 = 4u32;
11404 pub const TF_LBMENUF_SUBMENU: u32 = 2u32;
11405 #[cfg(feature = "Win32_Foundation")]
11406 impl ::std::clone::Clone for TF_LMLATTELEMENT {
clone(&self) -> Self11407     fn clone(&self) -> Self {
11408         unimplemented!()
11409     }
11410 }
11411 #[repr(C)]
11412 #[cfg(feature = "Win32_Foundation")]
11413 pub struct TF_LMLATTELEMENT {
11414     pub dwFrameStart: u32,
11415     pub dwFrameLen: u32,
11416     pub dwFlags: u32,
11417     pub Anonymous: TF_LMLATTELEMENT_0,
11418     pub bstrText: super::super::Foundation::BSTR,
11419 }
11420 #[cfg(feature = "Win32_Foundation")]
11421 impl TF_LMLATTELEMENT {}
11422 #[cfg(feature = "Win32_Foundation")]
11423 impl ::std::default::Default for TF_LMLATTELEMENT {
default() -> Self11424     fn default() -> Self {
11425         unsafe { ::std::mem::zeroed() }
11426     }
11427 }
11428 #[cfg(feature = "Win32_Foundation")]
11429 impl ::std::cmp::PartialEq for TF_LMLATTELEMENT {
eq(&self, _other: &Self) -> bool11430     fn eq(&self, _other: &Self) -> bool {
11431         unimplemented!()
11432     }
11433 }
11434 #[cfg(feature = "Win32_Foundation")]
11435 impl ::std::cmp::Eq for TF_LMLATTELEMENT {}
11436 #[cfg(feature = "Win32_Foundation")]
11437 unsafe impl ::windows::runtime::Abi for TF_LMLATTELEMENT {
11438     type Abi = ::std::mem::ManuallyDrop<Self>;
11439     type DefaultType = Self;
11440 }
11441 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11442 #[repr(C)]
11443 pub union TF_LMLATTELEMENT_0 {
11444     pub iCost: i32,
11445 }
11446 impl TF_LMLATTELEMENT_0 {}
11447 impl ::std::default::Default for TF_LMLATTELEMENT_0 {
default() -> Self11448     fn default() -> Self {
11449         unsafe { ::std::mem::zeroed() }
11450     }
11451 }
11452 impl ::std::cmp::PartialEq for TF_LMLATTELEMENT_0 {
eq(&self, _other: &Self) -> bool11453     fn eq(&self, _other: &Self) -> bool {
11454         unimplemented!()
11455     }
11456 }
11457 impl ::std::cmp::Eq for TF_LMLATTELEMENT_0 {}
11458 unsafe impl ::windows::runtime::Abi for TF_LMLATTELEMENT_0 {
11459     type Abi = Self;
11460     type DefaultType = Self;
11461 }
11462 pub const TF_MENUREADY: u32 = 1u32;
11463 pub const TF_MOD_ALT: u32 = 1u32;
11464 pub const TF_MOD_CONTROL: u32 = 2u32;
11465 pub const TF_MOD_IGNORE_ALL_MODIFIER: u32 = 1024u32;
11466 pub const TF_MOD_LALT: u32 = 64u32;
11467 pub const TF_MOD_LCONTROL: u32 = 128u32;
11468 pub const TF_MOD_LSHIFT: u32 = 256u32;
11469 pub const TF_MOD_ON_KEYUP: u32 = 512u32;
11470 pub const TF_MOD_RALT: u32 = 8u32;
11471 pub const TF_MOD_RCONTROL: u32 = 16u32;
11472 pub const TF_MOD_RSHIFT: u32 = 32u32;
11473 pub const TF_MOD_SHIFT: u32 = 4u32;
11474 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11475 #[repr(C)]
11476 pub struct TF_PERSISTENT_PROPERTY_HEADER_ACP {
11477     pub guidType: ::windows::runtime::GUID,
11478     pub ichStart: i32,
11479     pub cch: i32,
11480     pub cb: u32,
11481     pub dwPrivate: u32,
11482     pub clsidTIP: ::windows::runtime::GUID,
11483 }
11484 impl TF_PERSISTENT_PROPERTY_HEADER_ACP {}
11485 impl ::std::default::Default for TF_PERSISTENT_PROPERTY_HEADER_ACP {
default() -> Self11486     fn default() -> Self {
11487         unsafe { ::std::mem::zeroed() }
11488     }
11489 }
11490 impl ::std::fmt::Debug for TF_PERSISTENT_PROPERTY_HEADER_ACP {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11491     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11492         fmt.debug_struct("TF_PERSISTENT_PROPERTY_HEADER_ACP").field("guidType", &self.guidType).field("ichStart", &self.ichStart).field("cch", &self.cch).field("cb", &self.cb).field("dwPrivate", &self.dwPrivate).field("clsidTIP", &self.clsidTIP).finish()
11493     }
11494 }
11495 impl ::std::cmp::PartialEq for TF_PERSISTENT_PROPERTY_HEADER_ACP {
eq(&self, other: &Self) -> bool11496     fn eq(&self, other: &Self) -> bool {
11497         self.guidType == other.guidType && self.ichStart == other.ichStart && self.cch == other.cch && self.cb == other.cb && self.dwPrivate == other.dwPrivate && self.clsidTIP == other.clsidTIP
11498     }
11499 }
11500 impl ::std::cmp::Eq for TF_PERSISTENT_PROPERTY_HEADER_ACP {}
11501 unsafe impl ::windows::runtime::Abi for TF_PERSISTENT_PROPERTY_HEADER_ACP {
11502     type Abi = Self;
11503     type DefaultType = Self;
11504 }
11505 pub const TF_POPF_ALL: u32 = 1u32;
11506 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11507 #[repr(C)]
11508 pub struct TF_PRESERVEDKEY {
11509     pub uVKey: u32,
11510     pub uModifiers: u32,
11511 }
11512 impl TF_PRESERVEDKEY {}
11513 impl ::std::default::Default for TF_PRESERVEDKEY {
default() -> Self11514     fn default() -> Self {
11515         unsafe { ::std::mem::zeroed() }
11516     }
11517 }
11518 impl ::std::fmt::Debug for TF_PRESERVEDKEY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11519     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11520         fmt.debug_struct("TF_PRESERVEDKEY").field("uVKey", &self.uVKey).field("uModifiers", &self.uModifiers).finish()
11521     }
11522 }
11523 impl ::std::cmp::PartialEq for TF_PRESERVEDKEY {
eq(&self, other: &Self) -> bool11524     fn eq(&self, other: &Self) -> bool {
11525         self.uVKey == other.uVKey && self.uModifiers == other.uModifiers
11526     }
11527 }
11528 impl ::std::cmp::Eq for TF_PRESERVEDKEY {}
11529 unsafe impl ::windows::runtime::Abi for TF_PRESERVEDKEY {
11530     type Abi = Self;
11531     type DefaultType = Self;
11532 }
11533 pub const TF_PROFILETYPE_INPUTPROCESSOR: u32 = 1u32;
11534 pub const TF_PROFILETYPE_KEYBOARDLAYOUT: u32 = 2u32;
11535 pub const TF_PROFILE_ARRAY: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3549364069, 43590, 20437, [145, 167, 103, 132, 95, 176, 47, 91]);
11536 pub const TF_PROFILE_CANTONESE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(183242908, 32406, 4564, [178, 239, 0, 128, 200, 130, 104, 126]);
11537 pub const TF_PROFILE_CHANGJIE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1272946435, 51155, 4564, [178, 171, 0, 128, 200, 130, 104, 126]);
11538 pub const TF_PROFILE_DAYI: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(58403877, 18444, 19839, [176, 39, 214, 202, 107, 105, 120, 138]);
11539 pub const TF_PROFILE_NEWCHANGJIE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4089090170, 27774, 4564, [151, 250, 0, 128, 200, 130, 104, 126]);
11540 pub const TF_PROFILE_NEWPHONETIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3002713346, 5954, 4564, [151, 144, 0, 128, 200, 130, 104, 126]);
11541 pub const TF_PROFILE_NEWQUICK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(193477536, 49607, 4564, [135, 249, 0, 128, 200, 130, 104, 126]);
11542 pub const TF_PROFILE_PHONETIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1980959198, 12666, 4564, [155, 93, 0, 128, 200, 130, 104, 126]);
11543 pub const TF_PROFILE_PINYIN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4089090167, 27774, 4564, [151, 250, 0, 128, 200, 130, 104, 126]);
11544 pub const TF_PROFILE_QUICK: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1613018207, 23636, 4564, [185, 33, 0, 128, 200, 130, 104, 126]);
11545 pub const TF_PROFILE_SIMPLEFAST: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4199877380, 23255, 16671, [165, 172, 202, 3, 142, 197, 21, 215]);
11546 pub const TF_PROFILE_TIGRINYA: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1017874615, 52286, 18086, [151, 101, 183, 114, 173, 119, 97, 255]);
11547 pub const TF_PROFILE_WUBI: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2186873875, 62685, 17652, [186, 29, 134, 103, 36, 111, 223, 142]);
11548 pub const TF_PROFILE_YI: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1083999094, 123, 17239, [174, 142, 38, 49, 110, 227, 251, 13]);
11549 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11550 impl ::std::clone::Clone for TF_PROPERTYVAL {
clone(&self) -> Self11551     fn clone(&self) -> Self {
11552         unimplemented!()
11553     }
11554 }
11555 #[repr(C)]
11556 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11557 pub struct TF_PROPERTYVAL {
11558     pub guidId: ::windows::runtime::GUID,
11559     pub varValue: super::super::System::Com::VARIANT,
11560 }
11561 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11562 impl TF_PROPERTYVAL {}
11563 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11564 impl ::std::default::Default for TF_PROPERTYVAL {
default() -> Self11565     fn default() -> Self {
11566         unsafe { ::std::mem::zeroed() }
11567     }
11568 }
11569 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11570 impl ::std::cmp::PartialEq for TF_PROPERTYVAL {
eq(&self, _other: &Self) -> bool11571     fn eq(&self, _other: &Self) -> bool {
11572         unimplemented!()
11573     }
11574 }
11575 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11576 impl ::std::cmp::Eq for TF_PROPERTYVAL {}
11577 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11578 unsafe impl ::windows::runtime::Abi for TF_PROPERTYVAL {
11579     type Abi = ::std::mem::ManuallyDrop<Self>;
11580     type DefaultType = Self;
11581 }
11582 pub const TF_PROPUI_STATUS_SAVETOFILE: u32 = 1u32;
11583 pub const TF_RCM_COMLESS: u32 = 1u32;
11584 pub const TF_RCM_HINT_COLLISION: u32 = 8u32;
11585 pub const TF_RCM_HINT_READING_LENGTH: u32 = 4u32;
11586 pub const TF_RCM_VKEY: u32 = 2u32;
11587 pub const TF_RIP_FLAG_FREEUNUSEDLIBRARIES: u32 = 1u32;
11588 pub const TF_RIUIE_CONTEXT: u32 = 1u32;
11589 pub const TF_RIUIE_ERRORINDEX: u32 = 8u32;
11590 pub const TF_RIUIE_MAXREADINGSTRINGLENGTH: u32 = 4u32;
11591 pub const TF_RIUIE_STRING: u32 = 2u32;
11592 pub const TF_RIUIE_VERTICALORDER: u32 = 16u32;
11593 pub const TF_RP_HIDDENINSETTINGUI: u32 = 2u32;
11594 pub const TF_RP_LOCALPROCESS: u32 = 4u32;
11595 pub const TF_RP_LOCALTHREAD: u32 = 8u32;
11596 pub const TF_RP_SUBITEMINSETTINGUI: u32 = 16u32;
11597 pub const TF_SD_LOADING: u32 = 2u32;
11598 pub const TF_SD_READONLY: u32 = 1u32;
11599 #[derive(:: std :: clone :: Clone)]
11600 #[repr(C)]
11601 #[cfg(feature = "Win32_Foundation")]
11602 pub struct TF_SELECTION {
11603     pub range: ::std::option::Option<ITfRange>,
11604     pub style: TF_SELECTIONSTYLE,
11605 }
11606 #[cfg(feature = "Win32_Foundation")]
11607 impl TF_SELECTION {}
11608 #[cfg(feature = "Win32_Foundation")]
11609 impl ::std::default::Default for TF_SELECTION {
default() -> Self11610     fn default() -> Self {
11611         unsafe { ::std::mem::zeroed() }
11612     }
11613 }
11614 #[cfg(feature = "Win32_Foundation")]
11615 impl ::std::fmt::Debug for TF_SELECTION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11616     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11617         fmt.debug_struct("TF_SELECTION").field("range", &self.range).field("style", &self.style).finish()
11618     }
11619 }
11620 #[cfg(feature = "Win32_Foundation")]
11621 impl ::std::cmp::PartialEq for TF_SELECTION {
eq(&self, other: &Self) -> bool11622     fn eq(&self, other: &Self) -> bool {
11623         self.range == other.range && self.style == other.style
11624     }
11625 }
11626 #[cfg(feature = "Win32_Foundation")]
11627 impl ::std::cmp::Eq for TF_SELECTION {}
11628 #[cfg(feature = "Win32_Foundation")]
11629 unsafe impl ::windows::runtime::Abi for TF_SELECTION {
11630     type Abi = ::std::mem::ManuallyDrop<Self>;
11631     type DefaultType = Self;
11632 }
11633 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11634 #[repr(C)]
11635 #[cfg(feature = "Win32_Foundation")]
11636 pub struct TF_SELECTIONSTYLE {
11637     pub ase: TfActiveSelEnd,
11638     pub fInterimChar: super::super::Foundation::BOOL,
11639 }
11640 #[cfg(feature = "Win32_Foundation")]
11641 impl TF_SELECTIONSTYLE {}
11642 #[cfg(feature = "Win32_Foundation")]
11643 impl ::std::default::Default for TF_SELECTIONSTYLE {
default() -> Self11644     fn default() -> Self {
11645         unsafe { ::std::mem::zeroed() }
11646     }
11647 }
11648 #[cfg(feature = "Win32_Foundation")]
11649 impl ::std::fmt::Debug for TF_SELECTIONSTYLE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11650     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11651         fmt.debug_struct("TF_SELECTIONSTYLE").field("ase", &self.ase).field("fInterimChar", &self.fInterimChar).finish()
11652     }
11653 }
11654 #[cfg(feature = "Win32_Foundation")]
11655 impl ::std::cmp::PartialEq for TF_SELECTIONSTYLE {
eq(&self, other: &Self) -> bool11656     fn eq(&self, other: &Self) -> bool {
11657         self.ase == other.ase && self.fInterimChar == other.fInterimChar
11658     }
11659 }
11660 #[cfg(feature = "Win32_Foundation")]
11661 impl ::std::cmp::Eq for TF_SELECTIONSTYLE {}
11662 #[cfg(feature = "Win32_Foundation")]
11663 unsafe impl ::windows::runtime::Abi for TF_SELECTIONSTYLE {
11664     type Abi = Self;
11665     type DefaultType = Self;
11666 }
11667 pub const TF_SENTENCEMODE_AUTOMATIC: u32 = 4u32;
11668 pub const TF_SENTENCEMODE_CONVERSATION: u32 = 16u32;
11669 pub const TF_SENTENCEMODE_NONE: u32 = 0u32;
11670 pub const TF_SENTENCEMODE_PHRASEPREDICT: u32 = 8u32;
11671 pub const TF_SENTENCEMODE_PLAURALCLAUSE: u32 = 1u32;
11672 pub const TF_SENTENCEMODE_SINGLECONVERT: u32 = 2u32;
11673 pub const TF_SFT_DESKBAND: u32 = 2048u32;
11674 pub const TF_SFT_DOCK: u32 = 2u32;
11675 pub const TF_SFT_EXTRAICONSONMINIMIZED: u32 = 512u32;
11676 pub const TF_SFT_HIDDEN: u32 = 8u32;
11677 pub const TF_SFT_HIGHTRANSPARENCY: u32 = 64u32;
11678 pub const TF_SFT_LABELS: u32 = 128u32;
11679 pub const TF_SFT_LOWTRANSPARENCY: u32 = 32u32;
11680 pub const TF_SFT_MINIMIZED: u32 = 4u32;
11681 pub const TF_SFT_NOEXTRAICONSONMINIMIZED: u32 = 1024u32;
11682 pub const TF_SFT_NOLABELS: u32 = 256u32;
11683 pub const TF_SFT_NOTRANSPARENCY: u32 = 16u32;
11684 pub const TF_SFT_SHOWNORMAL: u32 = 1u32;
11685 pub const TF_SHOW_BALLOON: u32 = 1u32;
11686 pub const TF_SPEECHUI_SHOWN: u32 = 16u32;
11687 pub const TF_SS_DISJOINTSEL: u32 = 1u32;
11688 pub const TF_SS_REGIONS: u32 = 2u32;
11689 pub const TF_SS_TKBAUTOCORRECTENABLE: u32 = 16u32;
11690 pub const TF_SS_TKBPREDICTIONENABLE: u32 = 32u32;
11691 pub const TF_SS_TRANSITORY: u32 = 4u32;
11692 pub const TF_ST_CORRECTION: u32 = 1u32;
11693 pub const TF_S_ASYNC: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262912i32 as _);
11694 pub const TF_TF_IGNOREEND: u32 = 2u32;
11695 pub const TF_TF_MOVESTART: u32 = 1u32;
11696 pub const TF_TMAE_COMLESS: u32 = 8u32;
11697 pub const TF_TMAE_CONSOLE: u32 = 64u32;
11698 pub const TF_TMAE_NOACTIVATEKEYBOARDLAYOUT: u32 = 32u32;
11699 pub const TF_TMAE_NOACTIVATETIP: u32 = 1u32;
11700 pub const TF_TMAE_SECUREMODE: u32 = 2u32;
11701 pub const TF_TMAE_UIELEMENTENABLEDONLY: u32 = 4u32;
11702 pub const TF_TMAE_WOW16: u32 = 16u32;
11703 pub const TF_TMF_ACTIVATED: u32 = 2147483648u32;
11704 pub const TF_TMF_COMLESS: u32 = 8u32;
11705 pub const TF_TMF_CONSOLE: u32 = 64u32;
11706 pub const TF_TMF_IMMERSIVEMODE: u32 = 1073741824u32;
11707 pub const TF_TMF_NOACTIVATETIP: u32 = 1u32;
11708 pub const TF_TMF_SECUREMODE: u32 = 2u32;
11709 pub const TF_TMF_UIELEMENTENABLEDONLY: u32 = 4u32;
11710 pub const TF_TMF_WOW16: u32 = 16u32;
11711 pub const TF_TRANSITORYEXTENSION_ATSELECTION: u32 = 2u32;
11712 pub const TF_TRANSITORYEXTENSION_FLOATING: u32 = 1u32;
11713 pub const TF_TRANSITORYEXTENSION_NONE: u32 = 0u32;
11714 pub const TF_TU_CORRECTION: u32 = 1u32;
11715 pub const TF_URP_ALLPROFILES: u32 = 2u32;
11716 pub const TF_URP_LOCALPROCESS: u32 = 4u32;
11717 pub const TF_URP_LOCALTHREAD: u32 = 8u32;
11718 pub const TF_US_HIDETIPUI: u32 = 1u32;
11719 pub const TKBL_CLASSIC_TRADITIONAL_CHINESE_CHANGJIE: u32 = 61506u32;
11720 pub const TKBL_CLASSIC_TRADITIONAL_CHINESE_DAYI: u32 = 61507u32;
11721 pub const TKBL_CLASSIC_TRADITIONAL_CHINESE_PHONETIC: u32 = 1028u32;
11722 pub const TKBL_OPT_JAPANESE_ABC: u32 = 1041u32;
11723 pub const TKBL_OPT_KOREAN_HANGUL_2_BULSIK: u32 = 1042u32;
11724 pub const TKBL_OPT_SIMPLIFIED_CHINESE_PINYIN: u32 = 2052u32;
11725 pub const TKBL_OPT_TRADITIONAL_CHINESE_PHONETIC: u32 = 1028u32;
11726 pub const TKBL_UNDEFINED: u32 = 0u32;
11727 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11728 #[repr(transparent)]
11729 pub struct TKBLayoutType(pub i32);
11730 pub const TKBLT_UNDEFINED: TKBLayoutType = TKBLayoutType(0i32);
11731 pub const TKBLT_CLASSIC: TKBLayoutType = TKBLayoutType(1i32);
11732 pub const TKBLT_OPTIMIZED: TKBLayoutType = TKBLayoutType(2i32);
11733 impl ::std::convert::From<i32> for TKBLayoutType {
from(value: i32) -> Self11734     fn from(value: i32) -> Self {
11735         Self(value)
11736     }
11737 }
11738 unsafe impl ::windows::runtime::Abi for TKBLayoutType {
11739     type Abi = Self;
11740     type DefaultType = Self;
11741 }
11742 pub const TKB_ALTERNATES_AUTOCORRECTION_APPLIED: u32 = 4u32;
11743 pub const TKB_ALTERNATES_FOR_AUTOCORRECTION: u32 = 2u32;
11744 pub const TKB_ALTERNATES_FOR_PREDICTION: u32 = 3u32;
11745 pub const TKB_ALTERNATES_STANDARD: u32 = 1u32;
11746 pub const TSATTRID_App: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2819586015, 16951, 16613, [132, 156, 181, 250, 81, 193, 58, 199]);
11747 pub const TSATTRID_App_IncorrectGrammar: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3176457112, 44291, 19316, [182, 179, 94, 219, 25, 153, 99, 136]);
11748 pub const TSATTRID_App_IncorrectSpelling: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4096648252, 61202, 17165, [148, 76, 154, 8, 151, 10, 37, 210]);
11749 pub const TSATTRID_Font: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1463724069, 29851, 20362, [156, 253, 33, 195, 96, 92, 168, 40]);
11750 pub const TSATTRID_Font_FaceName: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3040259766, 1339, 20152, [182, 90, 80, 218, 30, 129, 231, 46]);
11751 pub const TSATTRID_Font_SizePts: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3360240386, 42473, 17773, [175, 4, 128, 5, 228, 19, 15, 3]);
11752 pub const TSATTRID_Font_Style: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1756538751, 27406, 20264, [129, 119, 87, 28, 47, 58, 66, 177]);
11753 pub const TSATTRID_Font_Style_Animation: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3707190562, 57385, 18359, [187, 54, 242, 99, 163, 208, 4, 204]);
11754 pub const TSATTRID_Font_Style_Animation_BlinkingBackground: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2263200004, 260, 19216, [181, 133, 0, 242, 82, 117, 34, 181]);
11755 pub const TSATTRID_Font_Style_Animation_LasVegasLights: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4093912021, 3975, 20367, [186, 218, 230, 214, 12, 37, 225, 82]);
11756 pub const TSATTRID_Font_Style_Animation_MarchingBlackAnts: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1984225383, 61830, 18690, [191, 198, 236, 129, 90, 162, 14, 157]);
11757 pub const TSATTRID_Font_Style_Animation_MarchingRedAnts: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2016841133, 20731, 19567, [132, 11, 212, 134, 187, 108, 247, 129]);
11758 pub const TSATTRID_Font_Style_Animation_Shimmer: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(753081176, 21139, 19510, [136, 9, 191, 139, 181, 26, 39, 179]);
11759 pub const TSATTRID_Font_Style_Animation_SparkleText: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1396354336, 38444, 20127, [140, 9, 180, 46, 164, 116, 151, 17]);
11760 pub const TSATTRID_Font_Style_Animation_WipeDown: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1483925620, 13947, 18435, [177, 96, 201, 15, 246, 37, 105, 208]);
11761 pub const TSATTRID_Font_Style_Animation_WipeRight: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3092630499, 15660, 17920, [177, 233, 225, 201, 206, 2, 248, 66]);
11762 pub const TSATTRID_Font_Style_BackgroundColor: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3037637198, 12433, 17512, [129, 219, 215, 158, 161, 144, 199, 199]);
11763 pub const TSATTRID_Font_Style_Blink: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3216162870, 31439, 17714, [183, 32, 180, 22, 221, 119, 101, 168]);
11764 pub const TSATTRID_Font_Style_Bold: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1216428611, 35360, 18752, [142, 88, 151, 130, 63, 123, 38, 138]);
11765 pub const TSATTRID_Font_Style_Capitalize: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2105910202, 46333, 17331, [190, 252, 107, 152, 92, 132, 49, 65]);
11766 pub const TSATTRID_Font_Style_Color: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2239396407, 47279, 20122, [129, 180, 172, 247, 0, 200, 65, 27]);
11767 pub const TSATTRID_Font_Style_Emboss: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3180255042, 13470, 20023, [130, 251, 67, 121, 121, 203, 83, 167]);
11768 pub const TSATTRID_Font_Style_Engrave: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2620617182, 33586, 18583, [190, 93, 137, 35, 50, 35, 23, 154]);
11769 pub const TSATTRID_Font_Style_Height: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2123592823, 4838, 17803, [146, 106, 31, 164, 78, 232, 243, 145]);
11770 pub const TSATTRID_Font_Style_Hidden: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2984413040, 34844, 18271, [134, 63, 136, 122, 100, 123, 16, 144]);
11771 pub const TSATTRID_Font_Style_Italic: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2269145130, 42853, 18657, [172, 252, 210, 34, 34, 178, 248, 16]);
11772 pub const TSATTRID_Font_Style_Kerning: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3425100212, 12186, 18376, [139, 255, 191, 30, 183, 204, 224, 221]);
11773 pub const TSATTRID_Font_Style_Lowercase: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1993919669, 51835, 17560, [142, 233, 213, 196, 246, 247, 76, 96]);
11774 pub const TSATTRID_Font_Style_Outlined: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(283564849, 56077, 19142, [167, 245, 156, 156, 255, 111, 42, 180]);
11775 pub const TSATTRID_Font_Style_Overline: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3818430282, 39211, 17153, [140, 225, 165, 183, 198, 209, 243, 200]);
11776 pub const TSATTRID_Font_Style_Overline_Double: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3695576634, 57621, 18147, [188, 216, 202, 103, 114, 170, 149, 180]);
11777 pub const TSATTRID_Font_Style_Overline_Single: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2218842444, 20942, 18354, [141, 76, 21, 117, 30, 95, 114, 27]);
11778 pub const TSATTRID_Font_Style_Position: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(365766315, 62203, 16482, [181, 166, 154, 73, 225, 165, 204, 11]);
11779 pub const TSATTRID_Font_Style_Protected: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(475364530, 5327, 17748, [165, 116, 236, 178, 247, 231, 239, 212]);
11780 pub const TSATTRID_Font_Style_Shadow: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1600679215, 50893, 19542, [138, 26, 153, 74, 75, 151, 102, 190]);
11781 pub const TSATTRID_Font_Style_SmallCaps: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4207635398, 37120, 19654, [185, 105, 17, 238, 164, 90, 134, 180]);
11782 pub const TSATTRID_Font_Style_Spacing: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2562793485, 36614, 16538, [142, 73, 106, 85, 75, 247, 193, 83]);
11783 pub const TSATTRID_Font_Style_Strikethrough: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(206971283, 11528, 18024, [150, 1, 206, 212, 19, 9, 215, 175]);
11784 pub const TSATTRID_Font_Style_Strikethrough_Double: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1648925489, 41959, 20372, [172, 67, 235, 175, 143, 204, 122, 159]);
11785 pub const TSATTRID_Font_Style_Strikethrough_Single: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1977038518, 15503, 19351, [171, 120, 24, 119, 203, 153, 13, 49]);
11786 pub const TSATTRID_Font_Style_Subscript: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1467284356, 14491, 17340, [167, 75, 21, 104, 52, 124, 240, 244]);
11787 pub const TSATTRID_Font_Style_Superscript: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(782539068, 22076, 18858, [147, 114, 11, 239, 9, 169, 37, 91]);
11788 pub const TSATTRID_Font_Style_Underline: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3284781555, 30978, 17483, [154, 123, 72, 231, 15, 75, 80, 247]);
11789 pub const TSATTRID_Font_Style_Underline_Double: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1959938726, 7603, 19561, [161, 118, 49, 18, 14, 117, 134, 213]);
11790 pub const TSATTRID_Font_Style_Underline_Single: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(459743461, 3955, 18769, [166, 179, 111, 25, 228, 60, 148, 97]);
11791 pub const TSATTRID_Font_Style_Uppercase: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(866320616, 58176, 18743, [182, 151, 143, 35, 64, 69, 205, 154]);
11792 pub const TSATTRID_Font_Style_Weight: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(317921436, 35760, 17947, [177, 250, 234, 249, 7, 4, 127, 224]);
11793 pub const TSATTRID_List: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1131243323, 9969, 19182, [158, 101, 143, 131, 164, 237, 72, 132]);
11794 pub const TSATTRID_List_LevelIndel: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2138884249, 12575, 18555, [173, 93, 226, 164, 89, 225, 45, 66]);
11795 pub const TSATTRID_List_Type: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2923325022, 19406, 18915, [160, 254, 45, 180, 125, 58, 23, 174]);
11796 pub const TSATTRID_List_Type_Arabic: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(322487766, 39075, 20387, [155, 209, 122, 96, 238, 248, 233, 224]);
11797 pub const TSATTRID_List_Type_Bullet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3167582149, 19533, 19682, [177, 2, 85, 159, 59, 43, 252, 234]);
11798 pub const TSATTRID_List_Type_LowerLetter: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2520195717, 62415, 18718, [169, 37, 56, 50, 52, 127, 210, 55]);
11799 pub const TSATTRID_List_Type_LowerRoman: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2420531810, 14720, 19342, [147, 104, 145, 139, 209, 33, 138, 65]);
11800 pub const TSATTRID_List_Type_UpperLetter: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2038937549, 52818, 17035, [155, 149, 163, 87, 246, 241, 12, 69]);
11801 pub const TSATTRID_List_Type_UpperRoman: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(258651474, 19072, 18047, [178, 241, 18, 126, 42, 163, 186, 158]);
11802 pub const TSATTRID_OTHERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3015912185, 22480, 18089, [188, 168, 218, 194, 56, 161, 48, 87]);
11803 pub const TSATTRID_Text: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2128318056, 33273, 17565, [161, 90, 135, 168, 56, 143, 170, 192]);
11804 pub const TSATTRID_Text_Alignment: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(328810982, 5991, 17773, [147, 142, 53, 186, 86, 139, 92, 212]);
11805 pub const TSATTRID_Text_Alignment_Center: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2762562582, 21439, 19797, [139, 135, 75, 221, 141, 66, 117, 252]);
11806 pub const TSATTRID_Text_Alignment_Justify: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3979675456, 41207, 17107, [142, 168, 248, 27, 100, 136, 250, 240]);
11807 pub const TSATTRID_Text_Alignment_Left: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(380540371, 25441, 17314, [132, 149, 208, 15, 57, 127, 22, 147]);
11808 pub const TSATTRID_Text_Alignment_Right: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3010400152, 7070, 17248, [134, 22, 3, 251, 8, 167, 132, 86]);
11809 pub const TSATTRID_Text_EmbeddedObject: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2128318056, 33273, 17565, [161, 90, 135, 168, 56, 143, 170, 192]);
11810 pub const TSATTRID_Text_Hyphenation: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3672065317, 24974, 18923, [177, 168, 59, 104, 189, 118, 72, 227]);
11811 pub const TSATTRID_Text_Language: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3636481777, 22355, 19493, [136, 135, 133, 68, 63, 229, 248, 25]);
11812 pub const TSATTRID_Text_Link: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1204654161, 14114, 19672, [183, 200, 78, 23, 202, 23, 89, 245]);
11813 pub const TSATTRID_Text_Orientation: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1806397567, 34693, 19513, [139, 82, 150, 248, 120, 48, 63, 251]);
11814 pub const TSATTRID_Text_Para: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1591498786, 39388, 19926, [174, 195, 182, 43, 170, 91, 46, 124]);
11815 pub const TSATTRID_Text_Para_FirstLineIndent: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(130644499, 29810, 19928, [144, 169, 145, 227, 215, 228, 242, 156]);
11816 pub const TSATTRID_Text_Para_LeftIndent: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4213721321, 29809, 16841, [182, 179, 138, 20, 80, 224, 24, 151]);
11817 pub const TSATTRID_Text_Para_LineSpacing: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1771780109, 32652, 18134, [167, 59, 223, 227, 209, 83, 141, 243]);
11818 pub const TSATTRID_Text_Para_LineSpacing_AtLeast: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2919161649, 11588, 17460, [165, 255, 127, 76, 73, 144, 169, 5]);
11819 pub const TSATTRID_Text_Para_LineSpacing_Double: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2197493765, 42692, 16945, [172, 18, 98, 96, 175, 42, 186, 40]);
11820 pub const TSATTRID_Text_Para_LineSpacing_Exactly: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1027976512, 9182, 18647, [166, 179, 118, 84, 32, 198, 32, 204]);
11821 pub const TSATTRID_Text_Para_LineSpacing_Multiple: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2433687100, 54992, 20325, [138, 60, 66, 180, 179, 24, 104, 197]);
11822 pub const TSATTRID_Text_Para_LineSpacing_OnePtFive: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(69771297, 919, 19287, [154, 23, 7, 149, 153, 76, 211, 197]);
11823 pub const TSATTRID_Text_Para_LineSpacing_Single: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3979675456, 41207, 17107, [142, 168, 248, 27, 100, 136, 250, 240]);
11824 pub const TSATTRID_Text_Para_RightIndent: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(746530553, 42466, 18650, [185, 138, 82, 12, 177, 101, 19, 191]);
11825 pub const TSATTRID_Text_Para_SpaceAfter: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2064269141, 8924, 16991, [164, 17, 147, 218, 29, 143, 155, 170]);
11826 pub const TSATTRID_Text_Para_SpaceBefore: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2381940105, 6474, 17921, [178, 81, 152, 101, 163, 233, 6, 221]);
11827 pub const TSATTRID_Text_ReadOnly: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2239981079, 56882, 19197, [165, 15, 162, 219, 17, 14, 110, 77]);
11828 pub const TSATTRID_Text_RightToLeft: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3395710577, 6920, 17725, [191, 221, 40, 224, 140, 138, 175, 122]);
11829 pub const TSATTRID_Text_VerticalWriting: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1807384981, 1135, 20137, [179, 17, 151, 253, 102, 196, 39, 75]);
11830 pub const TS_AS_ATTR_CHANGE: u32 = 8u32;
11831 pub const TS_AS_LAYOUT_CHANGE: u32 = 4u32;
11832 pub const TS_AS_SEL_CHANGE: u32 = 2u32;
11833 pub const TS_AS_STATUS_CHANGE: u32 = 16u32;
11834 pub const TS_AS_TEXT_CHANGE: u32 = 1u32;
11835 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11836 impl ::std::clone::Clone for TS_ATTRVAL {
clone(&self) -> Self11837     fn clone(&self) -> Self {
11838         unimplemented!()
11839     }
11840 }
11841 #[repr(C)]
11842 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11843 pub struct TS_ATTRVAL {
11844     pub idAttr: ::windows::runtime::GUID,
11845     pub dwOverlapId: u32,
11846     pub varValue: super::super::System::Com::VARIANT,
11847 }
11848 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11849 impl TS_ATTRVAL {}
11850 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11851 impl ::std::default::Default for TS_ATTRVAL {
default() -> Self11852     fn default() -> Self {
11853         unsafe { ::std::mem::zeroed() }
11854     }
11855 }
11856 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11857 impl ::std::cmp::PartialEq for TS_ATTRVAL {
eq(&self, _other: &Self) -> bool11858     fn eq(&self, _other: &Self) -> bool {
11859         unimplemented!()
11860     }
11861 }
11862 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11863 impl ::std::cmp::Eq for TS_ATTRVAL {}
11864 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
11865 unsafe impl ::windows::runtime::Abi for TS_ATTRVAL {
11866     type Abi = ::std::mem::ManuallyDrop<Self>;
11867     type DefaultType = Self;
11868 }
11869 pub const TS_ATTR_FIND_BACKWARDS: u32 = 1u32;
11870 pub const TS_ATTR_FIND_HIDDEN: u32 = 32u32;
11871 pub const TS_ATTR_FIND_UPDATESTART: u32 = 4u32;
11872 pub const TS_ATTR_FIND_WANT_END: u32 = 16u32;
11873 pub const TS_ATTR_FIND_WANT_OFFSET: u32 = 2u32;
11874 pub const TS_ATTR_FIND_WANT_VALUE: u32 = 8u32;
11875 pub const TS_CHAR_EMBEDDED: u32 = 65532u32;
11876 pub const TS_CHAR_REGION: u32 = 0u32;
11877 pub const TS_CHAR_REPLACEMENT: u32 = 65533u32;
11878 pub const TS_E_FORMAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220982i32 as _);
11879 pub const TS_E_INVALIDPOINT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220985i32 as _);
11880 pub const TS_E_INVALIDPOS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220992i32 as _);
11881 pub const TS_E_NOINTERFACE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220988i32 as _);
11882 pub const TS_E_NOLAYOUT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220986i32 as _);
11883 pub const TS_E_NOLOCK: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220991i32 as _);
11884 pub const TS_E_NOOBJECT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220990i32 as _);
11885 pub const TS_E_NOSELECTION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220987i32 as _);
11886 pub const TS_E_NOSERVICE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220989i32 as _);
11887 pub const TS_E_READONLY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220983i32 as _);
11888 pub const TS_E_SYNCHRONOUS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220984i32 as _);
11889 pub const TS_GEA_HIDDEN: u32 = 1u32;
11890 pub const TS_GTA_HIDDEN: u32 = 1u32;
11891 pub const TS_IAS_NOQUERY: u32 = 1u32;
11892 pub const TS_IAS_QUERYONLY: u32 = 2u32;
11893 pub const TS_IE_COMPOSITION: u32 = 2u32;
11894 pub const TS_IE_CORRECTION: u32 = 1u32;
11895 pub const TS_LF_SYNC: u32 = 1u32;
11896 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11897 #[repr(C)]
11898 pub struct TS_RUNINFO {
11899     pub uCount: u32,
11900     pub r#type: TsRunType,
11901 }
11902 impl TS_RUNINFO {}
11903 impl ::std::default::Default for TS_RUNINFO {
default() -> Self11904     fn default() -> Self {
11905         unsafe { ::std::mem::zeroed() }
11906     }
11907 }
11908 impl ::std::fmt::Debug for TS_RUNINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11909     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11910         fmt.debug_struct("TS_RUNINFO").field("uCount", &self.uCount).field("r#type", &self.r#type).finish()
11911     }
11912 }
11913 impl ::std::cmp::PartialEq for TS_RUNINFO {
eq(&self, other: &Self) -> bool11914     fn eq(&self, other: &Self) -> bool {
11915         self.uCount == other.uCount && self.r#type == other.r#type
11916     }
11917 }
11918 impl ::std::cmp::Eq for TS_RUNINFO {}
11919 unsafe impl ::windows::runtime::Abi for TS_RUNINFO {
11920     type Abi = Self;
11921     type DefaultType = Self;
11922 }
11923 pub const TS_SD_EMBEDDEDHANDWRITINGVIEW_ENABLED: u32 = 128u32;
11924 pub const TS_SD_EMBEDDEDHANDWRITINGVIEW_VISIBLE: u32 = 256u32;
11925 pub const TS_SD_INPUTPANEMANUALDISPLAYENABLE: u32 = 64u32;
11926 pub const TS_SD_LOADING: u32 = 2u32;
11927 pub const TS_SD_READONLY: u32 = 1u32;
11928 pub const TS_SD_RESERVED: u32 = 4u32;
11929 pub const TS_SD_TKBAUTOCORRECTENABLE: u32 = 8u32;
11930 pub const TS_SD_TKBPREDICTIONENABLE: u32 = 16u32;
11931 pub const TS_SD_UIINTEGRATIONENABLE: u32 = 32u32;
11932 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11933 #[repr(C)]
11934 #[cfg(feature = "Win32_Foundation")]
11935 pub struct TS_SELECTIONSTYLE {
11936     pub ase: TsActiveSelEnd,
11937     pub fInterimChar: super::super::Foundation::BOOL,
11938 }
11939 #[cfg(feature = "Win32_Foundation")]
11940 impl TS_SELECTIONSTYLE {}
11941 #[cfg(feature = "Win32_Foundation")]
11942 impl ::std::default::Default for TS_SELECTIONSTYLE {
default() -> Self11943     fn default() -> Self {
11944         unsafe { ::std::mem::zeroed() }
11945     }
11946 }
11947 #[cfg(feature = "Win32_Foundation")]
11948 impl ::std::fmt::Debug for TS_SELECTIONSTYLE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11949     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11950         fmt.debug_struct("TS_SELECTIONSTYLE").field("ase", &self.ase).field("fInterimChar", &self.fInterimChar).finish()
11951     }
11952 }
11953 #[cfg(feature = "Win32_Foundation")]
11954 impl ::std::cmp::PartialEq for TS_SELECTIONSTYLE {
eq(&self, other: &Self) -> bool11955     fn eq(&self, other: &Self) -> bool {
11956         self.ase == other.ase && self.fInterimChar == other.fInterimChar
11957     }
11958 }
11959 #[cfg(feature = "Win32_Foundation")]
11960 impl ::std::cmp::Eq for TS_SELECTIONSTYLE {}
11961 #[cfg(feature = "Win32_Foundation")]
11962 unsafe impl ::windows::runtime::Abi for TS_SELECTIONSTYLE {
11963     type Abi = Self;
11964     type DefaultType = Self;
11965 }
11966 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11967 #[repr(C)]
11968 #[cfg(feature = "Win32_Foundation")]
11969 pub struct TS_SELECTION_ACP {
11970     pub acpStart: i32,
11971     pub acpEnd: i32,
11972     pub style: TS_SELECTIONSTYLE,
11973 }
11974 #[cfg(feature = "Win32_Foundation")]
11975 impl TS_SELECTION_ACP {}
11976 #[cfg(feature = "Win32_Foundation")]
11977 impl ::std::default::Default for TS_SELECTION_ACP {
default() -> Self11978     fn default() -> Self {
11979         unsafe { ::std::mem::zeroed() }
11980     }
11981 }
11982 #[cfg(feature = "Win32_Foundation")]
11983 impl ::std::fmt::Debug for TS_SELECTION_ACP {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11984     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11985         fmt.debug_struct("TS_SELECTION_ACP").field("acpStart", &self.acpStart).field("acpEnd", &self.acpEnd).field("style", &self.style).finish()
11986     }
11987 }
11988 #[cfg(feature = "Win32_Foundation")]
11989 impl ::std::cmp::PartialEq for TS_SELECTION_ACP {
eq(&self, other: &Self) -> bool11990     fn eq(&self, other: &Self) -> bool {
11991         self.acpStart == other.acpStart && self.acpEnd == other.acpEnd && self.style == other.style
11992     }
11993 }
11994 #[cfg(feature = "Win32_Foundation")]
11995 impl ::std::cmp::Eq for TS_SELECTION_ACP {}
11996 #[cfg(feature = "Win32_Foundation")]
11997 unsafe impl ::windows::runtime::Abi for TS_SELECTION_ACP {
11998     type Abi = Self;
11999     type DefaultType = Self;
12000 }
12001 #[derive(:: std :: clone :: Clone)]
12002 #[repr(C)]
12003 #[cfg(feature = "Win32_Foundation")]
12004 pub struct TS_SELECTION_ANCHOR {
12005     pub paStart: ::std::option::Option<IAnchor>,
12006     pub paEnd: ::std::option::Option<IAnchor>,
12007     pub style: TS_SELECTIONSTYLE,
12008 }
12009 #[cfg(feature = "Win32_Foundation")]
12010 impl TS_SELECTION_ANCHOR {}
12011 #[cfg(feature = "Win32_Foundation")]
12012 impl ::std::default::Default for TS_SELECTION_ANCHOR {
default() -> Self12013     fn default() -> Self {
12014         unsafe { ::std::mem::zeroed() }
12015     }
12016 }
12017 #[cfg(feature = "Win32_Foundation")]
12018 impl ::std::fmt::Debug for TS_SELECTION_ANCHOR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12019     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12020         fmt.debug_struct("TS_SELECTION_ANCHOR").field("paStart", &self.paStart).field("paEnd", &self.paEnd).field("style", &self.style).finish()
12021     }
12022 }
12023 #[cfg(feature = "Win32_Foundation")]
12024 impl ::std::cmp::PartialEq for TS_SELECTION_ANCHOR {
eq(&self, other: &Self) -> bool12025     fn eq(&self, other: &Self) -> bool {
12026         self.paStart == other.paStart && self.paEnd == other.paEnd && self.style == other.style
12027     }
12028 }
12029 #[cfg(feature = "Win32_Foundation")]
12030 impl ::std::cmp::Eq for TS_SELECTION_ANCHOR {}
12031 #[cfg(feature = "Win32_Foundation")]
12032 unsafe impl ::windows::runtime::Abi for TS_SELECTION_ANCHOR {
12033     type Abi = ::std::mem::ManuallyDrop<Self>;
12034     type DefaultType = Self;
12035 }
12036 pub const TS_SHIFT_COUNT_HIDDEN: u32 = 1u32;
12037 pub const TS_SHIFT_COUNT_ONLY: u32 = 8u32;
12038 pub const TS_SHIFT_HALT_HIDDEN: u32 = 2u32;
12039 pub const TS_SHIFT_HALT_VISIBLE: u32 = 4u32;
12040 pub const TS_SS_DISJOINTSEL: u32 = 1u32;
12041 pub const TS_SS_NOHIDDENTEXT: u32 = 8u32;
12042 pub const TS_SS_REGIONS: u32 = 2u32;
12043 pub const TS_SS_TKBAUTOCORRECTENABLE: u32 = 16u32;
12044 pub const TS_SS_TKBPREDICTIONENABLE: u32 = 32u32;
12045 pub const TS_SS_TRANSITORY: u32 = 4u32;
12046 pub const TS_SS_UWPCONTROL: u32 = 64u32;
12047 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12048 #[repr(C)]
12049 pub struct TS_STATUS {
12050     pub dwDynamicFlags: u32,
12051     pub dwStaticFlags: u32,
12052 }
12053 impl TS_STATUS {}
12054 impl ::std::default::Default for TS_STATUS {
default() -> Self12055     fn default() -> Self {
12056         unsafe { ::std::mem::zeroed() }
12057     }
12058 }
12059 impl ::std::fmt::Debug for TS_STATUS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12060     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12061         fmt.debug_struct("TS_STATUS").field("dwDynamicFlags", &self.dwDynamicFlags).field("dwStaticFlags", &self.dwStaticFlags).finish()
12062     }
12063 }
12064 impl ::std::cmp::PartialEq for TS_STATUS {
eq(&self, other: &Self) -> bool12065     fn eq(&self, other: &Self) -> bool {
12066         self.dwDynamicFlags == other.dwDynamicFlags && self.dwStaticFlags == other.dwStaticFlags
12067     }
12068 }
12069 impl ::std::cmp::Eq for TS_STATUS {}
12070 unsafe impl ::windows::runtime::Abi for TS_STATUS {
12071     type Abi = Self;
12072     type DefaultType = Self;
12073 }
12074 pub const TS_STRF_END: u32 = 2u32;
12075 pub const TS_STRF_MID: u32 = 1u32;
12076 pub const TS_STRF_START: u32 = 0u32;
12077 pub const TS_S_ASYNC: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262912i32 as _);
12078 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
12079 #[repr(C)]
12080 pub struct TS_TEXTCHANGE {
12081     pub acpStart: i32,
12082     pub acpOldEnd: i32,
12083     pub acpNewEnd: i32,
12084 }
12085 impl TS_TEXTCHANGE {}
12086 impl ::std::default::Default for TS_TEXTCHANGE {
default() -> Self12087     fn default() -> Self {
12088         unsafe { ::std::mem::zeroed() }
12089     }
12090 }
12091 impl ::std::fmt::Debug for TS_TEXTCHANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result12092     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
12093         fmt.debug_struct("TS_TEXTCHANGE").field("acpStart", &self.acpStart).field("acpOldEnd", &self.acpOldEnd).field("acpNewEnd", &self.acpNewEnd).finish()
12094     }
12095 }
12096 impl ::std::cmp::PartialEq for TS_TEXTCHANGE {
eq(&self, other: &Self) -> bool12097     fn eq(&self, other: &Self) -> bool {
12098         self.acpStart == other.acpStart && self.acpOldEnd == other.acpOldEnd && self.acpNewEnd == other.acpNewEnd
12099     }
12100 }
12101 impl ::std::cmp::Eq for TS_TEXTCHANGE {}
12102 unsafe impl ::windows::runtime::Abi for TS_TEXTCHANGE {
12103     type Abi = Self;
12104     type DefaultType = Self;
12105 }
12106 pub const TS_VCOOKIE_NUL: u32 = 4294967295u32;
12107 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12108 #[repr(transparent)]
12109 pub struct TfActiveSelEnd(pub i32);
12110 pub const TF_AE_NONE: TfActiveSelEnd = TfActiveSelEnd(0i32);
12111 pub const TF_AE_START: TfActiveSelEnd = TfActiveSelEnd(1i32);
12112 pub const TF_AE_END: TfActiveSelEnd = TfActiveSelEnd(2i32);
12113 impl ::std::convert::From<i32> for TfActiveSelEnd {
from(value: i32) -> Self12114     fn from(value: i32) -> Self {
12115         Self(value)
12116     }
12117 }
12118 unsafe impl ::windows::runtime::Abi for TfActiveSelEnd {
12119     type Abi = Self;
12120     type DefaultType = Self;
12121 }
12122 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12123 #[repr(transparent)]
12124 pub struct TfAnchor(pub i32);
12125 pub const TF_ANCHOR_START: TfAnchor = TfAnchor(0i32);
12126 pub const TF_ANCHOR_END: TfAnchor = TfAnchor(1i32);
12127 impl ::std::convert::From<i32> for TfAnchor {
from(value: i32) -> Self12128     fn from(value: i32) -> Self {
12129         Self(value)
12130     }
12131 }
12132 unsafe impl ::windows::runtime::Abi for TfAnchor {
12133     type Abi = Self;
12134     type DefaultType = Self;
12135 }
12136 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12137 #[repr(transparent)]
12138 pub struct TfCandidateResult(pub i32);
12139 pub const CAND_FINALIZED: TfCandidateResult = TfCandidateResult(0i32);
12140 pub const CAND_SELECTED: TfCandidateResult = TfCandidateResult(1i32);
12141 pub const CAND_CANCELED: TfCandidateResult = TfCandidateResult(2i32);
12142 impl ::std::convert::From<i32> for TfCandidateResult {
from(value: i32) -> Self12143     fn from(value: i32) -> Self {
12144         Self(value)
12145     }
12146 }
12147 unsafe impl ::windows::runtime::Abi for TfCandidateResult {
12148     type Abi = Self;
12149     type DefaultType = Self;
12150 }
12151 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12152 #[repr(transparent)]
12153 pub struct TfGravity(pub i32);
12154 pub const TF_GRAVITY_BACKWARD: TfGravity = TfGravity(0i32);
12155 pub const TF_GRAVITY_FORWARD: TfGravity = TfGravity(1i32);
12156 impl ::std::convert::From<i32> for TfGravity {
from(value: i32) -> Self12157     fn from(value: i32) -> Self {
12158         Self(value)
12159     }
12160 }
12161 unsafe impl ::windows::runtime::Abi for TfGravity {
12162     type Abi = Self;
12163     type DefaultType = Self;
12164 }
12165 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12166 #[repr(transparent)]
12167 pub struct TfIntegratableCandidateListSelectionStyle(pub i32);
12168 pub const STYLE_ACTIVE_SELECTION: TfIntegratableCandidateListSelectionStyle = TfIntegratableCandidateListSelectionStyle(0i32);
12169 pub const STYLE_IMPLIED_SELECTION: TfIntegratableCandidateListSelectionStyle = TfIntegratableCandidateListSelectionStyle(1i32);
12170 impl ::std::convert::From<i32> for TfIntegratableCandidateListSelectionStyle {
from(value: i32) -> Self12171     fn from(value: i32) -> Self {
12172         Self(value)
12173     }
12174 }
12175 unsafe impl ::windows::runtime::Abi for TfIntegratableCandidateListSelectionStyle {
12176     type Abi = Self;
12177     type DefaultType = Self;
12178 }
12179 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12180 #[repr(transparent)]
12181 pub struct TfLBBalloonStyle(pub i32);
12182 pub const TF_LB_BALLOON_RECO: TfLBBalloonStyle = TfLBBalloonStyle(0i32);
12183 pub const TF_LB_BALLOON_SHOW: TfLBBalloonStyle = TfLBBalloonStyle(1i32);
12184 pub const TF_LB_BALLOON_MISS: TfLBBalloonStyle = TfLBBalloonStyle(2i32);
12185 impl ::std::convert::From<i32> for TfLBBalloonStyle {
from(value: i32) -> Self12186     fn from(value: i32) -> Self {
12187         Self(value)
12188     }
12189 }
12190 unsafe impl ::windows::runtime::Abi for TfLBBalloonStyle {
12191     type Abi = Self;
12192     type DefaultType = Self;
12193 }
12194 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12195 #[repr(transparent)]
12196 pub struct TfLBIClick(pub i32);
12197 pub const TF_LBI_CLK_RIGHT: TfLBIClick = TfLBIClick(1i32);
12198 pub const TF_LBI_CLK_LEFT: TfLBIClick = TfLBIClick(2i32);
12199 impl ::std::convert::From<i32> for TfLBIClick {
from(value: i32) -> Self12200     fn from(value: i32) -> Self {
12201         Self(value)
12202     }
12203 }
12204 unsafe impl ::windows::runtime::Abi for TfLBIClick {
12205     type Abi = Self;
12206     type DefaultType = Self;
12207 }
12208 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12209 #[repr(transparent)]
12210 pub struct TfLayoutCode(pub i32);
12211 pub const TF_LC_CREATE: TfLayoutCode = TfLayoutCode(0i32);
12212 pub const TF_LC_CHANGE: TfLayoutCode = TfLayoutCode(1i32);
12213 pub const TF_LC_DESTROY: TfLayoutCode = TfLayoutCode(2i32);
12214 impl ::std::convert::From<i32> for TfLayoutCode {
from(value: i32) -> Self12215     fn from(value: i32) -> Self {
12216         Self(value)
12217     }
12218 }
12219 unsafe impl ::windows::runtime::Abi for TfLayoutCode {
12220     type Abi = Self;
12221     type DefaultType = Self;
12222 }
12223 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12224 #[repr(transparent)]
12225 pub struct TfSapiObject(pub i32);
12226 pub const GETIF_RESMGR: TfSapiObject = TfSapiObject(0i32);
12227 pub const GETIF_RECOCONTEXT: TfSapiObject = TfSapiObject(1i32);
12228 pub const GETIF_RECOGNIZER: TfSapiObject = TfSapiObject(2i32);
12229 pub const GETIF_VOICE: TfSapiObject = TfSapiObject(3i32);
12230 pub const GETIF_DICTGRAM: TfSapiObject = TfSapiObject(4i32);
12231 pub const GETIF_RECOGNIZERNOINIT: TfSapiObject = TfSapiObject(5i32);
12232 impl ::std::convert::From<i32> for TfSapiObject {
from(value: i32) -> Self12233     fn from(value: i32) -> Self {
12234         Self(value)
12235     }
12236 }
12237 unsafe impl ::windows::runtime::Abi for TfSapiObject {
12238     type Abi = Self;
12239     type DefaultType = Self;
12240 }
12241 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12242 #[repr(transparent)]
12243 pub struct TfShiftDir(pub i32);
12244 pub const TF_SD_BACKWARD: TfShiftDir = TfShiftDir(0i32);
12245 pub const TF_SD_FORWARD: TfShiftDir = TfShiftDir(1i32);
12246 impl ::std::convert::From<i32> for TfShiftDir {
from(value: i32) -> Self12247     fn from(value: i32) -> Self {
12248         Self(value)
12249     }
12250 }
12251 unsafe impl ::windows::runtime::Abi for TfShiftDir {
12252     type Abi = Self;
12253     type DefaultType = Self;
12254 }
12255 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12256 #[repr(transparent)]
12257 pub struct TsActiveSelEnd(pub i32);
12258 pub const TS_AE_NONE: TsActiveSelEnd = TsActiveSelEnd(0i32);
12259 pub const TS_AE_START: TsActiveSelEnd = TsActiveSelEnd(1i32);
12260 pub const TS_AE_END: TsActiveSelEnd = TsActiveSelEnd(2i32);
12261 impl ::std::convert::From<i32> for TsActiveSelEnd {
from(value: i32) -> Self12262     fn from(value: i32) -> Self {
12263         Self(value)
12264     }
12265 }
12266 unsafe impl ::windows::runtime::Abi for TsActiveSelEnd {
12267     type Abi = Self;
12268     type DefaultType = Self;
12269 }
12270 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12271 #[repr(transparent)]
12272 pub struct TsGravity(pub i32);
12273 pub const TS_GR_BACKWARD: TsGravity = TsGravity(0i32);
12274 pub const TS_GR_FORWARD: TsGravity = TsGravity(1i32);
12275 impl ::std::convert::From<i32> for TsGravity {
from(value: i32) -> Self12276     fn from(value: i32) -> Self {
12277         Self(value)
12278     }
12279 }
12280 unsafe impl ::windows::runtime::Abi for TsGravity {
12281     type Abi = Self;
12282     type DefaultType = Self;
12283 }
12284 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12285 #[repr(transparent)]
12286 pub struct TsLayoutCode(pub i32);
12287 pub const TS_LC_CREATE: TsLayoutCode = TsLayoutCode(0i32);
12288 pub const TS_LC_CHANGE: TsLayoutCode = TsLayoutCode(1i32);
12289 pub const TS_LC_DESTROY: TsLayoutCode = TsLayoutCode(2i32);
12290 impl ::std::convert::From<i32> for TsLayoutCode {
from(value: i32) -> Self12291     fn from(value: i32) -> Self {
12292         Self(value)
12293     }
12294 }
12295 unsafe impl ::windows::runtime::Abi for TsLayoutCode {
12296     type Abi = Self;
12297     type DefaultType = Self;
12298 }
12299 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12300 #[repr(transparent)]
12301 pub struct TsRunType(pub i32);
12302 pub const TS_RT_PLAIN: TsRunType = TsRunType(0i32);
12303 pub const TS_RT_HIDDEN: TsRunType = TsRunType(1i32);
12304 pub const TS_RT_OPAQUE: TsRunType = TsRunType(2i32);
12305 impl ::std::convert::From<i32> for TsRunType {
from(value: i32) -> Self12306     fn from(value: i32) -> Self {
12307         Self(value)
12308     }
12309 }
12310 unsafe impl ::windows::runtime::Abi for TsRunType {
12311     type Abi = Self;
12312     type DefaultType = Self;
12313 }
12314 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
12315 #[repr(transparent)]
12316 pub struct TsShiftDir(pub i32);
12317 pub const TS_SD_BACKWARD: TsShiftDir = TsShiftDir(0i32);
12318 pub const TS_SD_FORWARD: TsShiftDir = TsShiftDir(1i32);
12319 impl ::std::convert::From<i32> for TsShiftDir {
from(value: i32) -> Self12320     fn from(value: i32) -> Self {
12321         Self(value)
12322     }
12323 }
12324 unsafe impl ::windows::runtime::Abi for TsShiftDir {
12325     type Abi = Self;
12326     type DefaultType = Self;
12327 }
12328 #[inline]
UninitLocalMsCtfMonitor() -> ::windows::runtime::Result<()>12329 pub unsafe fn UninitLocalMsCtfMonitor() -> ::windows::runtime::Result<()> {
12330     #[cfg(windows)]
12331     {
12332         #[link(name = "windows")]
12333         extern "system" {
12334             fn UninitLocalMsCtfMonitor() -> ::windows::runtime::HRESULT;
12335         }
12336         UninitLocalMsCtfMonitor().ok()
12337     }
12338     #[cfg(not(windows))]
12339     unimplemented!("Unsupported target OS");
12340 }
12341