1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3 #[repr(C)]
4 pub struct APPLETIDLIST {
5 pub count: i32,
6 pub pIIDList: *mut ::windows::runtime::GUID,
7 }
8 impl APPLETIDLIST {}
9 impl ::std::default::Default for APPLETIDLIST {
default() -> Self10 fn default() -> Self {
11 unsafe { ::std::mem::zeroed() }
12 }
13 }
14 impl ::std::fmt::Debug for APPLETIDLIST {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result15 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
16 fmt.debug_struct("APPLETIDLIST").field("count", &self.count).field("pIIDList", &self.pIIDList).finish()
17 }
18 }
19 impl ::std::cmp::PartialEq for APPLETIDLIST {
eq(&self, other: &Self) -> bool20 fn eq(&self, other: &Self) -> bool {
21 self.count == other.count && self.pIIDList == other.pIIDList
22 }
23 }
24 impl ::std::cmp::Eq for APPLETIDLIST {}
25 unsafe impl ::windows::runtime::Abi for APPLETIDLIST {
26 type Abi = Self;
27 type DefaultType = Self;
28 }
29 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
30 #[repr(C)]
31 #[cfg(feature = "Win32_Foundation")]
32 pub struct APPLYCANDEXPARAM {
33 pub dwSize: u32,
34 pub lpwstrDisplay: super::super::super::Foundation::PWSTR,
35 pub lpwstrReading: super::super::super::Foundation::PWSTR,
36 pub dwReserved: u32,
37 }
38 #[cfg(feature = "Win32_Foundation")]
39 impl APPLYCANDEXPARAM {}
40 #[cfg(feature = "Win32_Foundation")]
41 impl ::std::default::Default for APPLYCANDEXPARAM {
default() -> Self42 fn default() -> Self {
43 unsafe { ::std::mem::zeroed() }
44 }
45 }
46 #[cfg(feature = "Win32_Foundation")]
47 impl ::std::fmt::Debug for APPLYCANDEXPARAM {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result48 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
49 fmt.debug_struct("APPLYCANDEXPARAM").field("dwSize", &self.dwSize).field("lpwstrDisplay", &self.lpwstrDisplay).field("lpwstrReading", &self.lpwstrReading).field("dwReserved", &self.dwReserved).finish()
50 }
51 }
52 #[cfg(feature = "Win32_Foundation")]
53 impl ::std::cmp::PartialEq for APPLYCANDEXPARAM {
eq(&self, other: &Self) -> bool54 fn eq(&self, other: &Self) -> bool {
55 self.dwSize == other.dwSize && self.lpwstrDisplay == other.lpwstrDisplay && self.lpwstrReading == other.lpwstrReading && self.dwReserved == other.dwReserved
56 }
57 }
58 #[cfg(feature = "Win32_Foundation")]
59 impl ::std::cmp::Eq for APPLYCANDEXPARAM {}
60 #[cfg(feature = "Win32_Foundation")]
61 unsafe impl ::windows::runtime::Abi for APPLYCANDEXPARAM {
62 type Abi = Self;
63 type DefaultType = Self;
64 }
65 pub const ATTR_CONVERTED: u32 = 2u32;
66 pub const ATTR_FIXEDCONVERTED: u32 = 5u32;
67 pub const ATTR_INPUT: u32 = 0u32;
68 pub const ATTR_INPUT_ERROR: u32 = 4u32;
69 pub const ATTR_TARGET_CONVERTED: u32 = 1u32;
70 pub const ATTR_TARGET_NOTCONVERTED: u32 = 3u32;
71 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
72 #[repr(C)]
73 #[cfg(feature = "Win32_Foundation")]
74 pub struct CANDIDATEFORM {
75 pub dwIndex: u32,
76 pub dwStyle: u32,
77 pub ptCurrentPos: super::super::super::Foundation::POINT,
78 pub rcArea: super::super::super::Foundation::RECT,
79 }
80 #[cfg(feature = "Win32_Foundation")]
81 impl CANDIDATEFORM {}
82 #[cfg(feature = "Win32_Foundation")]
83 impl ::std::default::Default for CANDIDATEFORM {
default() -> Self84 fn default() -> Self {
85 unsafe { ::std::mem::zeroed() }
86 }
87 }
88 #[cfg(feature = "Win32_Foundation")]
89 impl ::std::fmt::Debug for CANDIDATEFORM {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result90 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
91 fmt.debug_struct("CANDIDATEFORM").field("dwIndex", &self.dwIndex).field("dwStyle", &self.dwStyle).field("ptCurrentPos", &self.ptCurrentPos).field("rcArea", &self.rcArea).finish()
92 }
93 }
94 #[cfg(feature = "Win32_Foundation")]
95 impl ::std::cmp::PartialEq for CANDIDATEFORM {
eq(&self, other: &Self) -> bool96 fn eq(&self, other: &Self) -> bool {
97 self.dwIndex == other.dwIndex && self.dwStyle == other.dwStyle && self.ptCurrentPos == other.ptCurrentPos && self.rcArea == other.rcArea
98 }
99 }
100 #[cfg(feature = "Win32_Foundation")]
101 impl ::std::cmp::Eq for CANDIDATEFORM {}
102 #[cfg(feature = "Win32_Foundation")]
103 unsafe impl ::windows::runtime::Abi for CANDIDATEFORM {
104 type Abi = Self;
105 type DefaultType = Self;
106 }
107 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
108 #[repr(C)]
109 pub struct CANDIDATEINFO {
110 pub dwSize: u32,
111 pub dwCount: u32,
112 pub dwOffset: [u32; 32],
113 pub dwPrivateSize: u32,
114 pub dwPrivateOffset: u32,
115 }
116 impl CANDIDATEINFO {}
117 impl ::std::default::Default for CANDIDATEINFO {
default() -> Self118 fn default() -> Self {
119 unsafe { ::std::mem::zeroed() }
120 }
121 }
122 impl ::std::fmt::Debug for CANDIDATEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result123 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
124 fmt.debug_struct("CANDIDATEINFO").field("dwSize", &self.dwSize).field("dwCount", &self.dwCount).field("dwOffset", &self.dwOffset).field("dwPrivateSize", &self.dwPrivateSize).field("dwPrivateOffset", &self.dwPrivateOffset).finish()
125 }
126 }
127 impl ::std::cmp::PartialEq for CANDIDATEINFO {
eq(&self, other: &Self) -> bool128 fn eq(&self, other: &Self) -> bool {
129 self.dwSize == other.dwSize && self.dwCount == other.dwCount && self.dwOffset == other.dwOffset && self.dwPrivateSize == other.dwPrivateSize && self.dwPrivateOffset == other.dwPrivateOffset
130 }
131 }
132 impl ::std::cmp::Eq for CANDIDATEINFO {}
133 unsafe impl ::windows::runtime::Abi for CANDIDATEINFO {
134 type Abi = Self;
135 type DefaultType = Self;
136 }
137 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
138 #[repr(C)]
139 pub struct CANDIDATELIST {
140 pub dwSize: u32,
141 pub dwStyle: u32,
142 pub dwCount: u32,
143 pub dwSelection: u32,
144 pub dwPageStart: u32,
145 pub dwPageSize: u32,
146 pub dwOffset: [u32; 1],
147 }
148 impl CANDIDATELIST {}
149 impl ::std::default::Default for CANDIDATELIST {
default() -> Self150 fn default() -> Self {
151 unsafe { ::std::mem::zeroed() }
152 }
153 }
154 impl ::std::fmt::Debug for CANDIDATELIST {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result155 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
156 fmt.debug_struct("CANDIDATELIST").field("dwSize", &self.dwSize).field("dwStyle", &self.dwStyle).field("dwCount", &self.dwCount).field("dwSelection", &self.dwSelection).field("dwPageStart", &self.dwPageStart).field("dwPageSize", &self.dwPageSize).field("dwOffset", &self.dwOffset).finish()
157 }
158 }
159 impl ::std::cmp::PartialEq for CANDIDATELIST {
eq(&self, other: &Self) -> bool160 fn eq(&self, other: &Self) -> bool {
161 self.dwSize == other.dwSize && self.dwStyle == other.dwStyle && self.dwCount == other.dwCount && self.dwSelection == other.dwSelection && self.dwPageStart == other.dwPageStart && self.dwPageSize == other.dwPageSize && self.dwOffset == other.dwOffset
162 }
163 }
164 impl ::std::cmp::Eq for CANDIDATELIST {}
165 unsafe impl ::windows::runtime::Abi for CANDIDATELIST {
166 type Abi = Self;
167 type DefaultType = Self;
168 }
169 pub const CATID_MSIME_IImePadApplet: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1969670865, 20169, 17528, [159, 233, 142, 215, 102, 97, 158, 223]);
170 pub const CATID_MSIME_IImePadApplet1000: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3766608342, 9097, 17355, [182, 111, 96, 159, 130, 61, 159, 156]);
171 pub const CATID_MSIME_IImePadApplet1200: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2759833084, 32021, 16931, [167, 137, 183, 129, 191, 154, 230, 103]);
172 pub const CATID_MSIME_IImePadApplet900: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4205728191, 24155, 18973, [141, 225, 23, 193, 217, 225, 114, 141]);
173 pub const CATID_MSIME_IImePadApplet_VER7: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1242533425, 50158, 4561, [175, 239, 0, 128, 95, 12, 139, 109]);
174 pub const CATID_MSIME_IImePadApplet_VER80: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1459070866, 65265, 4563, [132, 99, 0, 192, 79, 122, 6, 229]);
175 pub const CATID_MSIME_IImePadApplet_VER81: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1701126320, 48008, 4564, [132, 192, 0, 192, 79, 122, 6, 229]);
176 pub const CActiveIMM: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1230363955, 45401, 4560, [143, 207, 0, 170, 0, 107, 204, 89]);
177 pub const CFS_CANDIDATEPOS: u32 = 64u32;
178 pub const CFS_DEFAULT: u32 = 0u32;
179 pub const CFS_EXCLUDE: u32 = 128u32;
180 pub const CFS_FORCE_POSITION: u32 = 32u32;
181 pub const CFS_POINT: u32 = 2u32;
182 pub const CFS_RECT: u32 = 1u32;
183 pub const CHARINFO_APPLETID_MASK: u32 = 4278190080u32;
184 pub const CHARINFO_CHARID_MASK: u32 = 65535u32;
185 pub const CHARINFO_FEID_MASK: u32 = 15728640u32;
186 pub const CLSID_ImePlugInDictDictionaryList_CHS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2079330971, 23535, 19940, [155, 11, 94, 219, 102, 172, 47, 166]);
187 pub const CLSID_ImePlugInDictDictionaryList_JPN: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1340241771, 45305, 17302, [181, 252, 233, 212, 207, 30, 193, 149]);
188 pub const CLSID_VERSION_DEPENDENT_MSIME_JAPANESE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1787888286, 43593, 18203, [174, 231, 125, 51, 39, 133, 102, 13]);
189 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
190 #[repr(C)]
191 #[cfg(feature = "Win32_Foundation")]
192 pub struct COMPOSITIONFORM {
193 pub dwStyle: u32,
194 pub ptCurrentPos: super::super::super::Foundation::POINT,
195 pub rcArea: super::super::super::Foundation::RECT,
196 }
197 #[cfg(feature = "Win32_Foundation")]
198 impl COMPOSITIONFORM {}
199 #[cfg(feature = "Win32_Foundation")]
200 impl ::std::default::Default for COMPOSITIONFORM {
default() -> Self201 fn default() -> Self {
202 unsafe { ::std::mem::zeroed() }
203 }
204 }
205 #[cfg(feature = "Win32_Foundation")]
206 impl ::std::fmt::Debug for COMPOSITIONFORM {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result207 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
208 fmt.debug_struct("COMPOSITIONFORM").field("dwStyle", &self.dwStyle).field("ptCurrentPos", &self.ptCurrentPos).field("rcArea", &self.rcArea).finish()
209 }
210 }
211 #[cfg(feature = "Win32_Foundation")]
212 impl ::std::cmp::PartialEq for COMPOSITIONFORM {
eq(&self, other: &Self) -> bool213 fn eq(&self, other: &Self) -> bool {
214 self.dwStyle == other.dwStyle && self.ptCurrentPos == other.ptCurrentPos && self.rcArea == other.rcArea
215 }
216 }
217 #[cfg(feature = "Win32_Foundation")]
218 impl ::std::cmp::Eq for COMPOSITIONFORM {}
219 #[cfg(feature = "Win32_Foundation")]
220 unsafe impl ::windows::runtime::Abi for COMPOSITIONFORM {
221 type Abi = Self;
222 type DefaultType = Self;
223 }
224 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
225 #[repr(C)]
226 pub struct COMPOSITIONSTRING {
227 pub dwSize: u32,
228 pub dwCompReadAttrLen: u32,
229 pub dwCompReadAttrOffset: u32,
230 pub dwCompReadClauseLen: u32,
231 pub dwCompReadClauseOffset: u32,
232 pub dwCompReadStrLen: u32,
233 pub dwCompReadStrOffset: u32,
234 pub dwCompAttrLen: u32,
235 pub dwCompAttrOffset: u32,
236 pub dwCompClauseLen: u32,
237 pub dwCompClauseOffset: u32,
238 pub dwCompStrLen: u32,
239 pub dwCompStrOffset: u32,
240 pub dwCursorPos: u32,
241 pub dwDeltaStart: u32,
242 pub dwResultReadClauseLen: u32,
243 pub dwResultReadClauseOffset: u32,
244 pub dwResultReadStrLen: u32,
245 pub dwResultReadStrOffset: u32,
246 pub dwResultClauseLen: u32,
247 pub dwResultClauseOffset: u32,
248 pub dwResultStrLen: u32,
249 pub dwResultStrOffset: u32,
250 pub dwPrivateSize: u32,
251 pub dwPrivateOffset: u32,
252 }
253 impl COMPOSITIONSTRING {}
254 impl ::std::default::Default for COMPOSITIONSTRING {
default() -> Self255 fn default() -> Self {
256 unsafe { ::std::mem::zeroed() }
257 }
258 }
259 impl ::std::fmt::Debug for COMPOSITIONSTRING {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result260 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
261 fmt.debug_struct("COMPOSITIONSTRING")
262 .field("dwSize", &self.dwSize)
263 .field("dwCompReadAttrLen", &self.dwCompReadAttrLen)
264 .field("dwCompReadAttrOffset", &self.dwCompReadAttrOffset)
265 .field("dwCompReadClauseLen", &self.dwCompReadClauseLen)
266 .field("dwCompReadClauseOffset", &self.dwCompReadClauseOffset)
267 .field("dwCompReadStrLen", &self.dwCompReadStrLen)
268 .field("dwCompReadStrOffset", &self.dwCompReadStrOffset)
269 .field("dwCompAttrLen", &self.dwCompAttrLen)
270 .field("dwCompAttrOffset", &self.dwCompAttrOffset)
271 .field("dwCompClauseLen", &self.dwCompClauseLen)
272 .field("dwCompClauseOffset", &self.dwCompClauseOffset)
273 .field("dwCompStrLen", &self.dwCompStrLen)
274 .field("dwCompStrOffset", &self.dwCompStrOffset)
275 .field("dwCursorPos", &self.dwCursorPos)
276 .field("dwDeltaStart", &self.dwDeltaStart)
277 .field("dwResultReadClauseLen", &self.dwResultReadClauseLen)
278 .field("dwResultReadClauseOffset", &self.dwResultReadClauseOffset)
279 .field("dwResultReadStrLen", &self.dwResultReadStrLen)
280 .field("dwResultReadStrOffset", &self.dwResultReadStrOffset)
281 .field("dwResultClauseLen", &self.dwResultClauseLen)
282 .field("dwResultClauseOffset", &self.dwResultClauseOffset)
283 .field("dwResultStrLen", &self.dwResultStrLen)
284 .field("dwResultStrOffset", &self.dwResultStrOffset)
285 .field("dwPrivateSize", &self.dwPrivateSize)
286 .field("dwPrivateOffset", &self.dwPrivateOffset)
287 .finish()
288 }
289 }
290 impl ::std::cmp::PartialEq for COMPOSITIONSTRING {
eq(&self, other: &Self) -> bool291 fn eq(&self, other: &Self) -> bool {
292 self.dwSize == other.dwSize
293 && self.dwCompReadAttrLen == other.dwCompReadAttrLen
294 && self.dwCompReadAttrOffset == other.dwCompReadAttrOffset
295 && self.dwCompReadClauseLen == other.dwCompReadClauseLen
296 && self.dwCompReadClauseOffset == other.dwCompReadClauseOffset
297 && self.dwCompReadStrLen == other.dwCompReadStrLen
298 && self.dwCompReadStrOffset == other.dwCompReadStrOffset
299 && self.dwCompAttrLen == other.dwCompAttrLen
300 && self.dwCompAttrOffset == other.dwCompAttrOffset
301 && self.dwCompClauseLen == other.dwCompClauseLen
302 && self.dwCompClauseOffset == other.dwCompClauseOffset
303 && self.dwCompStrLen == other.dwCompStrLen
304 && self.dwCompStrOffset == other.dwCompStrOffset
305 && self.dwCursorPos == other.dwCursorPos
306 && self.dwDeltaStart == other.dwDeltaStart
307 && self.dwResultReadClauseLen == other.dwResultReadClauseLen
308 && self.dwResultReadClauseOffset == other.dwResultReadClauseOffset
309 && self.dwResultReadStrLen == other.dwResultReadStrLen
310 && self.dwResultReadStrOffset == other.dwResultReadStrOffset
311 && self.dwResultClauseLen == other.dwResultClauseLen
312 && self.dwResultClauseOffset == other.dwResultClauseOffset
313 && self.dwResultStrLen == other.dwResultStrLen
314 && self.dwResultStrOffset == other.dwResultStrOffset
315 && self.dwPrivateSize == other.dwPrivateSize
316 && self.dwPrivateOffset == other.dwPrivateOffset
317 }
318 }
319 impl ::std::cmp::Eq for COMPOSITIONSTRING {}
320 unsafe impl ::windows::runtime::Abi for COMPOSITIONSTRING {
321 type Abi = Self;
322 type DefaultType = Self;
323 }
324 pub const CS_INSERTCHAR: u32 = 8192u32;
325 pub const CS_NOMOVECARET: u32 = 16384u32;
326 pub const E_LARGEINPUT: u32 = 51u32;
327 pub const E_NOCAND: u32 = 48u32;
328 pub const E_NOTENOUGH_BUFFER: u32 = 49u32;
329 pub const E_NOTENOUGH_WDD: u32 = 50u32;
330 pub const FEID_CHINESE_HONGKONG: u32 = 3u32;
331 pub const FEID_CHINESE_SIMPLIFIED: u32 = 2u32;
332 pub const FEID_CHINESE_SINGAPORE: u32 = 4u32;
333 pub const FEID_CHINESE_TRADITIONAL: u32 = 1u32;
334 pub const FEID_JAPANESE: u32 = 5u32;
335 pub const FEID_KOREAN: u32 = 6u32;
336 pub const FEID_KOREAN_JOHAB: u32 = 7u32;
337 pub const FEID_NONE: u32 = 0u32;
338 pub const FELANG_CLMN_FIXD: u32 = 32u32;
339 pub const FELANG_CLMN_FIXR: u32 = 16u32;
340 pub const FELANG_CLMN_NOPBREAK: u32 = 8u32;
341 pub const FELANG_CLMN_NOWBREAK: u32 = 2u32;
342 pub const FELANG_CLMN_PBREAK: u32 = 4u32;
343 pub const FELANG_CLMN_WBREAK: u32 = 1u32;
344 pub const FELANG_CMODE_AUTOMATIC: u32 = 134217728u32;
345 pub const FELANG_CMODE_BESTFIRST: u32 = 16384u32;
346 pub const FELANG_CMODE_BOPOMOFO: u32 = 64u32;
347 pub const FELANG_CMODE_CONVERSATION: u32 = 536870912u32;
348 pub const FELANG_CMODE_FULLWIDTHOUT: u32 = 32u32;
349 pub const FELANG_CMODE_HALFWIDTHOUT: u32 = 16u32;
350 pub const FELANG_CMODE_HANGUL: u32 = 128u32;
351 pub const FELANG_CMODE_HIRAGANAOUT: u32 = 0u32;
352 pub const FELANG_CMODE_KATAKANAOUT: u32 = 8u32;
353 pub const FELANG_CMODE_MERGECAND: u32 = 4096u32;
354 pub const FELANG_CMODE_MONORUBY: u32 = 2u32;
355 pub const FELANG_CMODE_NAME: u32 = 268435456u32;
356 pub const FELANG_CMODE_NOINVISIBLECHAR: u32 = 1073741824u32;
357 pub const FELANG_CMODE_NONE: u32 = 16777216u32;
358 pub const FELANG_CMODE_NOPRUNING: u32 = 4u32;
359 pub const FELANG_CMODE_PHRASEPREDICT: u32 = 268435456u32;
360 pub const FELANG_CMODE_PINYIN: u32 = 256u32;
361 pub const FELANG_CMODE_PLAURALCLAUSE: u32 = 33554432u32;
362 pub const FELANG_CMODE_PRECONV: u32 = 512u32;
363 pub const FELANG_CMODE_RADICAL: u32 = 1024u32;
364 pub const FELANG_CMODE_ROMAN: u32 = 8192u32;
365 pub const FELANG_CMODE_SINGLECONVERT: u32 = 67108864u32;
366 pub const FELANG_CMODE_UNKNOWNREADING: u32 = 2048u32;
367 pub const FELANG_CMODE_USENOREVWORDS: u32 = 32768u32;
368 pub const FELANG_INVALD_PO: u32 = 65535u32;
369 pub const FELANG_REQ_CONV: u32 = 65536u32;
370 pub const FELANG_REQ_RECONV: u32 = 131072u32;
371 pub const FELANG_REQ_REV: u32 = 196608u32;
372 pub const FID_MSIME_KMS_DEL_KEYLIST: u32 = 4u32;
373 pub const FID_MSIME_KMS_FUNCDESC: u32 = 9u32;
374 pub const FID_MSIME_KMS_GETMAP: u32 = 6u32;
375 pub const FID_MSIME_KMS_GETMAPFAST: u32 = 11u32;
376 pub const FID_MSIME_KMS_GETMAPSEAMLESS: u32 = 10u32;
377 pub const FID_MSIME_KMS_INIT: u32 = 2u32;
378 pub const FID_MSIME_KMS_INVOKE: u32 = 7u32;
379 pub const FID_MSIME_KMS_NOTIFY: u32 = 5u32;
380 pub const FID_MSIME_KMS_SETMAP: u32 = 8u32;
381 pub const FID_MSIME_KMS_TERM: u32 = 3u32;
382 pub const FID_MSIME_KMS_VERSION: u32 = 1u32;
383 pub const FID_MSIME_VERSION: u32 = 0u32;
384 pub const FID_RECONVERT_VERSION: u32 = 268435456u32;
385 pub const GCSEX_CANCELRECONVERT: u32 = 268435456u32;
386 pub const GCS_COMPATTR: u32 = 16u32;
387 pub const GCS_COMPCLAUSE: u32 = 32u32;
388 pub const GCS_COMPREADATTR: u32 = 2u32;
389 pub const GCS_COMPREADCLAUSE: u32 = 4u32;
390 pub const GCS_COMPREADSTR: u32 = 1u32;
391 pub const GCS_COMPSTR: u32 = 8u32;
392 pub const GCS_CURSORPOS: u32 = 128u32;
393 pub const GCS_DELTASTART: u32 = 256u32;
394 pub const GCS_RESULTCLAUSE: u32 = 4096u32;
395 pub const GCS_RESULTREADCLAUSE: u32 = 1024u32;
396 pub const GCS_RESULTREADSTR: u32 = 512u32;
397 pub const GCS_RESULTSTR: u32 = 2048u32;
398 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
399 #[repr(transparent)]
400 pub struct GET_CONVERSION_LIST_FLAG(pub u32);
401 pub const GCL_CONVERSION: GET_CONVERSION_LIST_FLAG = GET_CONVERSION_LIST_FLAG(1u32);
402 pub const GCL_REVERSECONVERSION: GET_CONVERSION_LIST_FLAG = GET_CONVERSION_LIST_FLAG(2u32);
403 pub const GCL_REVERSE_LENGTH: GET_CONVERSION_LIST_FLAG = GET_CONVERSION_LIST_FLAG(3u32);
404 impl ::std::convert::From<u32> for GET_CONVERSION_LIST_FLAG {
from(value: u32) -> Self405 fn from(value: u32) -> Self {
406 Self(value)
407 }
408 }
409 unsafe impl ::windows::runtime::Abi for GET_CONVERSION_LIST_FLAG {
410 type Abi = Self;
411 type DefaultType = Self;
412 }
413 impl ::std::ops::BitOr for GET_CONVERSION_LIST_FLAG {
414 type Output = Self;
bitor(self, rhs: Self) -> Self415 fn bitor(self, rhs: Self) -> Self {
416 Self(self.0 | rhs.0)
417 }
418 }
419 impl ::std::ops::BitAnd for GET_CONVERSION_LIST_FLAG {
420 type Output = Self;
bitand(self, rhs: Self) -> Self421 fn bitand(self, rhs: Self) -> Self {
422 Self(self.0 & rhs.0)
423 }
424 }
425 impl ::std::ops::BitOrAssign for GET_CONVERSION_LIST_FLAG {
bitor_assign(&mut self, rhs: Self)426 fn bitor_assign(&mut self, rhs: Self) {
427 self.0.bitor_assign(rhs.0)
428 }
429 }
430 impl ::std::ops::BitAndAssign for GET_CONVERSION_LIST_FLAG {
bitand_assign(&mut self, rhs: Self)431 fn bitand_assign(&mut self, rhs: Self) {
432 self.0.bitand_assign(rhs.0)
433 }
434 }
435 impl ::std::ops::Not for GET_CONVERSION_LIST_FLAG {
436 type Output = Self;
not(self) -> Self437 fn not(self) -> Self {
438 Self(self.0.not())
439 }
440 }
441 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
442 #[repr(transparent)]
443 pub struct GET_GUIDE_LINE_TYPE(pub u32);
444 pub const GGL_LEVEL: GET_GUIDE_LINE_TYPE = GET_GUIDE_LINE_TYPE(1u32);
445 pub const GGL_INDEX: GET_GUIDE_LINE_TYPE = GET_GUIDE_LINE_TYPE(2u32);
446 pub const GGL_STRING: GET_GUIDE_LINE_TYPE = GET_GUIDE_LINE_TYPE(3u32);
447 pub const GGL_PRIVATE: GET_GUIDE_LINE_TYPE = GET_GUIDE_LINE_TYPE(4u32);
448 impl ::std::convert::From<u32> for GET_GUIDE_LINE_TYPE {
from(value: u32) -> Self449 fn from(value: u32) -> Self {
450 Self(value)
451 }
452 }
453 unsafe impl ::windows::runtime::Abi for GET_GUIDE_LINE_TYPE {
454 type Abi = Self;
455 type DefaultType = Self;
456 }
457 impl ::std::ops::BitOr for GET_GUIDE_LINE_TYPE {
458 type Output = Self;
bitor(self, rhs: Self) -> Self459 fn bitor(self, rhs: Self) -> Self {
460 Self(self.0 | rhs.0)
461 }
462 }
463 impl ::std::ops::BitAnd for GET_GUIDE_LINE_TYPE {
464 type Output = Self;
bitand(self, rhs: Self) -> Self465 fn bitand(self, rhs: Self) -> Self {
466 Self(self.0 & rhs.0)
467 }
468 }
469 impl ::std::ops::BitOrAssign for GET_GUIDE_LINE_TYPE {
bitor_assign(&mut self, rhs: Self)470 fn bitor_assign(&mut self, rhs: Self) {
471 self.0.bitor_assign(rhs.0)
472 }
473 }
474 impl ::std::ops::BitAndAssign for GET_GUIDE_LINE_TYPE {
bitand_assign(&mut self, rhs: Self)475 fn bitand_assign(&mut self, rhs: Self) {
476 self.0.bitand_assign(rhs.0)
477 }
478 }
479 impl ::std::ops::Not for GET_GUIDE_LINE_TYPE {
480 type Output = Self;
not(self) -> Self481 fn not(self) -> Self {
482 Self(self.0.not())
483 }
484 }
485 pub const GL_ID_CANNOTSAVE: u32 = 17u32;
486 pub const GL_ID_CHOOSECANDIDATE: u32 = 40u32;
487 pub const GL_ID_INPUTCODE: u32 = 38u32;
488 pub const GL_ID_INPUTRADICAL: u32 = 37u32;
489 pub const GL_ID_INPUTREADING: u32 = 36u32;
490 pub const GL_ID_INPUTSYMBOL: u32 = 39u32;
491 pub const GL_ID_NOCONVERT: u32 = 32u32;
492 pub const GL_ID_NODICTIONARY: u32 = 16u32;
493 pub const GL_ID_NOMODULE: u32 = 1u32;
494 pub const GL_ID_PRIVATE_FIRST: u32 = 32768u32;
495 pub const GL_ID_PRIVATE_LAST: u32 = 65535u32;
496 pub const GL_ID_READINGCONFLICT: u32 = 35u32;
497 pub const GL_ID_REVERSECONVERSION: u32 = 41u32;
498 pub const GL_ID_TOOMANYSTROKE: u32 = 34u32;
499 pub const GL_ID_TYPINGERROR: u32 = 33u32;
500 pub const GL_ID_UNKNOWN: u32 = 0u32;
501 pub const GL_LEVEL_ERROR: u32 = 2u32;
502 pub const GL_LEVEL_FATAL: u32 = 1u32;
503 pub const GL_LEVEL_INFORMATION: u32 = 4u32;
504 pub const GL_LEVEL_NOGUIDELINE: u32 = 0u32;
505 pub const GL_LEVEL_WARNING: u32 = 3u32;
506 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
507 #[repr(C)]
508 pub struct GUIDELINE {
509 pub dwSize: u32,
510 pub dwLevel: u32,
511 pub dwIndex: u32,
512 pub dwStrLen: u32,
513 pub dwStrOffset: u32,
514 pub dwPrivateSize: u32,
515 pub dwPrivateOffset: u32,
516 }
517 impl GUIDELINE {}
518 impl ::std::default::Default for GUIDELINE {
default() -> Self519 fn default() -> Self {
520 unsafe { ::std::mem::zeroed() }
521 }
522 }
523 impl ::std::fmt::Debug for GUIDELINE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result524 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
525 fmt.debug_struct("GUIDELINE").field("dwSize", &self.dwSize).field("dwLevel", &self.dwLevel).field("dwIndex", &self.dwIndex).field("dwStrLen", &self.dwStrLen).field("dwStrOffset", &self.dwStrOffset).field("dwPrivateSize", &self.dwPrivateSize).field("dwPrivateOffset", &self.dwPrivateOffset).finish()
526 }
527 }
528 impl ::std::cmp::PartialEq for GUIDELINE {
eq(&self, other: &Self) -> bool529 fn eq(&self, other: &Self) -> bool {
530 self.dwSize == other.dwSize && self.dwLevel == other.dwLevel && self.dwIndex == other.dwIndex && self.dwStrLen == other.dwStrLen && self.dwStrOffset == other.dwStrOffset && self.dwPrivateSize == other.dwPrivateSize && self.dwPrivateOffset == other.dwPrivateOffset
531 }
532 }
533 impl ::std::cmp::Eq for GUIDELINE {}
534 unsafe impl ::windows::runtime::Abi for GUIDELINE {
535 type Abi = Self;
536 type DefaultType = Self;
537 }
538 pub const IACE_CHILDREN: u32 = 1u32;
539 pub const IACE_DEFAULT: u32 = 16u32;
540 pub const IACE_IGNORENOCONTEXT: u32 = 32u32;
541 #[repr(transparent)]
542 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
543 pub struct IActiveIME(::windows::runtime::IUnknown);
544 impl IActiveIME {
545 #[cfg(feature = "Win32_Foundation")]
Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::Result<()>546 pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::Result<()> {
547 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwsysteminfoflags), ::std::mem::transmute(pimeinfo), ::std::mem::transmute(szwndclass), ::std::mem::transmute(pdwprivate)).ok()
548 }
549 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
ConversionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, himc: Param0, szsource: Param1, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>550 pub unsafe fn ConversionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, himc: Param0, szsource: Param1, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
551 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), himc.into_param().abi(), szsource.into_param().abi(), ::std::mem::transmute(uflag), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pdest), ::std::mem::transmute(pucopied)).ok()
552 }
553 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
Configure<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::Result<()>554 pub unsafe fn Configure<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::Result<()> {
555 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pregisterword)).ok()
556 }
Destroy(&self, ureserved: u32) -> ::windows::runtime::Result<()>557 pub unsafe fn Destroy(&self, ureserved: u32) -> ::windows::runtime::Result<()> {
558 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ureserved)).ok()
559 }
560 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>561 pub unsafe fn Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
562 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
563 }
564 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetActiveContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fflag: Param1) -> ::windows::runtime::Result<()>565 pub unsafe fn SetActiveContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fflag: Param1) -> ::windows::runtime::Result<()> {
566 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), himc.into_param().abi(), fflag.into_param().abi()).ok()
567 }
568 #[cfg(feature = "Win32_Globalization")]
ProcessKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::Result<()>569 pub unsafe fn ProcessKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::Result<()> {
570 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(uvirkey), ::std::mem::transmute(lparam), ::std::mem::transmute(pbkeystate)).ok()
571 }
572 #[cfg(feature = "Win32_Globalization")]
Notify<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()>573 pub unsafe fn Notify<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()> {
574 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwaction), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwvalue)).ok()
575 }
576 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
Select<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fselect: Param1) -> ::windows::runtime::Result<()>577 pub unsafe fn Select<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fselect: Param1) -> ::windows::runtime::Result<()> {
578 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), himc.into_param().abi(), fselect.into_param().abi()).ok()
579 }
580 #[cfg(feature = "Win32_Globalization")]
SetCompositionString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>581 pub unsafe fn SetCompositionString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
582 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
583 }
584 #[cfg(feature = "Win32_Globalization")]
ToAsciiEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: Param4, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::Result<()>585 pub unsafe fn ToAsciiEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: Param4, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::Result<()> {
586 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(uvirkey), ::std::mem::transmute(uscancode), ::std::mem::transmute(pbkeystate), ::std::mem::transmute(fustate), himc.into_param().abi(), ::std::mem::transmute(pdwtransbuf), ::std::mem::transmute(pusize)).ok()
587 }
588 #[cfg(feature = "Win32_Foundation")]
RegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()>589 pub unsafe fn RegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()> {
590 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szstring.into_param().abi()).ok()
591 }
592 #[cfg(feature = "Win32_Foundation")]
UnregisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()>593 pub unsafe fn UnregisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()> {
594 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szstring.into_param().abi()).ok()
595 }
GetRegisterWordStyle(&self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::Result<()>596 pub unsafe fn GetRegisterWordStyle(&self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::Result<()> {
597 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pubufsize)).ok()
598 }
599 #[cfg(feature = "Win32_Foundation")]
EnumRegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szregister: Param2, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW>600 pub unsafe fn EnumRegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szregister: Param2, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW> {
601 let mut result__: <IEnumRegisterWordW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
602 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordW>(result__)
603 }
GetCodePageA(&self) -> ::windows::runtime::Result<u32>604 pub unsafe fn GetCodePageA(&self) -> ::windows::runtime::Result<u32> {
605 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
606 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
607 }
GetLangId(&self) -> ::windows::runtime::Result<u16>608 pub unsafe fn GetLangId(&self) -> ::windows::runtime::Result<u16> {
609 let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
610 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u16>(result__)
611 }
612 }
613 unsafe impl ::windows::runtime::Interface for IActiveIME {
614 type Vtable = IActiveIME_abi;
615 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1877084514, 53367, 4560, [143, 231, 0, 170, 0, 107, 204, 89]);
616 }
617 impl ::std::convert::From<IActiveIME> for ::windows::runtime::IUnknown {
from(value: IActiveIME) -> Self618 fn from(value: IActiveIME) -> Self {
619 unsafe { ::std::mem::transmute(value) }
620 }
621 }
622 impl ::std::convert::From<&IActiveIME> for ::windows::runtime::IUnknown {
from(value: &IActiveIME) -> Self623 fn from(value: &IActiveIME) -> Self {
624 ::std::convert::From::from(::std::clone::Clone::clone(value))
625 }
626 }
627 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIME {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>628 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
629 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
630 }
631 }
632 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIME {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>633 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
634 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
635 }
636 }
637 #[repr(C)]
638 #[doc(hidden)]
639 pub struct IActiveIME_abi(
640 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
641 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
642 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
643 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::HRESULT,
644 #[cfg(not(feature = "Win32_Foundation"))] usize,
645 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, szsource: super::super::super::Foundation::PWSTR, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
646 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
647 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::HRESULT,
648 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ureserved: u32) -> ::windows::runtime::HRESULT,
650 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
651 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
652 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fflag: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
653 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
654 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::HRESULT,
655 #[cfg(not(feature = "Win32_Globalization"))] usize,
656 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::HRESULT,
657 #[cfg(not(feature = "Win32_Globalization"))] usize,
658 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fselect: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
659 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
660 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
661 #[cfg(not(feature = "Win32_Globalization"))] usize,
662 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: super::super::super::Globalization::HIMC, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::HRESULT,
663 #[cfg(not(feature = "Win32_Globalization"))] usize,
664 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szstring: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
665 #[cfg(not(feature = "Win32_Foundation"))] usize,
666 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szstring: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
667 #[cfg(not(feature = "Win32_Foundation"))] usize,
668 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::HRESULT,
669 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR, pdata: *const ::std::ffi::c_void, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
670 #[cfg(not(feature = "Win32_Foundation"))] usize,
671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ucodepage: *mut u32) -> ::windows::runtime::HRESULT,
672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plid: *mut u16) -> ::windows::runtime::HRESULT,
673 );
674 #[repr(transparent)]
675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
676 pub struct IActiveIME2(::windows::runtime::IUnknown);
677 impl IActiveIME2 {
678 #[cfg(feature = "Win32_Foundation")]
Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::Result<()>679 pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::Result<()> {
680 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwsysteminfoflags), ::std::mem::transmute(pimeinfo), ::std::mem::transmute(szwndclass), ::std::mem::transmute(pdwprivate)).ok()
681 }
682 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
ConversionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, himc: Param0, szsource: Param1, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>683 pub unsafe fn ConversionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, himc: Param0, szsource: Param1, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
684 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), himc.into_param().abi(), szsource.into_param().abi(), ::std::mem::transmute(uflag), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pdest), ::std::mem::transmute(pucopied)).ok()
685 }
686 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
Configure<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::Result<()>687 pub unsafe fn Configure<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::Result<()> {
688 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pregisterword)).ok()
689 }
Destroy(&self, ureserved: u32) -> ::windows::runtime::Result<()>690 pub unsafe fn Destroy(&self, ureserved: u32) -> ::windows::runtime::Result<()> {
691 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ureserved)).ok()
692 }
693 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>694 pub unsafe fn Escape<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
695 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
696 }
697 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetActiveContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fflag: Param1) -> ::windows::runtime::Result<()>698 pub unsafe fn SetActiveContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fflag: Param1) -> ::windows::runtime::Result<()> {
699 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), himc.into_param().abi(), fflag.into_param().abi()).ok()
700 }
701 #[cfg(feature = "Win32_Globalization")]
ProcessKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::Result<()>702 pub unsafe fn ProcessKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::Result<()> {
703 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(uvirkey), ::std::mem::transmute(lparam), ::std::mem::transmute(pbkeystate)).ok()
704 }
705 #[cfg(feature = "Win32_Globalization")]
Notify<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()>706 pub unsafe fn Notify<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()> {
707 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwaction), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwvalue)).ok()
708 }
709 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
Select<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fselect: Param1) -> ::windows::runtime::Result<()>710 pub unsafe fn Select<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fselect: Param1) -> ::windows::runtime::Result<()> {
711 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), himc.into_param().abi(), fselect.into_param().abi()).ok()
712 }
713 #[cfg(feature = "Win32_Globalization")]
SetCompositionString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>714 pub unsafe fn SetCompositionString<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
715 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
716 }
717 #[cfg(feature = "Win32_Globalization")]
ToAsciiEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: Param4, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::Result<()>718 pub unsafe fn ToAsciiEx<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: Param4, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::Result<()> {
719 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(uvirkey), ::std::mem::transmute(uscancode), ::std::mem::transmute(pbkeystate), ::std::mem::transmute(fustate), himc.into_param().abi(), ::std::mem::transmute(pdwtransbuf), ::std::mem::transmute(pusize)).ok()
720 }
721 #[cfg(feature = "Win32_Foundation")]
RegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()>722 pub unsafe fn RegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()> {
723 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szstring.into_param().abi()).ok()
724 }
725 #[cfg(feature = "Win32_Foundation")]
UnregisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()>726 pub unsafe fn UnregisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szstring: Param2) -> ::windows::runtime::Result<()> {
727 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szstring.into_param().abi()).ok()
728 }
GetRegisterWordStyle(&self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::Result<()>729 pub unsafe fn GetRegisterWordStyle(&self, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::Result<()> {
730 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pubufsize)).ok()
731 }
732 #[cfg(feature = "Win32_Foundation")]
EnumRegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szregister: Param2, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW>733 pub unsafe fn EnumRegisterWord<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szreading: Param0, dwstyle: u32, szregister: Param2, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW> {
734 let mut result__: <IEnumRegisterWordW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
735 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordW>(result__)
736 }
GetCodePageA(&self) -> ::windows::runtime::Result<u32>737 pub unsafe fn GetCodePageA(&self) -> ::windows::runtime::Result<u32> {
738 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
739 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
740 }
GetLangId(&self) -> ::windows::runtime::Result<u16>741 pub unsafe fn GetLangId(&self) -> ::windows::runtime::Result<u16> {
742 let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
743 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u16>(result__)
744 }
Sleep(&self) -> ::windows::runtime::Result<()>745 pub unsafe fn Sleep(&self) -> ::windows::runtime::Result<()> {
746 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
747 }
748 #[cfg(feature = "Win32_Foundation")]
Unsleep<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdead: Param0) -> ::windows::runtime::Result<()>749 pub unsafe fn Unsleep<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdead: Param0) -> ::windows::runtime::Result<()> {
750 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), fdead.into_param().abi()).ok()
751 }
752 }
753 unsafe impl ::windows::runtime::Interface for IActiveIME2 {
754 type Vtable = IActiveIME2_abi;
755 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3787767566, 11603, 4562, [147, 225, 0, 96, 176, 103, 184, 110]);
756 }
757 impl ::std::convert::From<IActiveIME2> for ::windows::runtime::IUnknown {
from(value: IActiveIME2) -> Self758 fn from(value: IActiveIME2) -> Self {
759 unsafe { ::std::mem::transmute(value) }
760 }
761 }
762 impl ::std::convert::From<&IActiveIME2> for ::windows::runtime::IUnknown {
from(value: &IActiveIME2) -> Self763 fn from(value: &IActiveIME2) -> Self {
764 ::std::convert::From::from(::std::clone::Clone::clone(value))
765 }
766 }
767 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIME2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>768 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
769 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
770 }
771 }
772 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIME2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>773 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
774 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
775 }
776 }
777 impl ::std::convert::From<IActiveIME2> for IActiveIME {
from(value: IActiveIME2) -> Self778 fn from(value: IActiveIME2) -> Self {
779 unsafe { ::std::mem::transmute(value) }
780 }
781 }
782 impl ::std::convert::From<&IActiveIME2> for IActiveIME {
from(value: &IActiveIME2) -> Self783 fn from(value: &IActiveIME2) -> Self {
784 ::std::convert::From::from(::std::clone::Clone::clone(value))
785 }
786 }
787 impl<'a> ::windows::runtime::IntoParam<'a, IActiveIME> for IActiveIME2 {
into_param(self) -> ::windows::runtime::Param<'a, IActiveIME>788 fn into_param(self) -> ::windows::runtime::Param<'a, IActiveIME> {
789 ::windows::runtime::Param::Owned(::std::convert::Into::<IActiveIME>::into(self))
790 }
791 }
792 impl<'a> ::windows::runtime::IntoParam<'a, IActiveIME> for &IActiveIME2 {
into_param(self) -> ::windows::runtime::Param<'a, IActiveIME>793 fn into_param(self) -> ::windows::runtime::Param<'a, IActiveIME> {
794 ::windows::runtime::Param::Owned(::std::convert::Into::<IActiveIME>::into(::std::clone::Clone::clone(self)))
795 }
796 }
797 #[repr(C)]
798 #[doc(hidden)]
799 pub struct IActiveIME2_abi(
800 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
801 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
802 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
803 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: super::super::super::Foundation::PWSTR, pdwprivate: *mut u32) -> ::windows::runtime::HRESULT,
804 #[cfg(not(feature = "Win32_Foundation"))] usize,
805 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, szsource: super::super::super::Foundation::PWSTR, uflag: u32, ubuflen: u32, pdest: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
806 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
807 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pregisterword: *const REGISTERWORDW) -> ::windows::runtime::HRESULT,
808 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
809 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ureserved: u32) -> ::windows::runtime::HRESULT,
810 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
811 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
812 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fflag: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
813 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
814 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, uvirkey: u32, lparam: u32, pbkeystate: *const u8) -> ::windows::runtime::HRESULT,
815 #[cfg(not(feature = "Win32_Globalization"))] usize,
816 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::HRESULT,
817 #[cfg(not(feature = "Win32_Globalization"))] usize,
818 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fselect: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
819 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
820 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
821 #[cfg(not(feature = "Win32_Globalization"))] usize,
822 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uvirkey: u32, uscancode: u32, pbkeystate: *const u8, fustate: u32, himc: super::super::super::Globalization::HIMC, pdwtransbuf: *mut u32, pusize: *mut u32) -> ::windows::runtime::HRESULT,
823 #[cfg(not(feature = "Win32_Globalization"))] usize,
824 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szstring: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
825 #[cfg(not(feature = "Win32_Foundation"))] usize,
826 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szstring: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
827 #[cfg(not(feature = "Win32_Foundation"))] usize,
828 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nitem: u32, pstylebuf: *mut STYLEBUFW, pubufsize: *mut u32) -> ::windows::runtime::HRESULT,
829 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR, pdata: *const ::std::ffi::c_void, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
830 #[cfg(not(feature = "Win32_Foundation"))] usize,
831 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ucodepage: *mut u32) -> ::windows::runtime::HRESULT,
832 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plid: *mut u16) -> ::windows::runtime::HRESULT,
833 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
834 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fdead: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
835 #[cfg(not(feature = "Win32_Foundation"))] usize,
836 );
837 #[repr(transparent)]
838 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
839 pub struct IActiveIMMApp(::windows::runtime::IUnknown);
840 impl IActiveIMMApp {
841 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
AssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, hime: Param1) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>842 pub unsafe fn AssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, hime: Param1) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
843 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
844 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), hime.into_param().abi(), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
845 }
846 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
ConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::Result<()>847 pub unsafe fn ConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::Result<()> {
848 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pdata)).ok()
849 }
850 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
ConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::Result<()>851 pub unsafe fn ConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::Result<()> {
852 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pdata)).ok()
853 }
854 #[cfg(feature = "Win32_Globalization")]
CreateContext(&self) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>855 pub unsafe fn CreateContext(&self) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
856 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
857 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
858 }
859 #[cfg(feature = "Win32_Globalization")]
DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hime: Param0) -> ::windows::runtime::Result<()>860 pub unsafe fn DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hime: Param0) -> ::windows::runtime::Result<()> {
861 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), hime.into_param().abi()).ok()
862 }
863 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
EnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordA>864 pub unsafe fn EnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordA> {
865 let mut result__: <IEnumRegisterWordA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
866 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordA>(result__)
867 }
868 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
EnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW>869 pub unsafe fn EnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW> {
870 let mut result__: <IEnumRegisterWordW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
871 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordW>(result__)
872 }
873 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
EscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>874 pub unsafe fn EscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
875 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
876 }
877 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
EscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>878 pub unsafe fn EscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
879 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
880 }
881 #[cfg(feature = "Win32_Globalization")]
GetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>882 pub unsafe fn GetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
883 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pcandlist), ::std::mem::transmute(pucopied)).ok()
884 }
885 #[cfg(feature = "Win32_Globalization")]
GetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>886 pub unsafe fn GetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
887 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pcandlist), ::std::mem::transmute(pucopied)).ok()
888 }
889 #[cfg(feature = "Win32_Globalization")]
GetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()>890 pub unsafe fn GetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()> {
891 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pdwlistsize), ::std::mem::transmute(pdwbuflen)).ok()
892 }
893 #[cfg(feature = "Win32_Globalization")]
GetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()>894 pub unsafe fn GetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()> {
895 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pdwlistsize), ::std::mem::transmute(pdwbuflen)).ok()
896 }
897 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32) -> ::windows::runtime::Result<CANDIDATEFORM>898 pub unsafe fn GetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32) -> ::windows::runtime::Result<CANDIDATEFORM> {
899 let mut result__: <CANDIDATEFORM as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
900 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), &mut result__).from_abi::<CANDIDATEFORM>(result__)
901 }
902 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTA>903 pub unsafe fn GetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTA> {
904 let mut result__: <super::super::super::Graphics::Gdi::LOGFONTA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
905 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Graphics::Gdi::LOGFONTA>(result__)
906 }
907 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTW>908 pub unsafe fn GetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTW> {
909 let mut result__: <super::super::super::Graphics::Gdi::LOGFONTW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
910 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Graphics::Gdi::LOGFONTW>(result__)
911 }
912 #[cfg(feature = "Win32_Globalization")]
GetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>913 pub unsafe fn GetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
914 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(plcopied), ::std::mem::transmute(pbuf)).ok()
915 }
916 #[cfg(feature = "Win32_Globalization")]
GetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>917 pub unsafe fn GetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
918 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(plcopied), ::std::mem::transmute(pbuf)).ok()
919 }
920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<COMPOSITIONFORM>921 pub unsafe fn GetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<COMPOSITIONFORM> {
922 let mut result__: <COMPOSITIONFORM as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
923 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<COMPOSITIONFORM>(result__)
924 }
925 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>926 pub unsafe fn GetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
927 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
928 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
929 }
930 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
GetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>931 pub unsafe fn GetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
932 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), psrc.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(uflag), ::std::mem::transmute(pdst), ::std::mem::transmute(pucopied)).ok()
933 }
934 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
GetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>935 pub unsafe fn GetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
936 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), psrc.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(uflag), ::std::mem::transmute(pdst), ::std::mem::transmute(pucopied)).ok()
937 }
938 #[cfg(feature = "Win32_Globalization")]
GetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::Result<()>939 pub unsafe fn GetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::Result<()> {
940 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pfdwconversion), ::std::mem::transmute(pfdwsentence)).ok()
941 }
942 #[cfg(feature = "Win32_Foundation")]
GetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::HWND>943 pub unsafe fn GetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::HWND> {
944 let mut result__: <super::super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
945 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::HWND>(result__)
946 }
947 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>948 pub unsafe fn GetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
949 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szdescription), ::std::mem::transmute(pucopied)).ok()
950 }
951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>952 pub unsafe fn GetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
953 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szdescription), ::std::mem::transmute(pucopied)).ok()
954 }
955 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()>956 pub unsafe fn GetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
957 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(pbuf), ::std::mem::transmute(pdwresult)).ok()
958 }
959 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()>960 pub unsafe fn GetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
961 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(pbuf), ::std::mem::transmute(pdwresult)).ok()
962 }
963 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>964 pub unsafe fn GetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
965 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szfilename), ::std::mem::transmute(pucopied)).ok()
966 }
967 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>968 pub unsafe fn GetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
969 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szfilename), ::std::mem::transmute(pucopied)).ok()
970 }
971 #[cfg(feature = "Win32_Globalization")]
GetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()>972 pub unsafe fn GetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()> {
973 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), himc.into_param().abi()).ok()
974 }
975 #[cfg(feature = "Win32_UI_TextServices")]
GetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, fdwindex: u32) -> ::windows::runtime::Result<u32>976 pub unsafe fn GetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, fdwindex: u32) -> ::windows::runtime::Result<u32> {
977 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
978 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(fdwindex), &mut result__).from_abi::<u32>(result__)
979 }
980 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::Result<()>981 pub unsafe fn GetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
982 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pucopied)).ok()
983 }
984 #[cfg(feature = "Win32_UI_TextServices")]
GetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::Result<()>985 pub unsafe fn GetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
986 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pucopied)).ok()
987 }
988 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::POINT>989 pub unsafe fn GetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::POINT> {
990 let mut result__: <super::super::super::Foundation::POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
991 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::POINT>(result__)
992 }
993 #[cfg(feature = "Win32_Foundation")]
GetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<u32>994 pub unsafe fn GetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<u32> {
995 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
996 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<u32>(result__)
997 }
998 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
InstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL>999 pub unsafe fn InstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL> {
1000 let mut result__: <super::super::TextServices::HKL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1001 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), szimefilename.into_param().abi(), szlayouttext.into_param().abi(), &mut result__).from_abi::<super::super::TextServices::HKL>(result__)
1002 }
1003 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
InstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL>1004 pub unsafe fn InstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL> {
1005 let mut result__: <super::super::TextServices::HKL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1006 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), szimefilename.into_param().abi(), szlayouttext.into_param().abi(), &mut result__).from_abi::<super::super::TextServices::HKL>(result__)
1007 }
1008 #[cfg(feature = "Win32_UI_TextServices")]
IsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<()>1009 pub unsafe fn IsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<()> {
1010 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), hkl.into_param().abi()).ok()
1011 }
1012 #[cfg(feature = "Win32_Foundation")]
IsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>1013 pub unsafe fn IsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
1014 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), hwndime.into_param().abi(), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi()).ok()
1015 }
1016 #[cfg(feature = "Win32_Foundation")]
IsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>1017 pub unsafe fn IsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
1018 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), hwndime.into_param().abi(), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi()).ok()
1019 }
1020 #[cfg(feature = "Win32_Globalization")]
NotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()>1021 pub unsafe fn NotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()> {
1022 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwaction), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwvalue)).ok()
1023 }
1024 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
RegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()>1025 pub unsafe fn RegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()> {
1026 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi()).ok()
1027 }
1028 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
RegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()>1029 pub unsafe fn RegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()> {
1030 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi()).ok()
1031 }
1032 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
ReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1) -> ::windows::runtime::Result<()>1033 pub unsafe fn ReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1) -> ::windows::runtime::Result<()> {
1034 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), himc.into_param().abi()).ok()
1035 }
1036 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::Result<()>1037 pub unsafe fn SetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::Result<()> {
1038 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pcandidate)).ok()
1039 }
1040 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
SetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::Result<()>1041 pub unsafe fn SetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::Result<()> {
1042 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(plf)).ok()
1043 }
1044 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
SetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::Result<()>1045 pub unsafe fn SetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::Result<()> {
1046 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(plf)).ok()
1047 }
1048 #[cfg(feature = "Win32_Globalization")]
SetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>1049 pub unsafe fn SetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
1050 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
1051 }
1052 #[cfg(feature = "Win32_Globalization")]
SetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>1053 pub unsafe fn SetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
1054 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
1055 }
1056 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::Result<()>1057 pub unsafe fn SetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::Result<()> {
1058 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pcompform)).ok()
1059 }
1060 #[cfg(feature = "Win32_Globalization")]
SetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::Result<()>1061 pub unsafe fn SetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::Result<()> {
1062 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(fdwconversion), ::std::mem::transmute(fdwsentence)).ok()
1063 }
1064 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fopen: Param1) -> ::windows::runtime::Result<()>1065 pub unsafe fn SetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fopen: Param1) -> ::windows::runtime::Result<()> {
1066 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), himc.into_param().abi(), fopen.into_param().abi()).ok()
1067 }
1068 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::Result<()>1069 pub unsafe fn SetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
1070 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pptpos)).ok()
1071 }
1072 #[cfg(feature = "Win32_Foundation")]
SimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0, dwhotkeyid: u32) -> ::windows::runtime::Result<()>1073 pub unsafe fn SimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0, dwhotkeyid: u32) -> ::windows::runtime::Result<()> {
1074 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(dwhotkeyid)).ok()
1075 }
1076 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
UnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()>1077 pub unsafe fn UnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()> {
1078 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szunregister.into_param().abi()).ok()
1079 }
1080 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
UnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()>1081 pub unsafe fn UnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()> {
1082 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szunregister.into_param().abi()).ok()
1083 }
1084 #[cfg(feature = "Win32_Foundation")]
Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, frestorelayout: Param0) -> ::windows::runtime::Result<()>1085 pub unsafe fn Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, frestorelayout: Param0) -> ::windows::runtime::Result<()> {
1086 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), frestorelayout.into_param().abi()).ok()
1087 }
Deactivate(&self) -> ::windows::runtime::Result<()>1088 pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
1089 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self)).ok()
1090 }
1091 #[cfg(feature = "Win32_Foundation")]
OnDefWindowProc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT>1092 pub unsafe fn OnDefWindowProc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT> {
1093 let mut result__: <super::super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1094 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::LRESULT>(result__)
1095 }
FilterClientWindows(&self, aaclasslist: *const u16, usize: u32) -> ::windows::runtime::Result<()>1096 pub unsafe fn FilterClientWindows(&self, aaclasslist: *const u16, usize: u32) -> ::windows::runtime::Result<()> {
1097 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(aaclasslist), ::std::mem::transmute(usize)).ok()
1098 }
1099 #[cfg(feature = "Win32_UI_TextServices")]
GetCodePageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u32>1100 pub unsafe fn GetCodePageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u32> {
1101 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1102 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), hkl.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1103 }
1104 #[cfg(feature = "Win32_UI_TextServices")]
GetLangId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u16>1105 pub unsafe fn GetLangId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u16> {
1106 let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1107 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), hkl.into_param().abi(), &mut result__).from_abi::<u16>(result__)
1108 }
1109 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
AssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1, dwflags: u32) -> ::windows::runtime::Result<()>1110 pub unsafe fn AssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1, dwflags: u32) -> ::windows::runtime::Result<()> {
1111 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
1112 }
DisableIME(&self, idthread: u32) -> ::windows::runtime::Result<()>1113 pub unsafe fn DisableIME(&self, idthread: u32) -> ::windows::runtime::Result<()> {
1114 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), ::std::mem::transmute(idthread)).ok()
1115 }
1116 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1117 pub unsafe fn GetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1118 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwtype), ::std::mem::transmute(pimeparentmenu), ::std::mem::transmute(pimemenu), ::std::mem::transmute(dwsize), ::std::mem::transmute(pdwresult)).ok()
1119 }
1120 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1121 pub unsafe fn GetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1122 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwtype), ::std::mem::transmute(pimeparentmenu), ::std::mem::transmute(pimemenu), ::std::mem::transmute(dwsize), ::std::mem::transmute(pdwresult)).ok()
1123 }
EnumInputContext(&self, idthread: u32) -> ::windows::runtime::Result<IEnumInputContext>1124 pub unsafe fn EnumInputContext(&self, idthread: u32) -> ::windows::runtime::Result<IEnumInputContext> {
1125 let mut result__: <IEnumInputContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1126 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(idthread), &mut result__).from_abi::<IEnumInputContext>(result__)
1127 }
1128 }
1129 unsafe impl ::windows::runtime::Interface for IActiveIMMApp {
1130 type Vtable = IActiveIMMApp_abi;
1131 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(146858048, 25297, 4561, [147, 38, 0, 96, 176, 103, 184, 110]);
1132 }
1133 impl ::std::convert::From<IActiveIMMApp> for ::windows::runtime::IUnknown {
from(value: IActiveIMMApp) -> Self1134 fn from(value: IActiveIMMApp) -> Self {
1135 unsafe { ::std::mem::transmute(value) }
1136 }
1137 }
1138 impl ::std::convert::From<&IActiveIMMApp> for ::windows::runtime::IUnknown {
from(value: &IActiveIMMApp) -> Self1139 fn from(value: &IActiveIMMApp) -> Self {
1140 ::std::convert::From::from(::std::clone::Clone::clone(value))
1141 }
1142 }
1143 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIMMApp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1144 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1145 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1146 }
1147 }
1148 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIMMApp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1149 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1150 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1151 }
1152 }
1153 #[repr(C)]
1154 #[doc(hidden)]
1155 pub struct IActiveIMMApp_abi(
1156 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1159 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, hime: super::super::super::Globalization::HIMC, phprev: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1160 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1161 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::HRESULT,
1162 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1163 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::HRESULT,
1164 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1165 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phimc: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1166 #[cfg(not(feature = "Win32_Globalization"))] usize,
1167 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hime: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1168 #[cfg(not(feature = "Win32_Globalization"))] usize,
1169 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szregister: super::super::super::Foundation::PSTR, pdata: *const ::std::ffi::c_void, penum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1170 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1171 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR, pdata: *const ::std::ffi::c_void, penum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1172 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1173 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1174 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1175 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1176 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1177 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1178 #[cfg(not(feature = "Win32_Globalization"))] usize,
1179 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1180 #[cfg(not(feature = "Win32_Globalization"))] usize,
1181 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::HRESULT,
1182 #[cfg(not(feature = "Win32_Globalization"))] usize,
1183 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::HRESULT,
1184 #[cfg(not(feature = "Win32_Globalization"))] usize,
1185 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcandidate: *mut CANDIDATEFORM) -> ::windows::runtime::HRESULT,
1186 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1187 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::HRESULT,
1188 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1189 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::HRESULT,
1190 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1191 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1192 #[cfg(not(feature = "Win32_Globalization"))] usize,
1193 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1194 #[cfg(not(feature = "Win32_Globalization"))] usize,
1195 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcompform: *mut COMPOSITIONFORM) -> ::windows::runtime::HRESULT,
1196 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1197 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, phimc: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1198 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1199 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, psrc: super::super::super::Foundation::PSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1200 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1201 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, psrc: super::super::super::Foundation::PWSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1202 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1203 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::HRESULT,
1204 #[cfg(not(feature = "Win32_Globalization"))] usize,
1205 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, phdefwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1206 #[cfg(not(feature = "Win32_Foundation"))] usize,
1207 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1208 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1209 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1210 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1211 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1212 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1213 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1214 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1215 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1216 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1218 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1219 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1220 #[cfg(not(feature = "Win32_Globalization"))] usize,
1221 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, fdwindex: u32, pdwproperty: *mut u32) -> ::windows::runtime::HRESULT,
1222 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1223 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1224 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1225 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1226 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1227 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pptpos: *mut super::super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
1228 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1229 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, puvirtualkey: *mut u32) -> ::windows::runtime::HRESULT,
1230 #[cfg(not(feature = "Win32_Foundation"))] usize,
1231 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szimefilename: super::super::super::Foundation::PSTR, szlayouttext: super::super::super::Foundation::PSTR, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1232 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szimefilename: super::super::super::Foundation::PWSTR, szlayouttext: super::super::super::Foundation::PWSTR, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1234 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1235 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1236 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1237 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndime: super::super::super::Foundation::HWND, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
1238 #[cfg(not(feature = "Win32_Foundation"))] usize,
1239 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndime: super::super::super::Foundation::HWND, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
1240 #[cfg(not(feature = "Win32_Foundation"))] usize,
1241 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::HRESULT,
1242 #[cfg(not(feature = "Win32_Globalization"))] usize,
1243 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szregister: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1244 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1245 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1246 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1247 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1248 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1249 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::HRESULT,
1250 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1251 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::HRESULT,
1252 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1253 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::HRESULT,
1254 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1255 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
1256 #[cfg(not(feature = "Win32_Globalization"))] usize,
1257 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
1258 #[cfg(not(feature = "Win32_Globalization"))] usize,
1259 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::HRESULT,
1260 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1261 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::HRESULT,
1262 #[cfg(not(feature = "Win32_Globalization"))] usize,
1263 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fopen: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1264 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1265 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
1266 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1267 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, dwhotkeyid: u32) -> ::windows::runtime::HRESULT,
1268 #[cfg(not(feature = "Win32_Foundation"))] usize,
1269 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szunregister: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1270 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1271 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szunregister: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1272 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1273 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, frestorelayout: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1274 #[cfg(not(feature = "Win32_Foundation"))] usize,
1275 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1276 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1277 #[cfg(not(feature = "Win32_Foundation"))] usize,
1278 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, aaclasslist: *const u16, usize: u32) -> ::windows::runtime::HRESULT,
1279 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ucodepage: *mut u32) -> ::windows::runtime::HRESULT,
1280 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1281 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, plid: *mut u16) -> ::windows::runtime::HRESULT,
1282 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1283 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, himc: super::super::super::Globalization::HIMC, dwflags: u32) -> ::windows::runtime::HRESULT,
1284 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1285 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idthread: u32) -> ::windows::runtime::HRESULT,
1286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1287 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1288 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1289 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1290 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idthread: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1291 );
1292 #[repr(transparent)]
1293 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1294 pub struct IActiveIMMIME(::windows::runtime::IUnknown);
1295 impl IActiveIMMIME {
1296 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
AssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, hime: Param1) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>1297 pub unsafe fn AssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, hime: Param1) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
1298 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1299 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), hime.into_param().abi(), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
1300 }
1301 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
ConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::Result<()>1302 pub unsafe fn ConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::Result<()> {
1303 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pdata)).ok()
1304 }
1305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
ConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::Result<()>1306 pub unsafe fn ConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hkl: Param0, hwnd: Param1, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::Result<()> {
1307 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), hkl.into_param().abi(), hwnd.into_param().abi(), ::std::mem::transmute(dwmode), ::std::mem::transmute(pdata)).ok()
1308 }
1309 #[cfg(feature = "Win32_Globalization")]
CreateContext(&self) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>1310 pub unsafe fn CreateContext(&self) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
1311 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1312 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
1313 }
1314 #[cfg(feature = "Win32_Globalization")]
DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hime: Param0) -> ::windows::runtime::Result<()>1315 pub unsafe fn DestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hime: Param0) -> ::windows::runtime::Result<()> {
1316 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), hime.into_param().abi()).ok()
1317 }
1318 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
EnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordA>1319 pub unsafe fn EnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordA> {
1320 let mut result__: <IEnumRegisterWordA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1321 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordA>(result__)
1322 }
1323 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
EnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW>1324 pub unsafe fn EnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3, pdata: *const ::std::ffi::c_void) -> ::windows::runtime::Result<IEnumRegisterWordW> {
1325 let mut result__: <IEnumRegisterWordW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1326 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi(), ::std::mem::transmute(pdata), &mut result__).from_abi::<IEnumRegisterWordW>(result__)
1327 }
1328 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
EscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>1329 pub unsafe fn EscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
1330 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
1331 }
1332 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
EscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()>1333 pub unsafe fn EscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hkl: Param0, himc: Param1, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::Result<()> {
1334 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(uescape), ::std::mem::transmute(pdata), ::std::mem::transmute(plresult)).ok()
1335 }
1336 #[cfg(feature = "Win32_Globalization")]
GetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>1337 pub unsafe fn GetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1338 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pcandlist), ::std::mem::transmute(pucopied)).ok()
1339 }
1340 #[cfg(feature = "Win32_Globalization")]
GetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>1341 pub unsafe fn GetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1342 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(ubuflen), ::std::mem::transmute(pcandlist), ::std::mem::transmute(pucopied)).ok()
1343 }
1344 #[cfg(feature = "Win32_Globalization")]
GetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()>1345 pub unsafe fn GetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()> {
1346 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pdwlistsize), ::std::mem::transmute(pdwbuflen)).ok()
1347 }
1348 #[cfg(feature = "Win32_Globalization")]
GetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()>1349 pub unsafe fn GetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::Result<()> {
1350 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pdwlistsize), ::std::mem::transmute(pdwbuflen)).ok()
1351 }
1352 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32) -> ::windows::runtime::Result<CANDIDATEFORM>1353 pub unsafe fn GetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32) -> ::windows::runtime::Result<CANDIDATEFORM> {
1354 let mut result__: <CANDIDATEFORM as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1355 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), &mut result__).from_abi::<CANDIDATEFORM>(result__)
1356 }
1357 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTA>1358 pub unsafe fn GetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTA> {
1359 let mut result__: <super::super::super::Graphics::Gdi::LOGFONTA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1360 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Graphics::Gdi::LOGFONTA>(result__)
1361 }
1362 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTW>1363 pub unsafe fn GetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Graphics::Gdi::LOGFONTW> {
1364 let mut result__: <super::super::super::Graphics::Gdi::LOGFONTW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1365 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Graphics::Gdi::LOGFONTW>(result__)
1366 }
1367 #[cfg(feature = "Win32_Globalization")]
GetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1368 pub unsafe fn GetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1369 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(plcopied), ::std::mem::transmute(pbuf)).ok()
1370 }
1371 #[cfg(feature = "Win32_Globalization")]
GetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1372 pub unsafe fn GetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1373 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(plcopied), ::std::mem::transmute(pbuf)).ok()
1374 }
1375 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<COMPOSITIONFORM>1376 pub unsafe fn GetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<COMPOSITIONFORM> {
1377 let mut result__: <COMPOSITIONFORM as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1378 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<COMPOSITIONFORM>(result__)
1379 }
1380 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC>1381 pub unsafe fn GetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Globalization::HIMC> {
1382 let mut result__: <super::super::super::Globalization::HIMC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1383 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<super::super::super::Globalization::HIMC>(result__)
1384 }
1385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
GetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>1386 pub unsafe fn GetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1387 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), psrc.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(uflag), ::std::mem::transmute(pdst), ::std::mem::transmute(pucopied)).ok()
1388 }
1389 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
GetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()>1390 pub unsafe fn GetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, himc: Param1, psrc: Param2, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1391 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), hkl.into_param().abi(), himc.into_param().abi(), psrc.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(uflag), ::std::mem::transmute(pdst), ::std::mem::transmute(pucopied)).ok()
1392 }
1393 #[cfg(feature = "Win32_Globalization")]
GetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::Result<()>1394 pub unsafe fn GetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::Result<()> {
1395 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pfdwconversion), ::std::mem::transmute(pfdwsentence)).ok()
1396 }
1397 #[cfg(feature = "Win32_Foundation")]
GetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::HWND>1398 pub unsafe fn GetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::HWND> {
1399 let mut result__: <super::super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1400 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::HWND>(result__)
1401 }
1402 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>1403 pub unsafe fn GetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1404 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szdescription), ::std::mem::transmute(pucopied)).ok()
1405 }
1406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>1407 pub unsafe fn GetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1408 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szdescription), ::std::mem::transmute(pucopied)).ok()
1409 }
1410 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1411 pub unsafe fn GetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1412 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(pbuf), ::std::mem::transmute(pdwresult)).ok()
1413 }
1414 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1415 pub unsafe fn GetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1416 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(pbuf), ::std::mem::transmute(pdwresult)).ok()
1417 }
1418 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>1419 pub unsafe fn GetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1420 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szfilename), ::std::mem::transmute(pucopied)).ok()
1421 }
1422 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()>1423 pub unsafe fn GetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1424 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(ubuflen), ::std::mem::transmute(szfilename), ::std::mem::transmute(pucopied)).ok()
1425 }
1426 #[cfg(feature = "Win32_Globalization")]
GetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()>1427 pub unsafe fn GetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()> {
1428 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), himc.into_param().abi()).ok()
1429 }
1430 #[cfg(feature = "Win32_UI_TextServices")]
GetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, fdwindex: u32) -> ::windows::runtime::Result<u32>1431 pub unsafe fn GetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, fdwindex: u32) -> ::windows::runtime::Result<u32> {
1432 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1433 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(fdwindex), &mut result__).from_abi::<u32>(result__)
1434 }
1435 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
GetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::Result<()>1436 pub unsafe fn GetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1437 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pucopied)).ok()
1438 }
1439 #[cfg(feature = "Win32_UI_TextServices")]
GetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::Result<()>1440 pub unsafe fn GetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::Result<()> {
1441 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), hkl.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(pstylebuf), ::std::mem::transmute(pucopied)).ok()
1442 }
1443 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
GetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::POINT>1444 pub unsafe fn GetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<super::super::super::Foundation::POINT> {
1445 let mut result__: <super::super::super::Foundation::POINT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1446 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::POINT>(result__)
1447 }
1448 #[cfg(feature = "Win32_Foundation")]
GetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<u32>1449 pub unsafe fn GetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<u32> {
1450 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1451 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1452 }
1453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
InstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL>1454 pub unsafe fn InstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL> {
1455 let mut result__: <super::super::TextServices::HKL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1456 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), szimefilename.into_param().abi(), szlayouttext.into_param().abi(), &mut result__).from_abi::<super::super::TextServices::HKL>(result__)
1457 }
1458 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
InstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL>1459 pub unsafe fn InstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, szimefilename: Param0, szlayouttext: Param1) -> ::windows::runtime::Result<super::super::TextServices::HKL> {
1460 let mut result__: <super::super::TextServices::HKL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1461 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), szimefilename.into_param().abi(), szlayouttext.into_param().abi(), &mut result__).from_abi::<super::super::TextServices::HKL>(result__)
1462 }
1463 #[cfg(feature = "Win32_UI_TextServices")]
IsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<()>1464 pub unsafe fn IsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<()> {
1465 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), hkl.into_param().abi()).ok()
1466 }
1467 #[cfg(feature = "Win32_Foundation")]
IsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>1468 pub unsafe fn IsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
1469 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), hwndime.into_param().abi(), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi()).ok()
1470 }
1471 #[cfg(feature = "Win32_Foundation")]
IsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>1472 pub unsafe fn IsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwndime: Param0, msg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
1473 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), hwndime.into_param().abi(), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi()).ok()
1474 }
1475 #[cfg(feature = "Win32_Globalization")]
NotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()>1476 pub unsafe fn NotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::Result<()> {
1477 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwaction), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwvalue)).ok()
1478 }
1479 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
RegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()>1480 pub unsafe fn RegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()> {
1481 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi()).ok()
1482 }
1483 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
RegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()>1484 pub unsafe fn RegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szregister: Param3) -> ::windows::runtime::Result<()> {
1485 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szregister.into_param().abi()).ok()
1486 }
1487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
ReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1) -> ::windows::runtime::Result<()>1488 pub unsafe fn ReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1) -> ::windows::runtime::Result<()> {
1489 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), himc.into_param().abi()).ok()
1490 }
1491 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::Result<()>1492 pub unsafe fn SetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::Result<()> {
1493 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pcandidate)).ok()
1494 }
1495 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
SetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::Result<()>1496 pub unsafe fn SetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::Result<()> {
1497 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(plf)).ok()
1498 }
1499 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
SetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::Result<()>1500 pub unsafe fn SetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::Result<()> {
1501 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(plf)).ok()
1502 }
1503 #[cfg(feature = "Win32_Globalization")]
SetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>1504 pub unsafe fn SetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
1505 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
1506 }
1507 #[cfg(feature = "Win32_Globalization")]
SetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()>1508 pub unsafe fn SetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::Result<()> {
1509 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(pcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(pread), ::std::mem::transmute(dwreadlen)).ok()
1510 }
1511 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::Result<()>1512 pub unsafe fn SetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::Result<()> {
1513 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pcompform)).ok()
1514 }
1515 #[cfg(feature = "Win32_Globalization")]
SetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::Result<()>1516 pub unsafe fn SetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::Result<()> {
1517 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(fdwconversion), ::std::mem::transmute(fdwsentence)).ok()
1518 }
1519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fopen: Param1) -> ::windows::runtime::Result<()>1520 pub unsafe fn SetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, himc: Param0, fopen: Param1) -> ::windows::runtime::Result<()> {
1521 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), himc.into_param().abi(), fopen.into_param().abi()).ok()
1522 }
1523 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
SetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::Result<()>1524 pub unsafe fn SetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::Result<()> {
1525 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(pptpos)).ok()
1526 }
1527 #[cfg(feature = "Win32_Foundation")]
SimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0, dwhotkeyid: u32) -> ::windows::runtime::Result<()>1528 pub unsafe fn SimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0, dwhotkeyid: u32) -> ::windows::runtime::Result<()> {
1529 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(dwhotkeyid)).ok()
1530 }
1531 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
UnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()>1532 pub unsafe fn UnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()> {
1533 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szunregister.into_param().abi()).ok()
1534 }
1535 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
UnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()>1536 pub unsafe fn UnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, hkl: Param0, szreading: Param1, dwstyle: u32, szunregister: Param3) -> ::windows::runtime::Result<()> {
1537 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), hkl.into_param().abi(), szreading.into_param().abi(), ::std::mem::transmute(dwstyle), szunregister.into_param().abi()).ok()
1538 }
1539 #[cfg(feature = "Win32_Globalization")]
GenerateMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()>1540 pub unsafe fn GenerateMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()> {
1541 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), himc.into_param().abi()).ok()
1542 }
1543 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
LockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<*mut INPUTCONTEXT>1544 pub unsafe fn LockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<*mut INPUTCONTEXT> {
1545 let mut result__: <*mut INPUTCONTEXT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1546 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<*mut INPUTCONTEXT>(result__)
1547 }
1548 #[cfg(feature = "Win32_Globalization")]
UnlockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()>1549 pub unsafe fn UnlockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<()> {
1550 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), himc.into_param().abi()).ok()
1551 }
1552 #[cfg(feature = "Win32_Globalization")]
GetIMCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<u32>1553 pub unsafe fn GetIMCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0) -> ::windows::runtime::Result<u32> {
1554 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1555 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), himc.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1556 }
1557 #[cfg(feature = "Win32_Globalization")]
CreateIMCC(&self, dwsize: u32) -> ::windows::runtime::Result<super::super::super::Globalization::HIMCC>1558 pub unsafe fn CreateIMCC(&self, dwsize: u32) -> ::windows::runtime::Result<super::super::super::Globalization::HIMCC> {
1559 let mut result__: <super::super::super::Globalization::HIMCC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1560 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwsize), &mut result__).from_abi::<super::super::super::Globalization::HIMCC>(result__)
1561 }
1562 #[cfg(feature = "Win32_Globalization")]
DestroyIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<()>1563 pub unsafe fn DestroyIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<()> {
1564 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), himcc.into_param().abi()).ok()
1565 }
1566 #[cfg(feature = "Win32_Globalization")]
LockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0, ppv: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1567 pub unsafe fn LockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0, ppv: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1568 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), himcc.into_param().abi(), ::std::mem::transmute(ppv)).ok()
1569 }
1570 #[cfg(feature = "Win32_Globalization")]
UnlockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<()>1571 pub unsafe fn UnlockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<()> {
1572 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), himcc.into_param().abi()).ok()
1573 }
1574 #[cfg(feature = "Win32_Globalization")]
ReSizeIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0, dwsize: u32) -> ::windows::runtime::Result<super::super::super::Globalization::HIMCC>1575 pub unsafe fn ReSizeIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0, dwsize: u32) -> ::windows::runtime::Result<super::super::super::Globalization::HIMCC> {
1576 let mut result__: <super::super::super::Globalization::HIMCC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1577 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), himcc.into_param().abi(), ::std::mem::transmute(dwsize), &mut result__).from_abi::<super::super::super::Globalization::HIMCC>(result__)
1578 }
1579 #[cfg(feature = "Win32_Globalization")]
GetIMCCSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<u32>1580 pub unsafe fn GetIMCCSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<u32> {
1581 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1582 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), himcc.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1583 }
1584 #[cfg(feature = "Win32_Globalization")]
GetIMCCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<u32>1585 pub unsafe fn GetIMCCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(&self, himcc: Param0) -> ::windows::runtime::Result<u32> {
1586 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1587 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), himcc.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1588 }
1589 #[cfg(feature = "Win32_UI_TextServices")]
GetHotKey(&self, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::Result<()>1590 pub unsafe fn GetHotKey(&self, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::Result<()> {
1591 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwhotkeyid), ::std::mem::transmute(pumodifiers), ::std::mem::transmute(puvkey), ::std::mem::transmute(phkl)).ok()
1592 }
1593 #[cfg(feature = "Win32_UI_TextServices")]
SetHotKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: Param3) -> ::windows::runtime::Result<()>1594 pub unsafe fn SetHotKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: Param3) -> ::windows::runtime::Result<()> {
1595 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwhotkeyid), ::std::mem::transmute(umodifiers), ::std::mem::transmute(uvkey), hkl.into_param().abi()).ok()
1596 }
1597 #[cfg(feature = "Win32_Foundation")]
CreateSoftKeyboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, utype: u32, howner: Param1, x: i32, y: i32) -> ::windows::runtime::Result<super::super::super::Foundation::HWND>1598 pub unsafe fn CreateSoftKeyboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, utype: u32, howner: Param1, x: i32, y: i32) -> ::windows::runtime::Result<super::super::super::Foundation::HWND> {
1599 let mut result__: <super::super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1600 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(utype), howner.into_param().abi(), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<super::super::super::Foundation::HWND>(result__)
1601 }
1602 #[cfg(feature = "Win32_Foundation")]
DestroySoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hsoftkbdwnd: Param0) -> ::windows::runtime::Result<()>1603 pub unsafe fn DestroySoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hsoftkbdwnd: Param0) -> ::windows::runtime::Result<()> {
1604 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), hsoftkbdwnd.into_param().abi()).ok()
1605 }
1606 #[cfg(feature = "Win32_Foundation")]
ShowSoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hsoftkbdwnd: Param0, ncmdshow: i32) -> ::windows::runtime::Result<()>1607 pub unsafe fn ShowSoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hsoftkbdwnd: Param0, ncmdshow: i32) -> ::windows::runtime::Result<()> {
1608 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), hsoftkbdwnd.into_param().abi(), ::std::mem::transmute(ncmdshow)).ok()
1609 }
1610 #[cfg(feature = "Win32_UI_TextServices")]
GetCodePageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u32>1611 pub unsafe fn GetCodePageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u32> {
1612 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1613 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), hkl.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1614 }
1615 #[cfg(feature = "Win32_UI_TextServices")]
GetLangId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u16>1616 pub unsafe fn GetLangId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(&self, hkl: Param0) -> ::windows::runtime::Result<u16> {
1617 let mut result__: <u16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1618 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), hkl.into_param().abi(), &mut result__).from_abi::<u16>(result__)
1619 }
KeybdEvent(&self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32) -> ::windows::runtime::Result<()>1620 pub unsafe fn KeybdEvent(&self, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32) -> ::windows::runtime::Result<()> {
1621 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(lgidime), ::std::mem::transmute(bvk), ::std::mem::transmute(bscan), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwextrainfo)).ok()
1622 }
LockModal(&self) -> ::windows::runtime::Result<()>1623 pub unsafe fn LockModal(&self) -> ::windows::runtime::Result<()> {
1624 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self)).ok()
1625 }
UnlockModal(&self) -> ::windows::runtime::Result<()>1626 pub unsafe fn UnlockModal(&self) -> ::windows::runtime::Result<()> {
1627 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self)).ok()
1628 }
1629 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
AssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1, dwflags: u32) -> ::windows::runtime::Result<()>1630 pub unsafe fn AssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, hwnd: Param0, himc: Param1, dwflags: u32) -> ::windows::runtime::Result<()> {
1631 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), himc.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
1632 }
DisableIME(&self, idthread: u32) -> ::windows::runtime::Result<()>1633 pub unsafe fn DisableIME(&self, idthread: u32) -> ::windows::runtime::Result<()> {
1634 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), ::std::mem::transmute(idthread)).ok()
1635 }
1636 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1637 pub unsafe fn GetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1638 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwtype), ::std::mem::transmute(pimeparentmenu), ::std::mem::transmute(pimemenu), ::std::mem::transmute(dwsize), ::std::mem::transmute(pdwresult)).ok()
1639 }
1640 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
GetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()>1641 pub unsafe fn GetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(&self, himc: Param0, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::Result<()> {
1642 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), himc.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwtype), ::std::mem::transmute(pimeparentmenu), ::std::mem::transmute(pimemenu), ::std::mem::transmute(dwsize), ::std::mem::transmute(pdwresult)).ok()
1643 }
EnumInputContext(&self, idthread: u32) -> ::windows::runtime::Result<IEnumInputContext>1644 pub unsafe fn EnumInputContext(&self, idthread: u32) -> ::windows::runtime::Result<IEnumInputContext> {
1645 let mut result__: <IEnumInputContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1646 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), ::std::mem::transmute(idthread), &mut result__).from_abi::<IEnumInputContext>(result__)
1647 }
1648 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
RequestMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, himc: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT>1649 pub unsafe fn RequestMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, himc: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT> {
1650 let mut result__: <super::super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1651 (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self), himc.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::LRESULT>(result__)
1652 }
1653 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
RequestMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, himc: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT>1654 pub unsafe fn RequestMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, himc: Param0, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT> {
1655 let mut result__: <super::super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1656 (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self), himc.into_param().abi(), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::LRESULT>(result__)
1657 }
1658 #[cfg(feature = "Win32_Foundation")]
SendIMCA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT>1659 pub unsafe fn SendIMCA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT> {
1660 let mut result__: <super::super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1661 (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(umsg), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::LRESULT>(result__)
1662 }
1663 #[cfg(feature = "Win32_Foundation")]
SendIMCW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT>1664 pub unsafe fn SendIMCW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, hwnd: Param0, umsg: u32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<super::super::super::Foundation::LRESULT> {
1665 let mut result__: <super::super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1666 (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(umsg), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::super::Foundation::LRESULT>(result__)
1667 }
IsSleeping(&self) -> ::windows::runtime::Result<()>1668 pub unsafe fn IsSleeping(&self) -> ::windows::runtime::Result<()> {
1669 (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self)).ok()
1670 }
1671 }
1672 unsafe impl ::windows::runtime::Interface for IActiveIMMIME {
1673 type Vtable = IActiveIMMIME_abi;
1674 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(146813969, 63851, 4560, [164, 117, 0, 170, 0, 107, 204, 89]);
1675 }
1676 impl ::std::convert::From<IActiveIMMIME> for ::windows::runtime::IUnknown {
from(value: IActiveIMMIME) -> Self1677 fn from(value: IActiveIMMIME) -> Self {
1678 unsafe { ::std::mem::transmute(value) }
1679 }
1680 }
1681 impl ::std::convert::From<&IActiveIMMIME> for ::windows::runtime::IUnknown {
from(value: &IActiveIMMIME) -> Self1682 fn from(value: &IActiveIMMIME) -> Self {
1683 ::std::convert::From::from(::std::clone::Clone::clone(value))
1684 }
1685 }
1686 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIMMIME {
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(self))
1689 }
1690 }
1691 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIMMIME {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1692 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1693 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1694 }
1695 }
1696 #[repr(C)]
1697 #[doc(hidden)]
1698 pub struct IActiveIMMIME_abi(
1699 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1700 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1701 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1702 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, hime: super::super::super::Globalization::HIMC, phprev: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1703 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1704 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pdata: *const REGISTERWORDA) -> ::windows::runtime::HRESULT,
1705 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1706 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, hwnd: super::super::super::Foundation::HWND, dwmode: u32, pdata: *const REGISTERWORDW) -> ::windows::runtime::HRESULT,
1707 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1708 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phimc: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1709 #[cfg(not(feature = "Win32_Globalization"))] usize,
1710 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hime: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1711 #[cfg(not(feature = "Win32_Globalization"))] usize,
1712 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szregister: super::super::super::Foundation::PSTR, pdata: *const ::std::ffi::c_void, penum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1713 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1714 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR, pdata: *const ::std::ffi::c_void, penum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1715 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1716 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1717 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1718 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, uescape: u32, pdata: *mut ::std::ffi::c_void, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1719 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1720 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1721 #[cfg(not(feature = "Win32_Globalization"))] usize,
1722 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, ubuflen: u32, pcandlist: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1723 #[cfg(not(feature = "Win32_Globalization"))] usize,
1724 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::HRESULT,
1725 #[cfg(not(feature = "Win32_Globalization"))] usize,
1726 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pdwlistsize: *mut u32, pdwbuflen: *mut u32) -> ::windows::runtime::HRESULT,
1727 #[cfg(not(feature = "Win32_Globalization"))] usize,
1728 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcandidate: *mut CANDIDATEFORM) -> ::windows::runtime::HRESULT,
1729 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1730 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::HRESULT,
1731 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1732 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::HRESULT,
1733 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1734 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1735 #[cfg(not(feature = "Win32_Globalization"))] usize,
1736 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, plcopied: *mut i32, pbuf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1737 #[cfg(not(feature = "Win32_Globalization"))] usize,
1738 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcompform: *mut COMPOSITIONFORM) -> ::windows::runtime::HRESULT,
1739 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1740 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, phimc: *mut super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1741 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1742 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, psrc: super::super::super::Foundation::PSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1743 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1744 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, himc: super::super::super::Globalization::HIMC, psrc: super::super::super::Foundation::PWSTR, ubuflen: u32, uflag: u32, pdst: *mut CANDIDATELIST, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1745 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices")))] usize,
1746 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pfdwconversion: *mut u32, pfdwsentence: *mut u32) -> ::windows::runtime::HRESULT,
1747 #[cfg(not(feature = "Win32_Globalization"))] usize,
1748 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, phdefwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1749 #[cfg(not(feature = "Win32_Foundation"))] usize,
1750 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szdescription: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1751 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1752 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szdescription: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1753 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1754 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PSTR, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1755 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1756 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, dwbuflen: u32, pbuf: super::super::super::Foundation::PWSTR, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1757 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1758 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szfilename: super::super::super::Foundation::PSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1759 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1760 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ubuflen: u32, szfilename: super::super::super::Foundation::PWSTR, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1761 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1762 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1763 #[cfg(not(feature = "Win32_Globalization"))] usize,
1764 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, fdwindex: u32, pdwproperty: *mut u32) -> ::windows::runtime::HRESULT,
1765 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1766 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, nitem: u32, pstylebuf: *mut STYLEBUFA, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1767 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1768 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, nitem: u32, pstylebuf: *mut STYLEBUFW, pucopied: *mut u32) -> ::windows::runtime::HRESULT,
1769 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1770 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pptpos: *mut super::super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
1771 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1772 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, puvirtualkey: *mut u32) -> ::windows::runtime::HRESULT,
1773 #[cfg(not(feature = "Win32_Foundation"))] usize,
1774 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szimefilename: super::super::super::Foundation::PSTR, szlayouttext: super::super::super::Foundation::PSTR, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1775 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1776 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szimefilename: super::super::super::Foundation::PWSTR, szlayouttext: super::super::super::Foundation::PWSTR, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1777 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1778 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1779 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1780 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndime: super::super::super::Foundation::HWND, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
1781 #[cfg(not(feature = "Win32_Foundation"))] usize,
1782 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndime: super::super::super::Foundation::HWND, msg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
1783 #[cfg(not(feature = "Win32_Foundation"))] usize,
1784 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwaction: u32, dwindex: u32, dwvalue: u32) -> ::windows::runtime::HRESULT,
1785 #[cfg(not(feature = "Win32_Globalization"))] usize,
1786 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szregister: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1787 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1788 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szregister: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1789 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1790 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1791 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1792 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcandidate: *const CANDIDATEFORM) -> ::windows::runtime::HRESULT,
1793 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1794 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> ::windows::runtime::HRESULT,
1795 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1796 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, plf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> ::windows::runtime::HRESULT,
1797 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1798 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
1799 #[cfg(not(feature = "Win32_Globalization"))] usize,
1800 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwindex: u32, pcomp: *const ::std::ffi::c_void, dwcomplen: u32, pread: *const ::std::ffi::c_void, dwreadlen: u32) -> ::windows::runtime::HRESULT,
1801 #[cfg(not(feature = "Win32_Globalization"))] usize,
1802 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pcompform: *const COMPOSITIONFORM) -> ::windows::runtime::HRESULT,
1803 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1804 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fdwconversion: u32, fdwsentence: u32) -> ::windows::runtime::HRESULT,
1805 #[cfg(not(feature = "Win32_Globalization"))] usize,
1806 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, fopen: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1807 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1808 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pptpos: *const super::super::super::Foundation::POINT) -> ::windows::runtime::HRESULT,
1809 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1810 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, dwhotkeyid: u32) -> ::windows::runtime::HRESULT,
1811 #[cfg(not(feature = "Win32_Foundation"))] usize,
1812 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PSTR, dwstyle: u32, szunregister: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
1813 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1814 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, szreading: super::super::super::Foundation::PWSTR, dwstyle: u32, szunregister: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1815 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices")))] usize,
1816 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1817 #[cfg(not(feature = "Win32_Globalization"))] usize,
1818 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, ppimc: *mut *mut INPUTCONTEXT) -> ::windows::runtime::HRESULT,
1819 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1820 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC) -> ::windows::runtime::HRESULT,
1821 #[cfg(not(feature = "Win32_Globalization"))] usize,
1822 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, pdwlockcount: *mut u32) -> ::windows::runtime::HRESULT,
1823 #[cfg(not(feature = "Win32_Globalization"))] usize,
1824 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwsize: u32, phimcc: *mut super::super::super::Globalization::HIMCC) -> ::windows::runtime::HRESULT,
1825 #[cfg(not(feature = "Win32_Globalization"))] usize,
1826 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC) -> ::windows::runtime::HRESULT,
1827 #[cfg(not(feature = "Win32_Globalization"))] usize,
1828 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC, ppv: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1829 #[cfg(not(feature = "Win32_Globalization"))] usize,
1830 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC) -> ::windows::runtime::HRESULT,
1831 #[cfg(not(feature = "Win32_Globalization"))] usize,
1832 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC, dwsize: u32, phimcc: *mut super::super::super::Globalization::HIMCC) -> ::windows::runtime::HRESULT,
1833 #[cfg(not(feature = "Win32_Globalization"))] usize,
1834 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC, pdwsize: *mut u32) -> ::windows::runtime::HRESULT,
1835 #[cfg(not(feature = "Win32_Globalization"))] usize,
1836 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himcc: super::super::super::Globalization::HIMCC, pdwlockcount: *mut u32) -> ::windows::runtime::HRESULT,
1837 #[cfg(not(feature = "Win32_Globalization"))] usize,
1838 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwhotkeyid: u32, pumodifiers: *mut u32, puvkey: *mut u32, phkl: *mut super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1839 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1840 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwhotkeyid: u32, umodifiers: u32, uvkey: u32, hkl: super::super::TextServices::HKL) -> ::windows::runtime::HRESULT,
1841 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1842 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, utype: u32, howner: super::super::super::Foundation::HWND, x: i32, y: i32, phsoftkbdwnd: *mut super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1843 #[cfg(not(feature = "Win32_Foundation"))] usize,
1844 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hsoftkbdwnd: super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1845 #[cfg(not(feature = "Win32_Foundation"))] usize,
1846 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hsoftkbdwnd: super::super::super::Foundation::HWND, ncmdshow: i32) -> ::windows::runtime::HRESULT,
1847 #[cfg(not(feature = "Win32_Foundation"))] usize,
1848 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, ucodepage: *mut u32) -> ::windows::runtime::HRESULT,
1849 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1850 #[cfg(feature = "Win32_UI_TextServices")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hkl: super::super::TextServices::HKL, plid: *mut u16) -> ::windows::runtime::HRESULT,
1851 #[cfg(not(feature = "Win32_UI_TextServices"))] usize,
1852 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lgidime: u16, bvk: u8, bscan: u8, dwflags: u32, dwextrainfo: u32) -> ::windows::runtime::HRESULT,
1853 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1854 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1855 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, himc: super::super::super::Globalization::HIMC, dwflags: u32) -> ::windows::runtime::HRESULT,
1856 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1857 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idthread: u32) -> ::windows::runtime::HRESULT,
1858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOA, pimemenu: *mut IMEMENUITEMINFOA, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1859 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1860 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, dwflags: u32, dwtype: u32, pimeparentmenu: *const IMEMENUITEMINFOW, pimemenu: *mut IMEMENUITEMINFOW, dwsize: u32, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
1861 #[cfg(not(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi")))] usize,
1862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idthread: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1863 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1864 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1865 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, himc: super::super::super::Globalization::HIMC, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1866 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Globalization")))] usize,
1867 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, umsg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1868 #[cfg(not(feature = "Win32_Foundation"))] usize,
1869 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND, umsg: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM, plresult: *mut super::super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
1870 #[cfg(not(feature = "Win32_Foundation"))] usize,
1871 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1872 );
1873 #[repr(transparent)]
1874 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1875 pub struct IActiveIMMMessagePumpOwner(::windows::runtime::IUnknown);
1876 impl IActiveIMMMessagePumpOwner {
Start(&self) -> ::windows::runtime::Result<()>1877 pub unsafe fn Start(&self) -> ::windows::runtime::Result<()> {
1878 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
1879 }
End(&self) -> ::windows::runtime::Result<()>1880 pub unsafe fn End(&self) -> ::windows::runtime::Result<()> {
1881 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
1882 }
1883 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
OnTranslateMessage(&self, pmsg: *const super::super::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>1884 pub unsafe fn OnTranslateMessage(&self, pmsg: *const super::super::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
1885 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg)).ok()
1886 }
Pause(&self) -> ::windows::runtime::Result<u32>1887 pub unsafe fn Pause(&self) -> ::windows::runtime::Result<u32> {
1888 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1889 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
1890 }
Resume(&self, dwcookie: u32) -> ::windows::runtime::Result<()>1891 pub unsafe fn Resume(&self, dwcookie: u32) -> ::windows::runtime::Result<()> {
1892 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwcookie)).ok()
1893 }
1894 }
1895 unsafe impl ::windows::runtime::Interface for IActiveIMMMessagePumpOwner {
1896 type Vtable = IActiveIMMMessagePumpOwner_abi;
1897 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3050253562, 35563, 4561, [147, 100, 0, 96, 176, 103, 184, 110]);
1898 }
1899 impl ::std::convert::From<IActiveIMMMessagePumpOwner> for ::windows::runtime::IUnknown {
from(value: IActiveIMMMessagePumpOwner) -> Self1900 fn from(value: IActiveIMMMessagePumpOwner) -> Self {
1901 unsafe { ::std::mem::transmute(value) }
1902 }
1903 }
1904 impl ::std::convert::From<&IActiveIMMMessagePumpOwner> for ::windows::runtime::IUnknown {
from(value: &IActiveIMMMessagePumpOwner) -> Self1905 fn from(value: &IActiveIMMMessagePumpOwner) -> Self {
1906 ::std::convert::From::from(::std::clone::Clone::clone(value))
1907 }
1908 }
1909 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIMMMessagePumpOwner {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1910 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1911 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1912 }
1913 }
1914 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIMMMessagePumpOwner {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1915 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1916 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1917 }
1918 }
1919 #[repr(C)]
1920 #[doc(hidden)]
1921 pub struct IActiveIMMMessagePumpOwner_abi(
1922 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1923 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1924 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1925 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1926 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1927 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
1928 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
1929 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
1930 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwcookie: u32) -> ::windows::runtime::HRESULT,
1931 );
1932 #[repr(transparent)]
1933 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1934 pub struct IActiveIMMRegistrar(::windows::runtime::IUnknown);
1935 impl IActiveIMMRegistrar {
1936 #[cfg(feature = "Win32_Foundation")]
RegisterIME<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, lgid: u16, psziconfile: Param2, pszdesc: Param3) -> ::windows::runtime::Result<()>1937 pub unsafe fn RegisterIME<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, rclsid: *const ::windows::runtime::GUID, lgid: u16, psziconfile: Param2, pszdesc: Param3) -> ::windows::runtime::Result<()> {
1938 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(lgid), psziconfile.into_param().abi(), pszdesc.into_param().abi()).ok()
1939 }
UnregisterIME(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1940 pub unsafe fn UnregisterIME(&self, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
1941 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid)).ok()
1942 }
1943 }
1944 unsafe impl ::windows::runtime::Interface for IActiveIMMRegistrar {
1945 type Vtable = IActiveIMMRegistrar_abi;
1946 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3007676546, 48384, 4561, [147, 155, 0, 96, 176, 103, 184, 110]);
1947 }
1948 impl ::std::convert::From<IActiveIMMRegistrar> for ::windows::runtime::IUnknown {
from(value: IActiveIMMRegistrar) -> Self1949 fn from(value: IActiveIMMRegistrar) -> Self {
1950 unsafe { ::std::mem::transmute(value) }
1951 }
1952 }
1953 impl ::std::convert::From<&IActiveIMMRegistrar> for ::windows::runtime::IUnknown {
from(value: &IActiveIMMRegistrar) -> Self1954 fn from(value: &IActiveIMMRegistrar) -> Self {
1955 ::std::convert::From::from(::std::clone::Clone::clone(value))
1956 }
1957 }
1958 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IActiveIMMRegistrar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1959 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1960 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1961 }
1962 }
1963 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IActiveIMMRegistrar {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1964 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1965 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1966 }
1967 }
1968 #[repr(C)]
1969 #[doc(hidden)]
1970 pub struct IActiveIMMRegistrar_abi(
1971 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1972 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1973 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1974 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, lgid: u16, psziconfile: super::super::super::Foundation::PWSTR, pszdesc: super::super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1975 #[cfg(not(feature = "Win32_Foundation"))] usize,
1976 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
1977 );
1978 #[repr(transparent)]
1979 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1980 pub struct IEnumInputContext(::windows::runtime::IUnknown);
1981 impl IEnumInputContext {
Clone(&self) -> ::windows::runtime::Result<IEnumInputContext>1982 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumInputContext> {
1983 let mut result__: <IEnumInputContext as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1984 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumInputContext>(result__)
1985 }
1986 #[cfg(feature = "Win32_Globalization")]
Next(&self, ulcount: u32, rginputcontext: *mut super::super::super::Globalization::HIMC, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1987 pub unsafe fn Next(&self, ulcount: u32, rginputcontext: *mut super::super::super::Globalization::HIMC, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1988 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rginputcontext), ::std::mem::transmute(pcfetched)).ok()
1989 }
Reset(&self) -> ::windows::runtime::Result<()>1990 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1991 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1992 }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>1993 pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
1994 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
1995 }
1996 }
1997 unsafe impl ::windows::runtime::Interface for IEnumInputContext {
1998 type Vtable = IEnumInputContext_abi;
1999 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(162917040, 63895, 4561, [147, 212, 0, 96, 176, 103, 184, 110]);
2000 }
2001 impl ::std::convert::From<IEnumInputContext> for ::windows::runtime::IUnknown {
from(value: IEnumInputContext) -> Self2002 fn from(value: IEnumInputContext) -> Self {
2003 unsafe { ::std::mem::transmute(value) }
2004 }
2005 }
2006 impl ::std::convert::From<&IEnumInputContext> for ::windows::runtime::IUnknown {
from(value: &IEnumInputContext) -> Self2007 fn from(value: &IEnumInputContext) -> Self {
2008 ::std::convert::From::from(::std::clone::Clone::clone(value))
2009 }
2010 }
2011 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumInputContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2012 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2013 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2014 }
2015 }
2016 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumInputContext {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2017 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2018 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2019 }
2020 }
2021 #[repr(C)]
2022 #[doc(hidden)]
2023 pub struct IEnumInputContext_abi(
2024 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2025 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2026 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2028 #[cfg(feature = "Win32_Globalization")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rginputcontext: *mut super::super::super::Globalization::HIMC, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2029 #[cfg(not(feature = "Win32_Globalization"))] usize,
2030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
2032 );
2033 #[repr(transparent)]
2034 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2035 pub struct IEnumRegisterWordA(::windows::runtime::IUnknown);
2036 impl IEnumRegisterWordA {
Clone(&self) -> ::windows::runtime::Result<IEnumRegisterWordA>2037 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumRegisterWordA> {
2038 let mut result__: <IEnumRegisterWordA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2039 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumRegisterWordA>(result__)
2040 }
2041 #[cfg(feature = "Win32_Foundation")]
Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDA, pcfetched: *mut u32) -> ::windows::runtime::Result<()>2042 pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDA, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
2043 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgregisterword), ::std::mem::transmute(pcfetched)).ok()
2044 }
Reset(&self) -> ::windows::runtime::Result<()>2045 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
2046 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
2047 }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>2048 pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
2049 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
2050 }
2051 }
2052 unsafe impl ::windows::runtime::Interface for IEnumRegisterWordA {
2053 type Vtable = IEnumRegisterWordA_abi;
2054 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(146813970, 63851, 4560, [164, 117, 0, 170, 0, 107, 204, 89]);
2055 }
2056 impl ::std::convert::From<IEnumRegisterWordA> for ::windows::runtime::IUnknown {
from(value: IEnumRegisterWordA) -> Self2057 fn from(value: IEnumRegisterWordA) -> Self {
2058 unsafe { ::std::mem::transmute(value) }
2059 }
2060 }
2061 impl ::std::convert::From<&IEnumRegisterWordA> for ::windows::runtime::IUnknown {
from(value: &IEnumRegisterWordA) -> Self2062 fn from(value: &IEnumRegisterWordA) -> Self {
2063 ::std::convert::From::from(::std::clone::Clone::clone(value))
2064 }
2065 }
2066 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumRegisterWordA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2067 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2068 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2069 }
2070 }
2071 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumRegisterWordA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2072 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2073 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2074 }
2075 }
2076 #[repr(C)]
2077 #[doc(hidden)]
2078 pub struct IEnumRegisterWordA_abi(
2079 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2080 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2081 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2083 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgregisterword: *mut REGISTERWORDA, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2084 #[cfg(not(feature = "Win32_Foundation"))] usize,
2085 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2086 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
2087 );
2088 #[repr(transparent)]
2089 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2090 pub struct IEnumRegisterWordW(::windows::runtime::IUnknown);
2091 impl IEnumRegisterWordW {
Clone(&self) -> ::windows::runtime::Result<IEnumRegisterWordW>2092 pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumRegisterWordW> {
2093 let mut result__: <IEnumRegisterWordW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2094 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumRegisterWordW>(result__)
2095 }
2096 #[cfg(feature = "Win32_Foundation")]
Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDW, pcfetched: *mut u32) -> ::windows::runtime::Result<()>2097 pub unsafe fn Next(&self, ulcount: u32, rgregisterword: *mut REGISTERWORDW, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
2098 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount), ::std::mem::transmute(rgregisterword), ::std::mem::transmute(pcfetched)).ok()
2099 }
Reset(&self) -> ::windows::runtime::Result<()>2100 pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
2101 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
2102 }
Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()>2103 pub unsafe fn Skip(&self, ulcount: u32) -> ::windows::runtime::Result<()> {
2104 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulcount)).ok()
2105 }
2106 }
2107 unsafe impl ::windows::runtime::Interface for IEnumRegisterWordW {
2108 type Vtable = IEnumRegisterWordW_abi;
2109 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1230363953, 45401, 4560, [143, 207, 0, 170, 0, 107, 204, 89]);
2110 }
2111 impl ::std::convert::From<IEnumRegisterWordW> for ::windows::runtime::IUnknown {
from(value: IEnumRegisterWordW) -> Self2112 fn from(value: IEnumRegisterWordW) -> Self {
2113 unsafe { ::std::mem::transmute(value) }
2114 }
2115 }
2116 impl ::std::convert::From<&IEnumRegisterWordW> for ::windows::runtime::IUnknown {
from(value: &IEnumRegisterWordW) -> Self2117 fn from(value: &IEnumRegisterWordW) -> Self {
2118 ::std::convert::From::from(::std::clone::Clone::clone(value))
2119 }
2120 }
2121 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumRegisterWordW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2122 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2123 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2124 }
2125 }
2126 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumRegisterWordW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2127 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2128 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2129 }
2130 }
2131 #[repr(C)]
2132 #[doc(hidden)]
2133 pub struct IEnumRegisterWordW_abi(
2134 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2135 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2138 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32, rgregisterword: *mut REGISTERWORDW, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
2139 #[cfg(not(feature = "Win32_Foundation"))] usize,
2140 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2141 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulcount: u32) -> ::windows::runtime::HRESULT,
2142 );
2143 pub const IFEC_S_ALREADY_DEFAULT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(291840i32 as _);
2144 #[repr(transparent)]
2145 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2146 pub struct IFEClassFactory(::windows::runtime::IUnknown);
2147 impl IFEClassFactory {
CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, T: ::windows::runtime::Interface>(&self, punkouter: Param0) -> ::windows::runtime::Result<T>2148 pub unsafe fn CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, T: ::windows::runtime::Interface>(&self, punkouter: Param0) -> ::windows::runtime::Result<T> {
2149 let mut result__ = ::std::option::Option::None;
2150 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), punkouter.into_param().abi(), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
2151 }
2152 #[cfg(feature = "Win32_Foundation")]
LockServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()>2153 pub unsafe fn LockServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()> {
2154 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), flock.into_param().abi()).ok()
2155 }
2156 }
2157 unsafe impl ::windows::runtime::Interface for IFEClassFactory {
2158 type Vtable = IFEClassFactory_abi;
2159 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
2160 }
2161 impl ::std::convert::From<IFEClassFactory> for ::windows::runtime::IUnknown {
from(value: IFEClassFactory) -> Self2162 fn from(value: IFEClassFactory) -> Self {
2163 unsafe { ::std::mem::transmute(value) }
2164 }
2165 }
2166 impl ::std::convert::From<&IFEClassFactory> for ::windows::runtime::IUnknown {
from(value: &IFEClassFactory) -> Self2167 fn from(value: &IFEClassFactory) -> Self {
2168 ::std::convert::From::from(::std::clone::Clone::clone(value))
2169 }
2170 }
2171 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFEClassFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2172 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2173 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2174 }
2175 }
2176 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFEClassFactory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2177 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2178 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2179 }
2180 }
2181 #[cfg(feature = "Win32_System_Com")]
2182 impl ::std::convert::From<IFEClassFactory> for super::super::super::System::Com::IClassFactory {
from(value: IFEClassFactory) -> Self2183 fn from(value: IFEClassFactory) -> Self {
2184 unsafe { ::std::mem::transmute(value) }
2185 }
2186 }
2187 #[cfg(feature = "Win32_System_Com")]
2188 impl ::std::convert::From<&IFEClassFactory> for super::super::super::System::Com::IClassFactory {
from(value: &IFEClassFactory) -> Self2189 fn from(value: &IFEClassFactory) -> Self {
2190 ::std::convert::From::from(::std::clone::Clone::clone(value))
2191 }
2192 }
2193 #[cfg(feature = "Win32_System_Com")]
2194 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IClassFactory> for IFEClassFactory {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IClassFactory>2195 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IClassFactory> {
2196 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IClassFactory>::into(self))
2197 }
2198 }
2199 #[cfg(feature = "Win32_System_Com")]
2200 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IClassFactory> for &IFEClassFactory {
into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IClassFactory>2201 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Com::IClassFactory> {
2202 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Com::IClassFactory>::into(::std::clone::Clone::clone(self)))
2203 }
2204 }
2205 #[repr(C)]
2206 #[doc(hidden)]
2207 pub struct IFEClassFactory_abi(
2208 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2209 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2210 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2211 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punkouter: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
2212 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2213 #[cfg(not(feature = "Win32_Foundation"))] usize,
2214 );
2215 #[repr(transparent)]
2216 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2217 pub struct IFECommon(::windows::runtime::IUnknown);
2218 impl IFECommon {
2219 #[cfg(feature = "Win32_Foundation")]
IsDefaultIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szname: Param0, cszname: i32) -> ::windows::runtime::Result<()>2220 pub unsafe fn IsDefaultIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, szname: Param0, cszname: i32) -> ::windows::runtime::Result<()> {
2221 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), szname.into_param().abi(), ::std::mem::transmute(cszname)).ok()
2222 }
SetDefaultIME(&self) -> ::windows::runtime::Result<()>2223 pub unsafe fn SetDefaultIME(&self) -> ::windows::runtime::Result<()> {
2224 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2225 }
2226 #[cfg(feature = "Win32_Foundation")]
InvokeWordRegDialog(&self, pimedlg: *mut IMEDLG) -> ::windows::runtime::Result<()>2227 pub unsafe fn InvokeWordRegDialog(&self, pimedlg: *mut IMEDLG) -> ::windows::runtime::Result<()> {
2228 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pimedlg)).ok()
2229 }
2230 #[cfg(feature = "Win32_Foundation")]
InvokeDictToolDialog(&self, pimedlg: *mut IMEDLG) -> ::windows::runtime::Result<()>2231 pub unsafe fn InvokeDictToolDialog(&self, pimedlg: *mut IMEDLG) -> ::windows::runtime::Result<()> {
2232 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pimedlg)).ok()
2233 }
2234 }
2235 unsafe impl ::windows::runtime::Interface for IFECommon {
2236 type Vtable = IFECommon_abi;
2237 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(27226449, 59099, 4560, [131, 195, 0, 192, 79, 221, 184, 46]);
2238 }
2239 impl ::std::convert::From<IFECommon> for ::windows::runtime::IUnknown {
from(value: IFECommon) -> Self2240 fn from(value: IFECommon) -> Self {
2241 unsafe { ::std::mem::transmute(value) }
2242 }
2243 }
2244 impl ::std::convert::From<&IFECommon> for ::windows::runtime::IUnknown {
from(value: &IFECommon) -> Self2245 fn from(value: &IFECommon) -> Self {
2246 ::std::convert::From::from(::std::clone::Clone::clone(value))
2247 }
2248 }
2249 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFECommon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2250 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2251 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2252 }
2253 }
2254 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFECommon {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2255 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2256 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2257 }
2258 }
2259 #[repr(C)]
2260 #[doc(hidden)]
2261 pub struct IFECommon_abi(
2262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2265 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szname: super::super::super::Foundation::PSTR, cszname: i32) -> ::windows::runtime::HRESULT,
2266 #[cfg(not(feature = "Win32_Foundation"))] usize,
2267 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2268 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pimedlg: *mut IMEDLG) -> ::windows::runtime::HRESULT,
2269 #[cfg(not(feature = "Win32_Foundation"))] usize,
2270 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pimedlg: *mut IMEDLG) -> ::windows::runtime::HRESULT,
2271 #[cfg(not(feature = "Win32_Foundation"))] usize,
2272 );
2273 pub const IFED_E_INVALID_FORMAT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192063i32 as _);
2274 pub const IFED_E_NOT_FOUND: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192064i32 as _);
2275 pub const IFED_E_NOT_SUPPORTED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192057i32 as _);
2276 pub const IFED_E_NOT_USER_DIC: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192058i32 as _);
2277 pub const IFED_E_NO_ENTRY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192060i32 as _);
2278 pub const IFED_E_OPEN_FAILED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192062i32 as _);
2279 pub const IFED_E_REGISTER_DISCONNECTED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192053i32 as _);
2280 pub const IFED_E_REGISTER_FAILED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192059i32 as _);
2281 pub const IFED_E_REGISTER_ILLEGAL_POS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192055i32 as _);
2282 pub const IFED_E_REGISTER_IMPROPER_WORD: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192054i32 as _);
2283 pub const IFED_E_USER_COMMENT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192056i32 as _);
2284 pub const IFED_E_WRITE_FAILED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147192061i32 as _);
2285 pub const IFED_POS_ADJECTIVE: u32 = 4u32;
2286 pub const IFED_POS_ADJECTIVE_VERB: u32 = 8u32;
2287 pub const IFED_POS_ADNOUN: u32 = 32u32;
2288 pub const IFED_POS_ADVERB: u32 = 16u32;
2289 pub const IFED_POS_AFFIX: u32 = 1536u32;
2290 pub const IFED_POS_ALL: u32 = 131071u32;
2291 pub const IFED_POS_AUXILIARY_VERB: u32 = 32768u32;
2292 pub const IFED_POS_CONJUNCTION: u32 = 64u32;
2293 pub const IFED_POS_DEPENDENT: u32 = 114688u32;
2294 pub const IFED_POS_IDIOMS: u32 = 4096u32;
2295 pub const IFED_POS_INDEPENDENT: u32 = 255u32;
2296 pub const IFED_POS_INFLECTIONALSUFFIX: u32 = 256u32;
2297 pub const IFED_POS_INTERJECTION: u32 = 128u32;
2298 pub const IFED_POS_NONE: u32 = 0u32;
2299 pub const IFED_POS_NOUN: u32 = 1u32;
2300 pub const IFED_POS_PARTICLE: u32 = 16384u32;
2301 pub const IFED_POS_PREFIX: u32 = 512u32;
2302 pub const IFED_POS_SUB_VERB: u32 = 65536u32;
2303 pub const IFED_POS_SUFFIX: u32 = 1024u32;
2304 pub const IFED_POS_SYMBOLS: u32 = 8192u32;
2305 pub const IFED_POS_TANKANJI: u32 = 2048u32;
2306 pub const IFED_POS_VERB: u32 = 2u32;
2307 pub const IFED_REG_ALL: u32 = 7u32;
2308 pub const IFED_REG_AUTO: u32 = 2u32;
2309 pub const IFED_REG_GRAMMAR: u32 = 4u32;
2310 pub const IFED_REG_NONE: u32 = 0u32;
2311 pub const IFED_REG_USER: u32 = 1u32;
2312 pub const IFED_SELECT_ALL: u32 = 15u32;
2313 pub const IFED_SELECT_COMMENT: u32 = 8u32;
2314 pub const IFED_SELECT_DISPLAY: u32 = 2u32;
2315 pub const IFED_SELECT_NONE: u32 = 0u32;
2316 pub const IFED_SELECT_POS: u32 = 4u32;
2317 pub const IFED_SELECT_READING: u32 = 1u32;
2318 pub const IFED_S_COMMENT_CHANGED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(291331i32 as _);
2319 pub const IFED_S_EMPTY_DICTIONARY: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(291329i32 as _);
2320 pub const IFED_S_MORE_ENTRIES: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(291328i32 as _);
2321 pub const IFED_S_WORD_EXISTS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(291330i32 as _);
2322 pub const IFED_TYPE_ALL: u32 = 31u32;
2323 pub const IFED_TYPE_ENGLISH: u32 = 16u32;
2324 pub const IFED_TYPE_GENERAL: u32 = 1u32;
2325 pub const IFED_TYPE_NAMEPLACE: u32 = 2u32;
2326 pub const IFED_TYPE_NONE: u32 = 0u32;
2327 pub const IFED_TYPE_REVERSE: u32 = 8u32;
2328 pub const IFED_TYPE_SPEECH: u32 = 4u32;
2329 #[repr(transparent)]
2330 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2331 pub struct IFEDictionary(::windows::runtime::IUnknown);
2332 impl IFEDictionary {
2333 #[cfg(feature = "Win32_Foundation")]
Open<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF) -> ::windows::runtime::Result<()>2334 pub unsafe fn Open<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF) -> ::windows::runtime::Result<()> {
2335 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pchdictpath.into_param().abi(), ::std::mem::transmute(pshf)).ok()
2336 }
Close(&self) -> ::windows::runtime::Result<()>2337 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
2338 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2339 }
2340 #[cfg(feature = "Win32_Foundation")]
GetHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF, pjfmt: *mut IMEFMT, pultype: *mut u32) -> ::windows::runtime::Result<()>2341 pub unsafe fn GetHeader<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF, pjfmt: *mut IMEFMT, pultype: *mut u32) -> ::windows::runtime::Result<()> {
2342 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pchdictpath.into_param().abi(), ::std::mem::transmute(pshf), ::std::mem::transmute(pjfmt), ::std::mem::transmute(pultype)).ok()
2343 }
2344 #[cfg(feature = "Win32_Foundation")]
DisplayProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()>2345 pub unsafe fn DisplayProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwnd: Param0) -> ::windows::runtime::Result<()> {
2346 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), hwnd.into_param().abi()).ok()
2347 }
GetPosTable(&self, prgpostbl: *mut *mut POSTBL, pcpostbl: *mut i32) -> ::windows::runtime::Result<()>2348 pub unsafe fn GetPosTable(&self, prgpostbl: *mut *mut POSTBL, pcpostbl: *mut i32) -> ::windows::runtime::Result<()> {
2349 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(prgpostbl), ::std::mem::transmute(pcpostbl)).ok()
2350 }
2351 #[cfg(feature = "Win32_Foundation")]
GetWords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwchfirst: Param0, pwchlast: Param1, pwchdisplay: Param2, ulpos: u32, ulselect: u32, ulwordsrc: u32, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::Result<()>2352 pub unsafe fn GetWords<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, pwchfirst: Param0, pwchlast: Param1, pwchdisplay: Param2, ulpos: u32, ulselect: u32, ulwordsrc: u32, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::Result<()> {
2353 (::windows::runtime::Interface::vtable(self).8)(
2354 ::std::mem::transmute_copy(self),
2355 pwchfirst.into_param().abi(),
2356 pwchlast.into_param().abi(),
2357 pwchdisplay.into_param().abi(),
2358 ::std::mem::transmute(ulpos),
2359 ::std::mem::transmute(ulselect),
2360 ::std::mem::transmute(ulwordsrc),
2361 ::std::mem::transmute(pchbuffer),
2362 ::std::mem::transmute(cbbuffer),
2363 ::std::mem::transmute(pcwrd),
2364 )
2365 .ok()
2366 }
NextWords(&self, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::Result<()>2367 pub unsafe fn NextWords(&self, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::Result<()> {
2368 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(pchbuffer), ::std::mem::transmute(cbbuffer), ::std::mem::transmute(pcwrd)).ok()
2369 }
2370 #[cfg(feature = "Win32_Foundation")]
Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF) -> ::windows::runtime::Result<()>2371 pub unsafe fn Create<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdictpath: Param0, pshf: *mut IMESHF) -> ::windows::runtime::Result<()> {
2372 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pchdictpath.into_param().abi(), ::std::mem::transmute(pshf)).ok()
2373 }
2374 #[cfg(feature = "Win32_Foundation")]
SetHeader(&self, pshf: *mut IMESHF) -> ::windows::runtime::Result<()>2375 pub unsafe fn SetHeader(&self, pshf: *mut IMESHF) -> ::windows::runtime::Result<()> {
2376 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(pshf)).ok()
2377 }
2378 #[cfg(feature = "Win32_Foundation")]
ExistWord(&self, pwrd: *mut IMEWRD) -> ::windows::runtime::Result<()>2379 pub unsafe fn ExistWord(&self, pwrd: *mut IMEWRD) -> ::windows::runtime::Result<()> {
2380 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(pwrd)).ok()
2381 }
2382 #[cfg(feature = "Win32_Foundation")]
ExistDependency(&self, pdp: *mut IMEDP) -> ::windows::runtime::Result<()>2383 pub unsafe fn ExistDependency(&self, pdp: *mut IMEDP) -> ::windows::runtime::Result<()> {
2384 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdp)).ok()
2385 }
2386 #[cfg(feature = "Win32_Foundation")]
RegisterWord(&self, reg: IMEREG, pwrd: *mut IMEWRD) -> ::windows::runtime::Result<()>2387 pub unsafe fn RegisterWord(&self, reg: IMEREG, pwrd: *mut IMEWRD) -> ::windows::runtime::Result<()> {
2388 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(reg), ::std::mem::transmute(pwrd)).ok()
2389 }
2390 #[cfg(feature = "Win32_Foundation")]
RegisterDependency(&self, reg: IMEREG, pdp: *mut IMEDP) -> ::windows::runtime::Result<()>2391 pub unsafe fn RegisterDependency(&self, reg: IMEREG, pdp: *mut IMEDP) -> ::windows::runtime::Result<()> {
2392 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(reg), ::std::mem::transmute(pdp)).ok()
2393 }
2394 #[cfg(feature = "Win32_Foundation")]
GetDependencies<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>( &self, pwchkakarireading: Param0, pwchkakaridisplay: Param1, ulkakaripos: u32, pwchukereading: Param3, pwchukedisplay: Param4, ulukepos: u32, jrel: IMEREL, ulwordsrc: u32, pchbuffer: *mut u8, cbbuffer: u32, pcdp: *mut u32, ) -> ::windows::runtime::Result<()>2395 pub unsafe fn GetDependencies<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(
2396 &self,
2397 pwchkakarireading: Param0,
2398 pwchkakaridisplay: Param1,
2399 ulkakaripos: u32,
2400 pwchukereading: Param3,
2401 pwchukedisplay: Param4,
2402 ulukepos: u32,
2403 jrel: IMEREL,
2404 ulwordsrc: u32,
2405 pchbuffer: *mut u8,
2406 cbbuffer: u32,
2407 pcdp: *mut u32,
2408 ) -> ::windows::runtime::Result<()> {
2409 (::windows::runtime::Interface::vtable(self).16)(
2410 ::std::mem::transmute_copy(self),
2411 pwchkakarireading.into_param().abi(),
2412 pwchkakaridisplay.into_param().abi(),
2413 ::std::mem::transmute(ulkakaripos),
2414 pwchukereading.into_param().abi(),
2415 pwchukedisplay.into_param().abi(),
2416 ::std::mem::transmute(ulukepos),
2417 ::std::mem::transmute(jrel),
2418 ::std::mem::transmute(ulwordsrc),
2419 ::std::mem::transmute(pchbuffer),
2420 ::std::mem::transmute(cbbuffer),
2421 ::std::mem::transmute(pcdp),
2422 )
2423 .ok()
2424 }
NextDependencies(&self, pchbuffer: *mut u8, cbbuffer: u32, pcdp: *mut u32) -> ::windows::runtime::Result<()>2425 pub unsafe fn NextDependencies(&self, pchbuffer: *mut u8, cbbuffer: u32, pcdp: *mut u32) -> ::windows::runtime::Result<()> {
2426 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pchbuffer), ::std::mem::transmute(cbbuffer), ::std::mem::transmute(pcdp)).ok()
2427 }
2428 #[cfg(feature = "Win32_Foundation")]
ConvertFromOldMSIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdic: Param0, pfnlog: ::std::option::Option<PFNLOG>, reg: IMEREG) -> ::windows::runtime::Result<()>2429 pub unsafe fn ConvertFromOldMSIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, pchdic: Param0, pfnlog: ::std::option::Option<PFNLOG>, reg: IMEREG) -> ::windows::runtime::Result<()> {
2430 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), pchdic.into_param().abi(), ::std::mem::transmute(pfnlog), ::std::mem::transmute(reg)).ok()
2431 }
ConvertFromUserToSys(&self) -> ::windows::runtime::Result<()>2432 pub unsafe fn ConvertFromUserToSys(&self) -> ::windows::runtime::Result<()> {
2433 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok()
2434 }
2435 }
2436 unsafe impl ::windows::runtime::Interface for IFEDictionary {
2437 type Vtable = IFEDictionary_abi;
2438 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(27226451, 59099, 4560, [131, 195, 0, 192, 79, 221, 184, 46]);
2439 }
2440 impl ::std::convert::From<IFEDictionary> for ::windows::runtime::IUnknown {
from(value: IFEDictionary) -> Self2441 fn from(value: IFEDictionary) -> Self {
2442 unsafe { ::std::mem::transmute(value) }
2443 }
2444 }
2445 impl ::std::convert::From<&IFEDictionary> for ::windows::runtime::IUnknown {
from(value: &IFEDictionary) -> Self2446 fn from(value: &IFEDictionary) -> Self {
2447 ::std::convert::From::from(::std::clone::Clone::clone(value))
2448 }
2449 }
2450 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFEDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2451 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2452 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2453 }
2454 }
2455 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFEDictionary {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2456 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2457 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2458 }
2459 }
2460 #[repr(C)]
2461 #[doc(hidden)]
2462 pub struct IFEDictionary_abi(
2463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2466 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchdictpath: super::super::super::Foundation::PSTR, pshf: *mut IMESHF) -> ::windows::runtime::HRESULT,
2467 #[cfg(not(feature = "Win32_Foundation"))] usize,
2468 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2469 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchdictpath: super::super::super::Foundation::PSTR, pshf: *mut IMESHF, pjfmt: *mut IMEFMT, pultype: *mut u32) -> ::windows::runtime::HRESULT,
2470 #[cfg(not(feature = "Win32_Foundation"))] usize,
2471 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
2472 #[cfg(not(feature = "Win32_Foundation"))] usize,
2473 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prgpostbl: *mut *mut POSTBL, pcpostbl: *mut i32) -> ::windows::runtime::HRESULT,
2474 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwchfirst: super::super::super::Foundation::PWSTR, pwchlast: super::super::super::Foundation::PWSTR, pwchdisplay: super::super::super::Foundation::PWSTR, ulpos: u32, ulselect: u32, ulwordsrc: u32, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::HRESULT,
2475 #[cfg(not(feature = "Win32_Foundation"))] usize,
2476 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchbuffer: *mut u8, cbbuffer: u32, pcwrd: *mut u32) -> ::windows::runtime::HRESULT,
2477 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchdictpath: super::super::super::Foundation::PSTR, pshf: *mut IMESHF) -> ::windows::runtime::HRESULT,
2478 #[cfg(not(feature = "Win32_Foundation"))] usize,
2479 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pshf: *mut IMESHF) -> ::windows::runtime::HRESULT,
2480 #[cfg(not(feature = "Win32_Foundation"))] usize,
2481 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwrd: *mut IMEWRD) -> ::windows::runtime::HRESULT,
2482 #[cfg(not(feature = "Win32_Foundation"))] usize,
2483 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdp: *mut IMEDP) -> ::windows::runtime::HRESULT,
2484 #[cfg(not(feature = "Win32_Foundation"))] usize,
2485 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reg: IMEREG, pwrd: *mut IMEWRD) -> ::windows::runtime::HRESULT,
2486 #[cfg(not(feature = "Win32_Foundation"))] usize,
2487 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reg: IMEREG, pdp: *mut IMEDP) -> ::windows::runtime::HRESULT,
2488 #[cfg(not(feature = "Win32_Foundation"))] usize,
2489 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwchkakarireading: super::super::super::Foundation::PWSTR, pwchkakaridisplay: super::super::super::Foundation::PWSTR, ulkakaripos: u32, pwchukereading: super::super::super::Foundation::PWSTR, pwchukedisplay: super::super::super::Foundation::PWSTR, ulukepos: u32, jrel: IMEREL, ulwordsrc: u32, pchbuffer: *mut u8, cbbuffer: u32, pcdp: *mut u32) -> ::windows::runtime::HRESULT,
2490 #[cfg(not(feature = "Win32_Foundation"))] usize,
2491 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchbuffer: *mut u8, cbbuffer: u32, pcdp: *mut u32) -> ::windows::runtime::HRESULT,
2492 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pchdic: super::super::super::Foundation::PSTR, pfnlog: ::windows::runtime::RawPtr, reg: IMEREG) -> ::windows::runtime::HRESULT,
2493 #[cfg(not(feature = "Win32_Foundation"))] usize,
2494 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2495 );
2496 #[repr(transparent)]
2497 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2498 pub struct IFELanguage(::windows::runtime::IUnknown);
2499 impl IFELanguage {
Open(&self) -> ::windows::runtime::Result<()>2500 pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> {
2501 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
2502 }
Close(&self) -> ::windows::runtime::Result<()>2503 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
2504 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2505 }
2506 #[cfg(feature = "Win32_Foundation")]
GetJMorphResult<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, dwrequest: u32, dwcmode: u32, cwchinput: i32, pwchinput: Param3, pfcinfo: *mut u32, ppresult: *mut *mut MORRSLT) -> ::windows::runtime::Result<()>2507 pub unsafe fn GetJMorphResult<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(&self, dwrequest: u32, dwcmode: u32, cwchinput: i32, pwchinput: Param3, pfcinfo: *mut u32, ppresult: *mut *mut MORRSLT) -> ::windows::runtime::Result<()> {
2508 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwrequest), ::std::mem::transmute(dwcmode), ::std::mem::transmute(cwchinput), pwchinput.into_param().abi(), ::std::mem::transmute(pfcinfo), ::std::mem::transmute(ppresult)).ok()
2509 }
GetConversionModeCaps(&self, pdwcaps: *mut u32) -> ::windows::runtime::Result<()>2510 pub unsafe fn GetConversionModeCaps(&self, pdwcaps: *mut u32) -> ::windows::runtime::Result<()> {
2511 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pdwcaps)).ok()
2512 }
2513 #[cfg(feature = "Win32_Foundation")]
GetPhonetic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, string: Param0, start: i32, length: i32, phonetic: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2514 pub unsafe fn GetPhonetic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, string: Param0, start: i32, length: i32, phonetic: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> {
2515 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), string.into_param().abi(), ::std::mem::transmute(start), ::std::mem::transmute(length), ::std::mem::transmute(phonetic)).ok()
2516 }
2517 #[cfg(feature = "Win32_Foundation")]
GetConversion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, string: Param0, start: i32, length: i32, result: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()>2518 pub unsafe fn GetConversion<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, string: Param0, start: i32, length: i32, result: *mut super::super::super::Foundation::BSTR) -> ::windows::runtime::Result<()> {
2519 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), string.into_param().abi(), ::std::mem::transmute(start), ::std::mem::transmute(length), ::std::mem::transmute(result)).ok()
2520 }
2521 }
2522 unsafe impl ::windows::runtime::Interface for IFELanguage {
2523 type Vtable = IFELanguage_abi;
2524 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(27226450, 59099, 4560, [131, 195, 0, 192, 79, 221, 184, 46]);
2525 }
2526 impl ::std::convert::From<IFELanguage> for ::windows::runtime::IUnknown {
from(value: IFELanguage) -> Self2527 fn from(value: IFELanguage) -> Self {
2528 unsafe { ::std::mem::transmute(value) }
2529 }
2530 }
2531 impl ::std::convert::From<&IFELanguage> for ::windows::runtime::IUnknown {
from(value: &IFELanguage) -> Self2532 fn from(value: &IFELanguage) -> Self {
2533 ::std::convert::From::from(::std::clone::Clone::clone(value))
2534 }
2535 }
2536 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFELanguage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2537 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2538 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2539 }
2540 }
2541 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFELanguage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2542 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2543 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2544 }
2545 }
2546 #[repr(C)]
2547 #[doc(hidden)]
2548 pub struct IFELanguage_abi(
2549 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2550 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2551 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2553 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2554 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwrequest: u32, dwcmode: u32, cwchinput: i32, pwchinput: super::super::super::Foundation::PWSTR, pfcinfo: *mut u32, ppresult: *mut *mut MORRSLT) -> ::windows::runtime::HRESULT,
2555 #[cfg(not(feature = "Win32_Foundation"))] usize,
2556 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwcaps: *mut u32) -> ::windows::runtime::HRESULT,
2557 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, string: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, start: i32, length: i32, phonetic: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2558 #[cfg(not(feature = "Win32_Foundation"))] usize,
2559 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, string: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, start: i32, length: i32, result: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2560 #[cfg(not(feature = "Win32_Foundation"))] usize,
2561 );
2562 pub const IGIMIF_RIGHTMENU: u32 = 1u32;
2563 pub const IGIMII_CMODE: u32 = 1u32;
2564 pub const IGIMII_CONFIGURE: u32 = 4u32;
2565 pub const IGIMII_HELP: u32 = 16u32;
2566 pub const IGIMII_INPUTTOOLS: u32 = 64u32;
2567 pub const IGIMII_OTHER: u32 = 32u32;
2568 pub const IGIMII_SMODE: u32 = 2u32;
2569 pub const IGIMII_TOOLS: u32 = 8u32;
2570 #[repr(transparent)]
2571 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2572 pub struct IImePad(::windows::runtime::IUnknown);
2573 impl IImePad {
2574 #[cfg(feature = "Win32_Foundation")]
Request<'a, Param0: ::windows::runtime::IntoParam<'a, IImePadApplet>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, piimepadapplet: Param0, reqid: IME_PAD_REQUEST_FLAGS, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>2575 pub unsafe fn Request<'a, Param0: ::windows::runtime::IntoParam<'a, IImePadApplet>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, piimepadapplet: Param0, reqid: IME_PAD_REQUEST_FLAGS, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
2576 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), piimepadapplet.into_param().abi(), ::std::mem::transmute(reqid), wparam.into_param().abi(), lparam.into_param().abi()).ok()
2577 }
2578 }
2579 unsafe impl ::windows::runtime::Interface for IImePad {
2580 type Vtable = IImePad_abi;
2581 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1569612858, 50089, 4561, [175, 239, 0, 128, 95, 12, 139, 109]);
2582 }
2583 impl ::std::convert::From<IImePad> for ::windows::runtime::IUnknown {
from(value: IImePad) -> Self2584 fn from(value: IImePad) -> Self {
2585 unsafe { ::std::mem::transmute(value) }
2586 }
2587 }
2588 impl ::std::convert::From<&IImePad> for ::windows::runtime::IUnknown {
from(value: &IImePad) -> Self2589 fn from(value: &IImePad) -> Self {
2590 ::std::convert::From::from(::std::clone::Clone::clone(value))
2591 }
2592 }
2593 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IImePad {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2594 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2595 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2596 }
2597 }
2598 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IImePad {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2599 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2600 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2601 }
2602 }
2603 #[repr(C)]
2604 #[doc(hidden)]
2605 pub struct IImePad_abi(
2606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2608 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2609 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piimepadapplet: ::windows::runtime::RawPtr, reqid: IME_PAD_REQUEST_FLAGS, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
2610 #[cfg(not(feature = "Win32_Foundation"))] usize,
2611 );
2612 #[repr(transparent)]
2613 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2614 pub struct IImePadApplet(::windows::runtime::IUnknown);
2615 impl IImePadApplet {
Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, lpiimepad: Param0) -> ::windows::runtime::Result<()>2616 pub unsafe fn Initialize<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, lpiimepad: Param0) -> ::windows::runtime::Result<()> {
2617 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), lpiimepad.into_param().abi()).ok()
2618 }
Terminate(&self) -> ::windows::runtime::Result<()>2619 pub unsafe fn Terminate(&self) -> ::windows::runtime::Result<()> {
2620 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2621 }
2622 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetAppletConfig(&self, lpappletcfg: *mut IMEAPPLETCFG) -> ::windows::runtime::Result<()>2623 pub unsafe fn GetAppletConfig(&self, lpappletcfg: *mut IMEAPPLETCFG) -> ::windows::runtime::Result<()> {
2624 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpappletcfg)).ok()
2625 }
2626 #[cfg(feature = "Win32_Foundation")]
CreateUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwndparent: Param0, lpimeappletui: *mut IMEAPPLETUI) -> ::windows::runtime::Result<()>2627 pub unsafe fn CreateUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(&self, hwndparent: Param0, lpimeappletui: *mut IMEAPPLETUI) -> ::windows::runtime::Result<()> {
2628 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(lpimeappletui)).ok()
2629 }
2630 #[cfg(feature = "Win32_Foundation")]
Notify<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, lpimepad: Param0, notify: i32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()>2631 pub unsafe fn Notify<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(&self, lpimepad: Param0, notify: i32, wparam: Param2, lparam: Param3) -> ::windows::runtime::Result<()> {
2632 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), lpimepad.into_param().abi(), ::std::mem::transmute(notify), wparam.into_param().abi(), lparam.into_param().abi()).ok()
2633 }
2634 }
2635 unsafe impl ::windows::runtime::Interface for IImePadApplet {
2636 type Vtable = IImePadApplet_abi;
2637 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1569612859, 50089, 4561, [175, 239, 0, 128, 95, 12, 139, 109]);
2638 }
2639 impl ::std::convert::From<IImePadApplet> for ::windows::runtime::IUnknown {
from(value: IImePadApplet) -> Self2640 fn from(value: IImePadApplet) -> Self {
2641 unsafe { ::std::mem::transmute(value) }
2642 }
2643 }
2644 impl ::std::convert::From<&IImePadApplet> for ::windows::runtime::IUnknown {
from(value: &IImePadApplet) -> Self2645 fn from(value: &IImePadApplet) -> Self {
2646 ::std::convert::From::from(::std::clone::Clone::clone(value))
2647 }
2648 }
2649 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IImePadApplet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2650 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2651 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2652 }
2653 }
2654 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IImePadApplet {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2655 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2656 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2657 }
2658 }
2659 #[repr(C)]
2660 #[doc(hidden)]
2661 pub struct IImePadApplet_abi(
2662 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2663 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2664 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2665 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpiimepad: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2667 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpappletcfg: *mut IMEAPPLETCFG) -> ::windows::runtime::HRESULT,
2668 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
2669 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::super::Foundation::HWND, lpimeappletui: *mut IMEAPPLETUI) -> ::windows::runtime::HRESULT,
2670 #[cfg(not(feature = "Win32_Foundation"))] usize,
2671 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpimepad: ::windows::runtime::RawPtr, notify: i32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> ::windows::runtime::HRESULT,
2672 #[cfg(not(feature = "Win32_Foundation"))] usize,
2673 );
2674 #[repr(transparent)]
2675 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2676 pub struct IImePlugInDictDictionaryList(::windows::runtime::IUnknown);
2677 impl IImePlugInDictDictionaryList {
2678 #[cfg(feature = "Win32_System_Com")]
GetDictionariesInUse(&self, prgdictionaryguid: *mut *mut super::super::super::System::Com::SAFEARRAY, prgdatecreated: *mut *mut super::super::super::System::Com::SAFEARRAY, prgfencrypted: *mut *mut super::super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()>2679 pub unsafe fn GetDictionariesInUse(&self, prgdictionaryguid: *mut *mut super::super::super::System::Com::SAFEARRAY, prgdatecreated: *mut *mut super::super::super::System::Com::SAFEARRAY, prgfencrypted: *mut *mut super::super::super::System::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
2680 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(prgdictionaryguid), ::std::mem::transmute(prgdatecreated), ::std::mem::transmute(prgfencrypted)).ok()
2681 }
2682 #[cfg(feature = "Win32_Foundation")]
DeleteDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstrdictionaryguid: Param0) -> ::windows::runtime::Result<()>2683 pub unsafe fn DeleteDictionary<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstrdictionaryguid: Param0) -> ::windows::runtime::Result<()> {
2684 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), bstrdictionaryguid.into_param().abi()).ok()
2685 }
2686 }
2687 unsafe impl ::windows::runtime::Interface for IImePlugInDictDictionaryList {
2688 type Vtable = IImePlugInDictDictionaryList_abi;
2689 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2557815156, 45222, 18587, [143, 111, 191, 243, 118, 156, 142, 235]);
2690 }
2691 impl ::std::convert::From<IImePlugInDictDictionaryList> for ::windows::runtime::IUnknown {
from(value: IImePlugInDictDictionaryList) -> Self2692 fn from(value: IImePlugInDictDictionaryList) -> Self {
2693 unsafe { ::std::mem::transmute(value) }
2694 }
2695 }
2696 impl ::std::convert::From<&IImePlugInDictDictionaryList> for ::windows::runtime::IUnknown {
from(value: &IImePlugInDictDictionaryList) -> Self2697 fn from(value: &IImePlugInDictDictionaryList) -> Self {
2698 ::std::convert::From::from(::std::clone::Clone::clone(value))
2699 }
2700 }
2701 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IImePlugInDictDictionaryList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2702 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2703 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2704 }
2705 }
2706 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IImePlugInDictDictionaryList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2707 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2708 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2709 }
2710 }
2711 #[repr(C)]
2712 #[doc(hidden)]
2713 pub struct IImePlugInDictDictionaryList_abi(
2714 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2715 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2716 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2717 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prgdictionaryguid: *mut *mut super::super::super::System::Com::SAFEARRAY, prgdatecreated: *mut *mut super::super::super::System::Com::SAFEARRAY, prgfencrypted: *mut *mut super::super::super::System::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2718 #[cfg(not(feature = "Win32_System_Com"))] usize,
2719 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrdictionaryguid: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
2720 #[cfg(not(feature = "Win32_Foundation"))] usize,
2721 );
2722 #[repr(transparent)]
2723 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2724 pub struct IImeSpecifyApplets(::windows::runtime::IUnknown);
2725 impl IImeSpecifyApplets {
GetAppletIIDList(&self, refiid: *const ::windows::runtime::GUID, lpiidlist: *mut APPLETIDLIST) -> ::windows::runtime::Result<()>2726 pub unsafe fn GetAppletIIDList(&self, refiid: *const ::windows::runtime::GUID, lpiidlist: *mut APPLETIDLIST) -> ::windows::runtime::Result<()> {
2727 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(refiid), ::std::mem::transmute(lpiidlist)).ok()
2728 }
2729 }
2730 unsafe impl ::windows::runtime::Interface for IImeSpecifyApplets {
2731 type Vtable = IImeSpecifyApplets_abi;
2732 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1569612860, 50089, 4561, [175, 239, 0, 128, 95, 12, 139, 109]);
2733 }
2734 impl ::std::convert::From<IImeSpecifyApplets> for ::windows::runtime::IUnknown {
from(value: IImeSpecifyApplets) -> Self2735 fn from(value: IImeSpecifyApplets) -> Self {
2736 unsafe { ::std::mem::transmute(value) }
2737 }
2738 }
2739 impl ::std::convert::From<&IImeSpecifyApplets> for ::windows::runtime::IUnknown {
from(value: &IImeSpecifyApplets) -> Self2740 fn from(value: &IImeSpecifyApplets) -> Self {
2741 ::std::convert::From::from(::std::clone::Clone::clone(value))
2742 }
2743 }
2744 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IImeSpecifyApplets {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2745 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2746 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2747 }
2748 }
2749 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IImeSpecifyApplets {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2750 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2751 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2752 }
2753 }
2754 #[repr(C)]
2755 #[doc(hidden)]
2756 pub struct IImeSpecifyApplets_abi(
2757 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2758 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2759 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2760 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, refiid: *const ::windows::runtime::GUID, lpiidlist: *mut APPLETIDLIST) -> ::windows::runtime::HRESULT,
2761 );
2762 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
2763 pub type IMCENUMPROC = unsafe extern "system" fn(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL;
2764 pub const IMC_CLOSESTATUSWINDOW: u32 = 33u32;
2765 pub const IMC_GETCANDIDATEPOS: u32 = 7u32;
2766 pub const IMC_GETCOMPOSITIONFONT: u32 = 9u32;
2767 pub const IMC_GETCOMPOSITIONWINDOW: u32 = 11u32;
2768 pub const IMC_GETSOFTKBDFONT: u32 = 17u32;
2769 pub const IMC_GETSOFTKBDPOS: u32 = 19u32;
2770 pub const IMC_GETSOFTKBDSUBTYPE: u32 = 21u32;
2771 pub const IMC_GETSTATUSWINDOWPOS: u32 = 15u32;
2772 pub const IMC_OPENSTATUSWINDOW: u32 = 34u32;
2773 pub const IMC_SETCANDIDATEPOS: u32 = 8u32;
2774 pub const IMC_SETCOMPOSITIONFONT: u32 = 10u32;
2775 pub const IMC_SETCOMPOSITIONWINDOW: u32 = 12u32;
2776 pub const IMC_SETCONVERSIONMODE: u32 = 2u32;
2777 pub const IMC_SETOPENSTATUS: u32 = 6u32;
2778 pub const IMC_SETSENTENCEMODE: u32 = 4u32;
2779 pub const IMC_SETSOFTKBDDATA: u32 = 24u32;
2780 pub const IMC_SETSOFTKBDFONT: u32 = 18u32;
2781 pub const IMC_SETSOFTKBDPOS: u32 = 20u32;
2782 pub const IMC_SETSOFTKBDSUBTYPE: u32 = 22u32;
2783 pub const IMC_SETSTATUSWINDOWPOS: u32 = 16u32;
2784 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2785 #[repr(C)]
2786 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2787 pub struct IMEAPPLETCFG {
2788 pub dwConfig: u32,
2789 pub wchTitle: [u16; 64],
2790 pub wchTitleFontFace: [u16; 32],
2791 pub dwCharSet: u32,
2792 pub iCategory: i32,
2793 pub hIcon: super::super::WindowsAndMessaging::HICON,
2794 pub langID: u16,
2795 pub dummy: u16,
2796 pub lReserved1: super::super::super::Foundation::LPARAM,
2797 }
2798 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2799 impl IMEAPPLETCFG {}
2800 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2801 impl ::std::default::Default for IMEAPPLETCFG {
default() -> Self2802 fn default() -> Self {
2803 unsafe { ::std::mem::zeroed() }
2804 }
2805 }
2806 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2807 impl ::std::fmt::Debug for IMEAPPLETCFG {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2808 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2809 fmt.debug_struct("IMEAPPLETCFG")
2810 .field("dwConfig", &self.dwConfig)
2811 .field("wchTitle", &self.wchTitle)
2812 .field("wchTitleFontFace", &self.wchTitleFontFace)
2813 .field("dwCharSet", &self.dwCharSet)
2814 .field("iCategory", &self.iCategory)
2815 .field("hIcon", &self.hIcon)
2816 .field("langID", &self.langID)
2817 .field("dummy", &self.dummy)
2818 .field("lReserved1", &self.lReserved1)
2819 .finish()
2820 }
2821 }
2822 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2823 impl ::std::cmp::PartialEq for IMEAPPLETCFG {
eq(&self, other: &Self) -> bool2824 fn eq(&self, other: &Self) -> bool {
2825 self.dwConfig == other.dwConfig && self.wchTitle == other.wchTitle && self.wchTitleFontFace == other.wchTitleFontFace && self.dwCharSet == other.dwCharSet && self.iCategory == other.iCategory && self.hIcon == other.hIcon && self.langID == other.langID && self.dummy == other.dummy && self.lReserved1 == other.lReserved1
2826 }
2827 }
2828 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2829 impl ::std::cmp::Eq for IMEAPPLETCFG {}
2830 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
2831 unsafe impl ::windows::runtime::Abi for IMEAPPLETCFG {
2832 type Abi = Self;
2833 type DefaultType = Self;
2834 }
2835 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2836 #[repr(C)]
2837 #[cfg(feature = "Win32_Foundation")]
2838 pub struct IMEAPPLETUI {
2839 pub hwnd: super::super::super::Foundation::HWND,
2840 pub dwStyle: u32,
2841 pub width: i32,
2842 pub height: i32,
2843 pub minWidth: i32,
2844 pub minHeight: i32,
2845 pub maxWidth: i32,
2846 pub maxHeight: i32,
2847 pub lReserved1: super::super::super::Foundation::LPARAM,
2848 pub lReserved2: super::super::super::Foundation::LPARAM,
2849 }
2850 #[cfg(feature = "Win32_Foundation")]
2851 impl IMEAPPLETUI {}
2852 #[cfg(feature = "Win32_Foundation")]
2853 impl ::std::default::Default for IMEAPPLETUI {
default() -> Self2854 fn default() -> Self {
2855 unsafe { ::std::mem::zeroed() }
2856 }
2857 }
2858 #[cfg(feature = "Win32_Foundation")]
2859 impl ::std::fmt::Debug for IMEAPPLETUI {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2860 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2861 fmt.debug_struct("IMEAPPLETUI")
2862 .field("hwnd", &self.hwnd)
2863 .field("dwStyle", &self.dwStyle)
2864 .field("width", &self.width)
2865 .field("height", &self.height)
2866 .field("minWidth", &self.minWidth)
2867 .field("minHeight", &self.minHeight)
2868 .field("maxWidth", &self.maxWidth)
2869 .field("maxHeight", &self.maxHeight)
2870 .field("lReserved1", &self.lReserved1)
2871 .field("lReserved2", &self.lReserved2)
2872 .finish()
2873 }
2874 }
2875 #[cfg(feature = "Win32_Foundation")]
2876 impl ::std::cmp::PartialEq for IMEAPPLETUI {
eq(&self, other: &Self) -> bool2877 fn eq(&self, other: &Self) -> bool {
2878 self.hwnd == other.hwnd && self.dwStyle == other.dwStyle && self.width == other.width && self.height == other.height && self.minWidth == other.minWidth && self.minHeight == other.minHeight && self.maxWidth == other.maxWidth && self.maxHeight == other.maxHeight && self.lReserved1 == other.lReserved1 && self.lReserved2 == other.lReserved2
2879 }
2880 }
2881 #[cfg(feature = "Win32_Foundation")]
2882 impl ::std::cmp::Eq for IMEAPPLETUI {}
2883 #[cfg(feature = "Win32_Foundation")]
2884 unsafe impl ::windows::runtime::Abi for IMEAPPLETUI {
2885 type Abi = Self;
2886 type DefaultType = Self;
2887 }
2888 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2889 #[repr(C)]
2890 pub struct IMECHARINFO {
2891 pub wch: u16,
2892 pub dwCharInfo: u32,
2893 }
2894 impl IMECHARINFO {}
2895 impl ::std::default::Default for IMECHARINFO {
default() -> Self2896 fn default() -> Self {
2897 unsafe { ::std::mem::zeroed() }
2898 }
2899 }
2900 impl ::std::fmt::Debug for IMECHARINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2901 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2902 fmt.debug_struct("IMECHARINFO").field("wch", &self.wch).field("dwCharInfo", &self.dwCharInfo).finish()
2903 }
2904 }
2905 impl ::std::cmp::PartialEq for IMECHARINFO {
eq(&self, other: &Self) -> bool2906 fn eq(&self, other: &Self) -> bool {
2907 self.wch == other.wch && self.dwCharInfo == other.dwCharInfo
2908 }
2909 }
2910 impl ::std::cmp::Eq for IMECHARINFO {}
2911 unsafe impl ::windows::runtime::Abi for IMECHARINFO {
2912 type Abi = Self;
2913 type DefaultType = Self;
2914 }
2915 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2916 #[repr(C)]
2917 #[cfg(feature = "Win32_Foundation")]
2918 pub struct IMECHARPOSITION {
2919 pub dwSize: u32,
2920 pub dwCharPos: u32,
2921 pub pt: super::super::super::Foundation::POINT,
2922 pub cLineHeight: u32,
2923 pub rcDocument: super::super::super::Foundation::RECT,
2924 }
2925 #[cfg(feature = "Win32_Foundation")]
2926 impl IMECHARPOSITION {}
2927 #[cfg(feature = "Win32_Foundation")]
2928 impl ::std::default::Default for IMECHARPOSITION {
default() -> Self2929 fn default() -> Self {
2930 unsafe { ::std::mem::zeroed() }
2931 }
2932 }
2933 #[cfg(feature = "Win32_Foundation")]
2934 impl ::std::fmt::Debug for IMECHARPOSITION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2935 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2936 fmt.debug_struct("IMECHARPOSITION").field("dwSize", &self.dwSize).field("dwCharPos", &self.dwCharPos).field("pt", &self.pt).field("cLineHeight", &self.cLineHeight).field("rcDocument", &self.rcDocument).finish()
2937 }
2938 }
2939 #[cfg(feature = "Win32_Foundation")]
2940 impl ::std::cmp::PartialEq for IMECHARPOSITION {
eq(&self, other: &Self) -> bool2941 fn eq(&self, other: &Self) -> bool {
2942 self.dwSize == other.dwSize && self.dwCharPos == other.dwCharPos && self.pt == other.pt && self.cLineHeight == other.cLineHeight && self.rcDocument == other.rcDocument
2943 }
2944 }
2945 #[cfg(feature = "Win32_Foundation")]
2946 impl ::std::cmp::Eq for IMECHARPOSITION {}
2947 #[cfg(feature = "Win32_Foundation")]
2948 unsafe impl ::windows::runtime::Abi for IMECHARPOSITION {
2949 type Abi = Self;
2950 type DefaultType = Self;
2951 }
2952 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2953 #[repr(C)]
2954 pub struct IMECOMPOSITIONSTRINGINFO {
2955 pub iCompStrLen: i32,
2956 pub iCaretPos: i32,
2957 pub iEditStart: i32,
2958 pub iEditLen: i32,
2959 pub iTargetStart: i32,
2960 pub iTargetLen: i32,
2961 }
2962 impl IMECOMPOSITIONSTRINGINFO {}
2963 impl ::std::default::Default for IMECOMPOSITIONSTRINGINFO {
default() -> Self2964 fn default() -> Self {
2965 unsafe { ::std::mem::zeroed() }
2966 }
2967 }
2968 impl ::std::fmt::Debug for IMECOMPOSITIONSTRINGINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2969 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2970 fmt.debug_struct("IMECOMPOSITIONSTRINGINFO").field("iCompStrLen", &self.iCompStrLen).field("iCaretPos", &self.iCaretPos).field("iEditStart", &self.iEditStart).field("iEditLen", &self.iEditLen).field("iTargetStart", &self.iTargetStart).field("iTargetLen", &self.iTargetLen).finish()
2971 }
2972 }
2973 impl ::std::cmp::PartialEq for IMECOMPOSITIONSTRINGINFO {
eq(&self, other: &Self) -> bool2974 fn eq(&self, other: &Self) -> bool {
2975 self.iCompStrLen == other.iCompStrLen && self.iCaretPos == other.iCaretPos && self.iEditStart == other.iEditStart && self.iEditLen == other.iEditLen && self.iTargetStart == other.iTargetStart && self.iTargetLen == other.iTargetLen
2976 }
2977 }
2978 impl ::std::cmp::Eq for IMECOMPOSITIONSTRINGINFO {}
2979 unsafe impl ::windows::runtime::Abi for IMECOMPOSITIONSTRINGINFO {
2980 type Abi = Self;
2981 type DefaultType = Self;
2982 }
2983 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2984 #[repr(C, packed(1))]
2985 #[cfg(feature = "Win32_Foundation")]
2986 pub struct IMEDLG {
2987 pub cbIMEDLG: i32,
2988 pub hwnd: super::super::super::Foundation::HWND,
2989 pub lpwstrWord: super::super::super::Foundation::PWSTR,
2990 pub nTabId: i32,
2991 }
2992 #[cfg(feature = "Win32_Foundation")]
2993 impl IMEDLG {}
2994 #[cfg(feature = "Win32_Foundation")]
2995 impl ::std::default::Default for IMEDLG {
default() -> Self2996 fn default() -> Self {
2997 unsafe { ::std::mem::zeroed() }
2998 }
2999 }
3000 #[cfg(feature = "Win32_Foundation")]
3001 impl ::std::cmp::PartialEq for IMEDLG {
eq(&self, _other: &Self) -> bool3002 fn eq(&self, _other: &Self) -> bool {
3003 unimplemented!()
3004 }
3005 }
3006 #[cfg(feature = "Win32_Foundation")]
3007 impl ::std::cmp::Eq for IMEDLG {}
3008 #[cfg(feature = "Win32_Foundation")]
3009 unsafe impl ::windows::runtime::Abi for IMEDLG {
3010 type Abi = Self;
3011 type DefaultType = Self;
3012 }
3013 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3014 #[repr(C, packed(1))]
3015 #[cfg(feature = "Win32_Foundation")]
3016 pub struct IMEDP {
3017 pub wrdModifier: IMEWRD,
3018 pub wrdModifiee: IMEWRD,
3019 pub relID: IMEREL,
3020 }
3021 #[cfg(feature = "Win32_Foundation")]
3022 impl IMEDP {}
3023 #[cfg(feature = "Win32_Foundation")]
3024 impl ::std::default::Default for IMEDP {
default() -> Self3025 fn default() -> Self {
3026 unsafe { ::std::mem::zeroed() }
3027 }
3028 }
3029 #[cfg(feature = "Win32_Foundation")]
3030 impl ::std::cmp::PartialEq for IMEDP {
eq(&self, _other: &Self) -> bool3031 fn eq(&self, _other: &Self) -> bool {
3032 unimplemented!()
3033 }
3034 }
3035 #[cfg(feature = "Win32_Foundation")]
3036 impl ::std::cmp::Eq for IMEDP {}
3037 #[cfg(feature = "Win32_Foundation")]
3038 unsafe impl ::windows::runtime::Abi for IMEDP {
3039 type Abi = Self;
3040 type DefaultType = Self;
3041 }
3042 pub const IMEFAREASTINFO_TYPE_COMMENT: u32 = 2u32;
3043 pub const IMEFAREASTINFO_TYPE_COSTTIME: u32 = 3u32;
3044 pub const IMEFAREASTINFO_TYPE_DEFAULT: u32 = 0u32;
3045 pub const IMEFAREASTINFO_TYPE_READING: u32 = 1u32;
3046 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3047 #[repr(transparent)]
3048 pub struct IMEFMT(pub i32);
3049 pub const IFED_UNKNOWN: IMEFMT = IMEFMT(0i32);
3050 pub const IFED_MSIME2_BIN_SYSTEM: IMEFMT = IMEFMT(1i32);
3051 pub const IFED_MSIME2_BIN_USER: IMEFMT = IMEFMT(2i32);
3052 pub const IFED_MSIME2_TEXT_USER: IMEFMT = IMEFMT(3i32);
3053 pub const IFED_MSIME95_BIN_SYSTEM: IMEFMT = IMEFMT(4i32);
3054 pub const IFED_MSIME95_BIN_USER: IMEFMT = IMEFMT(5i32);
3055 pub const IFED_MSIME95_TEXT_USER: IMEFMT = IMEFMT(6i32);
3056 pub const IFED_MSIME97_BIN_SYSTEM: IMEFMT = IMEFMT(7i32);
3057 pub const IFED_MSIME97_BIN_USER: IMEFMT = IMEFMT(8i32);
3058 pub const IFED_MSIME97_TEXT_USER: IMEFMT = IMEFMT(9i32);
3059 pub const IFED_MSIME98_BIN_SYSTEM: IMEFMT = IMEFMT(10i32);
3060 pub const IFED_MSIME98_BIN_USER: IMEFMT = IMEFMT(11i32);
3061 pub const IFED_MSIME98_TEXT_USER: IMEFMT = IMEFMT(12i32);
3062 pub const IFED_ACTIVE_DICT: IMEFMT = IMEFMT(13i32);
3063 pub const IFED_ATOK9: IMEFMT = IMEFMT(14i32);
3064 pub const IFED_ATOK10: IMEFMT = IMEFMT(15i32);
3065 pub const IFED_NEC_AI_: IMEFMT = IMEFMT(16i32);
3066 pub const IFED_WX_II: IMEFMT = IMEFMT(17i32);
3067 pub const IFED_WX_III: IMEFMT = IMEFMT(18i32);
3068 pub const IFED_VJE_20: IMEFMT = IMEFMT(19i32);
3069 pub const IFED_MSIME98_SYSTEM_CE: IMEFMT = IMEFMT(20i32);
3070 pub const IFED_MSIME_BIN_SYSTEM: IMEFMT = IMEFMT(21i32);
3071 pub const IFED_MSIME_BIN_USER: IMEFMT = IMEFMT(22i32);
3072 pub const IFED_MSIME_TEXT_USER: IMEFMT = IMEFMT(23i32);
3073 pub const IFED_PIME2_BIN_USER: IMEFMT = IMEFMT(24i32);
3074 pub const IFED_PIME2_BIN_SYSTEM: IMEFMT = IMEFMT(25i32);
3075 pub const IFED_PIME2_BIN_STANDARD_SYSTEM: IMEFMT = IMEFMT(26i32);
3076 impl ::std::convert::From<i32> for IMEFMT {
from(value: i32) -> Self3077 fn from(value: i32) -> Self {
3078 Self(value)
3079 }
3080 }
3081 unsafe impl ::windows::runtime::Abi for IMEFMT {
3082 type Abi = Self;
3083 type DefaultType = Self;
3084 }
3085 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3086 #[repr(C)]
3087 pub struct IMEINFO {
3088 pub dwPrivateDataSize: u32,
3089 pub fdwProperty: u32,
3090 pub fdwConversionCaps: u32,
3091 pub fdwSentenceCaps: u32,
3092 pub fdwUICaps: u32,
3093 pub fdwSCSCaps: u32,
3094 pub fdwSelectCaps: u32,
3095 }
3096 impl IMEINFO {}
3097 impl ::std::default::Default for IMEINFO {
default() -> Self3098 fn default() -> Self {
3099 unsafe { ::std::mem::zeroed() }
3100 }
3101 }
3102 impl ::std::fmt::Debug for IMEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3103 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3104 fmt.debug_struct("IMEINFO")
3105 .field("dwPrivateDataSize", &self.dwPrivateDataSize)
3106 .field("fdwProperty", &self.fdwProperty)
3107 .field("fdwConversionCaps", &self.fdwConversionCaps)
3108 .field("fdwSentenceCaps", &self.fdwSentenceCaps)
3109 .field("fdwUICaps", &self.fdwUICaps)
3110 .field("fdwSCSCaps", &self.fdwSCSCaps)
3111 .field("fdwSelectCaps", &self.fdwSelectCaps)
3112 .finish()
3113 }
3114 }
3115 impl ::std::cmp::PartialEq for IMEINFO {
eq(&self, other: &Self) -> bool3116 fn eq(&self, other: &Self) -> bool {
3117 self.dwPrivateDataSize == other.dwPrivateDataSize && self.fdwProperty == other.fdwProperty && self.fdwConversionCaps == other.fdwConversionCaps && self.fdwSentenceCaps == other.fdwSentenceCaps && self.fdwUICaps == other.fdwUICaps && self.fdwSCSCaps == other.fdwSCSCaps && self.fdwSelectCaps == other.fdwSelectCaps
3118 }
3119 }
3120 impl ::std::cmp::Eq for IMEINFO {}
3121 unsafe impl ::windows::runtime::Abi for IMEINFO {
3122 type Abi = Self;
3123 type DefaultType = Self;
3124 }
3125 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3126 #[repr(C)]
3127 pub struct IMEITEM {
3128 pub cbSize: i32,
3129 pub iType: i32,
3130 pub lpItemData: *mut ::std::ffi::c_void,
3131 }
3132 impl IMEITEM {}
3133 impl ::std::default::Default for IMEITEM {
default() -> Self3134 fn default() -> Self {
3135 unsafe { ::std::mem::zeroed() }
3136 }
3137 }
3138 impl ::std::fmt::Debug for IMEITEM {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3139 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3140 fmt.debug_struct("IMEITEM").field("cbSize", &self.cbSize).field("iType", &self.iType).field("lpItemData", &self.lpItemData).finish()
3141 }
3142 }
3143 impl ::std::cmp::PartialEq for IMEITEM {
eq(&self, other: &Self) -> bool3144 fn eq(&self, other: &Self) -> bool {
3145 self.cbSize == other.cbSize && self.iType == other.iType && self.lpItemData == other.lpItemData
3146 }
3147 }
3148 impl ::std::cmp::Eq for IMEITEM {}
3149 unsafe impl ::windows::runtime::Abi for IMEITEM {
3150 type Abi = Self;
3151 type DefaultType = Self;
3152 }
3153 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3154 #[repr(C)]
3155 pub struct IMEITEMCANDIDATE {
3156 pub uCount: u32,
3157 pub imeItem: [IMEITEM; 1],
3158 }
3159 impl IMEITEMCANDIDATE {}
3160 impl ::std::default::Default for IMEITEMCANDIDATE {
default() -> Self3161 fn default() -> Self {
3162 unsafe { ::std::mem::zeroed() }
3163 }
3164 }
3165 impl ::std::fmt::Debug for IMEITEMCANDIDATE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3166 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3167 fmt.debug_struct("IMEITEMCANDIDATE").field("uCount", &self.uCount).field("imeItem", &self.imeItem).finish()
3168 }
3169 }
3170 impl ::std::cmp::PartialEq for IMEITEMCANDIDATE {
eq(&self, other: &Self) -> bool3171 fn eq(&self, other: &Self) -> bool {
3172 self.uCount == other.uCount && self.imeItem == other.imeItem
3173 }
3174 }
3175 impl ::std::cmp::Eq for IMEITEMCANDIDATE {}
3176 unsafe impl ::windows::runtime::Abi for IMEITEMCANDIDATE {
3177 type Abi = Self;
3178 type DefaultType = Self;
3179 }
3180 pub const IMEKEYCTRLMASK_ALT: u32 = 1u32;
3181 pub const IMEKEYCTRLMASK_CTRL: u32 = 2u32;
3182 pub const IMEKEYCTRLMASK_SHIFT: u32 = 4u32;
3183 pub const IMEKEYCTRL_DOWN: u32 = 0u32;
3184 pub const IMEKEYCTRL_UP: u32 = 1u32;
3185 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3186 #[repr(C, packed(1))]
3187 #[cfg(feature = "Win32_Globalization")]
3188 pub struct IMEKMS {
3189 pub cbSize: i32,
3190 pub hIMC: super::super::super::Globalization::HIMC,
3191 pub cKeyList: u32,
3192 pub pKeyList: *mut IMEKMSKEY,
3193 }
3194 #[cfg(feature = "Win32_Globalization")]
3195 impl IMEKMS {}
3196 #[cfg(feature = "Win32_Globalization")]
3197 impl ::std::default::Default for IMEKMS {
default() -> Self3198 fn default() -> Self {
3199 unsafe { ::std::mem::zeroed() }
3200 }
3201 }
3202 #[cfg(feature = "Win32_Globalization")]
3203 impl ::std::cmp::PartialEq for IMEKMS {
eq(&self, _other: &Self) -> bool3204 fn eq(&self, _other: &Self) -> bool {
3205 unimplemented!()
3206 }
3207 }
3208 #[cfg(feature = "Win32_Globalization")]
3209 impl ::std::cmp::Eq for IMEKMS {}
3210 #[cfg(feature = "Win32_Globalization")]
3211 unsafe impl ::windows::runtime::Abi for IMEKMS {
3212 type Abi = Self;
3213 type DefaultType = Self;
3214 }
3215 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3216 #[repr(C, packed(1))]
3217 pub struct IMEKMSFUNCDESC {
3218 pub cbSize: i32,
3219 pub idLang: u16,
3220 pub dwControl: u32,
3221 pub pwszDescription: [u16; 128],
3222 }
3223 impl IMEKMSFUNCDESC {}
3224 impl ::std::default::Default for IMEKMSFUNCDESC {
default() -> Self3225 fn default() -> Self {
3226 unsafe { ::std::mem::zeroed() }
3227 }
3228 }
3229 impl ::std::cmp::PartialEq for IMEKMSFUNCDESC {
eq(&self, _other: &Self) -> bool3230 fn eq(&self, _other: &Self) -> bool {
3231 unimplemented!()
3232 }
3233 }
3234 impl ::std::cmp::Eq for IMEKMSFUNCDESC {}
3235 unsafe impl ::windows::runtime::Abi for IMEKMSFUNCDESC {
3236 type Abi = Self;
3237 type DefaultType = Self;
3238 }
3239 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3240 #[repr(C, packed(1))]
3241 #[cfg(feature = "Win32_Foundation")]
3242 pub struct IMEKMSINIT {
3243 pub cbSize: i32,
3244 pub hWnd: super::super::super::Foundation::HWND,
3245 }
3246 #[cfg(feature = "Win32_Foundation")]
3247 impl IMEKMSINIT {}
3248 #[cfg(feature = "Win32_Foundation")]
3249 impl ::std::default::Default for IMEKMSINIT {
default() -> Self3250 fn default() -> Self {
3251 unsafe { ::std::mem::zeroed() }
3252 }
3253 }
3254 #[cfg(feature = "Win32_Foundation")]
3255 impl ::std::cmp::PartialEq for IMEKMSINIT {
eq(&self, _other: &Self) -> bool3256 fn eq(&self, _other: &Self) -> bool {
3257 unimplemented!()
3258 }
3259 }
3260 #[cfg(feature = "Win32_Foundation")]
3261 impl ::std::cmp::Eq for IMEKMSINIT {}
3262 #[cfg(feature = "Win32_Foundation")]
3263 unsafe impl ::windows::runtime::Abi for IMEKMSINIT {
3264 type Abi = Self;
3265 type DefaultType = Self;
3266 }
3267 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3268 #[repr(C, packed(1))]
3269 #[cfg(feature = "Win32_Globalization")]
3270 pub struct IMEKMSINVK {
3271 pub cbSize: i32,
3272 pub hIMC: super::super::super::Globalization::HIMC,
3273 pub dwControl: u32,
3274 }
3275 #[cfg(feature = "Win32_Globalization")]
3276 impl IMEKMSINVK {}
3277 #[cfg(feature = "Win32_Globalization")]
3278 impl ::std::default::Default for IMEKMSINVK {
default() -> Self3279 fn default() -> Self {
3280 unsafe { ::std::mem::zeroed() }
3281 }
3282 }
3283 #[cfg(feature = "Win32_Globalization")]
3284 impl ::std::cmp::PartialEq for IMEKMSINVK {
eq(&self, _other: &Self) -> bool3285 fn eq(&self, _other: &Self) -> bool {
3286 unimplemented!()
3287 }
3288 }
3289 #[cfg(feature = "Win32_Globalization")]
3290 impl ::std::cmp::Eq for IMEKMSINVK {}
3291 #[cfg(feature = "Win32_Globalization")]
3292 unsafe impl ::windows::runtime::Abi for IMEKMSINVK {
3293 type Abi = Self;
3294 type DefaultType = Self;
3295 }
3296 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3297 #[repr(C, packed(1))]
3298 pub struct IMEKMSKEY {
3299 pub dwStatus: u32,
3300 pub dwCompStatus: u32,
3301 pub dwVKEY: u32,
3302 pub Anonymous1: IMEKMSKEY_0,
3303 pub Anonymous2: IMEKMSKEY_1,
3304 }
3305 impl IMEKMSKEY {}
3306 impl ::std::default::Default for IMEKMSKEY {
default() -> Self3307 fn default() -> Self {
3308 unsafe { ::std::mem::zeroed() }
3309 }
3310 }
3311 impl ::std::cmp::PartialEq for IMEKMSKEY {
eq(&self, _other: &Self) -> bool3312 fn eq(&self, _other: &Self) -> bool {
3313 unimplemented!()
3314 }
3315 }
3316 impl ::std::cmp::Eq for IMEKMSKEY {}
3317 unsafe impl ::windows::runtime::Abi for IMEKMSKEY {
3318 type Abi = Self;
3319 type DefaultType = Self;
3320 }
3321 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3322 #[repr(C, packed(1))]
3323 pub union IMEKMSKEY_0 {
3324 pub dwControl: u32,
3325 pub dwNotUsed: u32,
3326 }
3327 impl IMEKMSKEY_0 {}
3328 impl ::std::default::Default for IMEKMSKEY_0 {
default() -> Self3329 fn default() -> Self {
3330 unsafe { ::std::mem::zeroed() }
3331 }
3332 }
3333 impl ::std::cmp::PartialEq for IMEKMSKEY_0 {
eq(&self, _other: &Self) -> bool3334 fn eq(&self, _other: &Self) -> bool {
3335 unimplemented!()
3336 }
3337 }
3338 impl ::std::cmp::Eq for IMEKMSKEY_0 {}
3339 unsafe impl ::windows::runtime::Abi for IMEKMSKEY_0 {
3340 type Abi = Self;
3341 type DefaultType = Self;
3342 }
3343 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3344 #[repr(C, packed(1))]
3345 pub union IMEKMSKEY_1 {
3346 pub pwszDscr: [u16; 31],
3347 pub pwszNoUse: [u16; 31],
3348 }
3349 impl IMEKMSKEY_1 {}
3350 impl ::std::default::Default for IMEKMSKEY_1 {
default() -> Self3351 fn default() -> Self {
3352 unsafe { ::std::mem::zeroed() }
3353 }
3354 }
3355 impl ::std::cmp::PartialEq for IMEKMSKEY_1 {
eq(&self, _other: &Self) -> bool3356 fn eq(&self, _other: &Self) -> bool {
3357 unimplemented!()
3358 }
3359 }
3360 impl ::std::cmp::Eq for IMEKMSKEY_1 {}
3361 unsafe impl ::windows::runtime::Abi for IMEKMSKEY_1 {
3362 type Abi = Self;
3363 type DefaultType = Self;
3364 }
3365 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3366 #[repr(C, packed(1))]
3367 #[cfg(feature = "Win32_Globalization")]
3368 pub struct IMEKMSKMP {
3369 pub cbSize: i32,
3370 pub hIMC: super::super::super::Globalization::HIMC,
3371 pub idLang: u16,
3372 pub wVKStart: u16,
3373 pub wVKEnd: u16,
3374 pub cKeyList: i32,
3375 pub pKeyList: *mut IMEKMSKEY,
3376 }
3377 #[cfg(feature = "Win32_Globalization")]
3378 impl IMEKMSKMP {}
3379 #[cfg(feature = "Win32_Globalization")]
3380 impl ::std::default::Default for IMEKMSKMP {
default() -> Self3381 fn default() -> Self {
3382 unsafe { ::std::mem::zeroed() }
3383 }
3384 }
3385 #[cfg(feature = "Win32_Globalization")]
3386 impl ::std::cmp::PartialEq for IMEKMSKMP {
eq(&self, _other: &Self) -> bool3387 fn eq(&self, _other: &Self) -> bool {
3388 unimplemented!()
3389 }
3390 }
3391 #[cfg(feature = "Win32_Globalization")]
3392 impl ::std::cmp::Eq for IMEKMSKMP {}
3393 #[cfg(feature = "Win32_Globalization")]
3394 unsafe impl ::windows::runtime::Abi for IMEKMSKMP {
3395 type Abi = Self;
3396 type DefaultType = Self;
3397 }
3398 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3399 #[repr(C, packed(1))]
3400 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3401 pub struct IMEKMSNTFY {
3402 pub cbSize: i32,
3403 pub hIMC: super::super::super::Globalization::HIMC,
3404 pub fSelect: super::super::super::Foundation::BOOL,
3405 }
3406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3407 impl IMEKMSNTFY {}
3408 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3409 impl ::std::default::Default for IMEKMSNTFY {
default() -> Self3410 fn default() -> Self {
3411 unsafe { ::std::mem::zeroed() }
3412 }
3413 }
3414 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3415 impl ::std::cmp::PartialEq for IMEKMSNTFY {
eq(&self, _other: &Self) -> bool3416 fn eq(&self, _other: &Self) -> bool {
3417 unimplemented!()
3418 }
3419 }
3420 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3421 impl ::std::cmp::Eq for IMEKMSNTFY {}
3422 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
3423 unsafe impl ::windows::runtime::Abi for IMEKMSNTFY {
3424 type Abi = Self;
3425 type DefaultType = Self;
3426 }
3427 pub const IMEKMS_2NDLEVEL: u32 = 4u32;
3428 pub const IMEKMS_CANDIDATE: u32 = 6u32;
3429 pub const IMEKMS_COMPOSITION: u32 = 1u32;
3430 pub const IMEKMS_IMEOFF: u32 = 3u32;
3431 pub const IMEKMS_INPTGL: u32 = 5u32;
3432 pub const IMEKMS_NOCOMPOSITION: u32 = 0u32;
3433 pub const IMEKMS_SELECTION: u32 = 2u32;
3434 pub const IMEKMS_TYPECAND: u32 = 7u32;
3435 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3436 #[repr(C)]
3437 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3438 pub struct IMEMENUITEMINFOA {
3439 pub cbSize: u32,
3440 pub fType: u32,
3441 pub fState: u32,
3442 pub wID: u32,
3443 pub hbmpChecked: super::super::super::Graphics::Gdi::HBITMAP,
3444 pub hbmpUnchecked: super::super::super::Graphics::Gdi::HBITMAP,
3445 pub dwItemData: u32,
3446 pub szString: [super::super::super::Foundation::CHAR; 80],
3447 pub hbmpItem: super::super::super::Graphics::Gdi::HBITMAP,
3448 }
3449 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3450 impl IMEMENUITEMINFOA {}
3451 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3452 impl ::std::default::Default for IMEMENUITEMINFOA {
default() -> Self3453 fn default() -> Self {
3454 unsafe { ::std::mem::zeroed() }
3455 }
3456 }
3457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3458 impl ::std::fmt::Debug for IMEMENUITEMINFOA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3459 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3460 fmt.debug_struct("IMEMENUITEMINFOA")
3461 .field("cbSize", &self.cbSize)
3462 .field("fType", &self.fType)
3463 .field("fState", &self.fState)
3464 .field("wID", &self.wID)
3465 .field("hbmpChecked", &self.hbmpChecked)
3466 .field("hbmpUnchecked", &self.hbmpUnchecked)
3467 .field("dwItemData", &self.dwItemData)
3468 .field("szString", &self.szString)
3469 .field("hbmpItem", &self.hbmpItem)
3470 .finish()
3471 }
3472 }
3473 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3474 impl ::std::cmp::PartialEq for IMEMENUITEMINFOA {
eq(&self, other: &Self) -> bool3475 fn eq(&self, other: &Self) -> bool {
3476 self.cbSize == other.cbSize && self.fType == other.fType && self.fState == other.fState && self.wID == other.wID && self.hbmpChecked == other.hbmpChecked && self.hbmpUnchecked == other.hbmpUnchecked && self.dwItemData == other.dwItemData && self.szString == other.szString && self.hbmpItem == other.hbmpItem
3477 }
3478 }
3479 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3480 impl ::std::cmp::Eq for IMEMENUITEMINFOA {}
3481 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
3482 unsafe impl ::windows::runtime::Abi for IMEMENUITEMINFOA {
3483 type Abi = Self;
3484 type DefaultType = Self;
3485 }
3486 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3487 #[repr(C)]
3488 #[cfg(feature = "Win32_Graphics_Gdi")]
3489 pub struct IMEMENUITEMINFOW {
3490 pub cbSize: u32,
3491 pub fType: u32,
3492 pub fState: u32,
3493 pub wID: u32,
3494 pub hbmpChecked: super::super::super::Graphics::Gdi::HBITMAP,
3495 pub hbmpUnchecked: super::super::super::Graphics::Gdi::HBITMAP,
3496 pub dwItemData: u32,
3497 pub szString: [u16; 80],
3498 pub hbmpItem: super::super::super::Graphics::Gdi::HBITMAP,
3499 }
3500 #[cfg(feature = "Win32_Graphics_Gdi")]
3501 impl IMEMENUITEMINFOW {}
3502 #[cfg(feature = "Win32_Graphics_Gdi")]
3503 impl ::std::default::Default for IMEMENUITEMINFOW {
default() -> Self3504 fn default() -> Self {
3505 unsafe { ::std::mem::zeroed() }
3506 }
3507 }
3508 #[cfg(feature = "Win32_Graphics_Gdi")]
3509 impl ::std::fmt::Debug for IMEMENUITEMINFOW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3510 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3511 fmt.debug_struct("IMEMENUITEMINFOW")
3512 .field("cbSize", &self.cbSize)
3513 .field("fType", &self.fType)
3514 .field("fState", &self.fState)
3515 .field("wID", &self.wID)
3516 .field("hbmpChecked", &self.hbmpChecked)
3517 .field("hbmpUnchecked", &self.hbmpUnchecked)
3518 .field("dwItemData", &self.dwItemData)
3519 .field("szString", &self.szString)
3520 .field("hbmpItem", &self.hbmpItem)
3521 .finish()
3522 }
3523 }
3524 #[cfg(feature = "Win32_Graphics_Gdi")]
3525 impl ::std::cmp::PartialEq for IMEMENUITEMINFOW {
eq(&self, other: &Self) -> bool3526 fn eq(&self, other: &Self) -> bool {
3527 self.cbSize == other.cbSize && self.fType == other.fType && self.fState == other.fState && self.wID == other.wID && self.hbmpChecked == other.hbmpChecked && self.hbmpUnchecked == other.hbmpUnchecked && self.dwItemData == other.dwItemData && self.szString == other.szString && self.hbmpItem == other.hbmpItem
3528 }
3529 }
3530 #[cfg(feature = "Win32_Graphics_Gdi")]
3531 impl ::std::cmp::Eq for IMEMENUITEMINFOW {}
3532 #[cfg(feature = "Win32_Graphics_Gdi")]
3533 unsafe impl ::windows::runtime::Abi for IMEMENUITEMINFOW {
3534 type Abi = Self;
3535 type DefaultType = Self;
3536 }
3537 pub const IMEMENUITEM_STRING_SIZE: u32 = 80u32;
3538 pub const IMEMOUSERET_NOTHANDLED: i32 = -1i32;
3539 pub const IMEMOUSE_LDOWN: u32 = 1u32;
3540 pub const IMEMOUSE_MDOWN: u32 = 4u32;
3541 pub const IMEMOUSE_NONE: u32 = 0u32;
3542 pub const IMEMOUSE_RDOWN: u32 = 2u32;
3543 pub const IMEMOUSE_VERSION: u32 = 255u32;
3544 pub const IMEMOUSE_WDOWN: u32 = 32u32;
3545 pub const IMEMOUSE_WUP: u32 = 16u32;
3546 pub const IMEPADCTRL_CARETBACKSPACE: u32 = 10u32;
3547 pub const IMEPADCTRL_CARETBOTTOM: u32 = 9u32;
3548 pub const IMEPADCTRL_CARETDELETE: u32 = 11u32;
3549 pub const IMEPADCTRL_CARETLEFT: u32 = 6u32;
3550 pub const IMEPADCTRL_CARETRIGHT: u32 = 7u32;
3551 pub const IMEPADCTRL_CARETSET: u32 = 5u32;
3552 pub const IMEPADCTRL_CARETTOP: u32 = 8u32;
3553 pub const IMEPADCTRL_CLEARALL: u32 = 4u32;
3554 pub const IMEPADCTRL_CONVERTALL: u32 = 1u32;
3555 pub const IMEPADCTRL_DETERMINALL: u32 = 2u32;
3556 pub const IMEPADCTRL_DETERMINCHAR: u32 = 3u32;
3557 pub const IMEPADCTRL_INSERTFULLSPACE: u32 = 14u32;
3558 pub const IMEPADCTRL_INSERTHALFSPACE: u32 = 15u32;
3559 pub const IMEPADCTRL_INSERTSPACE: u32 = 13u32;
3560 pub const IMEPADCTRL_OFFIME: u32 = 17u32;
3561 pub const IMEPADCTRL_OFFPRECONVERSION: u32 = 19u32;
3562 pub const IMEPADCTRL_ONIME: u32 = 16u32;
3563 pub const IMEPADCTRL_ONPRECONVERSION: u32 = 18u32;
3564 pub const IMEPADCTRL_PHONETICCANDIDATE: u32 = 20u32;
3565 pub const IMEPADCTRL_PHRASEDELETE: u32 = 12u32;
3566 pub const IMEPADREQ_CHANGESTRINGCANDIDATEINFO: u32 = 4111u32;
3567 pub const IMEPADREQ_CHANGESTRINGINFO: u32 = 4115u32;
3568 pub const IMEPADREQ_FIRST: u32 = 4096u32;
3569 pub const IMEPADREQ_GETAPPLETDATA: u32 = 4106u32;
3570 pub const IMEPADREQ_GETCOMPOSITIONSTRINGID: u32 = 4109u32;
3571 pub const IMEPADREQ_GETCURRENTUILANGID: u32 = 4120u32;
3572 pub const IMEPADREQ_GETSELECTEDSTRING: u32 = 4103u32;
3573 pub const IMEPADREQ_INSERTITEMCANDIDATE: u32 = 4099u32;
3574 pub const IMEPADREQ_INSERTSTRINGCANDIDATE: u32 = 4098u32;
3575 pub const IMEPADREQ_INSERTSTRINGCANDIDATEINFO: u32 = 4110u32;
3576 pub const IMEPADREQ_INSERTSTRINGINFO: u32 = 4114u32;
3577 pub const IMEPADREQ_SENDKEYCONTROL: u32 = 4101u32;
3578 pub const IMEPADREQ_SETAPPLETDATA: u32 = 4105u32;
3579 pub const IMEPADREQ_SETTITLEFONT: u32 = 4107u32;
3580 pub const IMEPN_ACTIVATE: u32 = 257u32;
3581 pub const IMEPN_APPLYCAND: u32 = 267u32;
3582 pub const IMEPN_APPLYCANDEX: u32 = 268u32;
3583 pub const IMEPN_CONFIG: u32 = 264u32;
3584 pub const IMEPN_FIRST: u32 = 256u32;
3585 pub const IMEPN_HELP: u32 = 265u32;
3586 pub const IMEPN_HIDE: u32 = 261u32;
3587 pub const IMEPN_INACTIVATE: u32 = 258u32;
3588 pub const IMEPN_QUERYCAND: u32 = 266u32;
3589 pub const IMEPN_SETTINGCHANGED: u32 = 269u32;
3590 pub const IMEPN_SHOW: u32 = 260u32;
3591 pub const IMEPN_SIZECHANGED: u32 = 263u32;
3592 pub const IMEPN_SIZECHANGING: u32 = 262u32;
3593 pub const IMEPN_USER: u32 = 356u32;
3594 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3595 #[repr(transparent)]
3596 pub struct IMEREG(pub i32);
3597 pub const IFED_REG_HEAD: IMEREG = IMEREG(0i32);
3598 pub const IFED_REG_TAIL: IMEREG = IMEREG(1i32);
3599 pub const IFED_REG_DEL: IMEREG = IMEREG(2i32);
3600 impl ::std::convert::From<i32> for IMEREG {
from(value: i32) -> Self3601 fn from(value: i32) -> Self {
3602 Self(value)
3603 }
3604 }
3605 unsafe impl ::windows::runtime::Abi for IMEREG {
3606 type Abi = Self;
3607 type DefaultType = Self;
3608 }
3609 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3610 #[repr(transparent)]
3611 pub struct IMEREL(pub i32);
3612 pub const IFED_REL_NONE: IMEREL = IMEREL(0i32);
3613 pub const IFED_REL_NO: IMEREL = IMEREL(1i32);
3614 pub const IFED_REL_GA: IMEREL = IMEREL(2i32);
3615 pub const IFED_REL_WO: IMEREL = IMEREL(3i32);
3616 pub const IFED_REL_NI: IMEREL = IMEREL(4i32);
3617 pub const IFED_REL_DE: IMEREL = IMEREL(5i32);
3618 pub const IFED_REL_YORI: IMEREL = IMEREL(6i32);
3619 pub const IFED_REL_KARA: IMEREL = IMEREL(7i32);
3620 pub const IFED_REL_MADE: IMEREL = IMEREL(8i32);
3621 pub const IFED_REL_HE: IMEREL = IMEREL(9i32);
3622 pub const IFED_REL_TO: IMEREL = IMEREL(10i32);
3623 pub const IFED_REL_IDEOM: IMEREL = IMEREL(11i32);
3624 pub const IFED_REL_FUKU_YOUGEN: IMEREL = IMEREL(12i32);
3625 pub const IFED_REL_KEIYOU_YOUGEN: IMEREL = IMEREL(13i32);
3626 pub const IFED_REL_KEIDOU1_YOUGEN: IMEREL = IMEREL(14i32);
3627 pub const IFED_REL_KEIDOU2_YOUGEN: IMEREL = IMEREL(15i32);
3628 pub const IFED_REL_TAIGEN: IMEREL = IMEREL(16i32);
3629 pub const IFED_REL_YOUGEN: IMEREL = IMEREL(17i32);
3630 pub const IFED_REL_RENTAI_MEI: IMEREL = IMEREL(18i32);
3631 pub const IFED_REL_RENSOU: IMEREL = IMEREL(19i32);
3632 pub const IFED_REL_KEIYOU_TO_YOUGEN: IMEREL = IMEREL(20i32);
3633 pub const IFED_REL_KEIYOU_TARU_YOUGEN: IMEREL = IMEREL(21i32);
3634 pub const IFED_REL_UNKNOWN1: IMEREL = IMEREL(22i32);
3635 pub const IFED_REL_UNKNOWN2: IMEREL = IMEREL(23i32);
3636 pub const IFED_REL_ALL: IMEREL = IMEREL(24i32);
3637 impl ::std::convert::From<i32> for IMEREL {
from(value: i32) -> Self3638 fn from(value: i32) -> Self {
3639 Self(value)
3640 }
3641 }
3642 unsafe impl ::windows::runtime::Abi for IMEREL {
3643 type Abi = Self;
3644 type DefaultType = Self;
3645 }
3646 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3647 #[repr(C, packed(1))]
3648 #[cfg(feature = "Win32_Foundation")]
3649 pub struct IMESHF {
3650 pub cbShf: u16,
3651 pub verDic: u16,
3652 pub szTitle: [super::super::super::Foundation::CHAR; 48],
3653 pub szDescription: [super::super::super::Foundation::CHAR; 256],
3654 pub szCopyright: [super::super::super::Foundation::CHAR; 128],
3655 }
3656 #[cfg(feature = "Win32_Foundation")]
3657 impl IMESHF {}
3658 #[cfg(feature = "Win32_Foundation")]
3659 impl ::std::default::Default for IMESHF {
default() -> Self3660 fn default() -> Self {
3661 unsafe { ::std::mem::zeroed() }
3662 }
3663 }
3664 #[cfg(feature = "Win32_Foundation")]
3665 impl ::std::cmp::PartialEq for IMESHF {
eq(&self, _other: &Self) -> bool3666 fn eq(&self, _other: &Self) -> bool {
3667 unimplemented!()
3668 }
3669 }
3670 #[cfg(feature = "Win32_Foundation")]
3671 impl ::std::cmp::Eq for IMESHF {}
3672 #[cfg(feature = "Win32_Foundation")]
3673 unsafe impl ::windows::runtime::Abi for IMESHF {
3674 type Abi = Self;
3675 type DefaultType = Self;
3676 }
3677 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3678 #[repr(C)]
3679 #[cfg(feature = "Win32_Foundation")]
3680 pub struct IMESTRINGCANDIDATE {
3681 pub uCount: u32,
3682 pub lpwstr: [super::super::super::Foundation::PWSTR; 1],
3683 }
3684 #[cfg(feature = "Win32_Foundation")]
3685 impl IMESTRINGCANDIDATE {}
3686 #[cfg(feature = "Win32_Foundation")]
3687 impl ::std::default::Default for IMESTRINGCANDIDATE {
default() -> Self3688 fn default() -> Self {
3689 unsafe { ::std::mem::zeroed() }
3690 }
3691 }
3692 #[cfg(feature = "Win32_Foundation")]
3693 impl ::std::fmt::Debug for IMESTRINGCANDIDATE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3694 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3695 fmt.debug_struct("IMESTRINGCANDIDATE").field("uCount", &self.uCount).field("lpwstr", &self.lpwstr).finish()
3696 }
3697 }
3698 #[cfg(feature = "Win32_Foundation")]
3699 impl ::std::cmp::PartialEq for IMESTRINGCANDIDATE {
eq(&self, other: &Self) -> bool3700 fn eq(&self, other: &Self) -> bool {
3701 self.uCount == other.uCount && self.lpwstr == other.lpwstr
3702 }
3703 }
3704 #[cfg(feature = "Win32_Foundation")]
3705 impl ::std::cmp::Eq for IMESTRINGCANDIDATE {}
3706 #[cfg(feature = "Win32_Foundation")]
3707 unsafe impl ::windows::runtime::Abi for IMESTRINGCANDIDATE {
3708 type Abi = Self;
3709 type DefaultType = Self;
3710 }
3711 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3712 #[repr(C)]
3713 #[cfg(feature = "Win32_Foundation")]
3714 pub struct IMESTRINGCANDIDATEINFO {
3715 pub dwFarEastId: u32,
3716 pub lpFarEastInfo: *mut tabIMEFAREASTINFO,
3717 pub fInfoMask: u32,
3718 pub iSelIndex: i32,
3719 pub uCount: u32,
3720 pub lpwstr: [super::super::super::Foundation::PWSTR; 1],
3721 }
3722 #[cfg(feature = "Win32_Foundation")]
3723 impl IMESTRINGCANDIDATEINFO {}
3724 #[cfg(feature = "Win32_Foundation")]
3725 impl ::std::default::Default for IMESTRINGCANDIDATEINFO {
default() -> Self3726 fn default() -> Self {
3727 unsafe { ::std::mem::zeroed() }
3728 }
3729 }
3730 #[cfg(feature = "Win32_Foundation")]
3731 impl ::std::fmt::Debug for IMESTRINGCANDIDATEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3732 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3733 fmt.debug_struct("IMESTRINGCANDIDATEINFO").field("dwFarEastId", &self.dwFarEastId).field("lpFarEastInfo", &self.lpFarEastInfo).field("fInfoMask", &self.fInfoMask).field("iSelIndex", &self.iSelIndex).field("uCount", &self.uCount).field("lpwstr", &self.lpwstr).finish()
3734 }
3735 }
3736 #[cfg(feature = "Win32_Foundation")]
3737 impl ::std::cmp::PartialEq for IMESTRINGCANDIDATEINFO {
eq(&self, other: &Self) -> bool3738 fn eq(&self, other: &Self) -> bool {
3739 self.dwFarEastId == other.dwFarEastId && self.lpFarEastInfo == other.lpFarEastInfo && self.fInfoMask == other.fInfoMask && self.iSelIndex == other.iSelIndex && self.uCount == other.uCount && self.lpwstr == other.lpwstr
3740 }
3741 }
3742 #[cfg(feature = "Win32_Foundation")]
3743 impl ::std::cmp::Eq for IMESTRINGCANDIDATEINFO {}
3744 #[cfg(feature = "Win32_Foundation")]
3745 unsafe impl ::windows::runtime::Abi for IMESTRINGCANDIDATEINFO {
3746 type Abi = Self;
3747 type DefaultType = Self;
3748 }
3749 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3750 #[repr(transparent)]
3751 pub struct IMEUCT(pub i32);
3752 pub const IFED_UCT_NONE: IMEUCT = IMEUCT(0i32);
3753 pub const IFED_UCT_STRING_SJIS: IMEUCT = IMEUCT(1i32);
3754 pub const IFED_UCT_STRING_UNICODE: IMEUCT = IMEUCT(2i32);
3755 pub const IFED_UCT_USER_DEFINED: IMEUCT = IMEUCT(3i32);
3756 pub const IFED_UCT_MAX: IMEUCT = IMEUCT(4i32);
3757 impl ::std::convert::From<i32> for IMEUCT {
from(value: i32) -> Self3758 fn from(value: i32) -> Self {
3759 Self(value)
3760 }
3761 }
3762 unsafe impl ::windows::runtime::Abi for IMEUCT {
3763 type Abi = Self;
3764 type DefaultType = Self;
3765 }
3766 pub const IMEVER_0310: u32 = 196618u32;
3767 pub const IMEVER_0400: u32 = 262144u32;
3768 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3769 #[repr(C, packed(1))]
3770 #[cfg(feature = "Win32_Foundation")]
3771 pub struct IMEWRD {
3772 pub pwchReading: super::super::super::Foundation::PWSTR,
3773 pub pwchDisplay: super::super::super::Foundation::PWSTR,
3774 pub Anonymous: IMEWRD_0,
3775 pub rgulAttrs: [u32; 2],
3776 pub cbComment: i32,
3777 pub uct: IMEUCT,
3778 pub pvComment: *mut ::std::ffi::c_void,
3779 }
3780 #[cfg(feature = "Win32_Foundation")]
3781 impl IMEWRD {}
3782 #[cfg(feature = "Win32_Foundation")]
3783 impl ::std::default::Default for IMEWRD {
default() -> Self3784 fn default() -> Self {
3785 unsafe { ::std::mem::zeroed() }
3786 }
3787 }
3788 #[cfg(feature = "Win32_Foundation")]
3789 impl ::std::cmp::PartialEq for IMEWRD {
eq(&self, _other: &Self) -> bool3790 fn eq(&self, _other: &Self) -> bool {
3791 unimplemented!()
3792 }
3793 }
3794 #[cfg(feature = "Win32_Foundation")]
3795 impl ::std::cmp::Eq for IMEWRD {}
3796 #[cfg(feature = "Win32_Foundation")]
3797 unsafe impl ::windows::runtime::Abi for IMEWRD {
3798 type Abi = Self;
3799 type DefaultType = Self;
3800 }
3801 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3802 #[repr(C, packed(1))]
3803 pub union IMEWRD_0 {
3804 pub ulPos: u32,
3805 pub Anonymous: IMEWRD_0_0,
3806 }
3807 impl IMEWRD_0 {}
3808 impl ::std::default::Default for IMEWRD_0 {
default() -> Self3809 fn default() -> Self {
3810 unsafe { ::std::mem::zeroed() }
3811 }
3812 }
3813 impl ::std::cmp::PartialEq for IMEWRD_0 {
eq(&self, _other: &Self) -> bool3814 fn eq(&self, _other: &Self) -> bool {
3815 unimplemented!()
3816 }
3817 }
3818 impl ::std::cmp::Eq for IMEWRD_0 {}
3819 unsafe impl ::windows::runtime::Abi for IMEWRD_0 {
3820 type Abi = Self;
3821 type DefaultType = Self;
3822 }
3823 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3824 #[repr(C, packed(1))]
3825 pub struct IMEWRD_0_0 {
3826 pub nPos1: u16,
3827 pub nPos2: u16,
3828 }
3829 impl IMEWRD_0_0 {}
3830 impl ::std::default::Default for IMEWRD_0_0 {
default() -> Self3831 fn default() -> Self {
3832 unsafe { ::std::mem::zeroed() }
3833 }
3834 }
3835 impl ::std::cmp::PartialEq for IMEWRD_0_0 {
eq(&self, _other: &Self) -> bool3836 fn eq(&self, _other: &Self) -> bool {
3837 unimplemented!()
3838 }
3839 }
3840 impl ::std::cmp::Eq for IMEWRD_0_0 {}
3841 unsafe impl ::windows::runtime::Abi for IMEWRD_0_0 {
3842 type Abi = Self;
3843 type DefaultType = Self;
3844 }
3845 pub const IME_CAND_CODE: u32 = 2u32;
3846 pub const IME_CAND_MEANING: u32 = 3u32;
3847 pub const IME_CAND_RADICAL: u32 = 4u32;
3848 pub const IME_CAND_READ: u32 = 1u32;
3849 pub const IME_CAND_STROKE: u32 = 5u32;
3850 pub const IME_CAND_UNKNOWN: u32 = 0u32;
3851 pub const IME_CHOTKEY_IME_NONIME_TOGGLE: u32 = 16u32;
3852 pub const IME_CHOTKEY_SHAPE_TOGGLE: u32 = 17u32;
3853 pub const IME_CHOTKEY_SYMBOL_TOGGLE: u32 = 18u32;
3854 pub const IME_CMODE_EUDC: u32 = 512u32;
3855 pub const IME_CMODE_FIXED: u32 = 2048u32;
3856 pub const IME_CMODE_NOCONVERSION: u32 = 256u32;
3857 pub const IME_CMODE_RESERVED: u32 = 4026531840u32;
3858 pub const IME_CMODE_SOFTKBD: u32 = 128u32;
3859 pub const IME_CMODE_SYMBOL: u32 = 1024u32;
3860 pub const IME_CONFIG_GENERAL: u32 = 1u32;
3861 pub const IME_CONFIG_REGISTERWORD: u32 = 2u32;
3862 pub const IME_CONFIG_SELECTDICTIONARY: u32 = 3u32;
3863 pub const IME_ESC_AUTOMATA: u32 = 4105u32;
3864 pub const IME_ESC_GETHELPFILENAME: u32 = 4107u32;
3865 pub const IME_ESC_GET_EUDC_DICTIONARY: u32 = 4099u32;
3866 pub const IME_ESC_HANJA_MODE: u32 = 4104u32;
3867 pub const IME_ESC_IME_NAME: u32 = 4102u32;
3868 pub const IME_ESC_MAX_KEY: u32 = 4101u32;
3869 pub const IME_ESC_PRIVATE_FIRST: u32 = 2048u32;
3870 pub const IME_ESC_PRIVATE_HOTKEY: u32 = 4106u32;
3871 pub const IME_ESC_PRIVATE_LAST: u32 = 4095u32;
3872 pub const IME_ESC_QUERY_SUPPORT: u32 = 3u32;
3873 pub const IME_ESC_RESERVED_FIRST: u32 = 4u32;
3874 pub const IME_ESC_RESERVED_LAST: u32 = 2047u32;
3875 pub const IME_ESC_SEQUENCE_TO_INTERNAL: u32 = 4097u32;
3876 pub const IME_ESC_SET_EUDC_DICTIONARY: u32 = 4100u32;
3877 pub const IME_ESC_STRING_BUFFER_SIZE: u32 = 80u32;
3878 pub const IME_ESC_SYNC_HOTKEY: u32 = 4103u32;
3879 pub const IME_HOTKEY_DSWITCH_FIRST: u32 = 256u32;
3880 pub const IME_HOTKEY_DSWITCH_LAST: u32 = 287u32;
3881 pub const IME_HOTKEY_PRIVATE_FIRST: u32 = 512u32;
3882 pub const IME_HOTKEY_PRIVATE_LAST: u32 = 543u32;
3883 pub const IME_ITHOTKEY_PREVIOUS_COMPOSITION: u32 = 513u32;
3884 pub const IME_ITHOTKEY_RECONVERTSTRING: u32 = 515u32;
3885 pub const IME_ITHOTKEY_RESEND_RESULTSTR: u32 = 512u32;
3886 pub const IME_ITHOTKEY_UISTYLE_TOGGLE: u32 = 514u32;
3887 pub const IME_JHOTKEY_CLOSE_OPEN: u32 = 48u32;
3888 pub const IME_KHOTKEY_ENGLISH: u32 = 82u32;
3889 pub const IME_KHOTKEY_HANJACONVERT: u32 = 81u32;
3890 pub const IME_KHOTKEY_SHAPE_TOGGLE: u32 = 80u32;
3891 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
3892 #[repr(transparent)]
3893 pub struct IME_PAD_REQUEST_FLAGS(pub u32);
3894 pub const IMEPADREQ_INSERTSTRING: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4097u32);
3895 pub const IMEPADREQ_SENDCONTROL: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4100u32);
3896 pub const IMEPADREQ_SETAPPLETSIZE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4104u32);
3897 pub const IMEPADREQ_GETCOMPOSITIONSTRING: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4102u32);
3898 pub const IMEPADREQ_GETCOMPOSITIONSTRINGINFO: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4108u32);
3899 pub const IMEPADREQ_DELETESTRING: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4112u32);
3900 pub const IMEPADREQ_CHANGESTRING: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4113u32);
3901 pub const IMEPADREQ_GETAPPLHWND: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4116u32);
3902 pub const IMEPADREQ_FORCEIMEPADWINDOWSHOW: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4117u32);
3903 pub const IMEPADREQ_POSTMODALNOTIFY: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4118u32);
3904 pub const IMEPADREQ_GETDEFAULTUILANGID: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4119u32);
3905 pub const IMEPADREQ_GETAPPLETUISTYLE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4121u32);
3906 pub const IMEPADREQ_SETAPPLETUISTYLE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4122u32);
3907 pub const IMEPADREQ_ISAPPLETACTIVE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4123u32);
3908 pub const IMEPADREQ_ISIMEPADWINDOWVISIBLE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4124u32);
3909 pub const IMEPADREQ_SETAPPLETMINMAXSIZE: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4125u32);
3910 pub const IMEPADREQ_GETCONVERSIONSTATUS: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4126u32);
3911 pub const IMEPADREQ_GETVERSION: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4127u32);
3912 pub const IMEPADREQ_GETCURRENTIMEINFO: IME_PAD_REQUEST_FLAGS = IME_PAD_REQUEST_FLAGS(4128u32);
3913 impl ::std::convert::From<u32> for IME_PAD_REQUEST_FLAGS {
from(value: u32) -> Self3914 fn from(value: u32) -> Self {
3915 Self(value)
3916 }
3917 }
3918 unsafe impl ::windows::runtime::Abi for IME_PAD_REQUEST_FLAGS {
3919 type Abi = Self;
3920 type DefaultType = Self;
3921 }
3922 impl ::std::ops::BitOr for IME_PAD_REQUEST_FLAGS {
3923 type Output = Self;
bitor(self, rhs: Self) -> Self3924 fn bitor(self, rhs: Self) -> Self {
3925 Self(self.0 | rhs.0)
3926 }
3927 }
3928 impl ::std::ops::BitAnd for IME_PAD_REQUEST_FLAGS {
3929 type Output = Self;
bitand(self, rhs: Self) -> Self3930 fn bitand(self, rhs: Self) -> Self {
3931 Self(self.0 & rhs.0)
3932 }
3933 }
3934 impl ::std::ops::BitOrAssign for IME_PAD_REQUEST_FLAGS {
bitor_assign(&mut self, rhs: Self)3935 fn bitor_assign(&mut self, rhs: Self) {
3936 self.0.bitor_assign(rhs.0)
3937 }
3938 }
3939 impl ::std::ops::BitAndAssign for IME_PAD_REQUEST_FLAGS {
bitand_assign(&mut self, rhs: Self)3940 fn bitand_assign(&mut self, rhs: Self) {
3941 self.0.bitand_assign(rhs.0)
3942 }
3943 }
3944 impl ::std::ops::Not for IME_PAD_REQUEST_FLAGS {
3945 type Output = Self;
not(self) -> Self3946 fn not(self) -> Self {
3947 Self(self.0.not())
3948 }
3949 }
3950 pub const IME_PROP_ACCEPT_WIDE_VKEY: u32 = 32u32;
3951 pub const IME_PROP_AT_CARET: u32 = 65536u32;
3952 pub const IME_PROP_CANDLIST_START_FROM_1: u32 = 262144u32;
3953 pub const IME_PROP_COMPLETE_ON_UNSELECT: u32 = 1048576u32;
3954 pub const IME_PROP_END_UNLOAD: u32 = 1u32;
3955 pub const IME_PROP_IGNORE_UPKEYS: u32 = 4u32;
3956 pub const IME_PROP_KBD_CHAR_FIRST: u32 = 2u32;
3957 pub const IME_PROP_NEED_ALTKEY: u32 = 8u32;
3958 pub const IME_PROP_NO_KEYS_ON_CLOSE: u32 = 16u32;
3959 pub const IME_PROP_SPECIAL_UI: u32 = 131072u32;
3960 pub const IME_PROP_UNICODE: u32 = 524288u32;
3961 pub const IME_REGWORD_STYLE_EUDC: u32 = 1u32;
3962 pub const IME_REGWORD_STYLE_USER_FIRST: u32 = 2147483648u32;
3963 pub const IME_REGWORD_STYLE_USER_LAST: u32 = 4294967295u32;
3964 pub const IME_SMODE_AUTOMATIC: u32 = 4u32;
3965 pub const IME_SMODE_CONVERSATION: u32 = 16u32;
3966 pub const IME_SMODE_NONE: u32 = 0u32;
3967 pub const IME_SMODE_PHRASEPREDICT: u32 = 8u32;
3968 pub const IME_SMODE_PLAURALCLAUSE: u32 = 1u32;
3969 pub const IME_SMODE_RESERVED: u32 = 61440u32;
3970 pub const IME_SMODE_SINGLECONVERT: u32 = 2u32;
3971 pub const IME_SYSINFO_WINLOGON: u32 = 1u32;
3972 pub const IME_SYSINFO_WOW16: u32 = 2u32;
3973 pub const IME_THOTKEY_IME_NONIME_TOGGLE: u32 = 112u32;
3974 pub const IME_THOTKEY_SHAPE_TOGGLE: u32 = 113u32;
3975 pub const IME_THOTKEY_SYMBOL_TOGGLE: u32 = 114u32;
3976 pub const IME_UI_CLASS_NAME_SIZE: u32 = 16u32;
3977 pub const IMFT_RADIOCHECK: u32 = 1u32;
3978 pub const IMFT_SEPARATOR: u32 = 2u32;
3979 pub const IMFT_SUBMENU: u32 = 4u32;
3980 pub const IMMGWLP_IMC: u32 = 0u32;
3981 pub const IMMGWL_IMC: u32 = 0u32;
3982 pub const IMM_ERROR_GENERAL: i32 = -2i32;
3983 pub const IMM_ERROR_NODATA: i32 = -1i32;
3984 pub const IMN_CHANGECANDIDATE: u32 = 3u32;
3985 pub const IMN_CLOSECANDIDATE: u32 = 4u32;
3986 pub const IMN_CLOSESTATUSWINDOW: u32 = 1u32;
3987 pub const IMN_GUIDELINE: u32 = 13u32;
3988 pub const IMN_OPENCANDIDATE: u32 = 5u32;
3989 pub const IMN_OPENSTATUSWINDOW: u32 = 2u32;
3990 pub const IMN_PRIVATE: u32 = 14u32;
3991 pub const IMN_SETCANDIDATEPOS: u32 = 9u32;
3992 pub const IMN_SETCOMPOSITIONFONT: u32 = 10u32;
3993 pub const IMN_SETCOMPOSITIONWINDOW: u32 = 11u32;
3994 pub const IMN_SETCONVERSIONMODE: u32 = 6u32;
3995 pub const IMN_SETOPENSTATUS: u32 = 8u32;
3996 pub const IMN_SETSENTENCEMODE: u32 = 7u32;
3997 pub const IMN_SETSTATUSWINDOWPOS: u32 = 12u32;
3998 pub const IMN_SOFTKBDDESTROYED: u32 = 17u32;
3999 pub const IMR_CANDIDATEWINDOW: u32 = 2u32;
4000 pub const IMR_COMPOSITIONFONT: u32 = 3u32;
4001 pub const IMR_COMPOSITIONWINDOW: u32 = 1u32;
4002 pub const IMR_CONFIRMRECONVERTSTRING: u32 = 5u32;
4003 pub const IMR_DOCUMENTFEED: u32 = 7u32;
4004 pub const IMR_QUERYCHARPOSITION: u32 = 6u32;
4005 pub const IMR_RECONVERTSTRING: u32 = 4u32;
4006 pub const INFOMASK_APPLY_CAND: u32 = 2u32;
4007 pub const INFOMASK_APPLY_CAND_EX: u32 = 4u32;
4008 pub const INFOMASK_BLOCK_CAND: u32 = 262144u32;
4009 pub const INFOMASK_HIDE_CAND: u32 = 131072u32;
4010 pub const INFOMASK_NONE: u32 = 0u32;
4011 pub const INFOMASK_QUERY_CAND: u32 = 1u32;
4012 pub const INFOMASK_STRING_FIX: u32 = 65536u32;
4013 pub const INIT_COMPFORM: u32 = 16u32;
4014 pub const INIT_CONVERSION: u32 = 2u32;
4015 pub const INIT_LOGFONT: u32 = 8u32;
4016 pub const INIT_SENTENCE: u32 = 4u32;
4017 pub const INIT_SOFTKBDPOS: u32 = 32u32;
4018 pub const INIT_STATUSWNDPOS: u32 = 1u32;
4019 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4020 #[repr(C)]
4021 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4022 pub struct INPUTCONTEXT {
4023 pub hWnd: super::super::super::Foundation::HWND,
4024 pub fOpen: super::super::super::Foundation::BOOL,
4025 pub ptStatusWndPos: super::super::super::Foundation::POINT,
4026 pub ptSoftKbdPos: super::super::super::Foundation::POINT,
4027 pub fdwConversion: u32,
4028 pub fdwSentence: u32,
4029 pub lfFont: INPUTCONTEXT_0,
4030 pub cfCompForm: COMPOSITIONFORM,
4031 pub cfCandForm: [CANDIDATEFORM; 4],
4032 pub hCompStr: super::super::super::Globalization::HIMCC,
4033 pub hCandInfo: super::super::super::Globalization::HIMCC,
4034 pub hGuideLine: super::super::super::Globalization::HIMCC,
4035 pub hPrivate: super::super::super::Globalization::HIMCC,
4036 pub dwNumMsgBuf: u32,
4037 pub hMsgBuf: super::super::super::Globalization::HIMCC,
4038 pub fdwInit: u32,
4039 pub dwReserve: [u32; 3],
4040 }
4041 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4042 impl INPUTCONTEXT {}
4043 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4044 impl ::std::default::Default for INPUTCONTEXT {
default() -> Self4045 fn default() -> Self {
4046 unsafe { ::std::mem::zeroed() }
4047 }
4048 }
4049 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4050 impl ::std::cmp::PartialEq for INPUTCONTEXT {
eq(&self, _other: &Self) -> bool4051 fn eq(&self, _other: &Self) -> bool {
4052 unimplemented!()
4053 }
4054 }
4055 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4056 impl ::std::cmp::Eq for INPUTCONTEXT {}
4057 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4058 unsafe impl ::windows::runtime::Abi for INPUTCONTEXT {
4059 type Abi = Self;
4060 type DefaultType = Self;
4061 }
4062 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4063 #[repr(C)]
4064 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4065 pub union INPUTCONTEXT_0 {
4066 pub A: super::super::super::Graphics::Gdi::LOGFONTA,
4067 pub W: super::super::super::Graphics::Gdi::LOGFONTW,
4068 }
4069 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4070 impl INPUTCONTEXT_0 {}
4071 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4072 impl ::std::default::Default for INPUTCONTEXT_0 {
default() -> Self4073 fn default() -> Self {
4074 unsafe { ::std::mem::zeroed() }
4075 }
4076 }
4077 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4078 impl ::std::cmp::PartialEq for INPUTCONTEXT_0 {
eq(&self, _other: &Self) -> bool4079 fn eq(&self, _other: &Self) -> bool {
4080 unimplemented!()
4081 }
4082 }
4083 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4084 impl ::std::cmp::Eq for INPUTCONTEXT_0 {}
4085 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
4086 unsafe impl ::windows::runtime::Abi for INPUTCONTEXT_0 {
4087 type Abi = Self;
4088 type DefaultType = Self;
4089 }
4090 pub const IPACFG_CATEGORY: i32 = 262144i32;
4091 pub const IPACFG_HELP: i32 = 2i32;
4092 pub const IPACFG_LANG: i32 = 16i32;
4093 pub const IPACFG_NONE: i32 = 0i32;
4094 pub const IPACFG_PROPERTY: i32 = 1i32;
4095 pub const IPACFG_TITLE: i32 = 65536i32;
4096 pub const IPACFG_TITLEFONTFACE: i32 = 131072i32;
4097 pub const IPACID_CHARLIST: u32 = 9u32;
4098 pub const IPACID_EPWING: u32 = 7u32;
4099 pub const IPACID_HANDWRITING: u32 = 2u32;
4100 pub const IPACID_NONE: u32 = 0u32;
4101 pub const IPACID_OCR: u32 = 8u32;
4102 pub const IPACID_RADICALSEARCH: u32 = 4u32;
4103 pub const IPACID_SOFTKEY: u32 = 1u32;
4104 pub const IPACID_STROKESEARCH: u32 = 3u32;
4105 pub const IPACID_SYMBOLSEARCH: u32 = 5u32;
4106 pub const IPACID_USER: u32 = 256u32;
4107 pub const IPACID_VOICE: u32 = 6u32;
4108 pub const IPAWS_ENABLED: i32 = 1i32;
4109 pub const IPAWS_HORIZONTALFIXED: i32 = 512i32;
4110 pub const IPAWS_MAXHEIGHTFIXED: i32 = 8192i32;
4111 pub const IPAWS_MAXSIZEFIXED: i32 = 12288i32;
4112 pub const IPAWS_MAXWIDTHFIXED: i32 = 4096i32;
4113 pub const IPAWS_MINHEIGHTFIXED: i32 = 131072i32;
4114 pub const IPAWS_MINSIZEFIXED: i32 = 196608i32;
4115 pub const IPAWS_MINWIDTHFIXED: i32 = 65536i32;
4116 pub const IPAWS_SIZEFIXED: i32 = 768i32;
4117 pub const IPAWS_SIZINGNOTIFY: i32 = 4i32;
4118 pub const IPAWS_VERTICALFIXED: i32 = 256i32;
4119 pub const ISC_SHOWUIALL: u32 = 3221225487u32;
4120 pub const ISC_SHOWUIALLCANDIDATEWINDOW: u32 = 15u32;
4121 pub const ISC_SHOWUICANDIDATEWINDOW: u32 = 1u32;
4122 pub const ISC_SHOWUICOMPOSITIONWINDOW: u32 = 2147483648u32;
4123 pub const ISC_SHOWUIGUIDELINE: u32 = 1073741824u32;
4124 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4125 #[inline]
ImmAssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1) -> super::super::super::Globalization::HIMC4126 pub unsafe fn ImmAssociateContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1) -> super::super::super::Globalization::HIMC {
4127 #[cfg(windows)]
4128 {
4129 #[link(name = "windows")]
4130 extern "system" {
4131 fn ImmAssociateContext(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC) -> super::super::super::Globalization::HIMC;
4132 }
4133 ::std::mem::transmute(ImmAssociateContext(param0.into_param().abi(), param1.into_param().abi()))
4134 }
4135 #[cfg(not(windows))]
4136 unimplemented!("Unsupported target OS");
4137 }
4138 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4139 #[inline]
ImmAssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32) -> super::super::super::Foundation::BOOL4140 pub unsafe fn ImmAssociateContextEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32) -> super::super::super::Foundation::BOOL {
4141 #[cfg(windows)]
4142 {
4143 #[link(name = "windows")]
4144 extern "system" {
4145 fn ImmAssociateContextEx(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC, param2: u32) -> super::super::super::Foundation::BOOL;
4146 }
4147 ::std::mem::transmute(ImmAssociateContextEx(param0.into_param().abi(), param1.into_param().abi(), ::std::mem::transmute(param2)))
4148 }
4149 #[cfg(not(windows))]
4150 unimplemented!("Unsupported target OS");
4151 }
4152 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4153 #[inline]
ImmConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL4154 pub unsafe fn ImmConfigureIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL {
4155 #[cfg(windows)]
4156 {
4157 #[link(name = "windows")]
4158 extern "system" {
4159 fn ImmConfigureIMEA(param0: super::super::TextServices::HKL, param1: super::super::super::Foundation::HWND, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL;
4160 }
4161 ::std::mem::transmute(ImmConfigureIMEA(param0.into_param().abi(), param1.into_param().abi(), ::std::mem::transmute(param2), ::std::mem::transmute(param3)))
4162 }
4163 #[cfg(not(windows))]
4164 unimplemented!("Unsupported target OS");
4165 }
4166 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4167 #[inline]
ImmConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL4168 pub unsafe fn ImmConfigureIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL {
4169 #[cfg(windows)]
4170 {
4171 #[link(name = "windows")]
4172 extern "system" {
4173 fn ImmConfigureIMEW(param0: super::super::TextServices::HKL, param1: super::super::super::Foundation::HWND, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::BOOL;
4174 }
4175 ::std::mem::transmute(ImmConfigureIMEW(param0.into_param().abi(), param1.into_param().abi(), ::std::mem::transmute(param2), ::std::mem::transmute(param3)))
4176 }
4177 #[cfg(not(windows))]
4178 unimplemented!("Unsupported target OS");
4179 }
4180 #[cfg(feature = "Win32_Globalization")]
4181 #[inline]
ImmCreateContext() -> super::super::super::Globalization::HIMC4182 pub unsafe fn ImmCreateContext() -> super::super::super::Globalization::HIMC {
4183 #[cfg(windows)]
4184 {
4185 #[link(name = "windows")]
4186 extern "system" {
4187 fn ImmCreateContext() -> super::super::super::Globalization::HIMC;
4188 }
4189 ::std::mem::transmute(ImmCreateContext())
4190 }
4191 #[cfg(not(windows))]
4192 unimplemented!("Unsupported target OS");
4193 }
4194 #[cfg(feature = "Win32_Globalization")]
4195 #[inline]
ImmCreateIMCC(param0: u32) -> super::super::super::Globalization::HIMCC4196 pub unsafe fn ImmCreateIMCC(param0: u32) -> super::super::super::Globalization::HIMCC {
4197 #[cfg(windows)]
4198 {
4199 #[link(name = "windows")]
4200 extern "system" {
4201 fn ImmCreateIMCC(param0: u32) -> super::super::super::Globalization::HIMCC;
4202 }
4203 ::std::mem::transmute(ImmCreateIMCC(::std::mem::transmute(param0)))
4204 }
4205 #[cfg(not(windows))]
4206 unimplemented!("Unsupported target OS");
4207 }
4208 #[cfg(feature = "Win32_Foundation")]
4209 #[inline]
ImmCreateSoftKeyboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: u32, param1: Param1, param2: i32, param3: i32) -> super::super::super::Foundation::HWND4210 pub unsafe fn ImmCreateSoftKeyboard<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: u32, param1: Param1, param2: i32, param3: i32) -> super::super::super::Foundation::HWND {
4211 #[cfg(windows)]
4212 {
4213 #[link(name = "windows")]
4214 extern "system" {
4215 fn ImmCreateSoftKeyboard(param0: u32, param1: super::super::super::Foundation::HWND, param2: i32, param3: i32) -> super::super::super::Foundation::HWND;
4216 }
4217 ::std::mem::transmute(ImmCreateSoftKeyboard(::std::mem::transmute(param0), param1.into_param().abi(), ::std::mem::transmute(param2), ::std::mem::transmute(param3)))
4218 }
4219 #[cfg(not(windows))]
4220 unimplemented!("Unsupported target OS");
4221 }
4222 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4223 #[inline]
ImmDestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL4224 pub unsafe fn ImmDestroyContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL {
4225 #[cfg(windows)]
4226 {
4227 #[link(name = "windows")]
4228 extern "system" {
4229 fn ImmDestroyContext(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL;
4230 }
4231 ::std::mem::transmute(ImmDestroyContext(param0.into_param().abi()))
4232 }
4233 #[cfg(not(windows))]
4234 unimplemented!("Unsupported target OS");
4235 }
4236 #[cfg(feature = "Win32_Globalization")]
4237 #[inline]
ImmDestroyIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> super::super::super::Globalization::HIMCC4238 pub unsafe fn ImmDestroyIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> super::super::super::Globalization::HIMCC {
4239 #[cfg(windows)]
4240 {
4241 #[link(name = "windows")]
4242 extern "system" {
4243 fn ImmDestroyIMCC(param0: super::super::super::Globalization::HIMCC) -> super::super::super::Globalization::HIMCC;
4244 }
4245 ::std::mem::transmute(ImmDestroyIMCC(param0.into_param().abi()))
4246 }
4247 #[cfg(not(windows))]
4248 unimplemented!("Unsupported target OS");
4249 }
4250 #[cfg(feature = "Win32_Foundation")]
4251 #[inline]
ImmDestroySoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Foundation::BOOL4252 pub unsafe fn ImmDestroySoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Foundation::BOOL {
4253 #[cfg(windows)]
4254 {
4255 #[link(name = "windows")]
4256 extern "system" {
4257 fn ImmDestroySoftKeyboard(param0: super::super::super::Foundation::HWND) -> super::super::super::Foundation::BOOL;
4258 }
4259 ::std::mem::transmute(ImmDestroySoftKeyboard(param0.into_param().abi()))
4260 }
4261 #[cfg(not(windows))]
4262 unimplemented!("Unsupported target OS");
4263 }
4264 #[cfg(feature = "Win32_Foundation")]
4265 #[inline]
ImmDisableIME(param0: u32) -> super::super::super::Foundation::BOOL4266 pub unsafe fn ImmDisableIME(param0: u32) -> super::super::super::Foundation::BOOL {
4267 #[cfg(windows)]
4268 {
4269 #[link(name = "windows")]
4270 extern "system" {
4271 fn ImmDisableIME(param0: u32) -> super::super::super::Foundation::BOOL;
4272 }
4273 ::std::mem::transmute(ImmDisableIME(::std::mem::transmute(param0)))
4274 }
4275 #[cfg(not(windows))]
4276 unimplemented!("Unsupported target OS");
4277 }
4278 #[cfg(feature = "Win32_Foundation")]
4279 #[inline]
ImmDisableLegacyIME() -> super::super::super::Foundation::BOOL4280 pub unsafe fn ImmDisableLegacyIME() -> super::super::super::Foundation::BOOL {
4281 #[cfg(windows)]
4282 {
4283 #[link(name = "windows")]
4284 extern "system" {
4285 fn ImmDisableLegacyIME() -> super::super::super::Foundation::BOOL;
4286 }
4287 ::std::mem::transmute(ImmDisableLegacyIME())
4288 }
4289 #[cfg(not(windows))]
4290 unimplemented!("Unsupported target OS");
4291 }
4292 #[cfg(feature = "Win32_Foundation")]
4293 #[inline]
ImmDisableTextFrameService(idthread: u32) -> super::super::super::Foundation::BOOL4294 pub unsafe fn ImmDisableTextFrameService(idthread: u32) -> super::super::super::Foundation::BOOL {
4295 #[cfg(windows)]
4296 {
4297 #[link(name = "windows")]
4298 extern "system" {
4299 fn ImmDisableTextFrameService(idthread: u32) -> super::super::super::Foundation::BOOL;
4300 }
4301 ::std::mem::transmute(ImmDisableTextFrameService(::std::mem::transmute(idthread)))
4302 }
4303 #[cfg(not(windows))]
4304 unimplemented!("Unsupported target OS");
4305 }
4306 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4307 #[inline]
ImmEnumInputContext<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(idthread: u32, lpfn: ::std::option::Option<IMCENUMPROC>, lparam: Param2) -> super::super::super::Foundation::BOOL4308 pub unsafe fn ImmEnumInputContext<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(idthread: u32, lpfn: ::std::option::Option<IMCENUMPROC>, lparam: Param2) -> super::super::super::Foundation::BOOL {
4309 #[cfg(windows)]
4310 {
4311 #[link(name = "windows")]
4312 extern "system" {
4313 fn ImmEnumInputContext(idthread: u32, lpfn: ::windows::runtime::RawPtr, lparam: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL;
4314 }
4315 ::std::mem::transmute(ImmEnumInputContext(::std::mem::transmute(idthread), ::std::mem::transmute(lpfn), lparam.into_param().abi()))
4316 }
4317 #[cfg(not(windows))]
4318 unimplemented!("Unsupported target OS");
4319 }
4320 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4321 #[inline]
ImmEnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, param1: ::std::option::Option<REGISTERWORDENUMPROCA>, lpszreading: Param2, param3: u32, lpszregister: Param4, param5: *mut ::std::ffi::c_void) -> u324322 pub unsafe fn ImmEnumRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, param1: ::std::option::Option<REGISTERWORDENUMPROCA>, lpszreading: Param2, param3: u32, lpszregister: Param4, param5: *mut ::std::ffi::c_void) -> u32 {
4323 #[cfg(windows)]
4324 {
4325 #[link(name = "windows")]
4326 extern "system" {
4327 fn ImmEnumRegisterWordA(param0: super::super::TextServices::HKL, param1: ::windows::runtime::RawPtr, lpszreading: super::super::super::Foundation::PSTR, param3: u32, lpszregister: super::super::super::Foundation::PSTR, param5: *mut ::std::ffi::c_void) -> u32;
4328 }
4329 ::std::mem::transmute(ImmEnumRegisterWordA(param0.into_param().abi(), ::std::mem::transmute(param1), lpszreading.into_param().abi(), ::std::mem::transmute(param3), lpszregister.into_param().abi(), ::std::mem::transmute(param5)))
4330 }
4331 #[cfg(not(windows))]
4332 unimplemented!("Unsupported target OS");
4333 }
4334 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4335 #[inline]
ImmEnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, param1: ::std::option::Option<REGISTERWORDENUMPROCW>, lpszreading: Param2, param3: u32, lpszregister: Param4, param5: *mut ::std::ffi::c_void) -> u324336 pub unsafe fn ImmEnumRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, param1: ::std::option::Option<REGISTERWORDENUMPROCW>, lpszreading: Param2, param3: u32, lpszregister: Param4, param5: *mut ::std::ffi::c_void) -> u32 {
4337 #[cfg(windows)]
4338 {
4339 #[link(name = "windows")]
4340 extern "system" {
4341 fn ImmEnumRegisterWordW(param0: super::super::TextServices::HKL, param1: ::windows::runtime::RawPtr, lpszreading: super::super::super::Foundation::PWSTR, param3: u32, lpszregister: super::super::super::Foundation::PWSTR, param5: *mut ::std::ffi::c_void) -> u32;
4342 }
4343 ::std::mem::transmute(ImmEnumRegisterWordW(param0.into_param().abi(), ::std::mem::transmute(param1), lpszreading.into_param().abi(), ::std::mem::transmute(param3), lpszregister.into_param().abi(), ::std::mem::transmute(param5)))
4344 }
4345 #[cfg(not(windows))]
4346 unimplemented!("Unsupported target OS");
4347 }
4348 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
4349 #[inline]
ImmEscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT4350 pub unsafe fn ImmEscapeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT {
4351 #[cfg(windows)]
4352 {
4353 #[link(name = "windows")]
4354 extern "system" {
4355 fn ImmEscapeA(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT;
4356 }
4357 ::std::mem::transmute(ImmEscapeA(param0.into_param().abi(), param1.into_param().abi(), ::std::mem::transmute(param2), ::std::mem::transmute(param3)))
4358 }
4359 #[cfg(not(windows))]
4360 unimplemented!("Unsupported target OS");
4361 }
4362 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
4363 #[inline]
ImmEscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT4364 pub unsafe fn ImmEscapeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT {
4365 #[cfg(windows)]
4366 {
4367 #[link(name = "windows")]
4368 extern "system" {
4369 fn ImmEscapeW(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, param2: u32, param3: *mut ::std::ffi::c_void) -> super::super::super::Foundation::LRESULT;
4370 }
4371 ::std::mem::transmute(ImmEscapeW(param0.into_param().abi(), param1.into_param().abi(), ::std::mem::transmute(param2), ::std::mem::transmute(param3)))
4372 }
4373 #[cfg(not(windows))]
4374 unimplemented!("Unsupported target OS");
4375 }
4376 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4377 #[inline]
ImmGenerateMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL4378 pub unsafe fn ImmGenerateMessage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL {
4379 #[cfg(windows)]
4380 {
4381 #[link(name = "windows")]
4382 extern "system" {
4383 fn ImmGenerateMessage(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL;
4384 }
4385 ::std::mem::transmute(ImmGenerateMessage(param0.into_param().abi()))
4386 }
4387 #[cfg(not(windows))]
4388 unimplemented!("Unsupported target OS");
4389 }
4390 #[cfg(feature = "Win32_Globalization")]
4391 #[inline]
ImmGetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u324392 pub unsafe fn ImmGetCandidateListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32 {
4393 #[cfg(windows)]
4394 {
4395 #[link(name = "windows")]
4396 extern "system" {
4397 fn ImmGetCandidateListA(param0: super::super::super::Globalization::HIMC, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32;
4398 }
4399 ::std::mem::transmute(ImmGetCandidateListA(param0.into_param().abi(), ::std::mem::transmute(deindex), ::std::mem::transmute(lpcandlist), ::std::mem::transmute(dwbuflen)))
4400 }
4401 #[cfg(not(windows))]
4402 unimplemented!("Unsupported target OS");
4403 }
4404 #[cfg(feature = "Win32_Globalization")]
4405 #[inline]
ImmGetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpdwlistcount: *mut u32) -> u324406 pub unsafe fn ImmGetCandidateListCountA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpdwlistcount: *mut u32) -> u32 {
4407 #[cfg(windows)]
4408 {
4409 #[link(name = "windows")]
4410 extern "system" {
4411 fn ImmGetCandidateListCountA(param0: super::super::super::Globalization::HIMC, lpdwlistcount: *mut u32) -> u32;
4412 }
4413 ::std::mem::transmute(ImmGetCandidateListCountA(param0.into_param().abi(), ::std::mem::transmute(lpdwlistcount)))
4414 }
4415 #[cfg(not(windows))]
4416 unimplemented!("Unsupported target OS");
4417 }
4418 #[cfg(feature = "Win32_Globalization")]
4419 #[inline]
ImmGetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpdwlistcount: *mut u32) -> u324420 pub unsafe fn ImmGetCandidateListCountW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpdwlistcount: *mut u32) -> u32 {
4421 #[cfg(windows)]
4422 {
4423 #[link(name = "windows")]
4424 extern "system" {
4425 fn ImmGetCandidateListCountW(param0: super::super::super::Globalization::HIMC, lpdwlistcount: *mut u32) -> u32;
4426 }
4427 ::std::mem::transmute(ImmGetCandidateListCountW(param0.into_param().abi(), ::std::mem::transmute(lpdwlistcount)))
4428 }
4429 #[cfg(not(windows))]
4430 unimplemented!("Unsupported target OS");
4431 }
4432 #[cfg(feature = "Win32_Globalization")]
4433 #[inline]
ImmGetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u324434 pub unsafe fn ImmGetCandidateListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32 {
4435 #[cfg(windows)]
4436 {
4437 #[link(name = "windows")]
4438 extern "system" {
4439 fn ImmGetCandidateListW(param0: super::super::super::Globalization::HIMC, deindex: u32, lpcandlist: *mut CANDIDATELIST, dwbuflen: u32) -> u32;
4440 }
4441 ::std::mem::transmute(ImmGetCandidateListW(param0.into_param().abi(), ::std::mem::transmute(deindex), ::std::mem::transmute(lpcandlist), ::std::mem::transmute(dwbuflen)))
4442 }
4443 #[cfg(not(windows))]
4444 unimplemented!("Unsupported target OS");
4445 }
4446 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4447 #[inline]
ImmGetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpcandidate: *mut CANDIDATEFORM) -> super::super::super::Foundation::BOOL4448 pub unsafe fn ImmGetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpcandidate: *mut CANDIDATEFORM) -> super::super::super::Foundation::BOOL {
4449 #[cfg(windows)]
4450 {
4451 #[link(name = "windows")]
4452 extern "system" {
4453 fn ImmGetCandidateWindow(param0: super::super::super::Globalization::HIMC, param1: u32, lpcandidate: *mut CANDIDATEFORM) -> super::super::super::Foundation::BOOL;
4454 }
4455 ::std::mem::transmute(ImmGetCandidateWindow(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(lpcandidate)))
4456 }
4457 #[cfg(not(windows))]
4458 unimplemented!("Unsupported target OS");
4459 }
4460 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4461 #[inline]
ImmGetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL4462 pub unsafe fn ImmGetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL {
4463 #[cfg(windows)]
4464 {
4465 #[link(name = "windows")]
4466 extern "system" {
4467 fn ImmGetCompositionFontA(param0: super::super::super::Globalization::HIMC, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL;
4468 }
4469 ::std::mem::transmute(ImmGetCompositionFontA(param0.into_param().abi(), ::std::mem::transmute(lplf)))
4470 }
4471 #[cfg(not(windows))]
4472 unimplemented!("Unsupported target OS");
4473 }
4474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4475 #[inline]
ImmGetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL4476 pub unsafe fn ImmGetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL {
4477 #[cfg(windows)]
4478 {
4479 #[link(name = "windows")]
4480 extern "system" {
4481 fn ImmGetCompositionFontW(param0: super::super::super::Globalization::HIMC, lplf: *mut super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL;
4482 }
4483 ::std::mem::transmute(ImmGetCompositionFontW(param0.into_param().abi(), ::std::mem::transmute(lplf)))
4484 }
4485 #[cfg(not(windows))]
4486 unimplemented!("Unsupported target OS");
4487 }
4488 #[cfg(feature = "Win32_Globalization")]
4489 #[inline]
ImmGetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i324490 pub unsafe fn ImmGetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i32 {
4491 #[cfg(windows)]
4492 {
4493 #[link(name = "windows")]
4494 extern "system" {
4495 fn ImmGetCompositionStringA(param0: super::super::super::Globalization::HIMC, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i32;
4496 }
4497 ::std::mem::transmute(ImmGetCompositionStringA(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(lpbuf), ::std::mem::transmute(dwbuflen)))
4498 }
4499 #[cfg(not(windows))]
4500 unimplemented!("Unsupported target OS");
4501 }
4502 #[cfg(feature = "Win32_Globalization")]
4503 #[inline]
ImmGetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i324504 pub unsafe fn ImmGetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i32 {
4505 #[cfg(windows)]
4506 {
4507 #[link(name = "windows")]
4508 extern "system" {
4509 fn ImmGetCompositionStringW(param0: super::super::super::Globalization::HIMC, param1: u32, lpbuf: *mut ::std::ffi::c_void, dwbuflen: u32) -> i32;
4510 }
4511 ::std::mem::transmute(ImmGetCompositionStringW(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(lpbuf), ::std::mem::transmute(dwbuflen)))
4512 }
4513 #[cfg(not(windows))]
4514 unimplemented!("Unsupported target OS");
4515 }
4516 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4517 #[inline]
ImmGetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcompform: *mut COMPOSITIONFORM) -> super::super::super::Foundation::BOOL4518 pub unsafe fn ImmGetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcompform: *mut COMPOSITIONFORM) -> super::super::super::Foundation::BOOL {
4519 #[cfg(windows)]
4520 {
4521 #[link(name = "windows")]
4522 extern "system" {
4523 fn ImmGetCompositionWindow(param0: super::super::super::Globalization::HIMC, lpcompform: *mut COMPOSITIONFORM) -> super::super::super::Foundation::BOOL;
4524 }
4525 ::std::mem::transmute(ImmGetCompositionWindow(param0.into_param().abi(), ::std::mem::transmute(lpcompform)))
4526 }
4527 #[cfg(not(windows))]
4528 unimplemented!("Unsupported target OS");
4529 }
4530 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4531 #[inline]
ImmGetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Globalization::HIMC4532 pub unsafe fn ImmGetContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Globalization::HIMC {
4533 #[cfg(windows)]
4534 {
4535 #[link(name = "windows")]
4536 extern "system" {
4537 fn ImmGetContext(param0: super::super::super::Foundation::HWND) -> super::super::super::Globalization::HIMC;
4538 }
4539 ::std::mem::transmute(ImmGetContext(param0.into_param().abi()))
4540 }
4541 #[cfg(not(windows))]
4542 unimplemented!("Unsupported target OS");
4543 }
4544 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
4545 #[inline]
ImmGetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, param1: Param1, lpsrc: Param2, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u324546 pub unsafe fn ImmGetConversionListA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, param1: Param1, lpsrc: Param2, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32 {
4547 #[cfg(windows)]
4548 {
4549 #[link(name = "windows")]
4550 extern "system" {
4551 fn ImmGetConversionListA(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, lpsrc: super::super::super::Foundation::PSTR, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32;
4552 }
4553 ::std::mem::transmute(ImmGetConversionListA(param0.into_param().abi(), param1.into_param().abi(), lpsrc.into_param().abi(), ::std::mem::transmute(lpdst), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(uflag)))
4554 }
4555 #[cfg(not(windows))]
4556 unimplemented!("Unsupported target OS");
4557 }
4558 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_UI_TextServices"))]
4559 #[inline]
ImmGetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, param1: Param1, lpsrc: Param2, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u324560 pub unsafe fn ImmGetConversionListW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, param1: Param1, lpsrc: Param2, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32 {
4561 #[cfg(windows)]
4562 {
4563 #[link(name = "windows")]
4564 extern "system" {
4565 fn ImmGetConversionListW(param0: super::super::TextServices::HKL, param1: super::super::super::Globalization::HIMC, lpsrc: super::super::super::Foundation::PWSTR, lpdst: *mut CANDIDATELIST, dwbuflen: u32, uflag: GET_CONVERSION_LIST_FLAG) -> u32;
4566 }
4567 ::std::mem::transmute(ImmGetConversionListW(param0.into_param().abi(), param1.into_param().abi(), lpsrc.into_param().abi(), ::std::mem::transmute(lpdst), ::std::mem::transmute(dwbuflen), ::std::mem::transmute(uflag)))
4568 }
4569 #[cfg(not(windows))]
4570 unimplemented!("Unsupported target OS");
4571 }
4572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4573 #[inline]
ImmGetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpfdwconversion: *mut u32, lpfdwsentence: *mut u32) -> super::super::super::Foundation::BOOL4574 pub unsafe fn ImmGetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpfdwconversion: *mut u32, lpfdwsentence: *mut u32) -> super::super::super::Foundation::BOOL {
4575 #[cfg(windows)]
4576 {
4577 #[link(name = "windows")]
4578 extern "system" {
4579 fn ImmGetConversionStatus(param0: super::super::super::Globalization::HIMC, lpfdwconversion: *mut u32, lpfdwsentence: *mut u32) -> super::super::super::Foundation::BOOL;
4580 }
4581 ::std::mem::transmute(ImmGetConversionStatus(param0.into_param().abi(), ::std::mem::transmute(lpfdwconversion), ::std::mem::transmute(lpfdwsentence)))
4582 }
4583 #[cfg(not(windows))]
4584 unimplemented!("Unsupported target OS");
4585 }
4586 #[cfg(feature = "Win32_Foundation")]
4587 #[inline]
ImmGetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Foundation::HWND4588 pub unsafe fn ImmGetDefaultIMEWnd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> super::super::super::Foundation::HWND {
4589 #[cfg(windows)]
4590 {
4591 #[link(name = "windows")]
4592 extern "system" {
4593 fn ImmGetDefaultIMEWnd(param0: super::super::super::Foundation::HWND) -> super::super::super::Foundation::HWND;
4594 }
4595 ::std::mem::transmute(ImmGetDefaultIMEWnd(param0.into_param().abi()))
4596 }
4597 #[cfg(not(windows))]
4598 unimplemented!("Unsupported target OS");
4599 }
4600 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4601 #[inline]
ImmGetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszdescription: super::super::super::Foundation::PSTR, ubuflen: u32) -> u324602 pub unsafe fn ImmGetDescriptionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszdescription: super::super::super::Foundation::PSTR, ubuflen: u32) -> u32 {
4603 #[cfg(windows)]
4604 {
4605 #[link(name = "windows")]
4606 extern "system" {
4607 fn ImmGetDescriptionA(param0: super::super::TextServices::HKL, lpszdescription: super::super::super::Foundation::PSTR, ubuflen: u32) -> u32;
4608 }
4609 ::std::mem::transmute(ImmGetDescriptionA(param0.into_param().abi(), ::std::mem::transmute(lpszdescription), ::std::mem::transmute(ubuflen)))
4610 }
4611 #[cfg(not(windows))]
4612 unimplemented!("Unsupported target OS");
4613 }
4614 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4615 #[inline]
ImmGetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszdescription: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u324616 pub unsafe fn ImmGetDescriptionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszdescription: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u32 {
4617 #[cfg(windows)]
4618 {
4619 #[link(name = "windows")]
4620 extern "system" {
4621 fn ImmGetDescriptionW(param0: super::super::TextServices::HKL, lpszdescription: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u32;
4622 }
4623 ::std::mem::transmute(ImmGetDescriptionW(param0.into_param().abi(), ::std::mem::transmute(lpszdescription), ::std::mem::transmute(ubuflen)))
4624 }
4625 #[cfg(not(windows))]
4626 unimplemented!("Unsupported target OS");
4627 }
4628 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4629 #[inline]
ImmGetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PSTR, dwbuflen: u32) -> u324630 pub unsafe fn ImmGetGuideLineA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PSTR, dwbuflen: u32) -> u32 {
4631 #[cfg(windows)]
4632 {
4633 #[link(name = "windows")]
4634 extern "system" {
4635 fn ImmGetGuideLineA(param0: super::super::super::Globalization::HIMC, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PSTR, dwbuflen: u32) -> u32;
4636 }
4637 ::std::mem::transmute(ImmGetGuideLineA(param0.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(lpbuf), ::std::mem::transmute(dwbuflen)))
4638 }
4639 #[cfg(not(windows))]
4640 unimplemented!("Unsupported target OS");
4641 }
4642 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4643 #[inline]
ImmGetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PWSTR, dwbuflen: u32) -> u324644 pub unsafe fn ImmGetGuideLineW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PWSTR, dwbuflen: u32) -> u32 {
4645 #[cfg(windows)]
4646 {
4647 #[link(name = "windows")]
4648 extern "system" {
4649 fn ImmGetGuideLineW(param0: super::super::super::Globalization::HIMC, dwindex: GET_GUIDE_LINE_TYPE, lpbuf: super::super::super::Foundation::PWSTR, dwbuflen: u32) -> u32;
4650 }
4651 ::std::mem::transmute(ImmGetGuideLineW(param0.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(lpbuf), ::std::mem::transmute(dwbuflen)))
4652 }
4653 #[cfg(not(windows))]
4654 unimplemented!("Unsupported target OS");
4655 }
4656 #[cfg(feature = "Win32_Foundation")]
4657 #[inline]
ImmGetHotKey(param0: u32, lpumodifiers: *mut u32, lpuvkey: *mut u32, phkl: *mut isize) -> super::super::super::Foundation::BOOL4658 pub unsafe fn ImmGetHotKey(param0: u32, lpumodifiers: *mut u32, lpuvkey: *mut u32, phkl: *mut isize) -> super::super::super::Foundation::BOOL {
4659 #[cfg(windows)]
4660 {
4661 #[link(name = "windows")]
4662 extern "system" {
4663 fn ImmGetHotKey(param0: u32, lpumodifiers: *mut u32, lpuvkey: *mut u32, phkl: *mut isize) -> super::super::super::Foundation::BOOL;
4664 }
4665 ::std::mem::transmute(ImmGetHotKey(::std::mem::transmute(param0), ::std::mem::transmute(lpumodifiers), ::std::mem::transmute(lpuvkey), ::std::mem::transmute(phkl)))
4666 }
4667 #[cfg(not(windows))]
4668 unimplemented!("Unsupported target OS");
4669 }
4670 #[cfg(feature = "Win32_Globalization")]
4671 #[inline]
ImmGetIMCCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> u324672 pub unsafe fn ImmGetIMCCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> u32 {
4673 #[cfg(windows)]
4674 {
4675 #[link(name = "windows")]
4676 extern "system" {
4677 fn ImmGetIMCCLockCount(param0: super::super::super::Globalization::HIMCC) -> u32;
4678 }
4679 ::std::mem::transmute(ImmGetIMCCLockCount(param0.into_param().abi()))
4680 }
4681 #[cfg(not(windows))]
4682 unimplemented!("Unsupported target OS");
4683 }
4684 #[cfg(feature = "Win32_Globalization")]
4685 #[inline]
ImmGetIMCCSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> u324686 pub unsafe fn ImmGetIMCCSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> u32 {
4687 #[cfg(windows)]
4688 {
4689 #[link(name = "windows")]
4690 extern "system" {
4691 fn ImmGetIMCCSize(param0: super::super::super::Globalization::HIMCC) -> u32;
4692 }
4693 ::std::mem::transmute(ImmGetIMCCSize(param0.into_param().abi()))
4694 }
4695 #[cfg(not(windows))]
4696 unimplemented!("Unsupported target OS");
4697 }
4698 #[cfg(feature = "Win32_Globalization")]
4699 #[inline]
ImmGetIMCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> u324700 pub unsafe fn ImmGetIMCLockCount<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> u32 {
4701 #[cfg(windows)]
4702 {
4703 #[link(name = "windows")]
4704 extern "system" {
4705 fn ImmGetIMCLockCount(param0: super::super::super::Globalization::HIMC) -> u32;
4706 }
4707 ::std::mem::transmute(ImmGetIMCLockCount(param0.into_param().abi()))
4708 }
4709 #[cfg(not(windows))]
4710 unimplemented!("Unsupported target OS");
4711 }
4712 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4713 #[inline]
ImmGetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszfilename: super::super::super::Foundation::PSTR, ubuflen: u32) -> u324714 pub unsafe fn ImmGetIMEFileNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszfilename: super::super::super::Foundation::PSTR, ubuflen: u32) -> u32 {
4715 #[cfg(windows)]
4716 {
4717 #[link(name = "windows")]
4718 extern "system" {
4719 fn ImmGetIMEFileNameA(param0: super::super::TextServices::HKL, lpszfilename: super::super::super::Foundation::PSTR, ubuflen: u32) -> u32;
4720 }
4721 ::std::mem::transmute(ImmGetIMEFileNameA(param0.into_param().abi(), ::std::mem::transmute(lpszfilename), ::std::mem::transmute(ubuflen)))
4722 }
4723 #[cfg(not(windows))]
4724 unimplemented!("Unsupported target OS");
4725 }
4726 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4727 #[inline]
ImmGetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszfilename: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u324728 pub unsafe fn ImmGetIMEFileNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, lpszfilename: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u32 {
4729 #[cfg(windows)]
4730 {
4731 #[link(name = "windows")]
4732 extern "system" {
4733 fn ImmGetIMEFileNameW(param0: super::super::TextServices::HKL, lpszfilename: super::super::super::Foundation::PWSTR, ubuflen: u32) -> u32;
4734 }
4735 ::std::mem::transmute(ImmGetIMEFileNameW(param0.into_param().abi(), ::std::mem::transmute(lpszfilename), ::std::mem::transmute(ubuflen)))
4736 }
4737 #[cfg(not(windows))]
4738 unimplemented!("Unsupported target OS");
4739 }
4740 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4741 #[inline]
ImmGetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOA, lpimemenu: *mut IMEMENUITEMINFOA, dwsize: u32) -> u324742 pub unsafe fn ImmGetImeMenuItemsA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOA, lpimemenu: *mut IMEMENUITEMINFOA, dwsize: u32) -> u32 {
4743 #[cfg(windows)]
4744 {
4745 #[link(name = "windows")]
4746 extern "system" {
4747 fn ImmGetImeMenuItemsA(param0: super::super::super::Globalization::HIMC, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOA, lpimemenu: *mut IMEMENUITEMINFOA, dwsize: u32) -> u32;
4748 }
4749 ::std::mem::transmute(ImmGetImeMenuItemsA(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(param2), ::std::mem::transmute(lpimeparentmenu), ::std::mem::transmute(lpimemenu), ::std::mem::transmute(dwsize)))
4750 }
4751 #[cfg(not(windows))]
4752 unimplemented!("Unsupported target OS");
4753 }
4754 #[cfg(all(feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4755 #[inline]
ImmGetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOW, lpimemenu: *mut IMEMENUITEMINFOW, dwsize: u32) -> u324756 pub unsafe fn ImmGetImeMenuItemsW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOW, lpimemenu: *mut IMEMENUITEMINFOW, dwsize: u32) -> u32 {
4757 #[cfg(windows)]
4758 {
4759 #[link(name = "windows")]
4760 extern "system" {
4761 fn ImmGetImeMenuItemsW(param0: super::super::super::Globalization::HIMC, param1: u32, param2: u32, lpimeparentmenu: *mut IMEMENUITEMINFOW, lpimemenu: *mut IMEMENUITEMINFOW, dwsize: u32) -> u32;
4762 }
4763 ::std::mem::transmute(ImmGetImeMenuItemsW(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(param2), ::std::mem::transmute(lpimeparentmenu), ::std::mem::transmute(lpimemenu), ::std::mem::transmute(dwsize)))
4764 }
4765 #[cfg(not(windows))]
4766 unimplemented!("Unsupported target OS");
4767 }
4768 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4769 #[inline]
ImmGetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL4770 pub unsafe fn ImmGetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL {
4771 #[cfg(windows)]
4772 {
4773 #[link(name = "windows")]
4774 extern "system" {
4775 fn ImmGetOpenStatus(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL;
4776 }
4777 ::std::mem::transmute(ImmGetOpenStatus(param0.into_param().abi()))
4778 }
4779 #[cfg(not(windows))]
4780 unimplemented!("Unsupported target OS");
4781 }
4782 #[cfg(feature = "Win32_UI_TextServices")]
4783 #[inline]
ImmGetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, param1: u32) -> u324784 pub unsafe fn ImmGetProperty<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, param1: u32) -> u32 {
4785 #[cfg(windows)]
4786 {
4787 #[link(name = "windows")]
4788 extern "system" {
4789 fn ImmGetProperty(param0: super::super::TextServices::HKL, param1: u32) -> u32;
4790 }
4791 ::std::mem::transmute(ImmGetProperty(param0.into_param().abi(), ::std::mem::transmute(param1)))
4792 }
4793 #[cfg(not(windows))]
4794 unimplemented!("Unsupported target OS");
4795 }
4796 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4797 #[inline]
ImmGetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, nitem: u32, lpstylebuf: *mut STYLEBUFA) -> u324798 pub unsafe fn ImmGetRegisterWordStyleA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, nitem: u32, lpstylebuf: *mut STYLEBUFA) -> u32 {
4799 #[cfg(windows)]
4800 {
4801 #[link(name = "windows")]
4802 extern "system" {
4803 fn ImmGetRegisterWordStyleA(param0: super::super::TextServices::HKL, nitem: u32, lpstylebuf: *mut STYLEBUFA) -> u32;
4804 }
4805 ::std::mem::transmute(ImmGetRegisterWordStyleA(param0.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(lpstylebuf)))
4806 }
4807 #[cfg(not(windows))]
4808 unimplemented!("Unsupported target OS");
4809 }
4810 #[cfg(feature = "Win32_UI_TextServices")]
4811 #[inline]
ImmGetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, nitem: u32, lpstylebuf: *mut STYLEBUFW) -> u324812 pub unsafe fn ImmGetRegisterWordStyleW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0, nitem: u32, lpstylebuf: *mut STYLEBUFW) -> u32 {
4813 #[cfg(windows)]
4814 {
4815 #[link(name = "windows")]
4816 extern "system" {
4817 fn ImmGetRegisterWordStyleW(param0: super::super::TextServices::HKL, nitem: u32, lpstylebuf: *mut STYLEBUFW) -> u32;
4818 }
4819 ::std::mem::transmute(ImmGetRegisterWordStyleW(param0.into_param().abi(), ::std::mem::transmute(nitem), ::std::mem::transmute(lpstylebuf)))
4820 }
4821 #[cfg(not(windows))]
4822 unimplemented!("Unsupported target OS");
4823 }
4824 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4825 #[inline]
ImmGetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpptpos: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL4826 pub unsafe fn ImmGetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpptpos: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
4827 #[cfg(windows)]
4828 {
4829 #[link(name = "windows")]
4830 extern "system" {
4831 fn ImmGetStatusWindowPos(param0: super::super::super::Globalization::HIMC, lpptpos: *mut super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL;
4832 }
4833 ::std::mem::transmute(ImmGetStatusWindowPos(param0.into_param().abi(), ::std::mem::transmute(lpptpos)))
4834 }
4835 #[cfg(not(windows))]
4836 unimplemented!("Unsupported target OS");
4837 }
4838 #[cfg(feature = "Win32_Foundation")]
4839 #[inline]
ImmGetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> u324840 pub unsafe fn ImmGetVirtualKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0) -> u32 {
4841 #[cfg(windows)]
4842 {
4843 #[link(name = "windows")]
4844 extern "system" {
4845 fn ImmGetVirtualKey(param0: super::super::super::Foundation::HWND) -> u32;
4846 }
4847 ::std::mem::transmute(ImmGetVirtualKey(param0.into_param().abi()))
4848 }
4849 #[cfg(not(windows))]
4850 unimplemented!("Unsupported target OS");
4851 }
4852 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4853 #[inline]
ImmInstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(lpszimefilename: Param0, lpszlayouttext: Param1) -> super::super::TextServices::HKL4854 pub unsafe fn ImmInstallIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(lpszimefilename: Param0, lpszlayouttext: Param1) -> super::super::TextServices::HKL {
4855 #[cfg(windows)]
4856 {
4857 #[link(name = "windows")]
4858 extern "system" {
4859 fn ImmInstallIMEA(lpszimefilename: super::super::super::Foundation::PSTR, lpszlayouttext: super::super::super::Foundation::PSTR) -> super::super::TextServices::HKL;
4860 }
4861 ::std::mem::transmute(ImmInstallIMEA(lpszimefilename.into_param().abi(), lpszlayouttext.into_param().abi()))
4862 }
4863 #[cfg(not(windows))]
4864 unimplemented!("Unsupported target OS");
4865 }
4866 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4867 #[inline]
ImmInstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(lpszimefilename: Param0, lpszlayouttext: Param1) -> super::super::TextServices::HKL4868 pub unsafe fn ImmInstallIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(lpszimefilename: Param0, lpszlayouttext: Param1) -> super::super::TextServices::HKL {
4869 #[cfg(windows)]
4870 {
4871 #[link(name = "windows")]
4872 extern "system" {
4873 fn ImmInstallIMEW(lpszimefilename: super::super::super::Foundation::PWSTR, lpszlayouttext: super::super::super::Foundation::PWSTR) -> super::super::TextServices::HKL;
4874 }
4875 ::std::mem::transmute(ImmInstallIMEW(lpszimefilename.into_param().abi(), lpszlayouttext.into_param().abi()))
4876 }
4877 #[cfg(not(windows))]
4878 unimplemented!("Unsupported target OS");
4879 }
4880 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4881 #[inline]
ImmIsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0) -> super::super::super::Foundation::BOOL4882 pub unsafe fn ImmIsIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: Param0) -> super::super::super::Foundation::BOOL {
4883 #[cfg(windows)]
4884 {
4885 #[link(name = "windows")]
4886 extern "system" {
4887 fn ImmIsIME(param0: super::super::TextServices::HKL) -> super::super::super::Foundation::BOOL;
4888 }
4889 ::std::mem::transmute(ImmIsIME(param0.into_param().abi()))
4890 }
4891 #[cfg(not(windows))]
4892 unimplemented!("Unsupported target OS");
4893 }
4894 #[cfg(feature = "Win32_Foundation")]
4895 #[inline]
ImmIsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: u32, param2: Param2, param3: Param3) -> super::super::super::Foundation::BOOL4896 pub unsafe fn ImmIsUIMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: u32, param2: Param2, param3: Param3) -> super::super::super::Foundation::BOOL {
4897 #[cfg(windows)]
4898 {
4899 #[link(name = "windows")]
4900 extern "system" {
4901 fn ImmIsUIMessageA(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL;
4902 }
4903 ::std::mem::transmute(ImmIsUIMessageA(param0.into_param().abi(), ::std::mem::transmute(param1), param2.into_param().abi(), param3.into_param().abi()))
4904 }
4905 #[cfg(not(windows))]
4906 unimplemented!("Unsupported target OS");
4907 }
4908 #[cfg(feature = "Win32_Foundation")]
4909 #[inline]
ImmIsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: u32, param2: Param2, param3: Param3) -> super::super::super::Foundation::BOOL4910 pub unsafe fn ImmIsUIMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: u32, param2: Param2, param3: Param3) -> super::super::super::Foundation::BOOL {
4911 #[cfg(windows)]
4912 {
4913 #[link(name = "windows")]
4914 extern "system" {
4915 fn ImmIsUIMessageW(param0: super::super::super::Foundation::HWND, param1: u32, param2: super::super::super::Foundation::WPARAM, param3: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::BOOL;
4916 }
4917 ::std::mem::transmute(ImmIsUIMessageW(param0.into_param().abi(), ::std::mem::transmute(param1), param2.into_param().abi(), param3.into_param().abi()))
4918 }
4919 #[cfg(not(windows))]
4920 unimplemented!("Unsupported target OS");
4921 }
4922 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
4923 #[inline]
ImmLockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> *mut INPUTCONTEXT4924 pub unsafe fn ImmLockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> *mut INPUTCONTEXT {
4925 #[cfg(windows)]
4926 {
4927 #[link(name = "windows")]
4928 extern "system" {
4929 fn ImmLockIMC(param0: super::super::super::Globalization::HIMC) -> *mut INPUTCONTEXT;
4930 }
4931 ::std::mem::transmute(ImmLockIMC(param0.into_param().abi()))
4932 }
4933 #[cfg(not(windows))]
4934 unimplemented!("Unsupported target OS");
4935 }
4936 #[cfg(feature = "Win32_Globalization")]
4937 #[inline]
ImmLockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> *mut ::std::ffi::c_void4938 pub unsafe fn ImmLockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> *mut ::std::ffi::c_void {
4939 #[cfg(windows)]
4940 {
4941 #[link(name = "windows")]
4942 extern "system" {
4943 fn ImmLockIMCC(param0: super::super::super::Globalization::HIMCC) -> *mut ::std::ffi::c_void;
4944 }
4945 ::std::mem::transmute(ImmLockIMCC(param0.into_param().abi()))
4946 }
4947 #[cfg(not(windows))]
4948 unimplemented!("Unsupported target OS");
4949 }
4950 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
4951 #[inline]
ImmNotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwaction: NOTIFY_IME_ACTION, dwindex: NOTIFY_IME_INDEX, dwvalue: u32) -> super::super::super::Foundation::BOOL4952 pub unsafe fn ImmNotifyIME<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwaction: NOTIFY_IME_ACTION, dwindex: NOTIFY_IME_INDEX, dwvalue: u32) -> super::super::super::Foundation::BOOL {
4953 #[cfg(windows)]
4954 {
4955 #[link(name = "windows")]
4956 extern "system" {
4957 fn ImmNotifyIME(param0: super::super::super::Globalization::HIMC, dwaction: NOTIFY_IME_ACTION, dwindex: NOTIFY_IME_INDEX, dwvalue: u32) -> super::super::super::Foundation::BOOL;
4958 }
4959 ::std::mem::transmute(ImmNotifyIME(param0.into_param().abi(), ::std::mem::transmute(dwaction), ::std::mem::transmute(dwindex), ::std::mem::transmute(dwvalue)))
4960 }
4961 #[cfg(not(windows))]
4962 unimplemented!("Unsupported target OS");
4963 }
4964 #[cfg(feature = "Win32_Globalization")]
4965 #[inline]
ImmReSizeIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0, param1: u32) -> super::super::super::Globalization::HIMCC4966 pub unsafe fn ImmReSizeIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0, param1: u32) -> super::super::super::Globalization::HIMCC {
4967 #[cfg(windows)]
4968 {
4969 #[link(name = "windows")]
4970 extern "system" {
4971 fn ImmReSizeIMCC(param0: super::super::super::Globalization::HIMCC, param1: u32) -> super::super::super::Globalization::HIMCC;
4972 }
4973 ::std::mem::transmute(ImmReSizeIMCC(param0.into_param().abi(), ::std::mem::transmute(param1)))
4974 }
4975 #[cfg(not(windows))]
4976 unimplemented!("Unsupported target OS");
4977 }
4978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4979 #[inline]
ImmRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszregister: Param3) -> super::super::super::Foundation::BOOL4980 pub unsafe fn ImmRegisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszregister: Param3) -> super::super::super::Foundation::BOOL {
4981 #[cfg(windows)]
4982 {
4983 #[link(name = "windows")]
4984 extern "system" {
4985 fn ImmRegisterWordA(param0: super::super::TextServices::HKL, lpszreading: super::super::super::Foundation::PSTR, param2: u32, lpszregister: super::super::super::Foundation::PSTR) -> super::super::super::Foundation::BOOL;
4986 }
4987 ::std::mem::transmute(ImmRegisterWordA(param0.into_param().abi(), lpszreading.into_param().abi(), ::std::mem::transmute(param2), lpszregister.into_param().abi()))
4988 }
4989 #[cfg(not(windows))]
4990 unimplemented!("Unsupported target OS");
4991 }
4992 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
4993 #[inline]
ImmRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszregister: Param3) -> super::super::super::Foundation::BOOL4994 pub unsafe fn ImmRegisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszregister: Param3) -> super::super::super::Foundation::BOOL {
4995 #[cfg(windows)]
4996 {
4997 #[link(name = "windows")]
4998 extern "system" {
4999 fn ImmRegisterWordW(param0: super::super::TextServices::HKL, lpszreading: super::super::super::Foundation::PWSTR, param2: u32, lpszregister: super::super::super::Foundation::PWSTR) -> super::super::super::Foundation::BOOL;
5000 }
5001 ::std::mem::transmute(ImmRegisterWordW(param0.into_param().abi(), lpszreading.into_param().abi(), ::std::mem::transmute(param2), lpszregister.into_param().abi()))
5002 }
5003 #[cfg(not(windows))]
5004 unimplemented!("Unsupported target OS");
5005 }
5006 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5007 #[inline]
ImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1) -> super::super::super::Foundation::BOOL5008 pub unsafe fn ImmReleaseContext<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: Param1) -> super::super::super::Foundation::BOOL {
5009 #[cfg(windows)]
5010 {
5011 #[link(name = "windows")]
5012 extern "system" {
5013 fn ImmReleaseContext(param0: super::super::super::Foundation::HWND, param1: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL;
5014 }
5015 ::std::mem::transmute(ImmReleaseContext(param0.into_param().abi(), param1.into_param().abi()))
5016 }
5017 #[cfg(not(windows))]
5018 unimplemented!("Unsupported target OS");
5019 }
5020 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5021 #[inline]
ImmRequestMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: Param1, param2: Param2) -> super::super::super::Foundation::LRESULT5022 pub unsafe fn ImmRequestMessageA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: Param1, param2: Param2) -> super::super::super::Foundation::LRESULT {
5023 #[cfg(windows)]
5024 {
5025 #[link(name = "windows")]
5026 extern "system" {
5027 fn ImmRequestMessageA(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::WPARAM, param2: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::LRESULT;
5028 }
5029 ::std::mem::transmute(ImmRequestMessageA(param0.into_param().abi(), param1.into_param().abi(), param2.into_param().abi()))
5030 }
5031 #[cfg(not(windows))]
5032 unimplemented!("Unsupported target OS");
5033 }
5034 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5035 #[inline]
ImmRequestMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: Param1, param2: Param2) -> super::super::super::Foundation::LRESULT5036 pub unsafe fn ImmRequestMessageW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::LPARAM>>(param0: Param0, param1: Param1, param2: Param2) -> super::super::super::Foundation::LRESULT {
5037 #[cfg(windows)]
5038 {
5039 #[link(name = "windows")]
5040 extern "system" {
5041 fn ImmRequestMessageW(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::WPARAM, param2: super::super::super::Foundation::LPARAM) -> super::super::super::Foundation::LRESULT;
5042 }
5043 ::std::mem::transmute(ImmRequestMessageW(param0.into_param().abi(), param1.into_param().abi(), param2.into_param().abi()))
5044 }
5045 #[cfg(not(windows))]
5046 unimplemented!("Unsupported target OS");
5047 }
5048 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5049 #[inline]
ImmSetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcandidate: *const CANDIDATEFORM) -> super::super::super::Foundation::BOOL5050 pub unsafe fn ImmSetCandidateWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcandidate: *const CANDIDATEFORM) -> super::super::super::Foundation::BOOL {
5051 #[cfg(windows)]
5052 {
5053 #[link(name = "windows")]
5054 extern "system" {
5055 fn ImmSetCandidateWindow(param0: super::super::super::Globalization::HIMC, lpcandidate: *const CANDIDATEFORM) -> super::super::super::Foundation::BOOL;
5056 }
5057 ::std::mem::transmute(ImmSetCandidateWindow(param0.into_param().abi(), ::std::mem::transmute(lpcandidate)))
5058 }
5059 #[cfg(not(windows))]
5060 unimplemented!("Unsupported target OS");
5061 }
5062 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
5063 #[inline]
ImmSetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL5064 pub unsafe fn ImmSetCompositionFontA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL {
5065 #[cfg(windows)]
5066 {
5067 #[link(name = "windows")]
5068 extern "system" {
5069 fn ImmSetCompositionFontA(param0: super::super::super::Globalization::HIMC, lplf: *const super::super::super::Graphics::Gdi::LOGFONTA) -> super::super::super::Foundation::BOOL;
5070 }
5071 ::std::mem::transmute(ImmSetCompositionFontA(param0.into_param().abi(), ::std::mem::transmute(lplf)))
5072 }
5073 #[cfg(not(windows))]
5074 unimplemented!("Unsupported target OS");
5075 }
5076 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization", feature = "Win32_Graphics_Gdi"))]
5077 #[inline]
ImmSetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL5078 pub unsafe fn ImmSetCompositionFontW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lplf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL {
5079 #[cfg(windows)]
5080 {
5081 #[link(name = "windows")]
5082 extern "system" {
5083 fn ImmSetCompositionFontW(param0: super::super::super::Globalization::HIMC, lplf: *const super::super::super::Graphics::Gdi::LOGFONTW) -> super::super::super::Foundation::BOOL;
5084 }
5085 ::std::mem::transmute(ImmSetCompositionFontW(param0.into_param().abi(), ::std::mem::transmute(lplf)))
5086 }
5087 #[cfg(not(windows))]
5088 unimplemented!("Unsupported target OS");
5089 }
5090 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5091 #[inline]
ImmSetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL5092 pub unsafe fn ImmSetCompositionStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL {
5093 #[cfg(windows)]
5094 {
5095 #[link(name = "windows")]
5096 extern "system" {
5097 fn ImmSetCompositionStringA(param0: super::super::super::Globalization::HIMC, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL;
5098 }
5099 ::std::mem::transmute(ImmSetCompositionStringA(param0.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(lpcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(lpread), ::std::mem::transmute(dwreadlen)))
5100 }
5101 #[cfg(not(windows))]
5102 unimplemented!("Unsupported target OS");
5103 }
5104 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5105 #[inline]
ImmSetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL5106 pub unsafe fn ImmSetCompositionStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL {
5107 #[cfg(windows)]
5108 {
5109 #[link(name = "windows")]
5110 extern "system" {
5111 fn ImmSetCompositionStringW(param0: super::super::super::Globalization::HIMC, dwindex: SET_COMPOSITION_STRING_TYPE, lpcomp: *const ::std::ffi::c_void, dwcomplen: u32, lpread: *const ::std::ffi::c_void, dwreadlen: u32) -> super::super::super::Foundation::BOOL;
5112 }
5113 ::std::mem::transmute(ImmSetCompositionStringW(param0.into_param().abi(), ::std::mem::transmute(dwindex), ::std::mem::transmute(lpcomp), ::std::mem::transmute(dwcomplen), ::std::mem::transmute(lpread), ::std::mem::transmute(dwreadlen)))
5114 }
5115 #[cfg(not(windows))]
5116 unimplemented!("Unsupported target OS");
5117 }
5118 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5119 #[inline]
ImmSetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcompform: *const COMPOSITIONFORM) -> super::super::super::Foundation::BOOL5120 pub unsafe fn ImmSetCompositionWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpcompform: *const COMPOSITIONFORM) -> super::super::super::Foundation::BOOL {
5121 #[cfg(windows)]
5122 {
5123 #[link(name = "windows")]
5124 extern "system" {
5125 fn ImmSetCompositionWindow(param0: super::super::super::Globalization::HIMC, lpcompform: *const COMPOSITIONFORM) -> super::super::super::Foundation::BOOL;
5126 }
5127 ::std::mem::transmute(ImmSetCompositionWindow(param0.into_param().abi(), ::std::mem::transmute(lpcompform)))
5128 }
5129 #[cfg(not(windows))]
5130 unimplemented!("Unsupported target OS");
5131 }
5132 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5133 #[inline]
ImmSetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32) -> super::super::super::Foundation::BOOL5134 pub unsafe fn ImmSetConversionStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, param1: u32, param2: u32) -> super::super::super::Foundation::BOOL {
5135 #[cfg(windows)]
5136 {
5137 #[link(name = "windows")]
5138 extern "system" {
5139 fn ImmSetConversionStatus(param0: super::super::super::Globalization::HIMC, param1: u32, param2: u32) -> super::super::super::Foundation::BOOL;
5140 }
5141 ::std::mem::transmute(ImmSetConversionStatus(param0.into_param().abi(), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
5142 }
5143 #[cfg(not(windows))]
5144 unimplemented!("Unsupported target OS");
5145 }
5146 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
5147 #[inline]
ImmSetHotKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: u32, param1: u32, param2: u32, param3: Param3) -> super::super::super::Foundation::BOOL5148 pub unsafe fn ImmSetHotKey<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>>(param0: u32, param1: u32, param2: u32, param3: Param3) -> super::super::super::Foundation::BOOL {
5149 #[cfg(windows)]
5150 {
5151 #[link(name = "windows")]
5152 extern "system" {
5153 fn ImmSetHotKey(param0: u32, param1: u32, param2: u32, param3: super::super::TextServices::HKL) -> super::super::super::Foundation::BOOL;
5154 }
5155 ::std::mem::transmute(ImmSetHotKey(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2), param3.into_param().abi()))
5156 }
5157 #[cfg(not(windows))]
5158 unimplemented!("Unsupported target OS");
5159 }
5160 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5161 #[inline]
ImmSetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(param0: Param0, param1: Param1) -> super::super::super::Foundation::BOOL5162 pub unsafe fn ImmSetOpenStatus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(param0: Param0, param1: Param1) -> super::super::super::Foundation::BOOL {
5163 #[cfg(windows)]
5164 {
5165 #[link(name = "windows")]
5166 extern "system" {
5167 fn ImmSetOpenStatus(param0: super::super::super::Globalization::HIMC, param1: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL;
5168 }
5169 ::std::mem::transmute(ImmSetOpenStatus(param0.into_param().abi(), param1.into_param().abi()))
5170 }
5171 #[cfg(not(windows))]
5172 unimplemented!("Unsupported target OS");
5173 }
5174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5175 #[inline]
ImmSetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpptpos: *const super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL5176 pub unsafe fn ImmSetStatusWindowPos<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0, lpptpos: *const super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL {
5177 #[cfg(windows)]
5178 {
5179 #[link(name = "windows")]
5180 extern "system" {
5181 fn ImmSetStatusWindowPos(param0: super::super::super::Globalization::HIMC, lpptpos: *const super::super::super::Foundation::POINT) -> super::super::super::Foundation::BOOL;
5182 }
5183 ::std::mem::transmute(ImmSetStatusWindowPos(param0.into_param().abi(), ::std::mem::transmute(lpptpos)))
5184 }
5185 #[cfg(not(windows))]
5186 unimplemented!("Unsupported target OS");
5187 }
5188 #[cfg(feature = "Win32_Foundation")]
5189 #[inline]
ImmShowSoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: i32) -> super::super::super::Foundation::BOOL5190 pub unsafe fn ImmShowSoftKeyboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: i32) -> super::super::super::Foundation::BOOL {
5191 #[cfg(windows)]
5192 {
5193 #[link(name = "windows")]
5194 extern "system" {
5195 fn ImmShowSoftKeyboard(param0: super::super::super::Foundation::HWND, param1: i32) -> super::super::super::Foundation::BOOL;
5196 }
5197 ::std::mem::transmute(ImmShowSoftKeyboard(param0.into_param().abi(), ::std::mem::transmute(param1)))
5198 }
5199 #[cfg(not(windows))]
5200 unimplemented!("Unsupported target OS");
5201 }
5202 #[cfg(feature = "Win32_Foundation")]
5203 #[inline]
ImmSimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: u32) -> super::super::super::Foundation::BOOL5204 pub unsafe fn ImmSimulateHotKey<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::HWND>>(param0: Param0, param1: u32) -> super::super::super::Foundation::BOOL {
5205 #[cfg(windows)]
5206 {
5207 #[link(name = "windows")]
5208 extern "system" {
5209 fn ImmSimulateHotKey(param0: super::super::super::Foundation::HWND, param1: u32) -> super::super::super::Foundation::BOOL;
5210 }
5211 ::std::mem::transmute(ImmSimulateHotKey(param0.into_param().abi(), ::std::mem::transmute(param1)))
5212 }
5213 #[cfg(not(windows))]
5214 unimplemented!("Unsupported target OS");
5215 }
5216 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5217 #[inline]
ImmUnlockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL5218 pub unsafe fn ImmUnlockIMC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMC>>(param0: Param0) -> super::super::super::Foundation::BOOL {
5219 #[cfg(windows)]
5220 {
5221 #[link(name = "windows")]
5222 extern "system" {
5223 fn ImmUnlockIMC(param0: super::super::super::Globalization::HIMC) -> super::super::super::Foundation::BOOL;
5224 }
5225 ::std::mem::transmute(ImmUnlockIMC(param0.into_param().abi()))
5226 }
5227 #[cfg(not(windows))]
5228 unimplemented!("Unsupported target OS");
5229 }
5230 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Globalization"))]
5231 #[inline]
ImmUnlockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> super::super::super::Foundation::BOOL5232 pub unsafe fn ImmUnlockIMCC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Globalization::HIMCC>>(param0: Param0) -> super::super::super::Foundation::BOOL {
5233 #[cfg(windows)]
5234 {
5235 #[link(name = "windows")]
5236 extern "system" {
5237 fn ImmUnlockIMCC(param0: super::super::super::Globalization::HIMCC) -> super::super::super::Foundation::BOOL;
5238 }
5239 ::std::mem::transmute(ImmUnlockIMCC(param0.into_param().abi()))
5240 }
5241 #[cfg(not(windows))]
5242 unimplemented!("Unsupported target OS");
5243 }
5244 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
5245 #[inline]
ImmUnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszunregister: Param3) -> super::super::super::Foundation::BOOL5246 pub unsafe fn ImmUnregisterWordA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszunregister: Param3) -> super::super::super::Foundation::BOOL {
5247 #[cfg(windows)]
5248 {
5249 #[link(name = "windows")]
5250 extern "system" {
5251 fn ImmUnregisterWordA(param0: super::super::TextServices::HKL, lpszreading: super::super::super::Foundation::PSTR, param2: u32, lpszunregister: super::super::super::Foundation::PSTR) -> super::super::super::Foundation::BOOL;
5252 }
5253 ::std::mem::transmute(ImmUnregisterWordA(param0.into_param().abi(), lpszreading.into_param().abi(), ::std::mem::transmute(param2), lpszunregister.into_param().abi()))
5254 }
5255 #[cfg(not(windows))]
5256 unimplemented!("Unsupported target OS");
5257 }
5258 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_TextServices"))]
5259 #[inline]
ImmUnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszunregister: Param3) -> super::super::super::Foundation::BOOL5260 pub unsafe fn ImmUnregisterWordW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::TextServices::HKL>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PWSTR>>(param0: Param0, lpszreading: Param1, param2: u32, lpszunregister: Param3) -> super::super::super::Foundation::BOOL {
5261 #[cfg(windows)]
5262 {
5263 #[link(name = "windows")]
5264 extern "system" {
5265 fn ImmUnregisterWordW(param0: super::super::TextServices::HKL, lpszreading: super::super::super::Foundation::PWSTR, param2: u32, lpszunregister: super::super::super::Foundation::PWSTR) -> super::super::super::Foundation::BOOL;
5266 }
5267 ::std::mem::transmute(ImmUnregisterWordW(param0.into_param().abi(), lpszreading.into_param().abi(), ::std::mem::transmute(param2), lpszunregister.into_param().abi()))
5268 }
5269 #[cfg(not(windows))]
5270 unimplemented!("Unsupported target OS");
5271 }
5272 pub const JPOS_1DAN: u32 = 213u32;
5273 pub const JPOS_4DAN_HA: u32 = 212u32;
5274 pub const JPOS_5DAN_AWA: u32 = 200u32;
5275 pub const JPOS_5DAN_AWAUON: u32 = 209u32;
5276 pub const JPOS_5DAN_BA: u32 = 206u32;
5277 pub const JPOS_5DAN_GA: u32 = 202u32;
5278 pub const JPOS_5DAN_KA: u32 = 201u32;
5279 pub const JPOS_5DAN_KASOKUON: u32 = 210u32;
5280 pub const JPOS_5DAN_MA: u32 = 207u32;
5281 pub const JPOS_5DAN_NA: u32 = 205u32;
5282 pub const JPOS_5DAN_RA: u32 = 208u32;
5283 pub const JPOS_5DAN_RAHEN: u32 = 211u32;
5284 pub const JPOS_5DAN_SA: u32 = 203u32;
5285 pub const JPOS_5DAN_TA: u32 = 204u32;
5286 pub const JPOS_BUPPIN: u32 = 122u32;
5287 pub const JPOS_CHIMEI: u32 = 109u32;
5288 pub const JPOS_CHIMEI_EKI: u32 = 117u32;
5289 pub const JPOS_CHIMEI_GUN: u32 = 112u32;
5290 pub const JPOS_CHIMEI_KEN: u32 = 111u32;
5291 pub const JPOS_CHIMEI_KU: u32 = 113u32;
5292 pub const JPOS_CHIMEI_KUNI: u32 = 110u32;
5293 pub const JPOS_CHIMEI_MACHI: u32 = 115u32;
5294 pub const JPOS_CHIMEI_MURA: u32 = 116u32;
5295 pub const JPOS_CHIMEI_SHI: u32 = 114u32;
5296 pub const JPOS_CLOSEBRACE: u32 = 911u32;
5297 pub const JPOS_DAIMEISHI: u32 = 123u32;
5298 pub const JPOS_DAIMEISHI_NINSHOU: u32 = 124u32;
5299 pub const JPOS_DAIMEISHI_SHIJI: u32 = 125u32;
5300 pub const JPOS_DOKURITSUGO: u32 = 903u32;
5301 pub const JPOS_EIJI: u32 = 906u32;
5302 pub const JPOS_FUKUSHI: u32 = 500u32;
5303 pub const JPOS_FUKUSHI_DA: u32 = 504u32;
5304 pub const JPOS_FUKUSHI_NANO: u32 = 503u32;
5305 pub const JPOS_FUKUSHI_NI: u32 = 502u32;
5306 pub const JPOS_FUKUSHI_SAHEN: u32 = 501u32;
5307 pub const JPOS_FUKUSHI_TO: u32 = 505u32;
5308 pub const JPOS_FUKUSHI_TOSURU: u32 = 506u32;
5309 pub const JPOS_FUTEIGO: u32 = 904u32;
5310 pub const JPOS_HUKUSIMEISHI: u32 = 104u32;
5311 pub const JPOS_JINMEI: u32 = 106u32;
5312 pub const JPOS_JINMEI_MEI: u32 = 108u32;
5313 pub const JPOS_JINMEI_SEI: u32 = 107u32;
5314 pub const JPOS_KANDOUSHI: u32 = 670u32;
5315 pub const JPOS_KANJI: u32 = 909u32;
5316 pub const JPOS_KANYOUKU: u32 = 902u32;
5317 pub const JPOS_KAZU: u32 = 126u32;
5318 pub const JPOS_KAZU_SURYOU: u32 = 127u32;
5319 pub const JPOS_KAZU_SUSHI: u32 = 128u32;
5320 pub const JPOS_KEIDOU: u32 = 400u32;
5321 pub const JPOS_KEIDOU_GARU: u32 = 403u32;
5322 pub const JPOS_KEIDOU_NO: u32 = 401u32;
5323 pub const JPOS_KEIDOU_TARU: u32 = 402u32;
5324 pub const JPOS_KEIYOU: u32 = 300u32;
5325 pub const JPOS_KEIYOU_GARU: u32 = 301u32;
5326 pub const JPOS_KEIYOU_GE: u32 = 302u32;
5327 pub const JPOS_KEIYOU_ME: u32 = 303u32;
5328 pub const JPOS_KEIYOU_U: u32 = 305u32;
5329 pub const JPOS_KEIYOU_YUU: u32 = 304u32;
5330 pub const JPOS_KENCHIKU: u32 = 121u32;
5331 pub const JPOS_KIGOU: u32 = 905u32;
5332 pub const JPOS_KURU_KI: u32 = 219u32;
5333 pub const JPOS_KURU_KITA: u32 = 220u32;
5334 pub const JPOS_KURU_KITARA: u32 = 221u32;
5335 pub const JPOS_KURU_KITARI: u32 = 222u32;
5336 pub const JPOS_KURU_KITAROU: u32 = 223u32;
5337 pub const JPOS_KURU_KITE: u32 = 224u32;
5338 pub const JPOS_KURU_KO: u32 = 226u32;
5339 pub const JPOS_KURU_KOI: u32 = 227u32;
5340 pub const JPOS_KURU_KOYOU: u32 = 228u32;
5341 pub const JPOS_KURU_KUREBA: u32 = 225u32;
5342 pub const JPOS_KUTEN: u32 = 907u32;
5343 pub const JPOS_MEISA_KEIDOU: u32 = 105u32;
5344 pub const JPOS_MEISHI_FUTSU: u32 = 100u32;
5345 pub const JPOS_MEISHI_KEIYOUDOUSHI: u32 = 103u32;
5346 pub const JPOS_MEISHI_SAHEN: u32 = 101u32;
5347 pub const JPOS_MEISHI_ZAHEN: u32 = 102u32;
5348 pub const JPOS_OPENBRACE: u32 = 910u32;
5349 pub const JPOS_RENTAISHI: u32 = 600u32;
5350 pub const JPOS_RENTAISHI_SHIJI: u32 = 601u32;
5351 pub const JPOS_RENYOU_SETSUBI: u32 = 826u32;
5352 pub const JPOS_SETSUBI: u32 = 800u32;
5353 pub const JPOS_SETSUBI_CHIMEI: u32 = 811u32;
5354 pub const JPOS_SETSUBI_CHOU: u32 = 818u32;
5355 pub const JPOS_SETSUBI_CHU: u32 = 804u32;
5356 pub const JPOS_SETSUBI_DONO: u32 = 835u32;
5357 pub const JPOS_SETSUBI_EKI: u32 = 821u32;
5358 pub const JPOS_SETSUBI_FU: u32 = 805u32;
5359 pub const JPOS_SETSUBI_FUKUSU: u32 = 836u32;
5360 pub const JPOS_SETSUBI_GUN: u32 = 814u32;
5361 pub const JPOS_SETSUBI_JIKAN: u32 = 829u32;
5362 pub const JPOS_SETSUBI_JIKANPLUS: u32 = 830u32;
5363 pub const JPOS_SETSUBI_JINMEI: u32 = 810u32;
5364 pub const JPOS_SETSUBI_JOSUSHI: u32 = 827u32;
5365 pub const JPOS_SETSUBI_JOSUSHIPLUS: u32 = 828u32;
5366 pub const JPOS_SETSUBI_KA: u32 = 803u32;
5367 pub const JPOS_SETSUBI_KATA: u32 = 808u32;
5368 pub const JPOS_SETSUBI_KEN: u32 = 813u32;
5369 pub const JPOS_SETSUBI_KENCHIKU: u32 = 825u32;
5370 pub const JPOS_SETSUBI_KU: u32 = 815u32;
5371 pub const JPOS_SETSUBI_KUN: u32 = 833u32;
5372 pub const JPOS_SETSUBI_KUNI: u32 = 812u32;
5373 pub const JPOS_SETSUBI_MACHI: u32 = 817u32;
5374 pub const JPOS_SETSUBI_MEISHIRENDAKU: u32 = 809u32;
5375 pub const JPOS_SETSUBI_MURA: u32 = 819u32;
5376 pub const JPOS_SETSUBI_RA: u32 = 838u32;
5377 pub const JPOS_SETSUBI_RYU: u32 = 806u32;
5378 pub const JPOS_SETSUBI_SAMA: u32 = 834u32;
5379 pub const JPOS_SETSUBI_SAN: u32 = 832u32;
5380 pub const JPOS_SETSUBI_SEI: u32 = 802u32;
5381 pub const JPOS_SETSUBI_SHAMEI: u32 = 823u32;
5382 pub const JPOS_SETSUBI_SHI: u32 = 816u32;
5383 pub const JPOS_SETSUBI_SON: u32 = 820u32;
5384 pub const JPOS_SETSUBI_SONOTA: u32 = 822u32;
5385 pub const JPOS_SETSUBI_SOSHIKI: u32 = 824u32;
5386 pub const JPOS_SETSUBI_TACHI: u32 = 837u32;
5387 pub const JPOS_SETSUBI_TEINEI: u32 = 831u32;
5388 pub const JPOS_SETSUBI_TEKI: u32 = 801u32;
5389 pub const JPOS_SETSUBI_YOU: u32 = 807u32;
5390 pub const JPOS_SETSUZOKUSHI: u32 = 650u32;
5391 pub const JPOS_SETTOU: u32 = 700u32;
5392 pub const JPOS_SETTOU_CHIMEI: u32 = 710u32;
5393 pub const JPOS_SETTOU_CHOUTAN: u32 = 707u32;
5394 pub const JPOS_SETTOU_DAISHOU: u32 = 705u32;
5395 pub const JPOS_SETTOU_FUKU: u32 = 703u32;
5396 pub const JPOS_SETTOU_JINMEI: u32 = 709u32;
5397 pub const JPOS_SETTOU_JOSUSHI: u32 = 712u32;
5398 pub const JPOS_SETTOU_KAKU: u32 = 701u32;
5399 pub const JPOS_SETTOU_KOUTEI: u32 = 706u32;
5400 pub const JPOS_SETTOU_MI: u32 = 704u32;
5401 pub const JPOS_SETTOU_SAI: u32 = 702u32;
5402 pub const JPOS_SETTOU_SHINKYU: u32 = 708u32;
5403 pub const JPOS_SETTOU_SONOTA: u32 = 711u32;
5404 pub const JPOS_SETTOU_TEINEI_GO: u32 = 714u32;
5405 pub const JPOS_SETTOU_TEINEI_O: u32 = 713u32;
5406 pub const JPOS_SETTOU_TEINEI_ON: u32 = 715u32;
5407 pub const JPOS_SHAMEI: u32 = 119u32;
5408 pub const JPOS_SONOTA: u32 = 118u32;
5409 pub const JPOS_SOSHIKI: u32 = 120u32;
5410 pub const JPOS_SURU_SA: u32 = 229u32;
5411 pub const JPOS_SURU_SE: u32 = 238u32;
5412 pub const JPOS_SURU_SEYO: u32 = 239u32;
5413 pub const JPOS_SURU_SI: u32 = 230u32;
5414 pub const JPOS_SURU_SIATRI: u32 = 233u32;
5415 pub const JPOS_SURU_SITA: u32 = 231u32;
5416 pub const JPOS_SURU_SITARA: u32 = 232u32;
5417 pub const JPOS_SURU_SITAROU: u32 = 234u32;
5418 pub const JPOS_SURU_SITE: u32 = 235u32;
5419 pub const JPOS_SURU_SIYOU: u32 = 236u32;
5420 pub const JPOS_SURU_SUREBA: u32 = 237u32;
5421 pub const JPOS_TANKANJI: u32 = 900u32;
5422 pub const JPOS_TANKANJI_KAO: u32 = 901u32;
5423 pub const JPOS_TANSHUKU: u32 = 913u32;
5424 pub const JPOS_TOKUSHU_KAHEN: u32 = 214u32;
5425 pub const JPOS_TOKUSHU_NAHEN: u32 = 218u32;
5426 pub const JPOS_TOKUSHU_SAHEN: u32 = 216u32;
5427 pub const JPOS_TOKUSHU_SAHENSURU: u32 = 215u32;
5428 pub const JPOS_TOKUSHU_ZAHEN: u32 = 217u32;
5429 pub const JPOS_TOUTEN: u32 = 908u32;
5430 pub const JPOS_UNDEFINED: u32 = 0u32;
5431 pub const JPOS_YOKUSEI: u32 = 912u32;
5432 pub const MAX_APPLETTITLE: u32 = 64u32;
5433 pub const MAX_FONTFACE: u32 = 32u32;
5434 pub const MODEBIASMODE_DEFAULT: u32 = 0u32;
5435 pub const MODEBIASMODE_DIGIT: u32 = 4u32;
5436 pub const MODEBIASMODE_FILENAME: u32 = 1u32;
5437 pub const MODEBIASMODE_READING: u32 = 2u32;
5438 pub const MODEBIAS_GETVALUE: u32 = 2u32;
5439 pub const MODEBIAS_GETVERSION: u32 = 0u32;
5440 pub const MODEBIAS_SETVALUE: u32 = 1u32;
5441 pub const MOD_IGNORE_ALL_MODIFIER: u32 = 1024u32;
5442 pub const MOD_LEFT: u32 = 32768u32;
5443 pub const MOD_ON_KEYUP: u32 = 2048u32;
5444 pub const MOD_RIGHT: u32 = 16384u32;
5445 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5446 #[repr(C, packed(1))]
5447 #[cfg(feature = "Win32_Foundation")]
5448 pub struct MORRSLT {
5449 pub dwSize: u32,
5450 pub pwchOutput: super::super::super::Foundation::PWSTR,
5451 pub cchOutput: u16,
5452 pub Anonymous1: MORRSLT_0,
5453 pub Anonymous2: MORRSLT_1,
5454 pub pchInputPos: *mut u16,
5455 pub pchOutputIdxWDD: *mut u16,
5456 pub Anonymous3: MORRSLT_2,
5457 pub paMonoRubyPos: *mut u16,
5458 pub pWDD: *mut WDD,
5459 pub cWDD: i32,
5460 pub pPrivate: *mut ::std::ffi::c_void,
5461 pub BLKBuff: [u16; 1],
5462 }
5463 #[cfg(feature = "Win32_Foundation")]
5464 impl MORRSLT {}
5465 #[cfg(feature = "Win32_Foundation")]
5466 impl ::std::default::Default for MORRSLT {
default() -> Self5467 fn default() -> Self {
5468 unsafe { ::std::mem::zeroed() }
5469 }
5470 }
5471 #[cfg(feature = "Win32_Foundation")]
5472 impl ::std::cmp::PartialEq for MORRSLT {
eq(&self, _other: &Self) -> bool5473 fn eq(&self, _other: &Self) -> bool {
5474 unimplemented!()
5475 }
5476 }
5477 #[cfg(feature = "Win32_Foundation")]
5478 impl ::std::cmp::Eq for MORRSLT {}
5479 #[cfg(feature = "Win32_Foundation")]
5480 unsafe impl ::windows::runtime::Abi for MORRSLT {
5481 type Abi = Self;
5482 type DefaultType = Self;
5483 }
5484 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5485 #[repr(C, packed(1))]
5486 #[cfg(feature = "Win32_Foundation")]
5487 pub union MORRSLT_0 {
5488 pub pwchRead: super::super::super::Foundation::PWSTR,
5489 pub pwchComp: super::super::super::Foundation::PWSTR,
5490 }
5491 #[cfg(feature = "Win32_Foundation")]
5492 impl MORRSLT_0 {}
5493 #[cfg(feature = "Win32_Foundation")]
5494 impl ::std::default::Default for MORRSLT_0 {
default() -> Self5495 fn default() -> Self {
5496 unsafe { ::std::mem::zeroed() }
5497 }
5498 }
5499 #[cfg(feature = "Win32_Foundation")]
5500 impl ::std::cmp::PartialEq for MORRSLT_0 {
eq(&self, _other: &Self) -> bool5501 fn eq(&self, _other: &Self) -> bool {
5502 unimplemented!()
5503 }
5504 }
5505 #[cfg(feature = "Win32_Foundation")]
5506 impl ::std::cmp::Eq for MORRSLT_0 {}
5507 #[cfg(feature = "Win32_Foundation")]
5508 unsafe impl ::windows::runtime::Abi for MORRSLT_0 {
5509 type Abi = Self;
5510 type DefaultType = Self;
5511 }
5512 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5513 #[repr(C, packed(1))]
5514 pub union MORRSLT_1 {
5515 pub cchRead: u16,
5516 pub cchComp: u16,
5517 }
5518 impl MORRSLT_1 {}
5519 impl ::std::default::Default for MORRSLT_1 {
default() -> Self5520 fn default() -> Self {
5521 unsafe { ::std::mem::zeroed() }
5522 }
5523 }
5524 impl ::std::cmp::PartialEq for MORRSLT_1 {
eq(&self, _other: &Self) -> bool5525 fn eq(&self, _other: &Self) -> bool {
5526 unimplemented!()
5527 }
5528 }
5529 impl ::std::cmp::Eq for MORRSLT_1 {}
5530 unsafe impl ::windows::runtime::Abi for MORRSLT_1 {
5531 type Abi = Self;
5532 type DefaultType = Self;
5533 }
5534 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5535 #[repr(C, packed(1))]
5536 pub union MORRSLT_2 {
5537 pub pchReadIdxWDD: *mut u16,
5538 pub pchCompIdxWDD: *mut u16,
5539 }
5540 impl MORRSLT_2 {}
5541 impl ::std::default::Default for MORRSLT_2 {
default() -> Self5542 fn default() -> Self {
5543 unsafe { ::std::mem::zeroed() }
5544 }
5545 }
5546 impl ::std::cmp::PartialEq for MORRSLT_2 {
eq(&self, _other: &Self) -> bool5547 fn eq(&self, _other: &Self) -> bool {
5548 unimplemented!()
5549 }
5550 }
5551 impl ::std::cmp::Eq for MORRSLT_2 {}
5552 unsafe impl ::windows::runtime::Abi for MORRSLT_2 {
5553 type Abi = Self;
5554 type DefaultType = Self;
5555 }
5556 pub const NI_CONTEXTUPDATED: u32 = 3u32;
5557 pub const NI_FINALIZECONVERSIONRESULT: u32 = 20u32;
5558 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
5559 #[repr(transparent)]
5560 pub struct NOTIFY_IME_ACTION(pub u32);
5561 pub const NI_CHANGECANDIDATELIST: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(19u32);
5562 pub const NI_CLOSECANDIDATE: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(17u32);
5563 pub const NI_COMPOSITIONSTR: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(21u32);
5564 pub const NI_IMEMENUSELECTED: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(24u32);
5565 pub const NI_OPENCANDIDATE: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(16u32);
5566 pub const NI_SELECTCANDIDATESTR: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(18u32);
5567 pub const NI_SETCANDIDATE_PAGESIZE: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(23u32);
5568 pub const NI_SETCANDIDATE_PAGESTART: NOTIFY_IME_ACTION = NOTIFY_IME_ACTION(22u32);
5569 impl ::std::convert::From<u32> for NOTIFY_IME_ACTION {
from(value: u32) -> Self5570 fn from(value: u32) -> Self {
5571 Self(value)
5572 }
5573 }
5574 unsafe impl ::windows::runtime::Abi for NOTIFY_IME_ACTION {
5575 type Abi = Self;
5576 type DefaultType = Self;
5577 }
5578 impl ::std::ops::BitOr for NOTIFY_IME_ACTION {
5579 type Output = Self;
bitor(self, rhs: Self) -> Self5580 fn bitor(self, rhs: Self) -> Self {
5581 Self(self.0 | rhs.0)
5582 }
5583 }
5584 impl ::std::ops::BitAnd for NOTIFY_IME_ACTION {
5585 type Output = Self;
bitand(self, rhs: Self) -> Self5586 fn bitand(self, rhs: Self) -> Self {
5587 Self(self.0 & rhs.0)
5588 }
5589 }
5590 impl ::std::ops::BitOrAssign for NOTIFY_IME_ACTION {
bitor_assign(&mut self, rhs: Self)5591 fn bitor_assign(&mut self, rhs: Self) {
5592 self.0.bitor_assign(rhs.0)
5593 }
5594 }
5595 impl ::std::ops::BitAndAssign for NOTIFY_IME_ACTION {
bitand_assign(&mut self, rhs: Self)5596 fn bitand_assign(&mut self, rhs: Self) {
5597 self.0.bitand_assign(rhs.0)
5598 }
5599 }
5600 impl ::std::ops::Not for NOTIFY_IME_ACTION {
5601 type Output = Self;
not(self) -> Self5602 fn not(self) -> Self {
5603 Self(self.0.not())
5604 }
5605 }
5606 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
5607 #[repr(transparent)]
5608 pub struct NOTIFY_IME_INDEX(pub u32);
5609 pub const CPS_CANCEL: NOTIFY_IME_INDEX = NOTIFY_IME_INDEX(4u32);
5610 pub const CPS_COMPLETE: NOTIFY_IME_INDEX = NOTIFY_IME_INDEX(1u32);
5611 pub const CPS_CONVERT: NOTIFY_IME_INDEX = NOTIFY_IME_INDEX(2u32);
5612 pub const CPS_REVERT: NOTIFY_IME_INDEX = NOTIFY_IME_INDEX(3u32);
5613 impl ::std::convert::From<u32> for NOTIFY_IME_INDEX {
from(value: u32) -> Self5614 fn from(value: u32) -> Self {
5615 Self(value)
5616 }
5617 }
5618 unsafe impl ::windows::runtime::Abi for NOTIFY_IME_INDEX {
5619 type Abi = Self;
5620 type DefaultType = Self;
5621 }
5622 impl ::std::ops::BitOr for NOTIFY_IME_INDEX {
5623 type Output = Self;
bitor(self, rhs: Self) -> Self5624 fn bitor(self, rhs: Self) -> Self {
5625 Self(self.0 | rhs.0)
5626 }
5627 }
5628 impl ::std::ops::BitAnd for NOTIFY_IME_INDEX {
5629 type Output = Self;
bitand(self, rhs: Self) -> Self5630 fn bitand(self, rhs: Self) -> Self {
5631 Self(self.0 & rhs.0)
5632 }
5633 }
5634 impl ::std::ops::BitOrAssign for NOTIFY_IME_INDEX {
bitor_assign(&mut self, rhs: Self)5635 fn bitor_assign(&mut self, rhs: Self) {
5636 self.0.bitor_assign(rhs.0)
5637 }
5638 }
5639 impl ::std::ops::BitAndAssign for NOTIFY_IME_INDEX {
bitand_assign(&mut self, rhs: Self)5640 fn bitand_assign(&mut self, rhs: Self) {
5641 self.0.bitand_assign(rhs.0)
5642 }
5643 }
5644 impl ::std::ops::Not for NOTIFY_IME_INDEX {
5645 type Output = Self;
not(self) -> Self5646 fn not(self) -> Self {
5647 Self(self.0.not())
5648 }
5649 }
5650 #[cfg(feature = "Win32_Foundation")]
5651 pub type PFNLOG = unsafe extern "system" fn(param0: *mut IMEDP, param1: ::windows::runtime::HRESULT) -> super::super::super::Foundation::BOOL;
5652 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5653 #[repr(C, packed(1))]
5654 pub struct POSTBL {
5655 pub nPos: u16,
5656 pub szName: *mut u8,
5657 }
5658 impl POSTBL {}
5659 impl ::std::default::Default for POSTBL {
default() -> Self5660 fn default() -> Self {
5661 unsafe { ::std::mem::zeroed() }
5662 }
5663 }
5664 impl ::std::cmp::PartialEq for POSTBL {
eq(&self, _other: &Self) -> bool5665 fn eq(&self, _other: &Self) -> bool {
5666 unimplemented!()
5667 }
5668 }
5669 impl ::std::cmp::Eq for POSTBL {}
5670 unsafe impl ::windows::runtime::Abi for POSTBL {
5671 type Abi = Self;
5672 type DefaultType = Self;
5673 }
5674 pub const POS_UNDEFINED: u32 = 0u32;
5675 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5676 #[repr(C)]
5677 pub struct RECONVERTSTRING {
5678 pub dwSize: u32,
5679 pub dwVersion: u32,
5680 pub dwStrLen: u32,
5681 pub dwStrOffset: u32,
5682 pub dwCompStrLen: u32,
5683 pub dwCompStrOffset: u32,
5684 pub dwTargetStrLen: u32,
5685 pub dwTargetStrOffset: u32,
5686 }
5687 impl RECONVERTSTRING {}
5688 impl ::std::default::Default for RECONVERTSTRING {
default() -> Self5689 fn default() -> Self {
5690 unsafe { ::std::mem::zeroed() }
5691 }
5692 }
5693 impl ::std::fmt::Debug for RECONVERTSTRING {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5694 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5695 fmt.debug_struct("RECONVERTSTRING")
5696 .field("dwSize", &self.dwSize)
5697 .field("dwVersion", &self.dwVersion)
5698 .field("dwStrLen", &self.dwStrLen)
5699 .field("dwStrOffset", &self.dwStrOffset)
5700 .field("dwCompStrLen", &self.dwCompStrLen)
5701 .field("dwCompStrOffset", &self.dwCompStrOffset)
5702 .field("dwTargetStrLen", &self.dwTargetStrLen)
5703 .field("dwTargetStrOffset", &self.dwTargetStrOffset)
5704 .finish()
5705 }
5706 }
5707 impl ::std::cmp::PartialEq for RECONVERTSTRING {
eq(&self, other: &Self) -> bool5708 fn eq(&self, other: &Self) -> bool {
5709 self.dwSize == other.dwSize && self.dwVersion == other.dwVersion && self.dwStrLen == other.dwStrLen && self.dwStrOffset == other.dwStrOffset && self.dwCompStrLen == other.dwCompStrLen && self.dwCompStrOffset == other.dwCompStrOffset && self.dwTargetStrLen == other.dwTargetStrLen && self.dwTargetStrOffset == other.dwTargetStrOffset
5710 }
5711 }
5712 impl ::std::cmp::Eq for RECONVERTSTRING {}
5713 unsafe impl ::windows::runtime::Abi for RECONVERTSTRING {
5714 type Abi = Self;
5715 type DefaultType = Self;
5716 }
5717 pub const RECONVOPT_NONE: u32 = 0u32;
5718 pub const RECONVOPT_USECANCELNOTIFY: u32 = 1u32;
5719 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5720 #[repr(C)]
5721 #[cfg(feature = "Win32_Foundation")]
5722 pub struct REGISTERWORDA {
5723 pub lpReading: super::super::super::Foundation::PSTR,
5724 pub lpWord: super::super::super::Foundation::PSTR,
5725 }
5726 #[cfg(feature = "Win32_Foundation")]
5727 impl REGISTERWORDA {}
5728 #[cfg(feature = "Win32_Foundation")]
5729 impl ::std::default::Default for REGISTERWORDA {
default() -> Self5730 fn default() -> Self {
5731 unsafe { ::std::mem::zeroed() }
5732 }
5733 }
5734 #[cfg(feature = "Win32_Foundation")]
5735 impl ::std::fmt::Debug for REGISTERWORDA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5736 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5737 fmt.debug_struct("REGISTERWORDA").field("lpReading", &self.lpReading).field("lpWord", &self.lpWord).finish()
5738 }
5739 }
5740 #[cfg(feature = "Win32_Foundation")]
5741 impl ::std::cmp::PartialEq for REGISTERWORDA {
eq(&self, other: &Self) -> bool5742 fn eq(&self, other: &Self) -> bool {
5743 self.lpReading == other.lpReading && self.lpWord == other.lpWord
5744 }
5745 }
5746 #[cfg(feature = "Win32_Foundation")]
5747 impl ::std::cmp::Eq for REGISTERWORDA {}
5748 #[cfg(feature = "Win32_Foundation")]
5749 unsafe impl ::windows::runtime::Abi for REGISTERWORDA {
5750 type Abi = Self;
5751 type DefaultType = Self;
5752 }
5753 #[cfg(feature = "Win32_Foundation")]
5754 pub type REGISTERWORDENUMPROCA = unsafe extern "system" fn(lpszreading: super::super::super::Foundation::PSTR, param1: u32, lpszstring: super::super::super::Foundation::PSTR, param3: *mut ::std::ffi::c_void) -> i32;
5755 #[cfg(feature = "Win32_Foundation")]
5756 pub type REGISTERWORDENUMPROCW = unsafe extern "system" fn(lpszreading: super::super::super::Foundation::PWSTR, param1: u32, lpszstring: super::super::super::Foundation::PWSTR, param3: *mut ::std::ffi::c_void) -> i32;
5757 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5758 #[repr(C)]
5759 #[cfg(feature = "Win32_Foundation")]
5760 pub struct REGISTERWORDW {
5761 pub lpReading: super::super::super::Foundation::PWSTR,
5762 pub lpWord: super::super::super::Foundation::PWSTR,
5763 }
5764 #[cfg(feature = "Win32_Foundation")]
5765 impl REGISTERWORDW {}
5766 #[cfg(feature = "Win32_Foundation")]
5767 impl ::std::default::Default for REGISTERWORDW {
default() -> Self5768 fn default() -> Self {
5769 unsafe { ::std::mem::zeroed() }
5770 }
5771 }
5772 #[cfg(feature = "Win32_Foundation")]
5773 impl ::std::fmt::Debug for REGISTERWORDW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5774 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5775 fmt.debug_struct("REGISTERWORDW").field("lpReading", &self.lpReading).field("lpWord", &self.lpWord).finish()
5776 }
5777 }
5778 #[cfg(feature = "Win32_Foundation")]
5779 impl ::std::cmp::PartialEq for REGISTERWORDW {
eq(&self, other: &Self) -> bool5780 fn eq(&self, other: &Self) -> bool {
5781 self.lpReading == other.lpReading && self.lpWord == other.lpWord
5782 }
5783 }
5784 #[cfg(feature = "Win32_Foundation")]
5785 impl ::std::cmp::Eq for REGISTERWORDW {}
5786 #[cfg(feature = "Win32_Foundation")]
5787 unsafe impl ::windows::runtime::Abi for REGISTERWORDW {
5788 type Abi = Self;
5789 type DefaultType = Self;
5790 }
5791 pub const SCS_CAP_COMPSTR: u32 = 1u32;
5792 pub const SCS_CAP_MAKEREAD: u32 = 2u32;
5793 pub const SCS_CAP_SETRECONVERTSTRING: u32 = 4u32;
5794 pub const SELECT_CAP_CONVERSION: u32 = 1u32;
5795 pub const SELECT_CAP_SENTENCE: u32 = 2u32;
5796 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
5797 #[repr(transparent)]
5798 pub struct SET_COMPOSITION_STRING_TYPE(pub u32);
5799 pub const SCS_SETSTR: SET_COMPOSITION_STRING_TYPE = SET_COMPOSITION_STRING_TYPE(9u32);
5800 pub const SCS_CHANGEATTR: SET_COMPOSITION_STRING_TYPE = SET_COMPOSITION_STRING_TYPE(18u32);
5801 pub const SCS_CHANGECLAUSE: SET_COMPOSITION_STRING_TYPE = SET_COMPOSITION_STRING_TYPE(36u32);
5802 pub const SCS_SETRECONVERTSTRING: SET_COMPOSITION_STRING_TYPE = SET_COMPOSITION_STRING_TYPE(65536u32);
5803 pub const SCS_QUERYRECONVERTSTRING: SET_COMPOSITION_STRING_TYPE = SET_COMPOSITION_STRING_TYPE(131072u32);
5804 impl ::std::convert::From<u32> for SET_COMPOSITION_STRING_TYPE {
from(value: u32) -> Self5805 fn from(value: u32) -> Self {
5806 Self(value)
5807 }
5808 }
5809 unsafe impl ::windows::runtime::Abi for SET_COMPOSITION_STRING_TYPE {
5810 type Abi = Self;
5811 type DefaultType = Self;
5812 }
5813 impl ::std::ops::BitOr for SET_COMPOSITION_STRING_TYPE {
5814 type Output = Self;
bitor(self, rhs: Self) -> Self5815 fn bitor(self, rhs: Self) -> Self {
5816 Self(self.0 | rhs.0)
5817 }
5818 }
5819 impl ::std::ops::BitAnd for SET_COMPOSITION_STRING_TYPE {
5820 type Output = Self;
bitand(self, rhs: Self) -> Self5821 fn bitand(self, rhs: Self) -> Self {
5822 Self(self.0 & rhs.0)
5823 }
5824 }
5825 impl ::std::ops::BitOrAssign for SET_COMPOSITION_STRING_TYPE {
bitor_assign(&mut self, rhs: Self)5826 fn bitor_assign(&mut self, rhs: Self) {
5827 self.0.bitor_assign(rhs.0)
5828 }
5829 }
5830 impl ::std::ops::BitAndAssign for SET_COMPOSITION_STRING_TYPE {
bitand_assign(&mut self, rhs: Self)5831 fn bitand_assign(&mut self, rhs: Self) {
5832 self.0.bitand_assign(rhs.0)
5833 }
5834 }
5835 impl ::std::ops::Not for SET_COMPOSITION_STRING_TYPE {
5836 type Output = Self;
not(self) -> Self5837 fn not(self) -> Self {
5838 Self(self.0.not())
5839 }
5840 }
5841 pub const SHOWIMEPAD_CATEGORY: u32 = 1u32;
5842 pub const SHOWIMEPAD_DEFAULT: u32 = 0u32;
5843 pub const SHOWIMEPAD_GUID: u32 = 2u32;
5844 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5845 #[repr(C)]
5846 pub struct SOFTKBDDATA {
5847 pub uCount: u32,
5848 pub wCode: [u16; 256],
5849 }
5850 impl SOFTKBDDATA {}
5851 impl ::std::default::Default for SOFTKBDDATA {
default() -> Self5852 fn default() -> Self {
5853 unsafe { ::std::mem::zeroed() }
5854 }
5855 }
5856 impl ::std::fmt::Debug for SOFTKBDDATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5857 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5858 fmt.debug_struct("SOFTKBDDATA").field("uCount", &self.uCount).field("wCode", &self.wCode).finish()
5859 }
5860 }
5861 impl ::std::cmp::PartialEq for SOFTKBDDATA {
eq(&self, other: &Self) -> bool5862 fn eq(&self, other: &Self) -> bool {
5863 self.uCount == other.uCount && self.wCode == other.wCode
5864 }
5865 }
5866 impl ::std::cmp::Eq for SOFTKBDDATA {}
5867 unsafe impl ::windows::runtime::Abi for SOFTKBDDATA {
5868 type Abi = Self;
5869 type DefaultType = Self;
5870 }
5871 pub const SOFTKEYBOARD_TYPE_C1: u32 = 2u32;
5872 pub const SOFTKEYBOARD_TYPE_T1: u32 = 1u32;
5873 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5874 #[repr(C)]
5875 #[cfg(feature = "Win32_Foundation")]
5876 pub struct STYLEBUFA {
5877 pub dwStyle: u32,
5878 pub szDescription: [super::super::super::Foundation::CHAR; 32],
5879 }
5880 #[cfg(feature = "Win32_Foundation")]
5881 impl STYLEBUFA {}
5882 #[cfg(feature = "Win32_Foundation")]
5883 impl ::std::default::Default for STYLEBUFA {
default() -> Self5884 fn default() -> Self {
5885 unsafe { ::std::mem::zeroed() }
5886 }
5887 }
5888 #[cfg(feature = "Win32_Foundation")]
5889 impl ::std::fmt::Debug for STYLEBUFA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5890 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5891 fmt.debug_struct("STYLEBUFA").field("dwStyle", &self.dwStyle).field("szDescription", &self.szDescription).finish()
5892 }
5893 }
5894 #[cfg(feature = "Win32_Foundation")]
5895 impl ::std::cmp::PartialEq for STYLEBUFA {
eq(&self, other: &Self) -> bool5896 fn eq(&self, other: &Self) -> bool {
5897 self.dwStyle == other.dwStyle && self.szDescription == other.szDescription
5898 }
5899 }
5900 #[cfg(feature = "Win32_Foundation")]
5901 impl ::std::cmp::Eq for STYLEBUFA {}
5902 #[cfg(feature = "Win32_Foundation")]
5903 unsafe impl ::windows::runtime::Abi for STYLEBUFA {
5904 type Abi = Self;
5905 type DefaultType = Self;
5906 }
5907 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5908 #[repr(C)]
5909 pub struct STYLEBUFW {
5910 pub dwStyle: u32,
5911 pub szDescription: [u16; 32],
5912 }
5913 impl STYLEBUFW {}
5914 impl ::std::default::Default for STYLEBUFW {
default() -> Self5915 fn default() -> Self {
5916 unsafe { ::std::mem::zeroed() }
5917 }
5918 }
5919 impl ::std::fmt::Debug for STYLEBUFW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5920 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5921 fmt.debug_struct("STYLEBUFW").field("dwStyle", &self.dwStyle).field("szDescription", &self.szDescription).finish()
5922 }
5923 }
5924 impl ::std::cmp::PartialEq for STYLEBUFW {
eq(&self, other: &Self) -> bool5925 fn eq(&self, other: &Self) -> bool {
5926 self.dwStyle == other.dwStyle && self.szDescription == other.szDescription
5927 }
5928 }
5929 impl ::std::cmp::Eq for STYLEBUFW {}
5930 unsafe impl ::windows::runtime::Abi for STYLEBUFW {
5931 type Abi = Self;
5932 type DefaultType = Self;
5933 }
5934 pub const STYLE_DESCRIPTION_SIZE: u32 = 32u32;
5935 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5936 #[repr(C)]
5937 #[cfg(feature = "Win32_Foundation")]
5938 pub struct TRANSMSG {
5939 pub message: u32,
5940 pub wParam: super::super::super::Foundation::WPARAM,
5941 pub lParam: super::super::super::Foundation::LPARAM,
5942 }
5943 #[cfg(feature = "Win32_Foundation")]
5944 impl TRANSMSG {}
5945 #[cfg(feature = "Win32_Foundation")]
5946 impl ::std::default::Default for TRANSMSG {
default() -> Self5947 fn default() -> Self {
5948 unsafe { ::std::mem::zeroed() }
5949 }
5950 }
5951 #[cfg(feature = "Win32_Foundation")]
5952 impl ::std::fmt::Debug for TRANSMSG {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5953 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5954 fmt.debug_struct("TRANSMSG").field("message", &self.message).field("wParam", &self.wParam).field("lParam", &self.lParam).finish()
5955 }
5956 }
5957 #[cfg(feature = "Win32_Foundation")]
5958 impl ::std::cmp::PartialEq for TRANSMSG {
eq(&self, other: &Self) -> bool5959 fn eq(&self, other: &Self) -> bool {
5960 self.message == other.message && self.wParam == other.wParam && self.lParam == other.lParam
5961 }
5962 }
5963 #[cfg(feature = "Win32_Foundation")]
5964 impl ::std::cmp::Eq for TRANSMSG {}
5965 #[cfg(feature = "Win32_Foundation")]
5966 unsafe impl ::windows::runtime::Abi for TRANSMSG {
5967 type Abi = Self;
5968 type DefaultType = Self;
5969 }
5970 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
5971 #[repr(C)]
5972 #[cfg(feature = "Win32_Foundation")]
5973 pub struct TRANSMSGLIST {
5974 pub uMsgCount: u32,
5975 pub TransMsg: [TRANSMSG; 1],
5976 }
5977 #[cfg(feature = "Win32_Foundation")]
5978 impl TRANSMSGLIST {}
5979 #[cfg(feature = "Win32_Foundation")]
5980 impl ::std::default::Default for TRANSMSGLIST {
default() -> Self5981 fn default() -> Self {
5982 unsafe { ::std::mem::zeroed() }
5983 }
5984 }
5985 #[cfg(feature = "Win32_Foundation")]
5986 impl ::std::fmt::Debug for TRANSMSGLIST {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result5987 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
5988 fmt.debug_struct("TRANSMSGLIST").field("uMsgCount", &self.uMsgCount).field("TransMsg", &self.TransMsg).finish()
5989 }
5990 }
5991 #[cfg(feature = "Win32_Foundation")]
5992 impl ::std::cmp::PartialEq for TRANSMSGLIST {
eq(&self, other: &Self) -> bool5993 fn eq(&self, other: &Self) -> bool {
5994 self.uMsgCount == other.uMsgCount && self.TransMsg == other.TransMsg
5995 }
5996 }
5997 #[cfg(feature = "Win32_Foundation")]
5998 impl ::std::cmp::Eq for TRANSMSGLIST {}
5999 #[cfg(feature = "Win32_Foundation")]
6000 unsafe impl ::windows::runtime::Abi for TRANSMSGLIST {
6001 type Abi = Self;
6002 type DefaultType = Self;
6003 }
6004 pub const UI_CAP_2700: u32 = 1u32;
6005 pub const UI_CAP_ROT90: u32 = 2u32;
6006 pub const UI_CAP_ROTANY: u32 = 4u32;
6007 pub const UI_CAP_SOFTKBD: u32 = 65536u32;
6008 pub const VERSION_DOCUMENTFEED: u32 = 1u32;
6009 pub const VERSION_ID_CHINESE_SIMPLIFIED: u32 = 134217728u32;
6010 pub const VERSION_ID_CHINESE_TRADITIONAL: u32 = 67108864u32;
6011 pub const VERSION_ID_JAPANESE: u32 = 16777216u32;
6012 pub const VERSION_ID_KOREAN: u32 = 33554432u32;
6013 pub const VERSION_MODEBIAS: u32 = 1u32;
6014 pub const VERSION_MOUSE_OPERATION: u32 = 1u32;
6015 pub const VERSION_QUERYPOSITION: u32 = 1u32;
6016 pub const VERSION_RECONVERSION: u32 = 1u32;
6017 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6018 #[repr(C, packed(1))]
6019 pub struct WDD {
6020 pub wDispPos: u16,
6021 pub Anonymous1: WDD_0,
6022 pub cchDisp: u16,
6023 pub Anonymous2: WDD_1,
6024 pub WDD_nReserve1: u32,
6025 pub nPos: u16,
6026 pub _bitfield: u16,
6027 pub pReserved: *mut ::std::ffi::c_void,
6028 }
6029 impl WDD {}
6030 impl ::std::default::Default for WDD {
default() -> Self6031 fn default() -> Self {
6032 unsafe { ::std::mem::zeroed() }
6033 }
6034 }
6035 impl ::std::cmp::PartialEq for WDD {
eq(&self, _other: &Self) -> bool6036 fn eq(&self, _other: &Self) -> bool {
6037 unimplemented!()
6038 }
6039 }
6040 impl ::std::cmp::Eq for WDD {}
6041 unsafe impl ::windows::runtime::Abi for WDD {
6042 type Abi = Self;
6043 type DefaultType = Self;
6044 }
6045 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6046 #[repr(C, packed(1))]
6047 pub union WDD_0 {
6048 pub wReadPos: u16,
6049 pub wCompPos: u16,
6050 }
6051 impl WDD_0 {}
6052 impl ::std::default::Default for WDD_0 {
default() -> Self6053 fn default() -> Self {
6054 unsafe { ::std::mem::zeroed() }
6055 }
6056 }
6057 impl ::std::cmp::PartialEq for WDD_0 {
eq(&self, _other: &Self) -> bool6058 fn eq(&self, _other: &Self) -> bool {
6059 unimplemented!()
6060 }
6061 }
6062 impl ::std::cmp::Eq for WDD_0 {}
6063 unsafe impl ::windows::runtime::Abi for WDD_0 {
6064 type Abi = Self;
6065 type DefaultType = Self;
6066 }
6067 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6068 #[repr(C, packed(1))]
6069 pub union WDD_1 {
6070 pub cchRead: u16,
6071 pub cchComp: u16,
6072 }
6073 impl WDD_1 {}
6074 impl ::std::default::Default for WDD_1 {
default() -> Self6075 fn default() -> Self {
6076 unsafe { ::std::mem::zeroed() }
6077 }
6078 }
6079 impl ::std::cmp::PartialEq for WDD_1 {
eq(&self, _other: &Self) -> bool6080 fn eq(&self, _other: &Self) -> bool {
6081 unimplemented!()
6082 }
6083 }
6084 impl ::std::cmp::Eq for WDD_1 {}
6085 unsafe impl ::windows::runtime::Abi for WDD_1 {
6086 type Abi = Self;
6087 type DefaultType = Self;
6088 }
6089 pub type fpCreateIFECommonInstanceType = unsafe extern "system" fn(ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
6090 pub type fpCreateIFEDictionaryInstanceType = unsafe extern "system" fn(ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
6091 pub type fpCreateIFELanguageInstanceType = unsafe extern "system" fn(clsid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
6092 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6093 #[repr(C)]
6094 pub struct tabIMEFAREASTINFO {
6095 pub dwSize: u32,
6096 pub dwType: u32,
6097 pub dwData: [u32; 1],
6098 }
6099 impl tabIMEFAREASTINFO {}
6100 impl ::std::default::Default for tabIMEFAREASTINFO {
default() -> Self6101 fn default() -> Self {
6102 unsafe { ::std::mem::zeroed() }
6103 }
6104 }
6105 impl ::std::fmt::Debug for tabIMEFAREASTINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6106 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6107 fmt.debug_struct("tabIMEFAREASTINFO").field("dwSize", &self.dwSize).field("dwType", &self.dwType).field("dwData", &self.dwData).finish()
6108 }
6109 }
6110 impl ::std::cmp::PartialEq for tabIMEFAREASTINFO {
eq(&self, other: &Self) -> bool6111 fn eq(&self, other: &Self) -> bool {
6112 self.dwSize == other.dwSize && self.dwType == other.dwType && self.dwData == other.dwData
6113 }
6114 }
6115 impl ::std::cmp::Eq for tabIMEFAREASTINFO {}
6116 unsafe impl ::windows::runtime::Abi for tabIMEFAREASTINFO {
6117 type Abi = Self;
6118 type DefaultType = Self;
6119 }
6120 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
6121 #[repr(C)]
6122 #[cfg(feature = "Win32_Foundation")]
6123 pub struct tabIMESTRINGINFO {
6124 pub dwFarEastId: u32,
6125 pub lpwstr: super::super::super::Foundation::PWSTR,
6126 }
6127 #[cfg(feature = "Win32_Foundation")]
6128 impl tabIMESTRINGINFO {}
6129 #[cfg(feature = "Win32_Foundation")]
6130 impl ::std::default::Default for tabIMESTRINGINFO {
default() -> Self6131 fn default() -> Self {
6132 unsafe { ::std::mem::zeroed() }
6133 }
6134 }
6135 #[cfg(feature = "Win32_Foundation")]
6136 impl ::std::fmt::Debug for tabIMESTRINGINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result6137 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
6138 fmt.debug_struct("tabIMESTRINGINFO").field("dwFarEastId", &self.dwFarEastId).field("lpwstr", &self.lpwstr).finish()
6139 }
6140 }
6141 #[cfg(feature = "Win32_Foundation")]
6142 impl ::std::cmp::PartialEq for tabIMESTRINGINFO {
eq(&self, other: &Self) -> bool6143 fn eq(&self, other: &Self) -> bool {
6144 self.dwFarEastId == other.dwFarEastId && self.lpwstr == other.lpwstr
6145 }
6146 }
6147 #[cfg(feature = "Win32_Foundation")]
6148 impl ::std::cmp::Eq for tabIMESTRINGINFO {}
6149 #[cfg(feature = "Win32_Foundation")]
6150 unsafe impl ::windows::runtime::Abi for tabIMESTRINGINFO {
6151 type Abi = Self;
6152 type DefaultType = Self;
6153 }
6154