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