1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)] 2 pub const ATP_CHANGE: u32 = 1u32; 3 pub const ATP_NOCHANGE: u32 = 0u32; 4 pub const ATP_NODELIMITER: u32 = 2u32; 5 pub const ATP_REPLACEALLTEXT: u32 = 4u32; 6 pub const AURL_DISABLEMIXEDLGC: u32 = 32u32; 7 pub const AURL_ENABLEDRIVELETTERS: u32 = 16u32; 8 pub const AURL_ENABLEEA: u32 = 1u32; 9 pub const AURL_ENABLEEAURLS: u32 = 8u32; 10 pub const AURL_ENABLEEMAILADDR: u32 = 2u32; 11 pub const AURL_ENABLETELNO: u32 = 4u32; 12 pub const AURL_ENABLEURL: u32 = 1u32; 13 #[cfg(feature = "Win32_Foundation")] 14 pub type AutoCorrectProc = unsafe extern "system" fn(langid: u16, pszbefore: super::super::super::Foundation::PWSTR, pszafter: super::super::super::Foundation::PWSTR, cchafter: i32, pcchreplaced: *mut i32) -> i32; 15 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 16 #[repr(C)] 17 pub struct BIDIOPTIONS { 18 pub cbSize: u32, 19 pub wMask: u16, 20 pub wEffects: u16, 21 } 22 impl BIDIOPTIONS {} 23 impl ::std::default::Default for BIDIOPTIONS { default() -> Self24 fn default() -> Self { 25 unsafe { ::std::mem::zeroed() } 26 } 27 } 28 impl ::std::fmt::Debug for BIDIOPTIONS { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result29 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 30 fmt.debug_struct("BIDIOPTIONS").field("cbSize", &self.cbSize).field("wMask", &self.wMask).field("wEffects", &self.wEffects).finish() 31 } 32 } 33 impl ::std::cmp::PartialEq for BIDIOPTIONS { eq(&self, other: &Self) -> bool34 fn eq(&self, other: &Self) -> bool { 35 self.cbSize == other.cbSize && self.wMask == other.wMask && self.wEffects == other.wEffects 36 } 37 } 38 impl ::std::cmp::Eq for BIDIOPTIONS {} 39 unsafe impl ::windows::runtime::Abi for BIDIOPTIONS { 40 type Abi = Self; 41 type DefaultType = Self; 42 } 43 pub const BOE_CONTEXTALIGNMENT: u32 = 16u32; 44 pub const BOE_CONTEXTREADING: u32 = 8u32; 45 pub const BOE_FORCERECALC: u32 = 32u32; 46 pub const BOE_LEGACYBIDICLASS: u32 = 64u32; 47 pub const BOE_NEUTRALOVERRIDE: u32 = 4u32; 48 pub const BOE_PLAINTEXT: u32 = 2u32; 49 pub const BOE_RTLDIR: u32 = 1u32; 50 pub const BOE_UNICODEBIDI: u32 = 128u32; 51 pub const BOM_CONTEXTALIGNMENT: u32 = 16u32; 52 pub const BOM_CONTEXTREADING: u32 = 8u32; 53 pub const BOM_DEFPARADIR: u32 = 1u32; 54 pub const BOM_LEGACYBIDICLASS: u32 = 64u32; 55 pub const BOM_NEUTRALOVERRIDE: u32 = 4u32; 56 pub const BOM_PLAINTEXT: u32 = 2u32; 57 pub const BOM_UNICODEBIDI: u32 = 128u32; 58 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 59 #[repr(transparent)] 60 pub struct CARET_FLAGS(pub i32); 61 pub const CARET_NONE: CARET_FLAGS = CARET_FLAGS(0i32); 62 pub const CARET_CUSTOM: CARET_FLAGS = CARET_FLAGS(1i32); 63 pub const CARET_RTL: CARET_FLAGS = CARET_FLAGS(2i32); 64 pub const CARET_ITALIC: CARET_FLAGS = CARET_FLAGS(32i32); 65 pub const CARET_NULL: CARET_FLAGS = CARET_FLAGS(64i32); 66 pub const CARET_ROTATE90: CARET_FLAGS = CARET_FLAGS(128i32); 67 impl ::std::convert::From<i32> for CARET_FLAGS { from(value: i32) -> Self68 fn from(value: i32) -> Self { 69 Self(value) 70 } 71 } 72 unsafe impl ::windows::runtime::Abi for CARET_FLAGS { 73 type Abi = Self; 74 type DefaultType = Self; 75 } 76 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 77 #[repr(C)] 78 #[cfg(feature = "Win32_Graphics_Gdi")] 79 pub union CARET_INFO { 80 pub hbitmap: super::super::super::Graphics::Gdi::HBITMAP, 81 pub caretFlags: CARET_FLAGS, 82 } 83 #[cfg(feature = "Win32_Graphics_Gdi")] 84 impl CARET_INFO {} 85 #[cfg(feature = "Win32_Graphics_Gdi")] 86 impl ::std::default::Default for CARET_INFO { default() -> Self87 fn default() -> Self { 88 unsafe { ::std::mem::zeroed() } 89 } 90 } 91 #[cfg(feature = "Win32_Graphics_Gdi")] 92 impl ::std::cmp::PartialEq for CARET_INFO { eq(&self, _other: &Self) -> bool93 fn eq(&self, _other: &Self) -> bool { 94 unimplemented!() 95 } 96 } 97 #[cfg(feature = "Win32_Graphics_Gdi")] 98 impl ::std::cmp::Eq for CARET_INFO {} 99 #[cfg(feature = "Win32_Graphics_Gdi")] 100 unsafe impl ::windows::runtime::Abi for CARET_INFO { 101 type Abi = Self; 102 type DefaultType = Self; 103 } 104 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 105 #[repr(transparent)] 106 pub struct CFE_EFFECTS(pub u32); 107 pub const CFE_ALLCAPS: CFE_EFFECTS = CFE_EFFECTS(128u32); 108 pub const CFE_AUTOBACKCOLOR: CFE_EFFECTS = CFE_EFFECTS(67108864u32); 109 pub const CFE_DISABLED: CFE_EFFECTS = CFE_EFFECTS(8192u32); 110 pub const CFE_EMBOSS: CFE_EFFECTS = CFE_EFFECTS(2048u32); 111 pub const CFE_HIDDEN: CFE_EFFECTS = CFE_EFFECTS(256u32); 112 pub const CFE_IMPRINT: CFE_EFFECTS = CFE_EFFECTS(4096u32); 113 pub const CFE_OUTLINE: CFE_EFFECTS = CFE_EFFECTS(512u32); 114 pub const CFE_REVISED: CFE_EFFECTS = CFE_EFFECTS(16384u32); 115 pub const CFE_SHADOW: CFE_EFFECTS = CFE_EFFECTS(1024u32); 116 pub const CFE_SMALLCAPS: CFE_EFFECTS = CFE_EFFECTS(64u32); 117 pub const CFE_AUTOCOLOR: CFE_EFFECTS = CFE_EFFECTS(1073741824u32); 118 pub const CFE_BOLD: CFE_EFFECTS = CFE_EFFECTS(1u32); 119 pub const CFE_ITALIC: CFE_EFFECTS = CFE_EFFECTS(2u32); 120 pub const CFE_STRIKEOUT: CFE_EFFECTS = CFE_EFFECTS(8u32); 121 pub const CFE_UNDERLINE: CFE_EFFECTS = CFE_EFFECTS(4u32); 122 pub const CFE_PROTECTED: CFE_EFFECTS = CFE_EFFECTS(16u32); 123 pub const CFE_LINK: CFE_EFFECTS = CFE_EFFECTS(32u32); 124 pub const CFE_SUBSCRIPT: CFE_EFFECTS = CFE_EFFECTS(65536u32); 125 pub const CFE_SUPERSCRIPT: CFE_EFFECTS = CFE_EFFECTS(131072u32); 126 pub const CFE_FONTBOUND: CFE_EFFECTS = CFE_EFFECTS(1048576u32); 127 pub const CFE_LINKPROTECTED: CFE_EFFECTS = CFE_EFFECTS(8388608u32); 128 pub const CFE_EXTENDED: CFE_EFFECTS = CFE_EFFECTS(33554432u32); 129 pub const CFE_MATHNOBUILDUP: CFE_EFFECTS = CFE_EFFECTS(134217728u32); 130 pub const CFE_MATH: CFE_EFFECTS = CFE_EFFECTS(268435456u32); 131 pub const CFE_MATHORDINARY: CFE_EFFECTS = CFE_EFFECTS(536870912u32); 132 impl ::std::convert::From<u32> for CFE_EFFECTS { from(value: u32) -> Self133 fn from(value: u32) -> Self { 134 Self(value) 135 } 136 } 137 unsafe impl ::windows::runtime::Abi for CFE_EFFECTS { 138 type Abi = Self; 139 type DefaultType = Self; 140 } 141 impl ::std::ops::BitOr for CFE_EFFECTS { 142 type Output = Self; bitor(self, rhs: Self) -> Self143 fn bitor(self, rhs: Self) -> Self { 144 Self(self.0 | rhs.0) 145 } 146 } 147 impl ::std::ops::BitAnd for CFE_EFFECTS { 148 type Output = Self; bitand(self, rhs: Self) -> Self149 fn bitand(self, rhs: Self) -> Self { 150 Self(self.0 & rhs.0) 151 } 152 } 153 impl ::std::ops::BitOrAssign for CFE_EFFECTS { bitor_assign(&mut self, rhs: Self)154 fn bitor_assign(&mut self, rhs: Self) { 155 self.0.bitor_assign(rhs.0) 156 } 157 } 158 impl ::std::ops::BitAndAssign for CFE_EFFECTS { bitand_assign(&mut self, rhs: Self)159 fn bitand_assign(&mut self, rhs: Self) { 160 self.0.bitand_assign(rhs.0) 161 } 162 } 163 impl ::std::ops::Not for CFE_EFFECTS { 164 type Output = Self; not(self) -> Self165 fn not(self) -> Self { 166 Self(self.0.not()) 167 } 168 } 169 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 170 #[repr(transparent)] 171 pub struct CFM_MASK(pub u32); 172 pub const CFM_SUBSCRIPT: CFM_MASK = CFM_MASK(196608u32); 173 pub const CFM_SUPERSCRIPT: CFM_MASK = CFM_MASK(196608u32); 174 pub const CFM_EFFECTS: CFM_MASK = CFM_MASK(1073741887u32); 175 pub const CFM_ALL: CFM_MASK = CFM_MASK(4160749631u32); 176 pub const CFM_BOLD: CFM_MASK = CFM_MASK(1u32); 177 pub const CFM_CHARSET: CFM_MASK = CFM_MASK(134217728u32); 178 pub const CFM_COLOR: CFM_MASK = CFM_MASK(1073741824u32); 179 pub const CFM_FACE: CFM_MASK = CFM_MASK(536870912u32); 180 pub const CFM_ITALIC: CFM_MASK = CFM_MASK(2u32); 181 pub const CFM_OFFSET: CFM_MASK = CFM_MASK(268435456u32); 182 pub const CFM_PROTECTED: CFM_MASK = CFM_MASK(16u32); 183 pub const CFM_SIZE: CFM_MASK = CFM_MASK(2147483648u32); 184 pub const CFM_STRIKEOUT: CFM_MASK = CFM_MASK(8u32); 185 pub const CFM_UNDERLINE: CFM_MASK = CFM_MASK(4u32); 186 pub const CFM_LINK: CFM_MASK = CFM_MASK(32u32); 187 pub const CFM_SMALLCAPS: CFM_MASK = CFM_MASK(64u32); 188 pub const CFM_ALLCAPS: CFM_MASK = CFM_MASK(128u32); 189 pub const CFM_HIDDEN: CFM_MASK = CFM_MASK(256u32); 190 pub const CFM_OUTLINE: CFM_MASK = CFM_MASK(512u32); 191 pub const CFM_SHADOW: CFM_MASK = CFM_MASK(1024u32); 192 pub const CFM_EMBOSS: CFM_MASK = CFM_MASK(2048u32); 193 pub const CFM_IMPRINT: CFM_MASK = CFM_MASK(4096u32); 194 pub const CFM_DISABLED: CFM_MASK = CFM_MASK(8192u32); 195 pub const CFM_REVISED: CFM_MASK = CFM_MASK(16384u32); 196 pub const CFM_REVAUTHOR: CFM_MASK = CFM_MASK(32768u32); 197 pub const CFM_ANIMATION: CFM_MASK = CFM_MASK(262144u32); 198 pub const CFM_STYLE: CFM_MASK = CFM_MASK(524288u32); 199 pub const CFM_KERNING: CFM_MASK = CFM_MASK(1048576u32); 200 pub const CFM_SPACING: CFM_MASK = CFM_MASK(2097152u32); 201 pub const CFM_WEIGHT: CFM_MASK = CFM_MASK(4194304u32); 202 pub const CFM_UNDERLINETYPE: CFM_MASK = CFM_MASK(8388608u32); 203 pub const CFM_COOKIE: CFM_MASK = CFM_MASK(16777216u32); 204 pub const CFM_LCID: CFM_MASK = CFM_MASK(33554432u32); 205 pub const CFM_BACKCOLOR: CFM_MASK = CFM_MASK(67108864u32); 206 pub const CFM_EFFECTS2: CFM_MASK = CFM_MASK(1141080063u32); 207 pub const CFM_ALL2: CFM_MASK = CFM_MASK(4294967295u32); 208 pub const CFM_FONTBOUND: CFM_MASK = CFM_MASK(1048576u32); 209 pub const CFM_LINKPROTECTED: CFM_MASK = CFM_MASK(8388608u32); 210 pub const CFM_EXTENDED: CFM_MASK = CFM_MASK(33554432u32); 211 pub const CFM_MATHNOBUILDUP: CFM_MASK = CFM_MASK(134217728u32); 212 pub const CFM_MATH: CFM_MASK = CFM_MASK(268435456u32); 213 pub const CFM_MATHORDINARY: CFM_MASK = CFM_MASK(536870912u32); 214 pub const CFM_ALLEFFECTS: CFM_MASK = CFM_MASK(2115207167u32); 215 impl ::std::convert::From<u32> for CFM_MASK { from(value: u32) -> Self216 fn from(value: u32) -> Self { 217 Self(value) 218 } 219 } 220 unsafe impl ::windows::runtime::Abi for CFM_MASK { 221 type Abi = Self; 222 type DefaultType = Self; 223 } 224 impl ::std::ops::BitOr for CFM_MASK { 225 type Output = Self; bitor(self, rhs: Self) -> Self226 fn bitor(self, rhs: Self) -> Self { 227 Self(self.0 | rhs.0) 228 } 229 } 230 impl ::std::ops::BitAnd for CFM_MASK { 231 type Output = Self; bitand(self, rhs: Self) -> Self232 fn bitand(self, rhs: Self) -> Self { 233 Self(self.0 & rhs.0) 234 } 235 } 236 impl ::std::ops::BitOrAssign for CFM_MASK { bitor_assign(&mut self, rhs: Self)237 fn bitor_assign(&mut self, rhs: Self) { 238 self.0.bitor_assign(rhs.0) 239 } 240 } 241 impl ::std::ops::BitAndAssign for CFM_MASK { bitand_assign(&mut self, rhs: Self)242 fn bitand_assign(&mut self, rhs: Self) { 243 self.0.bitand_assign(rhs.0) 244 } 245 } 246 impl ::std::ops::Not for CFM_MASK { 247 type Output = Self; not(self) -> Self248 fn not(self) -> Self { 249 Self(self.0.not()) 250 } 251 } 252 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 253 #[repr(C)] 254 pub struct CHANGENOTIFY { 255 pub dwChangeType: CHANGETYPE, 256 pub pvCookieData: *mut ::std::ffi::c_void, 257 } 258 impl CHANGENOTIFY {} 259 impl ::std::default::Default for CHANGENOTIFY { default() -> Self260 fn default() -> Self { 261 unsafe { ::std::mem::zeroed() } 262 } 263 } 264 impl ::std::fmt::Debug for CHANGENOTIFY { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result265 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 266 fmt.debug_struct("CHANGENOTIFY").field("dwChangeType", &self.dwChangeType).field("pvCookieData", &self.pvCookieData).finish() 267 } 268 } 269 impl ::std::cmp::PartialEq for CHANGENOTIFY { eq(&self, other: &Self) -> bool270 fn eq(&self, other: &Self) -> bool { 271 self.dwChangeType == other.dwChangeType && self.pvCookieData == other.pvCookieData 272 } 273 } 274 impl ::std::cmp::Eq for CHANGENOTIFY {} 275 unsafe impl ::windows::runtime::Abi for CHANGENOTIFY { 276 type Abi = Self; 277 type DefaultType = Self; 278 } 279 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 280 #[repr(transparent)] 281 pub struct CHANGETYPE(pub i32); 282 pub const CN_GENERIC: CHANGETYPE = CHANGETYPE(0i32); 283 pub const CN_TEXTCHANGED: CHANGETYPE = CHANGETYPE(1i32); 284 pub const CN_NEWUNDO: CHANGETYPE = CHANGETYPE(2i32); 285 pub const CN_NEWREDO: CHANGETYPE = CHANGETYPE(4i32); 286 impl ::std::convert::From<i32> for CHANGETYPE { from(value: i32) -> Self287 fn from(value: i32) -> Self { 288 Self(value) 289 } 290 } 291 unsafe impl ::windows::runtime::Abi for CHANGETYPE { 292 type Abi = Self; 293 type DefaultType = Self; 294 } 295 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 296 #[repr(C)] 297 #[cfg(feature = "Win32_Foundation")] 298 pub struct CHARFORMAT2A { 299 pub __AnonymousBase_richedit_L736_C23: CHARFORMATA, 300 pub wWeight: u16, 301 pub sSpacing: i16, 302 pub crBackColor: u32, 303 pub lcid: u32, 304 pub Anonymous: CHARFORMAT2A_0, 305 pub sStyle: i16, 306 pub wKerning: u16, 307 pub bUnderlineType: u8, 308 pub bAnimation: u8, 309 pub bRevAuthor: u8, 310 pub bUnderlineColor: u8, 311 } 312 #[cfg(feature = "Win32_Foundation")] 313 impl CHARFORMAT2A {} 314 #[cfg(feature = "Win32_Foundation")] 315 impl ::std::default::Default for CHARFORMAT2A { default() -> Self316 fn default() -> Self { 317 unsafe { ::std::mem::zeroed() } 318 } 319 } 320 #[cfg(feature = "Win32_Foundation")] 321 impl ::std::cmp::PartialEq for CHARFORMAT2A { eq(&self, _other: &Self) -> bool322 fn eq(&self, _other: &Self) -> bool { 323 unimplemented!() 324 } 325 } 326 #[cfg(feature = "Win32_Foundation")] 327 impl ::std::cmp::Eq for CHARFORMAT2A {} 328 #[cfg(feature = "Win32_Foundation")] 329 unsafe impl ::windows::runtime::Abi for CHARFORMAT2A { 330 type Abi = Self; 331 type DefaultType = Self; 332 } 333 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 334 #[repr(C)] 335 pub union CHARFORMAT2A_0 { 336 pub dwReserved: u32, 337 pub dwCookie: u32, 338 } 339 impl CHARFORMAT2A_0 {} 340 impl ::std::default::Default for CHARFORMAT2A_0 { default() -> Self341 fn default() -> Self { 342 unsafe { ::std::mem::zeroed() } 343 } 344 } 345 impl ::std::cmp::PartialEq for CHARFORMAT2A_0 { eq(&self, _other: &Self) -> bool346 fn eq(&self, _other: &Self) -> bool { 347 unimplemented!() 348 } 349 } 350 impl ::std::cmp::Eq for CHARFORMAT2A_0 {} 351 unsafe impl ::windows::runtime::Abi for CHARFORMAT2A_0 { 352 type Abi = Self; 353 type DefaultType = Self; 354 } 355 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 356 #[repr(C)] 357 pub struct CHARFORMAT2W { 358 pub __AnonymousBase_richedit_L711_C23: CHARFORMATW, 359 pub wWeight: u16, 360 pub sSpacing: i16, 361 pub crBackColor: u32, 362 pub lcid: u32, 363 pub Anonymous: CHARFORMAT2W_0, 364 pub sStyle: i16, 365 pub wKerning: u16, 366 pub bUnderlineType: u8, 367 pub bAnimation: u8, 368 pub bRevAuthor: u8, 369 pub bUnderlineColor: u8, 370 } 371 impl CHARFORMAT2W {} 372 impl ::std::default::Default for CHARFORMAT2W { default() -> Self373 fn default() -> Self { 374 unsafe { ::std::mem::zeroed() } 375 } 376 } 377 impl ::std::cmp::PartialEq for CHARFORMAT2W { eq(&self, _other: &Self) -> bool378 fn eq(&self, _other: &Self) -> bool { 379 unimplemented!() 380 } 381 } 382 impl ::std::cmp::Eq for CHARFORMAT2W {} 383 unsafe impl ::windows::runtime::Abi for CHARFORMAT2W { 384 type Abi = Self; 385 type DefaultType = Self; 386 } 387 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 388 #[repr(C)] 389 pub union CHARFORMAT2W_0 { 390 pub dwReserved: u32, 391 pub dwCookie: u32, 392 } 393 impl CHARFORMAT2W_0 {} 394 impl ::std::default::Default for CHARFORMAT2W_0 { default() -> Self395 fn default() -> Self { 396 unsafe { ::std::mem::zeroed() } 397 } 398 } 399 impl ::std::cmp::PartialEq for CHARFORMAT2W_0 { eq(&self, _other: &Self) -> bool400 fn eq(&self, _other: &Self) -> bool { 401 unimplemented!() 402 } 403 } 404 impl ::std::cmp::Eq for CHARFORMAT2W_0 {} 405 unsafe impl ::windows::runtime::Abi for CHARFORMAT2W_0 { 406 type Abi = Self; 407 type DefaultType = Self; 408 } 409 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 410 #[repr(C)] 411 #[cfg(feature = "Win32_Foundation")] 412 pub struct CHARFORMATA { 413 pub cbSize: u32, 414 pub dwMask: CFM_MASK, 415 pub dwEffects: CFE_EFFECTS, 416 pub yHeight: i32, 417 pub yOffset: i32, 418 pub crTextColor: u32, 419 pub bCharSet: u8, 420 pub bPitchAndFamily: u8, 421 pub szFaceName: [super::super::super::Foundation::CHAR; 32], 422 } 423 #[cfg(feature = "Win32_Foundation")] 424 impl CHARFORMATA {} 425 #[cfg(feature = "Win32_Foundation")] 426 impl ::std::default::Default for CHARFORMATA { default() -> Self427 fn default() -> Self { 428 unsafe { ::std::mem::zeroed() } 429 } 430 } 431 #[cfg(feature = "Win32_Foundation")] 432 impl ::std::fmt::Debug for CHARFORMATA { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result433 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 434 fmt.debug_struct("CHARFORMATA") 435 .field("cbSize", &self.cbSize) 436 .field("dwMask", &self.dwMask) 437 .field("dwEffects", &self.dwEffects) 438 .field("yHeight", &self.yHeight) 439 .field("yOffset", &self.yOffset) 440 .field("crTextColor", &self.crTextColor) 441 .field("bCharSet", &self.bCharSet) 442 .field("bPitchAndFamily", &self.bPitchAndFamily) 443 .field("szFaceName", &self.szFaceName) 444 .finish() 445 } 446 } 447 #[cfg(feature = "Win32_Foundation")] 448 impl ::std::cmp::PartialEq for CHARFORMATA { eq(&self, other: &Self) -> bool449 fn eq(&self, other: &Self) -> bool { 450 self.cbSize == other.cbSize && self.dwMask == other.dwMask && self.dwEffects == other.dwEffects && self.yHeight == other.yHeight && self.yOffset == other.yOffset && self.crTextColor == other.crTextColor && self.bCharSet == other.bCharSet && self.bPitchAndFamily == other.bPitchAndFamily && self.szFaceName == other.szFaceName 451 } 452 } 453 #[cfg(feature = "Win32_Foundation")] 454 impl ::std::cmp::Eq for CHARFORMATA {} 455 #[cfg(feature = "Win32_Foundation")] 456 unsafe impl ::windows::runtime::Abi for CHARFORMATA { 457 type Abi = Self; 458 type DefaultType = Self; 459 } 460 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 461 #[repr(C)] 462 pub struct CHARFORMATW { 463 pub cbSize: u32, 464 pub dwMask: CFM_MASK, 465 pub dwEffects: CFE_EFFECTS, 466 pub yHeight: i32, 467 pub yOffset: i32, 468 pub crTextColor: u32, 469 pub bCharSet: u8, 470 pub bPitchAndFamily: u8, 471 pub szFaceName: [u16; 32], 472 } 473 impl CHARFORMATW {} 474 impl ::std::default::Default for CHARFORMATW { default() -> Self475 fn default() -> Self { 476 unsafe { ::std::mem::zeroed() } 477 } 478 } 479 impl ::std::fmt::Debug for CHARFORMATW { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result480 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 481 fmt.debug_struct("CHARFORMATW") 482 .field("cbSize", &self.cbSize) 483 .field("dwMask", &self.dwMask) 484 .field("dwEffects", &self.dwEffects) 485 .field("yHeight", &self.yHeight) 486 .field("yOffset", &self.yOffset) 487 .field("crTextColor", &self.crTextColor) 488 .field("bCharSet", &self.bCharSet) 489 .field("bPitchAndFamily", &self.bPitchAndFamily) 490 .field("szFaceName", &self.szFaceName) 491 .finish() 492 } 493 } 494 impl ::std::cmp::PartialEq for CHARFORMATW { eq(&self, other: &Self) -> bool495 fn eq(&self, other: &Self) -> bool { 496 self.cbSize == other.cbSize && self.dwMask == other.dwMask && self.dwEffects == other.dwEffects && self.yHeight == other.yHeight && self.yOffset == other.yOffset && self.crTextColor == other.crTextColor && self.bCharSet == other.bCharSet && self.bPitchAndFamily == other.bPitchAndFamily && self.szFaceName == other.szFaceName 497 } 498 } 499 impl ::std::cmp::Eq for CHARFORMATW {} 500 unsafe impl ::windows::runtime::Abi for CHARFORMATW { 501 type Abi = Self; 502 type DefaultType = Self; 503 } 504 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 505 #[repr(C)] 506 pub struct CHARRANGE { 507 pub cpMin: i32, 508 pub cpMax: i32, 509 } 510 impl CHARRANGE {} 511 impl ::std::default::Default for CHARRANGE { default() -> Self512 fn default() -> Self { 513 unsafe { ::std::mem::zeroed() } 514 } 515 } 516 impl ::std::fmt::Debug for CHARRANGE { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result517 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 518 fmt.debug_struct("CHARRANGE").field("cpMin", &self.cpMin).field("cpMax", &self.cpMax).finish() 519 } 520 } 521 impl ::std::cmp::PartialEq for CHARRANGE { eq(&self, other: &Self) -> bool522 fn eq(&self, other: &Self) -> bool { 523 self.cpMin == other.cpMin && self.cpMax == other.cpMax 524 } 525 } 526 impl ::std::cmp::Eq for CHARRANGE {} 527 unsafe impl ::windows::runtime::Abi for CHARRANGE { 528 type Abi = Self; 529 type DefaultType = Self; 530 } 531 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 532 #[repr(C, packed(4))] 533 #[cfg(feature = "Win32_Foundation")] 534 pub struct CLIPBOARDFORMAT { 535 pub nmhdr: super::NMHDR, 536 pub cf: u16, 537 } 538 #[cfg(feature = "Win32_Foundation")] 539 impl CLIPBOARDFORMAT {} 540 #[cfg(feature = "Win32_Foundation")] 541 impl ::std::default::Default for CLIPBOARDFORMAT { default() -> Self542 fn default() -> Self { 543 unsafe { ::std::mem::zeroed() } 544 } 545 } 546 #[cfg(feature = "Win32_Foundation")] 547 impl ::std::cmp::PartialEq for CLIPBOARDFORMAT { eq(&self, _other: &Self) -> bool548 fn eq(&self, _other: &Self) -> bool { 549 unimplemented!() 550 } 551 } 552 #[cfg(feature = "Win32_Foundation")] 553 impl ::std::cmp::Eq for CLIPBOARDFORMAT {} 554 #[cfg(feature = "Win32_Foundation")] 555 unsafe impl ::windows::runtime::Abi for CLIPBOARDFORMAT { 556 type Abi = Self; 557 type DefaultType = Self; 558 } 559 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 560 #[repr(C)] 561 pub struct COMPCOLOR { 562 pub crText: u32, 563 pub crBackground: u32, 564 pub dwEffects: u32, 565 } 566 impl COMPCOLOR {} 567 impl ::std::default::Default for COMPCOLOR { default() -> Self568 fn default() -> Self { 569 unsafe { ::std::mem::zeroed() } 570 } 571 } 572 impl ::std::fmt::Debug for COMPCOLOR { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result573 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 574 fmt.debug_struct("COMPCOLOR").field("crText", &self.crText).field("crBackground", &self.crBackground).field("dwEffects", &self.dwEffects).finish() 575 } 576 } 577 impl ::std::cmp::PartialEq for COMPCOLOR { eq(&self, other: &Self) -> bool578 fn eq(&self, other: &Self) -> bool { 579 self.crText == other.crText && self.crBackground == other.crBackground && self.dwEffects == other.dwEffects 580 } 581 } 582 impl ::std::cmp::Eq for COMPCOLOR {} 583 unsafe impl ::windows::runtime::Abi for COMPCOLOR { 584 type Abi = Self; 585 type DefaultType = Self; 586 } 587 pub const CTFMODEBIAS_CONVERSATION: u32 = 5u32; 588 pub const CTFMODEBIAS_DATETIME: u32 = 4u32; 589 pub const CTFMODEBIAS_DEFAULT: u32 = 0u32; 590 pub const CTFMODEBIAS_FILENAME: u32 = 1u32; 591 pub const CTFMODEBIAS_FULLWIDTHALPHANUMERIC: u32 = 11u32; 592 pub const CTFMODEBIAS_HALFWIDTHALPHANUMERIC: u32 = 12u32; 593 pub const CTFMODEBIAS_HALFWIDTHKATAKANA: u32 = 10u32; 594 pub const CTFMODEBIAS_HANGUL: u32 = 9u32; 595 pub const CTFMODEBIAS_HIRAGANA: u32 = 7u32; 596 pub const CTFMODEBIAS_KATAKANA: u32 = 8u32; 597 pub const CTFMODEBIAS_NAME: u32 = 2u32; 598 pub const CTFMODEBIAS_NUMERIC: u32 = 6u32; 599 pub const CTFMODEBIAS_READING: u32 = 3u32; 600 pub const ECOOP_AND: u32 = 3u32; 601 pub const ECOOP_OR: u32 = 2u32; 602 pub const ECOOP_SET: u32 = 1u32; 603 pub const ECOOP_XOR: u32 = 4u32; 604 pub const ECO_AUTOHSCROLL: u32 = 128u32; 605 pub const ECO_AUTOVSCROLL: u32 = 64u32; 606 pub const ECO_AUTOWORDSELECTION: u32 = 1u32; 607 pub const ECO_NOHIDESEL: u32 = 256u32; 608 pub const ECO_READONLY: u32 = 2048u32; 609 pub const ECO_SAVESEL: u32 = 32768u32; 610 pub const ECO_SELECTIONBAR: u32 = 16777216u32; 611 pub const ECO_VERTICAL: u32 = 4194304u32; 612 pub const ECO_WANTRETURN: u32 = 4096u32; 613 impl ::std::clone::Clone for EDITSTREAM { clone(&self) -> Self614 fn clone(&self) -> Self { 615 unimplemented!() 616 } 617 } 618 #[repr(C, packed(4))] 619 pub struct EDITSTREAM { 620 pub dwCookie: usize, 621 pub dwError: u32, 622 pub pfnCallback: ::std::option::Option<EDITSTREAMCALLBACK>, 623 } 624 impl EDITSTREAM {} 625 impl ::std::default::Default for EDITSTREAM { default() -> Self626 fn default() -> Self { 627 unsafe { ::std::mem::zeroed() } 628 } 629 } 630 impl ::std::cmp::PartialEq for EDITSTREAM { eq(&self, _other: &Self) -> bool631 fn eq(&self, _other: &Self) -> bool { 632 unimplemented!() 633 } 634 } 635 impl ::std::cmp::Eq for EDITSTREAM {} 636 unsafe impl ::windows::runtime::Abi for EDITSTREAM { 637 type Abi = ::std::mem::ManuallyDrop<Self>; 638 type DefaultType = Self; 639 } 640 pub type EDITSTREAMCALLBACK = unsafe extern "system" fn(dwcookie: usize, pbbuff: *mut u8, cb: i32, pcb: *mut i32) -> u32; 641 #[cfg(feature = "Win32_Foundation")] 642 pub type EDITWORDBREAKPROCEX = unsafe extern "system" fn(pchtext: super::super::super::Foundation::PSTR, cchtext: i32, bcharset: u8, action: i32) -> i32; 643 pub const ELLIPSIS_END: u32 = 1u32; 644 pub const ELLIPSIS_MASK: u32 = 3u32; 645 pub const ELLIPSIS_NONE: u32 = 0u32; 646 pub const ELLIPSIS_WORD: u32 = 3u32; 647 pub const EMO_ENTER: u32 = 1u32; 648 pub const EMO_EXIT: u32 = 0u32; 649 pub const EMO_EXPAND: u32 = 3u32; 650 pub const EMO_EXPANDDOCUMENT: u32 = 1u32; 651 pub const EMO_EXPANDSELECTION: u32 = 0u32; 652 pub const EMO_GETVIEWMODE: u32 = 5u32; 653 pub const EMO_MOVESELECTION: u32 = 4u32; 654 pub const EMO_PROMOTE: u32 = 2u32; 655 pub const EM_AUTOURLDETECT: u32 = 1115u32; 656 pub const EM_CALLAUTOCORRECTPROC: u32 = 1279u32; 657 pub const EM_CANPASTE: u32 = 1074u32; 658 pub const EM_CANREDO: u32 = 1109u32; 659 pub const EM_CONVPOSITION: u32 = 1132u32; 660 pub const EM_DISPLAYBAND: u32 = 1075u32; 661 pub const EM_EXGETSEL: u32 = 1076u32; 662 pub const EM_EXLIMITTEXT: u32 = 1077u32; 663 pub const EM_EXLINEFROMCHAR: u32 = 1078u32; 664 pub const EM_EXSETSEL: u32 = 1079u32; 665 pub const EM_FINDTEXT: u32 = 1080u32; 666 pub const EM_FINDTEXTEX: u32 = 1103u32; 667 pub const EM_FINDTEXTEXW: u32 = 1148u32; 668 pub const EM_FINDTEXTW: u32 = 1147u32; 669 pub const EM_FINDWORDBREAK: u32 = 1100u32; 670 pub const EM_FORMATRANGE: u32 = 1081u32; 671 pub const EM_GETAUTOCORRECTPROC: u32 = 1257u32; 672 pub const EM_GETAUTOURLDETECT: u32 = 1116u32; 673 pub const EM_GETBIDIOPTIONS: u32 = 1225u32; 674 pub const EM_GETCHARFORMAT: u32 = 1082u32; 675 pub const EM_GETCTFMODEBIAS: u32 = 1261u32; 676 pub const EM_GETCTFOPENSTATUS: u32 = 1264u32; 677 pub const EM_GETEDITSTYLE: u32 = 1229u32; 678 pub const EM_GETEDITSTYLEEX: u32 = 1300u32; 679 pub const EM_GETELLIPSISMODE: u32 = 1329u32; 680 pub const EM_GETELLIPSISSTATE: u32 = 1346u32; 681 pub const EM_GETEVENTMASK: u32 = 1083u32; 682 pub const EM_GETHYPHENATEINFO: u32 = 1254u32; 683 pub const EM_GETIMECOLOR: u32 = 1129u32; 684 pub const EM_GETIMECOMPMODE: u32 = 1146u32; 685 pub const EM_GETIMECOMPTEXT: u32 = 1266u32; 686 pub const EM_GETIMEMODEBIAS: u32 = 1151u32; 687 pub const EM_GETIMEOPTIONS: u32 = 1131u32; 688 pub const EM_GETIMEPROPERTY: u32 = 1268u32; 689 pub const EM_GETLANGOPTIONS: u32 = 1145u32; 690 pub const EM_GETOLEINTERFACE: u32 = 1084u32; 691 pub const EM_GETOPTIONS: u32 = 1102u32; 692 pub const EM_GETPAGE: u32 = 1252u32; 693 pub const EM_GETPAGEROTATE: u32 = 1259u32; 694 pub const EM_GETPARAFORMAT: u32 = 1085u32; 695 pub const EM_GETPUNCTUATION: u32 = 1125u32; 696 pub const EM_GETQUERYRTFOBJ: u32 = 1293u32; 697 pub const EM_GETREDONAME: u32 = 1111u32; 698 pub const EM_GETSCROLLPOS: u32 = 1245u32; 699 pub const EM_GETSELTEXT: u32 = 1086u32; 700 pub const EM_GETSTORYTYPE: u32 = 1314u32; 701 pub const EM_GETTABLEPARMS: u32 = 1289u32; 702 pub const EM_GETTEXTEX: u32 = 1118u32; 703 pub const EM_GETTEXTLENGTHEX: u32 = 1119u32; 704 pub const EM_GETTEXTMODE: u32 = 1114u32; 705 pub const EM_GETTEXTRANGE: u32 = 1099u32; 706 pub const EM_GETTOUCHOPTIONS: u32 = 1334u32; 707 pub const EM_GETTYPOGRAPHYOPTIONS: u32 = 1227u32; 708 pub const EM_GETUNDONAME: u32 = 1110u32; 709 pub const EM_GETVIEWKIND: u32 = 1250u32; 710 pub const EM_GETWORDBREAKPROCEX: u32 = 1104u32; 711 pub const EM_GETWORDWRAPMODE: u32 = 1127u32; 712 pub const EM_GETZOOM: u32 = 1248u32; 713 pub const EM_HIDESELECTION: u32 = 1087u32; 714 pub const EM_INSERTIMAGE: u32 = 1338u32; 715 pub const EM_INSERTTABLE: u32 = 1256u32; 716 pub const EM_ISIME: u32 = 1267u32; 717 pub const EM_OUTLINE: u32 = 1244u32; 718 pub const EM_PASTESPECIAL: u32 = 1088u32; 719 pub const EM_RECONVERSION: u32 = 1149u32; 720 pub const EM_REDO: u32 = 1108u32; 721 pub const EM_REQUESTRESIZE: u32 = 1089u32; 722 pub const EM_SELECTIONTYPE: u32 = 1090u32; 723 pub const EM_SETAUTOCORRECTPROC: u32 = 1258u32; 724 pub const EM_SETBIDIOPTIONS: u32 = 1224u32; 725 pub const EM_SETBKGNDCOLOR: u32 = 1091u32; 726 pub const EM_SETCHARFORMAT: u32 = 1092u32; 727 pub const EM_SETCTFMODEBIAS: u32 = 1262u32; 728 pub const EM_SETCTFOPENSTATUS: u32 = 1265u32; 729 pub const EM_SETEDITSTYLE: u32 = 1228u32; 730 pub const EM_SETEDITSTYLEEX: u32 = 1299u32; 731 pub const EM_SETELLIPSISMODE: u32 = 1330u32; 732 pub const EM_SETEVENTMASK: u32 = 1093u32; 733 pub const EM_SETFONTSIZE: u32 = 1247u32; 734 pub const EM_SETHYPHENATEINFO: u32 = 1255u32; 735 pub const EM_SETIMECOLOR: u32 = 1128u32; 736 pub const EM_SETIMEMODEBIAS: u32 = 1150u32; 737 pub const EM_SETIMEOPTIONS: u32 = 1130u32; 738 pub const EM_SETLANGOPTIONS: u32 = 1144u32; 739 pub const EM_SETOLECALLBACK: u32 = 1094u32; 740 pub const EM_SETOPTIONS: u32 = 1101u32; 741 pub const EM_SETPAGE: u32 = 1253u32; 742 pub const EM_SETPAGEROTATE: u32 = 1260u32; 743 pub const EM_SETPALETTE: u32 = 1117u32; 744 pub const EM_SETPARAFORMAT: u32 = 1095u32; 745 pub const EM_SETPUNCTUATION: u32 = 1124u32; 746 pub const EM_SETQUERYRTFOBJ: u32 = 1294u32; 747 pub const EM_SETSCROLLPOS: u32 = 1246u32; 748 pub const EM_SETSTORYTYPE: u32 = 1315u32; 749 pub const EM_SETTABLEPARMS: u32 = 1331u32; 750 pub const EM_SETTARGETDEVICE: u32 = 1096u32; 751 pub const EM_SETTEXTEX: u32 = 1121u32; 752 pub const EM_SETTEXTMODE: u32 = 1113u32; 753 pub const EM_SETTOUCHOPTIONS: u32 = 1335u32; 754 pub const EM_SETTYPOGRAPHYOPTIONS: u32 = 1226u32; 755 pub const EM_SETUIANAME: u32 = 1344u32; 756 pub const EM_SETUNDOLIMIT: u32 = 1106u32; 757 pub const EM_SETVIEWKIND: u32 = 1251u32; 758 pub const EM_SETWORDBREAKPROCEX: u32 = 1105u32; 759 pub const EM_SETWORDWRAPMODE: u32 = 1126u32; 760 pub const EM_SETZOOM: u32 = 1249u32; 761 pub const EM_SHOWSCROLLBAR: u32 = 1120u32; 762 pub const EM_STOPGROUPTYPING: u32 = 1112u32; 763 pub const EM_STREAMIN: u32 = 1097u32; 764 pub const EM_STREAMOUT: u32 = 1098u32; 765 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 766 #[repr(C, packed(4))] 767 #[cfg(feature = "Win32_Foundation")] 768 pub struct ENCORRECTTEXT { 769 pub nmhdr: super::NMHDR, 770 pub chrg: CHARRANGE, 771 pub seltyp: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, 772 } 773 #[cfg(feature = "Win32_Foundation")] 774 impl ENCORRECTTEXT {} 775 #[cfg(feature = "Win32_Foundation")] 776 impl ::std::default::Default for ENCORRECTTEXT { default() -> Self777 fn default() -> Self { 778 unsafe { ::std::mem::zeroed() } 779 } 780 } 781 #[cfg(feature = "Win32_Foundation")] 782 impl ::std::cmp::PartialEq for ENCORRECTTEXT { eq(&self, _other: &Self) -> bool783 fn eq(&self, _other: &Self) -> bool { 784 unimplemented!() 785 } 786 } 787 #[cfg(feature = "Win32_Foundation")] 788 impl ::std::cmp::Eq for ENCORRECTTEXT {} 789 #[cfg(feature = "Win32_Foundation")] 790 unsafe impl ::windows::runtime::Abi for ENCORRECTTEXT { 791 type Abi = Self; 792 type DefaultType = Self; 793 } 794 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 795 #[repr(C, packed(4))] 796 #[cfg(feature = "Win32_Foundation")] 797 pub struct ENDCOMPOSITIONNOTIFY { 798 pub nmhdr: super::NMHDR, 799 pub dwCode: ENDCOMPOSITIONNOTIFY_CODE, 800 } 801 #[cfg(feature = "Win32_Foundation")] 802 impl ENDCOMPOSITIONNOTIFY {} 803 #[cfg(feature = "Win32_Foundation")] 804 impl ::std::default::Default for ENDCOMPOSITIONNOTIFY { default() -> Self805 fn default() -> Self { 806 unsafe { ::std::mem::zeroed() } 807 } 808 } 809 #[cfg(feature = "Win32_Foundation")] 810 impl ::std::cmp::PartialEq for ENDCOMPOSITIONNOTIFY { eq(&self, _other: &Self) -> bool811 fn eq(&self, _other: &Self) -> bool { 812 unimplemented!() 813 } 814 } 815 #[cfg(feature = "Win32_Foundation")] 816 impl ::std::cmp::Eq for ENDCOMPOSITIONNOTIFY {} 817 #[cfg(feature = "Win32_Foundation")] 818 unsafe impl ::windows::runtime::Abi for ENDCOMPOSITIONNOTIFY { 819 type Abi = Self; 820 type DefaultType = Self; 821 } 822 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 823 #[repr(transparent)] 824 pub struct ENDCOMPOSITIONNOTIFY_CODE(pub u32); 825 pub const ECN_ENDCOMPOSITION: ENDCOMPOSITIONNOTIFY_CODE = ENDCOMPOSITIONNOTIFY_CODE(1u32); 826 pub const ECN_NEWTEXT: ENDCOMPOSITIONNOTIFY_CODE = ENDCOMPOSITIONNOTIFY_CODE(2u32); 827 impl ::std::convert::From<u32> for ENDCOMPOSITIONNOTIFY_CODE { from(value: u32) -> Self828 fn from(value: u32) -> Self { 829 Self(value) 830 } 831 } 832 unsafe impl ::windows::runtime::Abi for ENDCOMPOSITIONNOTIFY_CODE { 833 type Abi = Self; 834 type DefaultType = Self; 835 } 836 impl ::std::ops::BitOr for ENDCOMPOSITIONNOTIFY_CODE { 837 type Output = Self; bitor(self, rhs: Self) -> Self838 fn bitor(self, rhs: Self) -> Self { 839 Self(self.0 | rhs.0) 840 } 841 } 842 impl ::std::ops::BitAnd for ENDCOMPOSITIONNOTIFY_CODE { 843 type Output = Self; bitand(self, rhs: Self) -> Self844 fn bitand(self, rhs: Self) -> Self { 845 Self(self.0 & rhs.0) 846 } 847 } 848 impl ::std::ops::BitOrAssign for ENDCOMPOSITIONNOTIFY_CODE { bitor_assign(&mut self, rhs: Self)849 fn bitor_assign(&mut self, rhs: Self) { 850 self.0.bitor_assign(rhs.0) 851 } 852 } 853 impl ::std::ops::BitAndAssign for ENDCOMPOSITIONNOTIFY_CODE { bitand_assign(&mut self, rhs: Self)854 fn bitand_assign(&mut self, rhs: Self) { 855 self.0.bitand_assign(rhs.0) 856 } 857 } 858 impl ::std::ops::Not for ENDCOMPOSITIONNOTIFY_CODE { 859 type Output = Self; not(self) -> Self860 fn not(self) -> Self { 861 Self(self.0.not()) 862 } 863 } 864 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 865 #[repr(C, packed(4))] 866 #[cfg(feature = "Win32_Foundation")] 867 pub struct ENDROPFILES { 868 pub nmhdr: super::NMHDR, 869 pub hDrop: super::super::super::Foundation::HANDLE, 870 pub cp: i32, 871 pub fProtected: super::super::super::Foundation::BOOL, 872 } 873 #[cfg(feature = "Win32_Foundation")] 874 impl ENDROPFILES {} 875 #[cfg(feature = "Win32_Foundation")] 876 impl ::std::default::Default for ENDROPFILES { default() -> Self877 fn default() -> Self { 878 unsafe { ::std::mem::zeroed() } 879 } 880 } 881 #[cfg(feature = "Win32_Foundation")] 882 impl ::std::cmp::PartialEq for ENDROPFILES { eq(&self, _other: &Self) -> bool883 fn eq(&self, _other: &Self) -> bool { 884 unimplemented!() 885 } 886 } 887 #[cfg(feature = "Win32_Foundation")] 888 impl ::std::cmp::Eq for ENDROPFILES {} 889 #[cfg(feature = "Win32_Foundation")] 890 unsafe impl ::windows::runtime::Abi for ENDROPFILES { 891 type Abi = Self; 892 type DefaultType = Self; 893 } 894 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 895 #[repr(C, packed(4))] 896 #[cfg(feature = "Win32_Foundation")] 897 pub struct ENLINK { 898 pub nmhdr: super::NMHDR, 899 pub msg: u32, 900 pub wParam: super::super::super::Foundation::WPARAM, 901 pub lParam: super::super::super::Foundation::LPARAM, 902 pub chrg: CHARRANGE, 903 } 904 #[cfg(feature = "Win32_Foundation")] 905 impl ENLINK {} 906 #[cfg(feature = "Win32_Foundation")] 907 impl ::std::default::Default for ENLINK { default() -> Self908 fn default() -> Self { 909 unsafe { ::std::mem::zeroed() } 910 } 911 } 912 #[cfg(feature = "Win32_Foundation")] 913 impl ::std::cmp::PartialEq for ENLINK { eq(&self, _other: &Self) -> bool914 fn eq(&self, _other: &Self) -> bool { 915 unimplemented!() 916 } 917 } 918 #[cfg(feature = "Win32_Foundation")] 919 impl ::std::cmp::Eq for ENLINK {} 920 #[cfg(feature = "Win32_Foundation")] 921 unsafe impl ::windows::runtime::Abi for ENLINK { 922 type Abi = Self; 923 type DefaultType = Self; 924 } 925 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 926 #[repr(C, packed(4))] 927 #[cfg(feature = "Win32_Foundation")] 928 pub struct ENLOWFIRTF { 929 pub nmhdr: super::NMHDR, 930 pub szControl: super::super::super::Foundation::PSTR, 931 } 932 #[cfg(feature = "Win32_Foundation")] 933 impl ENLOWFIRTF {} 934 #[cfg(feature = "Win32_Foundation")] 935 impl ::std::default::Default for ENLOWFIRTF { default() -> Self936 fn default() -> Self { 937 unsafe { ::std::mem::zeroed() } 938 } 939 } 940 #[cfg(feature = "Win32_Foundation")] 941 impl ::std::cmp::PartialEq for ENLOWFIRTF { eq(&self, _other: &Self) -> bool942 fn eq(&self, _other: &Self) -> bool { 943 unimplemented!() 944 } 945 } 946 #[cfg(feature = "Win32_Foundation")] 947 impl ::std::cmp::Eq for ENLOWFIRTF {} 948 #[cfg(feature = "Win32_Foundation")] 949 unsafe impl ::windows::runtime::Abi for ENLOWFIRTF { 950 type Abi = Self; 951 type DefaultType = Self; 952 } 953 pub const ENM_CHANGE: u32 = 1u32; 954 pub const ENM_CLIPFORMAT: u32 = 128u32; 955 pub const ENM_CORRECTTEXT: u32 = 4194304u32; 956 pub const ENM_DRAGDROPDONE: u32 = 16u32; 957 pub const ENM_DROPFILES: u32 = 1048576u32; 958 pub const ENM_ENDCOMPOSITION: u32 = 536870912u32; 959 pub const ENM_GROUPTYPINGCHANGE: u32 = 1073741824u32; 960 pub const ENM_HIDELINKTOOLTIP: u32 = 2147483648u32; 961 pub const ENM_IMECHANGE: u32 = 8388608u32; 962 pub const ENM_KEYEVENTS: u32 = 65536u32; 963 pub const ENM_LANGCHANGE: u32 = 16777216u32; 964 pub const ENM_LINK: u32 = 67108864u32; 965 pub const ENM_LOWFIRTF: u32 = 134217728u32; 966 pub const ENM_MOUSEEVENTS: u32 = 131072u32; 967 pub const ENM_NONE: u32 = 0u32; 968 pub const ENM_OBJECTPOSITIONS: u32 = 33554432u32; 969 pub const ENM_PAGECHANGE: u32 = 64u32; 970 pub const ENM_PARAGRAPHEXPANDED: u32 = 32u32; 971 pub const ENM_PROTECTED: u32 = 2097152u32; 972 pub const ENM_REQUESTRESIZE: u32 = 262144u32; 973 pub const ENM_SCROLL: u32 = 4u32; 974 pub const ENM_SCROLLEVENTS: u32 = 8u32; 975 pub const ENM_SELCHANGE: u32 = 524288u32; 976 pub const ENM_STARTCOMPOSITION: u32 = 268435456u32; 977 pub const ENM_UPDATE: u32 = 2u32; 978 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 979 #[repr(C, packed(4))] 980 #[cfg(feature = "Win32_Foundation")] 981 pub struct ENOLEOPFAILED { 982 pub nmhdr: super::NMHDR, 983 pub iob: i32, 984 pub lOper: i32, 985 pub hr: ::windows::runtime::HRESULT, 986 } 987 #[cfg(feature = "Win32_Foundation")] 988 impl ENOLEOPFAILED {} 989 #[cfg(feature = "Win32_Foundation")] 990 impl ::std::default::Default for ENOLEOPFAILED { default() -> Self991 fn default() -> Self { 992 unsafe { ::std::mem::zeroed() } 993 } 994 } 995 #[cfg(feature = "Win32_Foundation")] 996 impl ::std::cmp::PartialEq for ENOLEOPFAILED { eq(&self, _other: &Self) -> bool997 fn eq(&self, _other: &Self) -> bool { 998 unimplemented!() 999 } 1000 } 1001 #[cfg(feature = "Win32_Foundation")] 1002 impl ::std::cmp::Eq for ENOLEOPFAILED {} 1003 #[cfg(feature = "Win32_Foundation")] 1004 unsafe impl ::windows::runtime::Abi for ENOLEOPFAILED { 1005 type Abi = Self; 1006 type DefaultType = Self; 1007 } 1008 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1009 #[repr(C, packed(4))] 1010 #[cfg(feature = "Win32_Foundation")] 1011 pub struct ENPROTECTED { 1012 pub nmhdr: super::NMHDR, 1013 pub msg: u32, 1014 pub wParam: super::super::super::Foundation::WPARAM, 1015 pub lParam: super::super::super::Foundation::LPARAM, 1016 pub chrg: CHARRANGE, 1017 } 1018 #[cfg(feature = "Win32_Foundation")] 1019 impl ENPROTECTED {} 1020 #[cfg(feature = "Win32_Foundation")] 1021 impl ::std::default::Default for ENPROTECTED { default() -> Self1022 fn default() -> Self { 1023 unsafe { ::std::mem::zeroed() } 1024 } 1025 } 1026 #[cfg(feature = "Win32_Foundation")] 1027 impl ::std::cmp::PartialEq for ENPROTECTED { eq(&self, _other: &Self) -> bool1028 fn eq(&self, _other: &Self) -> bool { 1029 unimplemented!() 1030 } 1031 } 1032 #[cfg(feature = "Win32_Foundation")] 1033 impl ::std::cmp::Eq for ENPROTECTED {} 1034 #[cfg(feature = "Win32_Foundation")] 1035 unsafe impl ::windows::runtime::Abi for ENPROTECTED { 1036 type Abi = Self; 1037 type DefaultType = Self; 1038 } 1039 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1040 #[repr(C, packed(4))] 1041 #[cfg(feature = "Win32_Foundation")] 1042 pub struct ENSAVECLIPBOARD { 1043 pub nmhdr: super::NMHDR, 1044 pub cObjectCount: i32, 1045 pub cch: i32, 1046 } 1047 #[cfg(feature = "Win32_Foundation")] 1048 impl ENSAVECLIPBOARD {} 1049 #[cfg(feature = "Win32_Foundation")] 1050 impl ::std::default::Default for ENSAVECLIPBOARD { default() -> Self1051 fn default() -> Self { 1052 unsafe { ::std::mem::zeroed() } 1053 } 1054 } 1055 #[cfg(feature = "Win32_Foundation")] 1056 impl ::std::cmp::PartialEq for ENSAVECLIPBOARD { eq(&self, _other: &Self) -> bool1057 fn eq(&self, _other: &Self) -> bool { 1058 unimplemented!() 1059 } 1060 } 1061 #[cfg(feature = "Win32_Foundation")] 1062 impl ::std::cmp::Eq for ENSAVECLIPBOARD {} 1063 #[cfg(feature = "Win32_Foundation")] 1064 unsafe impl ::windows::runtime::Abi for ENSAVECLIPBOARD { 1065 type Abi = Self; 1066 type DefaultType = Self; 1067 } 1068 pub const EN_ALIGNLTR: u32 = 1808u32; 1069 pub const EN_ALIGNRTL: u32 = 1809u32; 1070 pub const EN_CLIPFORMAT: u32 = 1810u32; 1071 pub const EN_CORRECTTEXT: u32 = 1797u32; 1072 pub const EN_DRAGDROPDONE: u32 = 1804u32; 1073 pub const EN_DROPFILES: u32 = 1795u32; 1074 pub const EN_ENDCOMPOSITION: u32 = 1812u32; 1075 pub const EN_IMECHANGE: u32 = 1799u32; 1076 pub const EN_LINK: u32 = 1803u32; 1077 pub const EN_LOWFIRTF: u32 = 1807u32; 1078 pub const EN_MSGFILTER: u32 = 1792u32; 1079 pub const EN_OBJECTPOSITIONS: u32 = 1802u32; 1080 pub const EN_OLEOPFAILED: u32 = 1801u32; 1081 pub const EN_PAGECHANGE: u32 = 1806u32; 1082 pub const EN_PARAGRAPHEXPANDED: u32 = 1805u32; 1083 pub const EN_PROTECTED: u32 = 1796u32; 1084 pub const EN_REQUESTRESIZE: u32 = 1793u32; 1085 pub const EN_SAVECLIPBOARD: u32 = 1800u32; 1086 pub const EN_SELCHANGE: u32 = 1794u32; 1087 pub const EN_STARTCOMPOSITION: u32 = 1811u32; 1088 pub const EN_STOPNOUNDO: u32 = 1798u32; 1089 pub const EPR_0: u32 = 0u32; 1090 pub const EPR_180: u32 = 2u32; 1091 pub const EPR_270: u32 = 1u32; 1092 pub const EPR_90: u32 = 3u32; 1093 pub const EPR_SE: u32 = 5u32; 1094 pub const ES_DISABLENOSCROLL: u32 = 8192u32; 1095 pub const ES_EX_NOCALLOLEINIT: u32 = 0u32; 1096 pub const ES_NOIME: u32 = 524288u32; 1097 pub const ES_NOOLEDRAGDROP: u32 = 8u32; 1098 pub const ES_SAVESEL: u32 = 32768u32; 1099 pub const ES_SELECTIONBAR: u32 = 16777216u32; 1100 pub const ES_SELFIME: u32 = 262144u32; 1101 pub const ES_SUNKEN: u32 = 16384u32; 1102 pub const ES_VERTICAL: u32 = 4194304u32; 1103 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1104 #[repr(C, packed(4))] 1105 #[cfg(feature = "Win32_Foundation")] 1106 pub struct FINDTEXTA { 1107 pub chrg: CHARRANGE, 1108 pub lpstrText: super::super::super::Foundation::PSTR, 1109 } 1110 #[cfg(feature = "Win32_Foundation")] 1111 impl FINDTEXTA {} 1112 #[cfg(feature = "Win32_Foundation")] 1113 impl ::std::default::Default for FINDTEXTA { default() -> Self1114 fn default() -> Self { 1115 unsafe { ::std::mem::zeroed() } 1116 } 1117 } 1118 #[cfg(feature = "Win32_Foundation")] 1119 impl ::std::cmp::PartialEq for FINDTEXTA { eq(&self, _other: &Self) -> bool1120 fn eq(&self, _other: &Self) -> bool { 1121 unimplemented!() 1122 } 1123 } 1124 #[cfg(feature = "Win32_Foundation")] 1125 impl ::std::cmp::Eq for FINDTEXTA {} 1126 #[cfg(feature = "Win32_Foundation")] 1127 unsafe impl ::windows::runtime::Abi for FINDTEXTA { 1128 type Abi = Self; 1129 type DefaultType = Self; 1130 } 1131 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1132 #[repr(C, packed(4))] 1133 #[cfg(feature = "Win32_Foundation")] 1134 pub struct FINDTEXTEXA { 1135 pub chrg: CHARRANGE, 1136 pub lpstrText: super::super::super::Foundation::PSTR, 1137 pub chrgText: CHARRANGE, 1138 } 1139 #[cfg(feature = "Win32_Foundation")] 1140 impl FINDTEXTEXA {} 1141 #[cfg(feature = "Win32_Foundation")] 1142 impl ::std::default::Default for FINDTEXTEXA { default() -> Self1143 fn default() -> Self { 1144 unsafe { ::std::mem::zeroed() } 1145 } 1146 } 1147 #[cfg(feature = "Win32_Foundation")] 1148 impl ::std::cmp::PartialEq for FINDTEXTEXA { eq(&self, _other: &Self) -> bool1149 fn eq(&self, _other: &Self) -> bool { 1150 unimplemented!() 1151 } 1152 } 1153 #[cfg(feature = "Win32_Foundation")] 1154 impl ::std::cmp::Eq for FINDTEXTEXA {} 1155 #[cfg(feature = "Win32_Foundation")] 1156 unsafe impl ::windows::runtime::Abi for FINDTEXTEXA { 1157 type Abi = Self; 1158 type DefaultType = Self; 1159 } 1160 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1161 #[repr(C, packed(4))] 1162 #[cfg(feature = "Win32_Foundation")] 1163 pub struct FINDTEXTEXW { 1164 pub chrg: CHARRANGE, 1165 pub lpstrText: super::super::super::Foundation::PWSTR, 1166 pub chrgText: CHARRANGE, 1167 } 1168 #[cfg(feature = "Win32_Foundation")] 1169 impl FINDTEXTEXW {} 1170 #[cfg(feature = "Win32_Foundation")] 1171 impl ::std::default::Default for FINDTEXTEXW { default() -> Self1172 fn default() -> Self { 1173 unsafe { ::std::mem::zeroed() } 1174 } 1175 } 1176 #[cfg(feature = "Win32_Foundation")] 1177 impl ::std::cmp::PartialEq for FINDTEXTEXW { eq(&self, _other: &Self) -> bool1178 fn eq(&self, _other: &Self) -> bool { 1179 unimplemented!() 1180 } 1181 } 1182 #[cfg(feature = "Win32_Foundation")] 1183 impl ::std::cmp::Eq for FINDTEXTEXW {} 1184 #[cfg(feature = "Win32_Foundation")] 1185 unsafe impl ::windows::runtime::Abi for FINDTEXTEXW { 1186 type Abi = Self; 1187 type DefaultType = Self; 1188 } 1189 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1190 #[repr(C, packed(4))] 1191 #[cfg(feature = "Win32_Foundation")] 1192 pub struct FINDTEXTW { 1193 pub chrg: CHARRANGE, 1194 pub lpstrText: super::super::super::Foundation::PWSTR, 1195 } 1196 #[cfg(feature = "Win32_Foundation")] 1197 impl FINDTEXTW {} 1198 #[cfg(feature = "Win32_Foundation")] 1199 impl ::std::default::Default for FINDTEXTW { default() -> Self1200 fn default() -> Self { 1201 unsafe { ::std::mem::zeroed() } 1202 } 1203 } 1204 #[cfg(feature = "Win32_Foundation")] 1205 impl ::std::cmp::PartialEq for FINDTEXTW { eq(&self, _other: &Self) -> bool1206 fn eq(&self, _other: &Self) -> bool { 1207 unimplemented!() 1208 } 1209 } 1210 #[cfg(feature = "Win32_Foundation")] 1211 impl ::std::cmp::Eq for FINDTEXTW {} 1212 #[cfg(feature = "Win32_Foundation")] 1213 unsafe impl ::windows::runtime::Abi for FINDTEXTW { 1214 type Abi = Self; 1215 type DefaultType = Self; 1216 } 1217 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1218 #[repr(C, packed(4))] 1219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1220 pub struct FORMATRANGE { 1221 pub hdc: super::super::super::Graphics::Gdi::HDC, 1222 pub hdcTarget: super::super::super::Graphics::Gdi::HDC, 1223 pub rc: super::super::super::Foundation::RECT, 1224 pub rcPage: super::super::super::Foundation::RECT, 1225 pub chrg: CHARRANGE, 1226 } 1227 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1228 impl FORMATRANGE {} 1229 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1230 impl ::std::default::Default for FORMATRANGE { default() -> Self1231 fn default() -> Self { 1232 unsafe { ::std::mem::zeroed() } 1233 } 1234 } 1235 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1236 impl ::std::cmp::PartialEq for FORMATRANGE { eq(&self, _other: &Self) -> bool1237 fn eq(&self, _other: &Self) -> bool { 1238 unimplemented!() 1239 } 1240 } 1241 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1242 impl ::std::cmp::Eq for FORMATRANGE {} 1243 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] 1244 unsafe impl ::windows::runtime::Abi for FORMATRANGE { 1245 type Abi = Self; 1246 type DefaultType = Self; 1247 } 1248 pub const FR_MATCHALEFHAMZA: u32 = 2147483648u32; 1249 pub const FR_MATCHDIAC: u32 = 536870912u32; 1250 pub const FR_MATCHKASHIDA: u32 = 1073741824u32; 1251 pub const GCMF_GRIPPER: u32 = 1u32; 1252 pub const GCMF_MOUSEMENU: u32 = 8192u32; 1253 pub const GCMF_SPELLING: u32 = 2u32; 1254 pub const GCMF_TOUCHMENU: u32 = 16384u32; 1255 pub const GCM_MOUSEMENU: u32 = 8192u32; 1256 pub const GCM_TOUCHMENU: u32 = 16384u32; 1257 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1258 #[repr(C, packed(4))] 1259 #[cfg(feature = "Win32_Foundation")] 1260 pub struct GETCONTEXTMENUEX { 1261 pub chrg: CHARRANGE, 1262 pub dwFlags: u32, 1263 pub pt: super::super::super::Foundation::POINT, 1264 pub pvReserved: *mut ::std::ffi::c_void, 1265 } 1266 #[cfg(feature = "Win32_Foundation")] 1267 impl GETCONTEXTMENUEX {} 1268 #[cfg(feature = "Win32_Foundation")] 1269 impl ::std::default::Default for GETCONTEXTMENUEX { default() -> Self1270 fn default() -> Self { 1271 unsafe { ::std::mem::zeroed() } 1272 } 1273 } 1274 #[cfg(feature = "Win32_Foundation")] 1275 impl ::std::cmp::PartialEq for GETCONTEXTMENUEX { eq(&self, _other: &Self) -> bool1276 fn eq(&self, _other: &Self) -> bool { 1277 unimplemented!() 1278 } 1279 } 1280 #[cfg(feature = "Win32_Foundation")] 1281 impl ::std::cmp::Eq for GETCONTEXTMENUEX {} 1282 #[cfg(feature = "Win32_Foundation")] 1283 unsafe impl ::windows::runtime::Abi for GETCONTEXTMENUEX { 1284 type Abi = Self; 1285 type DefaultType = Self; 1286 } 1287 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1288 #[repr(C, packed(4))] 1289 #[cfg(feature = "Win32_Foundation")] 1290 pub struct GETTEXTEX { 1291 pub cb: u32, 1292 pub flags: GETTEXTEX_FLAGS, 1293 pub codepage: u32, 1294 pub lpDefaultChar: super::super::super::Foundation::PSTR, 1295 pub lpUsedDefChar: *mut i32, 1296 } 1297 #[cfg(feature = "Win32_Foundation")] 1298 impl GETTEXTEX {} 1299 #[cfg(feature = "Win32_Foundation")] 1300 impl ::std::default::Default for GETTEXTEX { default() -> Self1301 fn default() -> Self { 1302 unsafe { ::std::mem::zeroed() } 1303 } 1304 } 1305 #[cfg(feature = "Win32_Foundation")] 1306 impl ::std::cmp::PartialEq for GETTEXTEX { eq(&self, _other: &Self) -> bool1307 fn eq(&self, _other: &Self) -> bool { 1308 unimplemented!() 1309 } 1310 } 1311 #[cfg(feature = "Win32_Foundation")] 1312 impl ::std::cmp::Eq for GETTEXTEX {} 1313 #[cfg(feature = "Win32_Foundation")] 1314 unsafe impl ::windows::runtime::Abi for GETTEXTEX { 1315 type Abi = Self; 1316 type DefaultType = Self; 1317 } 1318 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1319 #[repr(transparent)] 1320 pub struct GETTEXTEX_FLAGS(pub u32); 1321 pub const GT_DEFAULT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(0u32); 1322 pub const GT_NOHIDDENTEXT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(8u32); 1323 pub const GT_RAWTEXT: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(4u32); 1324 pub const GT_SELECTION: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(2u32); 1325 pub const GT_USECRLF: GETTEXTEX_FLAGS = GETTEXTEX_FLAGS(1u32); 1326 impl ::std::convert::From<u32> for GETTEXTEX_FLAGS { from(value: u32) -> Self1327 fn from(value: u32) -> Self { 1328 Self(value) 1329 } 1330 } 1331 unsafe impl ::windows::runtime::Abi for GETTEXTEX_FLAGS { 1332 type Abi = Self; 1333 type DefaultType = Self; 1334 } 1335 impl ::std::ops::BitOr for GETTEXTEX_FLAGS { 1336 type Output = Self; bitor(self, rhs: Self) -> Self1337 fn bitor(self, rhs: Self) -> Self { 1338 Self(self.0 | rhs.0) 1339 } 1340 } 1341 impl ::std::ops::BitAnd for GETTEXTEX_FLAGS { 1342 type Output = Self; bitand(self, rhs: Self) -> Self1343 fn bitand(self, rhs: Self) -> Self { 1344 Self(self.0 & rhs.0) 1345 } 1346 } 1347 impl ::std::ops::BitOrAssign for GETTEXTEX_FLAGS { bitor_assign(&mut self, rhs: Self)1348 fn bitor_assign(&mut self, rhs: Self) { 1349 self.0.bitor_assign(rhs.0) 1350 } 1351 } 1352 impl ::std::ops::BitAndAssign for GETTEXTEX_FLAGS { bitand_assign(&mut self, rhs: Self)1353 fn bitand_assign(&mut self, rhs: Self) { 1354 self.0.bitand_assign(rhs.0) 1355 } 1356 } 1357 impl ::std::ops::Not for GETTEXTEX_FLAGS { 1358 type Output = Self; not(self) -> Self1359 fn not(self) -> Self { 1360 Self(self.0.not()) 1361 } 1362 } 1363 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1364 #[repr(C)] 1365 pub struct GETTEXTLENGTHEX { 1366 pub flags: GETTEXTLENGTHEX_FLAGS, 1367 pub codepage: u32, 1368 } 1369 impl GETTEXTLENGTHEX {} 1370 impl ::std::default::Default for GETTEXTLENGTHEX { default() -> Self1371 fn default() -> Self { 1372 unsafe { ::std::mem::zeroed() } 1373 } 1374 } 1375 impl ::std::fmt::Debug for GETTEXTLENGTHEX { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1376 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1377 fmt.debug_struct("GETTEXTLENGTHEX").field("flags", &self.flags).field("codepage", &self.codepage).finish() 1378 } 1379 } 1380 impl ::std::cmp::PartialEq for GETTEXTLENGTHEX { eq(&self, other: &Self) -> bool1381 fn eq(&self, other: &Self) -> bool { 1382 self.flags == other.flags && self.codepage == other.codepage 1383 } 1384 } 1385 impl ::std::cmp::Eq for GETTEXTLENGTHEX {} 1386 unsafe impl ::windows::runtime::Abi for GETTEXTLENGTHEX { 1387 type Abi = Self; 1388 type DefaultType = Self; 1389 } 1390 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1391 #[repr(transparent)] 1392 pub struct GETTEXTLENGTHEX_FLAGS(pub u32); 1393 pub const GTL_DEFAULT: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(0u32); 1394 pub const GTL_USECRLF: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(1u32); 1395 pub const GTL_PRECISE: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(2u32); 1396 pub const GTL_CLOSE: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(4u32); 1397 pub const GTL_NUMCHARS: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(8u32); 1398 pub const GTL_NUMBYTES: GETTEXTLENGTHEX_FLAGS = GETTEXTLENGTHEX_FLAGS(16u32); 1399 impl ::std::convert::From<u32> for GETTEXTLENGTHEX_FLAGS { from(value: u32) -> Self1400 fn from(value: u32) -> Self { 1401 Self(value) 1402 } 1403 } 1404 unsafe impl ::windows::runtime::Abi for GETTEXTLENGTHEX_FLAGS { 1405 type Abi = Self; 1406 type DefaultType = Self; 1407 } 1408 impl ::std::ops::BitOr for GETTEXTLENGTHEX_FLAGS { 1409 type Output = Self; bitor(self, rhs: Self) -> Self1410 fn bitor(self, rhs: Self) -> Self { 1411 Self(self.0 | rhs.0) 1412 } 1413 } 1414 impl ::std::ops::BitAnd for GETTEXTLENGTHEX_FLAGS { 1415 type Output = Self; bitand(self, rhs: Self) -> Self1416 fn bitand(self, rhs: Self) -> Self { 1417 Self(self.0 & rhs.0) 1418 } 1419 } 1420 impl ::std::ops::BitOrAssign for GETTEXTLENGTHEX_FLAGS { bitor_assign(&mut self, rhs: Self)1421 fn bitor_assign(&mut self, rhs: Self) { 1422 self.0.bitor_assign(rhs.0) 1423 } 1424 } 1425 impl ::std::ops::BitAndAssign for GETTEXTLENGTHEX_FLAGS { bitand_assign(&mut self, rhs: Self)1426 fn bitand_assign(&mut self, rhs: Self) { 1427 self.0.bitand_assign(rhs.0) 1428 } 1429 } 1430 impl ::std::ops::Not for GETTEXTLENGTHEX_FLAGS { 1431 type Output = Self; not(self) -> Self1432 fn not(self) -> Self { 1433 Self(self.0.not()) 1434 } 1435 } 1436 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1437 #[repr(C, packed(4))] 1438 pub struct HYPHENATEINFO { 1439 pub cbSize: i16, 1440 pub dxHyphenateZone: i16, 1441 pub pfnHyphenate: isize, 1442 } 1443 impl HYPHENATEINFO {} 1444 impl ::std::default::Default for HYPHENATEINFO { default() -> Self1445 fn default() -> Self { 1446 unsafe { ::std::mem::zeroed() } 1447 } 1448 } 1449 impl ::std::cmp::PartialEq for HYPHENATEINFO { eq(&self, _other: &Self) -> bool1450 fn eq(&self, _other: &Self) -> bool { 1451 unimplemented!() 1452 } 1453 } 1454 impl ::std::cmp::Eq for HYPHENATEINFO {} 1455 unsafe impl ::windows::runtime::Abi for HYPHENATEINFO { 1456 type Abi = Self; 1457 type DefaultType = Self; 1458 } 1459 pub const ICM_CTF: u32 = 5u32; 1460 pub const ICM_LEVEL2: u32 = 2u32; 1461 pub const ICM_LEVEL2_5: u32 = 3u32; 1462 pub const ICM_LEVEL2_SUI: u32 = 4u32; 1463 pub const ICM_LEVEL3: u32 = 1u32; 1464 pub const ICM_NOTOPEN: u32 = 0u32; 1465 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)] 1466 #[repr(C)] 1467 pub struct IMECOMPTEXT { 1468 pub cb: i32, 1469 pub flags: IMECOMPTEXT_FLAGS, 1470 } 1471 impl IMECOMPTEXT {} 1472 impl ::std::default::Default for IMECOMPTEXT { default() -> Self1473 fn default() -> Self { 1474 unsafe { ::std::mem::zeroed() } 1475 } 1476 } 1477 impl ::std::fmt::Debug for IMECOMPTEXT { fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1478 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { 1479 fmt.debug_struct("IMECOMPTEXT").field("cb", &self.cb).field("flags", &self.flags).finish() 1480 } 1481 } 1482 impl ::std::cmp::PartialEq for IMECOMPTEXT { eq(&self, other: &Self) -> bool1483 fn eq(&self, other: &Self) -> bool { 1484 self.cb == other.cb && self.flags == other.flags 1485 } 1486 } 1487 impl ::std::cmp::Eq for IMECOMPTEXT {} 1488 unsafe impl ::windows::runtime::Abi for IMECOMPTEXT { 1489 type Abi = Self; 1490 type DefaultType = Self; 1491 } 1492 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)] 1493 #[repr(transparent)] 1494 pub struct IMECOMPTEXT_FLAGS(pub u32); 1495 pub const ICT_RESULTREADSTR: IMECOMPTEXT_FLAGS = IMECOMPTEXT_FLAGS(1u32); 1496 impl ::std::convert::From<u32> for IMECOMPTEXT_FLAGS { from(value: u32) -> Self1497 fn from(value: u32) -> Self { 1498 Self(value) 1499 } 1500 } 1501 unsafe impl ::windows::runtime::Abi for IMECOMPTEXT_FLAGS { 1502 type Abi = Self; 1503 type DefaultType = Self; 1504 } 1505 impl ::std::ops::BitOr for IMECOMPTEXT_FLAGS { 1506 type Output = Self; bitor(self, rhs: Self) -> Self1507 fn bitor(self, rhs: Self) -> Self { 1508 Self(self.0 | rhs.0) 1509 } 1510 } 1511 impl ::std::ops::BitAnd for IMECOMPTEXT_FLAGS { 1512 type Output = Self; bitand(self, rhs: Self) -> Self1513 fn bitand(self, rhs: Self) -> Self { 1514 Self(self.0 & rhs.0) 1515 } 1516 } 1517 impl ::std::ops::BitOrAssign for IMECOMPTEXT_FLAGS { bitor_assign(&mut self, rhs: Self)1518 fn bitor_assign(&mut self, rhs: Self) { 1519 self.0.bitor_assign(rhs.0) 1520 } 1521 } 1522 impl ::std::ops::BitAndAssign for IMECOMPTEXT_FLAGS { bitand_assign(&mut self, rhs: Self)1523 fn bitand_assign(&mut self, rhs: Self) { 1524 self.0.bitand_assign(rhs.0) 1525 } 1526 } 1527 impl ::std::ops::Not for IMECOMPTEXT_FLAGS { 1528 type Output = Self; not(self) -> Self1529 fn not(self) -> Self { 1530 Self(self.0.not()) 1531 } 1532 } 1533 pub const IMF_AUTOFONT: u32 = 2u32; 1534 pub const IMF_AUTOFONTSIZEADJUST: u32 = 16u32; 1535 pub const IMF_AUTOKEYBOARD: u32 = 1u32; 1536 pub const IMF_CLOSESTATUSWINDOW: u32 = 8u32; 1537 pub const IMF_DUALFONT: u32 = 128u32; 1538 pub const IMF_FORCEACTIVE: u32 = 64u32; 1539 pub const IMF_FORCEDISABLE: u32 = 4u32; 1540 pub const IMF_FORCEENABLE: u32 = 2u32; 1541 pub const IMF_FORCEINACTIVE: u32 = 128u32; 1542 pub const IMF_FORCENONE: u32 = 1u32; 1543 pub const IMF_FORCEREMEMBER: u32 = 256u32; 1544 pub const IMF_IMEALWAYSSENDNOTIFY: u32 = 8u32; 1545 pub const IMF_IMECANCELCOMPLETE: u32 = 4u32; 1546 pub const IMF_IMEUIINTEGRATION: u32 = 8192u32; 1547 pub const IMF_MULTIPLEEDIT: u32 = 1024u32; 1548 pub const IMF_NOIMPLICITLANG: u32 = 64u32; 1549 pub const IMF_NOKBDLIDFIXUP: u32 = 512u32; 1550 pub const IMF_NORTFFONTSUBSTITUTE: u32 = 1024u32; 1551 pub const IMF_SMODE_NONE: u32 = 2u32; 1552 pub const IMF_SMODE_PLAURALCLAUSE: u32 = 1u32; 1553 pub const IMF_SPELLCHECKING: u32 = 2048u32; 1554 pub const IMF_TKBPREDICTION: u32 = 4096u32; 1555 pub const IMF_UIFONTS: u32 = 32u32; 1556 pub const IMF_VERTICAL: u32 = 32u32; 1557 #[repr(transparent)] 1558 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1559 pub struct IRichEditOle(::windows::runtime::IUnknown); 1560 impl IRichEditOle { 1561 #[cfg(feature = "Win32_System_Ole")] GetClientSite(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IOleClientSite>1562 pub unsafe fn GetClientSite(&self) -> ::windows::runtime::Result<super::super::super::System::Ole::IOleClientSite> { 1563 let mut result__: <super::super::super::System::Ole::IOleClientSite as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1564 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Ole::IOleClientSite>(result__) 1565 } GetObjectCount(&self) -> i321566 pub unsafe fn GetObjectCount(&self) -> i32 { 1567 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self))) 1568 } GetLinkCount(&self) -> i321569 pub unsafe fn GetLinkCount(&self) -> i32 { 1570 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self))) 1571 } 1572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] GetObject(&self, iob: i32, lpreobject: *mut REOBJECT, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::Result<()>1573 pub unsafe fn GetObject(&self, iob: i32, lpreobject: *mut REOBJECT, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::Result<()> { 1574 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(lpreobject), ::std::mem::transmute(dwflags)).ok() 1575 } 1576 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] InsertObject(&self, lpreobject: *mut REOBJECT) -> ::windows::runtime::Result<()>1577 pub unsafe fn InsertObject(&self, lpreobject: *mut REOBJECT) -> ::windows::runtime::Result<()> { 1578 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpreobject)).ok() 1579 } 1580 #[cfg(feature = "Win32_Foundation")] ConvertObject<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: Param2) -> ::windows::runtime::Result<()>1581 pub unsafe fn ConvertObject<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: Param2) -> ::windows::runtime::Result<()> { 1582 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(rclsidnew), lpstrusertypenew.into_param().abi()).ok() 1583 } ActivateAs(&self, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>1584 pub unsafe fn ActivateAs(&self, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> { 1585 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(rclsid), ::std::mem::transmute(rclsidas)).ok() 1586 } 1587 #[cfg(feature = "Win32_Foundation")] SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, lpstrcontainerapp: Param0, lpstrcontainerobj: Param1) -> ::windows::runtime::Result<()>1588 pub unsafe fn SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::PSTR>>(&self, lpstrcontainerapp: Param0, lpstrcontainerobj: Param1) -> ::windows::runtime::Result<()> { 1589 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), lpstrcontainerapp.into_param().abi(), lpstrcontainerobj.into_param().abi()).ok() 1590 } 1591 #[cfg(feature = "Win32_Foundation")] SetLinkAvailable<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, iob: i32, favailable: Param1) -> ::windows::runtime::Result<()>1592 pub unsafe fn SetLinkAvailable<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, iob: i32, favailable: Param1) -> ::windows::runtime::Result<()> { 1593 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), favailable.into_param().abi()).ok() 1594 } SetDvaspect(&self, iob: i32, dvaspect: u32) -> ::windows::runtime::Result<()>1595 pub unsafe fn SetDvaspect(&self, iob: i32, dvaspect: u32) -> ::windows::runtime::Result<()> { 1596 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), ::std::mem::transmute(dvaspect)).ok() 1597 } HandsOffStorage(&self, iob: i32) -> ::windows::runtime::Result<()>1598 pub unsafe fn HandsOffStorage(&self, iob: i32) -> ::windows::runtime::Result<()> { 1599 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob)).ok() 1600 } 1601 #[cfg(feature = "Win32_System_Com_StructuredStorage")] SaveCompleted<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, iob: i32, lpstg: Param1) -> ::windows::runtime::Result<()>1602 pub unsafe fn SaveCompleted<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, iob: i32, lpstg: Param1) -> ::windows::runtime::Result<()> { 1603 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(iob), lpstg.into_param().abi()).ok() 1604 } InPlaceDeactivate(&self) -> ::windows::runtime::Result<()>1605 pub unsafe fn InPlaceDeactivate(&self) -> ::windows::runtime::Result<()> { 1606 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 1607 } 1608 #[cfg(feature = "Win32_Foundation")] ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>1609 pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> { 1610 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok() 1611 } 1612 #[cfg(feature = "Win32_System_Com")] GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()>1613 pub unsafe fn GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()> { 1614 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpchrg), ::std::mem::transmute(reco), ::std::mem::transmute(lplpdataobj)).ok() 1615 } 1616 #[cfg(feature = "Win32_System_Com")] ImportDataObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>>(&self, lpdataobj: Param0, cf: u16, hmetapict: isize) -> ::windows::runtime::Result<()>1617 pub unsafe fn ImportDataObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>>(&self, lpdataobj: Param0, cf: u16, hmetapict: isize) -> ::windows::runtime::Result<()> { 1618 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), lpdataobj.into_param().abi(), ::std::mem::transmute(cf), ::std::mem::transmute(hmetapict)).ok() 1619 } 1620 } 1621 unsafe impl ::windows::runtime::Interface for IRichEditOle { 1622 type Vtable = IRichEditOle_abi; 1623 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(134400, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]); 1624 } 1625 impl ::std::convert::From<IRichEditOle> for ::windows::runtime::IUnknown { from(value: IRichEditOle) -> Self1626 fn from(value: IRichEditOle) -> Self { 1627 unsafe { ::std::mem::transmute(value) } 1628 } 1629 } 1630 impl ::std::convert::From<&IRichEditOle> for ::windows::runtime::IUnknown { from(value: &IRichEditOle) -> Self1631 fn from(value: &IRichEditOle) -> Self { 1632 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1633 } 1634 } 1635 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRichEditOle { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1636 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1637 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1638 } 1639 } 1640 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRichEditOle { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1641 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1642 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1643 } 1644 } 1645 #[repr(C)] 1646 #[doc(hidden)] 1647 pub struct IRichEditOle_abi( 1648 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1649 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1650 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1651 #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpolesite: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1652 #[cfg(not(feature = "Win32_System_Ole"))] usize, 1653 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> i32, 1654 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> i32, 1655 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, lpreobject: *mut ::std::mem::ManuallyDrop<REOBJECT>, dwflags: RICH_EDIT_GET_OBJECT_FLAGS) -> ::windows::runtime::HRESULT, 1656 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] usize, 1657 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpreobject: *mut ::std::mem::ManuallyDrop<REOBJECT>) -> ::windows::runtime::HRESULT, 1658 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Ole")))] usize, 1659 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, rclsidnew: *const ::windows::runtime::GUID, lpstrusertypenew: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT, 1660 #[cfg(not(feature = "Win32_Foundation"))] usize, 1661 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID, rclsidas: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT, 1662 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpstrcontainerapp: super::super::super::Foundation::PSTR, lpstrcontainerobj: super::super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT, 1663 #[cfg(not(feature = "Win32_Foundation"))] usize, 1664 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, favailable: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 1665 #[cfg(not(feature = "Win32_Foundation"))] usize, 1666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, dvaspect: u32) -> ::windows::runtime::HRESULT, 1667 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32) -> ::windows::runtime::HRESULT, 1668 #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iob: i32, lpstg: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1669 #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize, 1670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1671 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 1672 #[cfg(not(feature = "Win32_Foundation"))] usize, 1673 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1674 #[cfg(not(feature = "Win32_System_Com"))] usize, 1675 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdataobj: ::windows::runtime::RawPtr, cf: u16, hmetapict: isize) -> ::windows::runtime::HRESULT, 1676 #[cfg(not(feature = "Win32_System_Com"))] usize, 1677 ); 1678 #[repr(transparent)] 1679 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1680 pub struct IRichEditOleCallback(::windows::runtime::IUnknown); 1681 impl IRichEditOleCallback { 1682 #[cfg(feature = "Win32_System_Com_StructuredStorage")] GetNewStorage(&self) -> ::windows::runtime::Result<super::super::super::System::Com::StructuredStorage::IStorage>1683 pub unsafe fn GetNewStorage(&self) -> ::windows::runtime::Result<super::super::super::System::Com::StructuredStorage::IStorage> { 1684 let mut result__: <super::super::super::System::Com::StructuredStorage::IStorage as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1685 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::System::Com::StructuredStorage::IStorage>(result__) 1686 } 1687 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] GetInPlaceContext(&self, lplpframe: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceFrame>, lplpdoc: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceUIWindow>, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::Result<()>1688 pub unsafe fn GetInPlaceContext(&self, lplpframe: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceFrame>, lplpdoc: *mut ::std::option::Option<super::super::super::System::Ole::IOleInPlaceUIWindow>, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::Result<()> { 1689 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(lplpframe), ::std::mem::transmute(lplpdoc), ::std::mem::transmute(lpframeinfo)).ok() 1690 } 1691 #[cfg(feature = "Win32_Foundation")] ShowContainerUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>1692 pub unsafe fn ShowContainerUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> { 1693 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok() 1694 } 1695 #[cfg(feature = "Win32_System_Com_StructuredStorage")] QueryInsertObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, lpclsid: *mut ::windows::runtime::GUID, lpstg: Param1, cp: i32) -> ::windows::runtime::Result<()>1696 pub unsafe fn QueryInsertObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::StructuredStorage::IStorage>>(&self, lpclsid: *mut ::windows::runtime::GUID, lpstg: Param1, cp: i32) -> ::windows::runtime::Result<()> { 1697 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpclsid), lpstg.into_param().abi(), ::std::mem::transmute(cp)).ok() 1698 } 1699 #[cfg(feature = "Win32_System_Ole")] DeleteObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, lpoleobj: Param0) -> ::windows::runtime::Result<()>1700 pub unsafe fn DeleteObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, lpoleobj: Param0) -> ::windows::runtime::Result<()> { 1701 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), lpoleobj.into_param().abi()).ok() 1702 } 1703 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] QueryAcceptData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, lpdataobj: Param0, lpcfformat: *mut u16, reco: u32, freally: Param3, hmetapict: isize) -> ::windows::runtime::Result<()>1704 pub unsafe fn QueryAcceptData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::System::Com::IDataObject>, Param3: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, lpdataobj: Param0, lpcfformat: *mut u16, reco: u32, freally: Param3, hmetapict: isize) -> ::windows::runtime::Result<()> { 1705 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), lpdataobj.into_param().abi(), ::std::mem::transmute(lpcfformat), ::std::mem::transmute(reco), freally.into_param().abi(), ::std::mem::transmute(hmetapict)).ok() 1706 } 1707 #[cfg(feature = "Win32_Foundation")] ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>1708 pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> { 1709 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok() 1710 } 1711 #[cfg(feature = "Win32_System_Com")] GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()>1712 pub unsafe fn GetClipboardData(&self, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::std::option::Option<super::super::super::System::Com::IDataObject>) -> ::windows::runtime::Result<()> { 1713 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpchrg), ::std::mem::transmute(reco), ::std::mem::transmute(lplpdataobj)).ok() 1714 } 1715 #[cfg(feature = "Win32_Foundation")] GetDragDropEffect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdrag: Param0, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::Result<()>1716 pub unsafe fn GetDragDropEffect<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BOOL>>(&self, fdrag: Param0, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::Result<()> { 1717 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), fdrag.into_param().abi(), ::std::mem::transmute(grfkeystate), ::std::mem::transmute(pdweffect)).ok() 1718 } 1719 #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] GetContextMenu<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: Param1, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::Result<()>1720 pub unsafe fn GetContextMenu<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::IOleObject>>(&self, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: Param1, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::Result<()> { 1721 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(seltype), lpoleobj.into_param().abi(), ::std::mem::transmute(lpchrg), ::std::mem::transmute(lphmenu)).ok() 1722 } 1723 } 1724 unsafe impl ::windows::runtime::Interface for IRichEditOleCallback { 1725 type Vtable = IRichEditOleCallback_abi; 1726 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(134403, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]); 1727 } 1728 impl ::std::convert::From<IRichEditOleCallback> for ::windows::runtime::IUnknown { from(value: IRichEditOleCallback) -> Self1729 fn from(value: IRichEditOleCallback) -> Self { 1730 unsafe { ::std::mem::transmute(value) } 1731 } 1732 } 1733 impl ::std::convert::From<&IRichEditOleCallback> for ::windows::runtime::IUnknown { from(value: &IRichEditOleCallback) -> Self1734 fn from(value: &IRichEditOleCallback) -> Self { 1735 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1736 } 1737 } 1738 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRichEditOleCallback { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1739 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1740 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1741 } 1742 } 1743 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRichEditOleCallback { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1744 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1745 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1746 } 1747 } 1748 #[repr(C)] 1749 #[doc(hidden)] 1750 pub struct IRichEditOleCallback_abi( 1751 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1752 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1753 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1754 #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpstg: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1755 #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize, 1756 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lplpframe: *mut ::windows::runtime::RawPtr, lplpdoc: *mut ::windows::runtime::RawPtr, lpframeinfo: *mut super::super::super::System::Ole::OIFI) -> ::windows::runtime::HRESULT, 1757 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] usize, 1758 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 1759 #[cfg(not(feature = "Win32_Foundation"))] usize, 1760 #[cfg(feature = "Win32_System_Com_StructuredStorage")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpclsid: *mut ::windows::runtime::GUID, lpstg: ::windows::runtime::RawPtr, cp: i32) -> ::windows::runtime::HRESULT, 1761 #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] usize, 1762 #[cfg(feature = "Win32_System_Ole")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpoleobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1763 #[cfg(not(feature = "Win32_System_Ole"))] usize, 1764 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpdataobj: ::windows::runtime::RawPtr, lpcfformat: *mut u16, reco: u32, freally: super::super::super::Foundation::BOOL, hmetapict: isize) -> ::windows::runtime::HRESULT, 1765 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize, 1766 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT, 1767 #[cfg(not(feature = "Win32_Foundation"))] usize, 1768 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, reco: u32, lplpdataobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1769 #[cfg(not(feature = "Win32_System_Com"))] usize, 1770 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fdrag: super::super::super::Foundation::BOOL, grfkeystate: u32, pdweffect: *mut u32) -> ::windows::runtime::HRESULT, 1771 #[cfg(not(feature = "Win32_Foundation"))] usize, 1772 #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, seltype: RICH_EDIT_GET_CONTEXT_MENU_SEL_TYPE, lpoleobj: ::windows::runtime::RawPtr, lpchrg: *mut CHARRANGE, lphmenu: *mut super::super::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT, 1773 #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] usize, 1774 ); 1775 #[repr(transparent)] 1776 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1777 pub struct IRicheditUiaOverrides(::windows::runtime::IUnknown); 1778 impl IRicheditUiaOverrides { 1779 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] GetPropertyOverrideValue(&self, propertyid: i32, pretvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()>1780 pub unsafe fn GetPropertyOverrideValue(&self, propertyid: i32, pretvalue: *mut super::super::super::System::Com::VARIANT) -> ::windows::runtime::Result<()> { 1781 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(propertyid), ::std::mem::transmute(pretvalue)).ok() 1782 } 1783 } 1784 unsafe impl ::windows::runtime::Interface for IRicheditUiaOverrides { 1785 type Vtable = IRicheditUiaOverrides_abi; 1786 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed(); 1787 } 1788 impl ::std::convert::From<IRicheditUiaOverrides> for ::windows::runtime::IUnknown { from(value: IRicheditUiaOverrides) -> Self1789 fn from(value: IRicheditUiaOverrides) -> Self { 1790 unsafe { ::std::mem::transmute(value) } 1791 } 1792 } 1793 impl ::std::convert::From<&IRicheditUiaOverrides> for ::windows::runtime::IUnknown { from(value: &IRicheditUiaOverrides) -> Self1794 fn from(value: &IRicheditUiaOverrides) -> Self { 1795 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1796 } 1797 } 1798 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IRicheditUiaOverrides { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1799 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1800 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1801 } 1802 } 1803 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IRicheditUiaOverrides { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1804 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1805 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1806 } 1807 } 1808 #[repr(C)] 1809 #[doc(hidden)] 1810 pub struct IRicheditUiaOverrides_abi( 1811 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1812 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1813 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1814 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, propertyid: i32, pretvalue: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>) -> ::windows::runtime::HRESULT, 1815 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1816 ); 1817 #[repr(transparent)] 1818 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1819 pub struct ITextDisplays(::windows::runtime::IUnknown); 1820 impl ITextDisplays {} 1821 unsafe impl ::windows::runtime::Interface for ITextDisplays { 1822 type Vtable = ITextDisplays_abi; 1823 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102706, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]); 1824 } 1825 impl ::std::convert::From<ITextDisplays> for ::windows::runtime::IUnknown { from(value: ITextDisplays) -> Self1826 fn from(value: ITextDisplays) -> Self { 1827 unsafe { ::std::mem::transmute(value) } 1828 } 1829 } 1830 impl ::std::convert::From<&ITextDisplays> for ::windows::runtime::IUnknown { from(value: &ITextDisplays) -> Self1831 fn from(value: &ITextDisplays) -> Self { 1832 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1833 } 1834 } 1835 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDisplays { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1836 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1837 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1838 } 1839 } 1840 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDisplays { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1841 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1842 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1843 } 1844 } 1845 #[cfg(feature = "Win32_System_Ole_Automation")] 1846 impl ::std::convert::From<ITextDisplays> for super::super::super::System::Ole::Automation::IDispatch { from(value: ITextDisplays) -> Self1847 fn from(value: ITextDisplays) -> Self { 1848 unsafe { ::std::mem::transmute(value) } 1849 } 1850 } 1851 #[cfg(feature = "Win32_System_Ole_Automation")] 1852 impl ::std::convert::From<&ITextDisplays> for super::super::super::System::Ole::Automation::IDispatch { from(value: &ITextDisplays) -> Self1853 fn from(value: &ITextDisplays) -> Self { 1854 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1855 } 1856 } 1857 #[cfg(feature = "Win32_System_Ole_Automation")] 1858 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDisplays { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1859 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 1860 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self)) 1861 } 1862 } 1863 #[cfg(feature = "Win32_System_Ole_Automation")] 1864 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDisplays { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1865 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 1866 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 1867 } 1868 } 1869 #[repr(C)] 1870 #[doc(hidden)] 1871 pub struct ITextDisplays_abi( 1872 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1873 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1874 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 1875 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 1876 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 1877 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 1878 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 1879 #[cfg(not(feature = "Win32_Foundation"))] usize, 1880 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 1881 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 1882 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 1883 ); 1884 #[repr(transparent)] 1885 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 1886 pub struct ITextDocument(::windows::runtime::IUnknown); 1887 impl ITextDocument { 1888 #[cfg(feature = "Win32_Foundation")] GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>1889 pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 1890 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1891 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 1892 } GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>1893 pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> { 1894 let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1895 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__) 1896 } GetStoryCount(&self) -> ::windows::runtime::Result<i32>1897 pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> { 1898 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1899 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1900 } GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>1901 pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> { 1902 let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1903 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__) 1904 } GetSaved(&self) -> ::windows::runtime::Result<i32>1905 pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> { 1906 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1907 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1908 } SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>1909 pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> { 1910 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 1911 } GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>1912 pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> { 1913 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1914 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 1915 } SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>1916 pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> { 1917 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 1918 } New(&self) -> ::windows::runtime::Result<()>1919 pub unsafe fn New(&self) -> ::windows::runtime::Result<()> { 1920 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 1921 } 1922 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>1923 pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 1924 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 1925 } 1926 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>1927 pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 1928 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 1929 } Freeze(&self) -> ::windows::runtime::Result<i32>1930 pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> { 1931 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1932 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1933 } Unfreeze(&self) -> ::windows::runtime::Result<i32>1934 pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> { 1935 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1936 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 1937 } BeginEditCollection(&self) -> ::windows::runtime::Result<()>1938 pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> { 1939 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 1940 } EndEditCollection(&self) -> ::windows::runtime::Result<()>1941 pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> { 1942 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok() 1943 } Undo(&self, count: i32) -> ::windows::runtime::Result<i32>1944 pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> { 1945 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1946 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 1947 } Redo(&self, count: i32) -> ::windows::runtime::Result<i32>1948 pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> { 1949 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1950 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 1951 } Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>1952 pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> { 1953 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1954 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__) 1955 } RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>1956 pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> { 1957 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 1958 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__) 1959 } 1960 } 1961 unsafe impl ::windows::runtime::Interface for ITextDocument { 1962 type Vtable = ITextDocument_abi; 1963 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694144, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]); 1964 } 1965 impl ::std::convert::From<ITextDocument> for ::windows::runtime::IUnknown { from(value: ITextDocument) -> Self1966 fn from(value: ITextDocument) -> Self { 1967 unsafe { ::std::mem::transmute(value) } 1968 } 1969 } 1970 impl ::std::convert::From<&ITextDocument> for ::windows::runtime::IUnknown { from(value: &ITextDocument) -> Self1971 fn from(value: &ITextDocument) -> Self { 1972 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1973 } 1974 } 1975 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1976 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1977 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 1978 } 1979 } 1980 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1981 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 1982 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 1983 } 1984 } 1985 #[cfg(feature = "Win32_System_Ole_Automation")] 1986 impl ::std::convert::From<ITextDocument> for super::super::super::System::Ole::Automation::IDispatch { from(value: ITextDocument) -> Self1987 fn from(value: ITextDocument) -> Self { 1988 unsafe { ::std::mem::transmute(value) } 1989 } 1990 } 1991 #[cfg(feature = "Win32_System_Ole_Automation")] 1992 impl ::std::convert::From<&ITextDocument> for super::super::super::System::Ole::Automation::IDispatch { from(value: &ITextDocument) -> Self1993 fn from(value: &ITextDocument) -> Self { 1994 ::std::convert::From::from(::std::clone::Clone::clone(value)) 1995 } 1996 } 1997 #[cfg(feature = "Win32_System_Ole_Automation")] 1998 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>1999 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2000 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self)) 2001 } 2002 } 2003 #[cfg(feature = "Win32_System_Ole_Automation")] 2004 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2005 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2006 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2007 } 2008 } 2009 #[repr(C)] 2010 #[doc(hidden)] 2011 pub struct ITextDocument_abi( 2012 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2013 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2014 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2015 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2016 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2017 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2018 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2019 #[cfg(not(feature = "Win32_Foundation"))] usize, 2020 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2021 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2022 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2023 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2024 #[cfg(not(feature = "Win32_Foundation"))] usize, 2025 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2026 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2028 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2029 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT, 2030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 2031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 2032 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2033 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2034 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2035 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2036 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2040 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2041 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2042 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2043 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2044 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2045 ); 2046 #[repr(transparent)] 2047 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2048 pub struct ITextDocument2(::windows::runtime::IUnknown); 2049 impl ITextDocument2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2050 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 2051 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2052 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 2053 } 2054 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>2055 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> { 2056 let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2057 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__) 2058 } 2059 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>2060 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 2061 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 2062 } 2063 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2064 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 2065 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 2066 } 2067 #[cfg(feature = "Win32_Foundation")] GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2068 pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 2069 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2070 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 2071 } GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>2072 pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> { 2073 let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2074 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__) 2075 } GetStoryCount(&self) -> ::windows::runtime::Result<i32>2076 pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> { 2077 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2078 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2079 } GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>2080 pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> { 2081 let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2082 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__) 2083 } GetSaved(&self) -> ::windows::runtime::Result<i32>2084 pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> { 2085 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2086 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2087 } SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>2088 pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> { 2089 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2090 } GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>2091 pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> { 2092 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2093 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2094 } SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>2095 pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> { 2096 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2097 } New(&self) -> ::windows::runtime::Result<()>2098 pub unsafe fn New(&self) -> ::windows::runtime::Result<()> { 2099 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 2100 } 2101 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2102 pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 2103 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 2104 } 2105 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2106 pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 2107 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 2108 } Freeze(&self) -> ::windows::runtime::Result<i32>2109 pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> { 2110 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2111 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2112 } Unfreeze(&self) -> ::windows::runtime::Result<i32>2113 pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> { 2114 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2115 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2116 } BeginEditCollection(&self) -> ::windows::runtime::Result<()>2117 pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> { 2118 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 2119 } EndEditCollection(&self) -> ::windows::runtime::Result<()>2120 pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> { 2121 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok() 2122 } Undo(&self, count: i32) -> ::windows::runtime::Result<i32>2123 pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> { 2124 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2125 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 2126 } Redo(&self, count: i32) -> ::windows::runtime::Result<i32>2127 pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> { 2128 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2129 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 2130 } Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>2131 pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> { 2132 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2133 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__) 2134 } RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>2135 pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> { 2136 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2137 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__) 2138 } GetCaretType(&self) -> ::windows::runtime::Result<i32>2139 pub unsafe fn GetCaretType(&self) -> ::windows::runtime::Result<i32> { 2140 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2141 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2142 } SetCaretType(&self, value: i32) -> ::windows::runtime::Result<()>2143 pub unsafe fn SetCaretType(&self, value: i32) -> ::windows::runtime::Result<()> { 2144 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2145 } GetDisplays(&self) -> ::windows::runtime::Result<ITextDisplays>2146 pub unsafe fn GetDisplays(&self) -> ::windows::runtime::Result<ITextDisplays> { 2147 let mut result__: <ITextDisplays as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2148 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextDisplays>(result__) 2149 } GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont2>2150 pub unsafe fn GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont2> { 2151 let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2152 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__) 2153 } SetDocumentFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>2154 pub unsafe fn SetDocumentFont<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> { 2155 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok() 2156 } GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara2>2157 pub unsafe fn GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara2> { 2158 let mut result__: <ITextPara2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2159 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara2>(result__) 2160 } SetDocumentPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()>2161 pub unsafe fn SetDocumentPara<'a, Param0: ::windows::runtime::IntoParam<'a, ITextPara2>>(&self, ppara: Param0) -> ::windows::runtime::Result<()> { 2162 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ppara.into_param().abi()).ok() 2163 } GetEastAsianFlags(&self) -> ::windows::runtime::Result<tomConstants>2164 pub unsafe fn GetEastAsianFlags(&self) -> ::windows::runtime::Result<tomConstants> { 2165 let mut result__: <tomConstants as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2166 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<tomConstants>(result__) 2167 } 2168 #[cfg(feature = "Win32_Foundation")] GetGenerator(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2169 pub unsafe fn GetGenerator(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 2170 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2171 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 2172 } SetIMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()>2173 pub unsafe fn SetIMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()> { 2174 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2175 } GetNotificationMode(&self) -> ::windows::runtime::Result<i32>2176 pub unsafe fn GetNotificationMode(&self) -> ::windows::runtime::Result<i32> { 2177 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2178 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2179 } SetNotificationMode(&self, value: i32) -> ::windows::runtime::Result<()>2180 pub unsafe fn SetNotificationMode(&self, value: i32) -> ::windows::runtime::Result<()> { 2181 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2182 } GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection2>2183 pub unsafe fn GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection2> { 2184 let mut result__: <ITextSelection2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2185 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection2>(result__) 2186 } GetStoryRanges2(&self) -> ::windows::runtime::Result<ITextStoryRanges2>2187 pub unsafe fn GetStoryRanges2(&self) -> ::windows::runtime::Result<ITextStoryRanges2> { 2188 let mut result__: <ITextStoryRanges2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2189 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges2>(result__) 2190 } GetTypographyOptions(&self) -> ::windows::runtime::Result<i32>2191 pub unsafe fn GetTypographyOptions(&self) -> ::windows::runtime::Result<i32> { 2192 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2193 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2194 } GetVersion(&self) -> ::windows::runtime::Result<i32>2195 pub unsafe fn GetVersion(&self) -> ::windows::runtime::Result<i32> { 2196 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2197 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2198 } GetWindow(&self) -> ::windows::runtime::Result<i64>2199 pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<i64> { 2200 let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2201 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__) 2202 } AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()>2203 pub unsafe fn AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()> { 2204 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), pfilter.into_param().abi()).ok() 2205 } CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()>2206 pub unsafe fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()> { 2207 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(cch), ::std::mem::transmute(pcch)).ok() 2208 } GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2209 pub unsafe fn GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 2210 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2211 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 2212 } GetClientRect(&self, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>2213 pub unsafe fn GetClientRect(&self, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> { 2214 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok() 2215 } GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<i32>2216 pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<i32> { 2217 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2218 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<i32>(result__) 2219 } GetImmContext(&self) -> ::windows::runtime::Result<i64>2220 pub unsafe fn GetImmContext(&self) -> ::windows::runtime::Result<i64> { 2221 let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2222 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__) 2223 } 2224 #[cfg(feature = "Win32_Foundation")] GetPreferredFont(&self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()>2225 pub unsafe fn GetPreferredFont(&self, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()> { 2226 (::windows::runtime::Interface::vtable(self).49)( 2227 ::std::mem::transmute_copy(self), 2228 ::std::mem::transmute(cp), 2229 ::std::mem::transmute(charrep), 2230 ::std::mem::transmute(options), 2231 ::std::mem::transmute(curcharrep), 2232 ::std::mem::transmute(curfontsize), 2233 ::std::mem::transmute(pbstr), 2234 ::std::mem::transmute(ppitchandfamily), 2235 ::std::mem::transmute(pnewfontsize), 2236 ) 2237 .ok() 2238 } GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32>2239 pub unsafe fn GetProperty(&self, r#type: i32) -> ::windows::runtime::Result<i32> { 2240 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2241 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), &mut result__).from_abi::<i32>(result__) 2242 } GetStrings(&self) -> ::windows::runtime::Result<ITextStrings>2243 pub unsafe fn GetStrings(&self) -> ::windows::runtime::Result<ITextStrings> { 2244 let mut result__: <ITextStrings as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2245 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStrings>(result__) 2246 } Notify(&self, notify: i32) -> ::windows::runtime::Result<()>2247 pub unsafe fn Notify(&self, notify: i32) -> ::windows::runtime::Result<()> { 2248 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), ::std::mem::transmute(notify)).ok() 2249 } Range2(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2>2250 pub unsafe fn Range2(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange2> { 2251 let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2252 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange2>(result__) 2253 } RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> ::windows::runtime::Result<ITextRange2>2254 pub unsafe fn RangeFromPoint2(&self, x: i32, y: i32, r#type: i32) -> ::windows::runtime::Result<ITextRange2> { 2255 let mut result__: <ITextRange2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2256 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(r#type), &mut result__).from_abi::<ITextRange2>(result__) 2257 } ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()>2258 pub unsafe fn ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()> { 2259 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), pvoid.into_param().abi()).ok() 2260 } ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()>2261 pub unsafe fn ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()> { 2262 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), ::std::mem::transmute(context)).ok() 2263 } SetEffectColor(&self, index: i32, value: i32) -> ::windows::runtime::Result<()>2264 pub unsafe fn SetEffectColor(&self, index: i32, value: i32) -> ::windows::runtime::Result<()> { 2265 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(value)).ok() 2266 } SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()>2267 pub unsafe fn SetProperty(&self, r#type: i32, value: i32) -> ::windows::runtime::Result<()> { 2268 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(value)).ok() 2269 } SetTypographyOptions(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()>2270 pub unsafe fn SetTypographyOptions(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()> { 2271 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(options), ::std::mem::transmute(mask)).ok() 2272 } SysBeep(&self) -> ::windows::runtime::Result<()>2273 pub unsafe fn SysBeep(&self) -> ::windows::runtime::Result<()> { 2274 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self)).ok() 2275 } Update(&self, value: i32) -> ::windows::runtime::Result<()>2276 pub unsafe fn Update(&self, value: i32) -> ::windows::runtime::Result<()> { 2277 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2278 } UpdateWindow(&self) -> ::windows::runtime::Result<()>2279 pub unsafe fn UpdateWindow(&self) -> ::windows::runtime::Result<()> { 2280 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok() 2281 } GetMathProperties(&self) -> ::windows::runtime::Result<i32>2282 pub unsafe fn GetMathProperties(&self) -> ::windows::runtime::Result<i32> { 2283 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2284 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2285 } SetMathProperties(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()>2286 pub unsafe fn SetMathProperties(&self, options: i32, mask: i32) -> ::windows::runtime::Result<()> { 2287 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(options), ::std::mem::transmute(mask)).ok() 2288 } GetActiveStory(&self) -> ::windows::runtime::Result<ITextStory>2289 pub unsafe fn GetActiveStory(&self) -> ::windows::runtime::Result<ITextStory> { 2290 let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2291 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__) 2292 } SetActiveStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextStory>>(&self, pstory: Param0) -> ::windows::runtime::Result<()>2293 pub unsafe fn SetActiveStory<'a, Param0: ::windows::runtime::IntoParam<'a, ITextStory>>(&self, pstory: Param0) -> ::windows::runtime::Result<()> { 2294 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), pstory.into_param().abi()).ok() 2295 } GetMainStory(&self) -> ::windows::runtime::Result<ITextStory>2296 pub unsafe fn GetMainStory(&self) -> ::windows::runtime::Result<ITextStory> { 2297 let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2298 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__) 2299 } GetNewStory(&self) -> ::windows::runtime::Result<ITextStory>2300 pub unsafe fn GetNewStory(&self) -> ::windows::runtime::Result<ITextStory> { 2301 let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2302 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStory>(result__) 2303 } GetStory(&self, index: i32) -> ::windows::runtime::Result<ITextStory>2304 pub unsafe fn GetStory(&self, index: i32) -> ::windows::runtime::Result<ITextStory> { 2305 let mut result__: <ITextStory as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2306 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<ITextStory>(result__) 2307 } 2308 } 2309 unsafe impl ::windows::runtime::Interface for ITextDocument2 { 2310 type Vtable = ITextDocument2_abi; 2311 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259102688, 29190, 4568, [162, 199, 0, 160, 209, 214, 198, 179]); 2312 } 2313 impl ::std::convert::From<ITextDocument2> for ::windows::runtime::IUnknown { from(value: ITextDocument2) -> Self2314 fn from(value: ITextDocument2) -> Self { 2315 unsafe { ::std::mem::transmute(value) } 2316 } 2317 } 2318 impl ::std::convert::From<&ITextDocument2> for ::windows::runtime::IUnknown { from(value: &ITextDocument2) -> Self2319 fn from(value: &ITextDocument2) -> Self { 2320 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2321 } 2322 } 2323 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2324 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2325 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2326 } 2327 } 2328 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2329 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2330 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2331 } 2332 } 2333 impl ::std::convert::From<ITextDocument2> for ITextDocument { from(value: ITextDocument2) -> Self2334 fn from(value: ITextDocument2) -> Self { 2335 unsafe { ::std::mem::transmute(value) } 2336 } 2337 } 2338 impl ::std::convert::From<&ITextDocument2> for ITextDocument { from(value: &ITextDocument2) -> Self2339 fn from(value: &ITextDocument2) -> Self { 2340 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2341 } 2342 } 2343 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2344 fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> { 2345 ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(self)) 2346 } 2347 } 2348 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for &ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2349 fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> { 2350 ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(::std::clone::Clone::clone(self))) 2351 } 2352 } 2353 #[cfg(feature = "Win32_System_Ole_Automation")] 2354 impl ::std::convert::From<ITextDocument2> for super::super::super::System::Ole::Automation::IDispatch { from(value: ITextDocument2) -> Self2355 fn from(value: ITextDocument2) -> Self { 2356 unsafe { ::std::mem::transmute(value) } 2357 } 2358 } 2359 #[cfg(feature = "Win32_System_Ole_Automation")] 2360 impl ::std::convert::From<&ITextDocument2> for super::super::super::System::Ole::Automation::IDispatch { from(value: &ITextDocument2) -> Self2361 fn from(value: &ITextDocument2) -> Self { 2362 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2363 } 2364 } 2365 #[cfg(feature = "Win32_System_Ole_Automation")] 2366 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2367 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2368 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self)) 2369 } 2370 } 2371 #[cfg(feature = "Win32_System_Ole_Automation")] 2372 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument2 { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2373 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2374 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2375 } 2376 } 2377 #[repr(C)] 2378 #[doc(hidden)] 2379 pub struct ITextDocument2_abi( 2380 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2381 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2382 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2383 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2384 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2385 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2386 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2387 #[cfg(not(feature = "Win32_Foundation"))] usize, 2388 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2389 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2390 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2391 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2392 #[cfg(not(feature = "Win32_Foundation"))] usize, 2393 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT, 2398 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 2399 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 2400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2402 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2403 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2404 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2405 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2406 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2407 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2408 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2409 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2410 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2411 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2412 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2413 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2414 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 2415 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdisplays: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2416 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2417 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2418 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pppara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2419 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppara: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2420 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut tomConstants) -> ::windows::runtime::HRESULT, 2421 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2422 #[cfg(not(feature = "Win32_Foundation"))] usize, 2423 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 2424 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2425 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 2426 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2427 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2428 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poptions: *mut i32) -> ::windows::runtime::HRESULT, 2429 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2430 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut i64) -> ::windows::runtime::HRESULT, 2431 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfilter: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2432 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cch: i32, pcch: *const i32) -> ::windows::runtime::HRESULT, 2433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppvoid: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2434 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: tomConstants, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT, 2435 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontext: *mut i64) -> ::windows::runtime::HRESULT, 2437 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp: i32, charrep: i32, options: i32, curcharrep: i32, curfontsize: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::HRESULT, 2438 #[cfg(not(feature = "Win32_Foundation"))] usize, 2439 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2440 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstrs: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2441 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, notify: i32) -> ::windows::runtime::HRESULT, 2442 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2443 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, r#type: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2444 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvoid: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: i64) -> ::windows::runtime::HRESULT, 2446 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, value: i32) -> ::windows::runtime::HRESULT, 2447 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, value: i32) -> ::windows::runtime::HRESULT, 2448 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: i32, mask: i32) -> ::windows::runtime::HRESULT, 2449 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2450 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 2451 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, poptions: *mut i32) -> ::windows::runtime::HRESULT, 2453 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, options: i32, mask: i32) -> ::windows::runtime::HRESULT, 2454 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstory: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, ppstory: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2459 ); 2460 #[repr(transparent)] 2461 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2462 pub struct ITextDocument2Old(::windows::runtime::IUnknown); 2463 impl ITextDocument2Old { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>2464 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 2465 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2466 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 2467 } 2468 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>2469 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> { 2470 let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2471 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__) 2472 } 2473 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>2474 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 2475 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 2476 } 2477 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>2478 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 2479 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 2480 } 2481 #[cfg(feature = "Win32_Foundation")] GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2482 pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 2483 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2484 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 2485 } GetSelection(&self) -> ::windows::runtime::Result<ITextSelection>2486 pub unsafe fn GetSelection(&self) -> ::windows::runtime::Result<ITextSelection> { 2487 let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2488 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__) 2489 } GetStoryCount(&self) -> ::windows::runtime::Result<i32>2490 pub unsafe fn GetStoryCount(&self) -> ::windows::runtime::Result<i32> { 2491 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2492 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2493 } GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges>2494 pub unsafe fn GetStoryRanges(&self) -> ::windows::runtime::Result<ITextStoryRanges> { 2495 let mut result__: <ITextStoryRanges as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2496 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextStoryRanges>(result__) 2497 } GetSaved(&self) -> ::windows::runtime::Result<i32>2498 pub unsafe fn GetSaved(&self) -> ::windows::runtime::Result<i32> { 2499 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2500 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2501 } SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()>2502 pub unsafe fn SetSaved(&self, value: tomConstants) -> ::windows::runtime::Result<()> { 2503 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2504 } GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32>2505 pub unsafe fn GetDefaultTabStop(&self) -> ::windows::runtime::Result<f32> { 2506 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2507 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2508 } SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()>2509 pub unsafe fn SetDefaultTabStop(&self, value: f32) -> ::windows::runtime::Result<()> { 2510 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2511 } New(&self) -> ::windows::runtime::Result<()>2512 pub unsafe fn New(&self) -> ::windows::runtime::Result<()> { 2513 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok() 2514 } 2515 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2516 pub unsafe fn Open(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 2517 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 2518 } 2519 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()>2520 pub unsafe fn Save(&self, pvar: *const super::super::super::System::Com::VARIANT, flags: i32, codepage: i32) -> ::windows::runtime::Result<()> { 2521 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(pvar), ::std::mem::transmute(flags), ::std::mem::transmute(codepage)).ok() 2522 } Freeze(&self) -> ::windows::runtime::Result<i32>2523 pub unsafe fn Freeze(&self) -> ::windows::runtime::Result<i32> { 2524 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2525 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2526 } Unfreeze(&self) -> ::windows::runtime::Result<i32>2527 pub unsafe fn Unfreeze(&self) -> ::windows::runtime::Result<i32> { 2528 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2529 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2530 } BeginEditCollection(&self) -> ::windows::runtime::Result<()>2531 pub unsafe fn BeginEditCollection(&self) -> ::windows::runtime::Result<()> { 2532 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok() 2533 } EndEditCollection(&self) -> ::windows::runtime::Result<()>2534 pub unsafe fn EndEditCollection(&self) -> ::windows::runtime::Result<()> { 2535 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok() 2536 } Undo(&self, count: i32) -> ::windows::runtime::Result<i32>2537 pub unsafe fn Undo(&self, count: i32) -> ::windows::runtime::Result<i32> { 2538 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2539 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 2540 } Redo(&self, count: i32) -> ::windows::runtime::Result<i32>2541 pub unsafe fn Redo(&self, count: i32) -> ::windows::runtime::Result<i32> { 2542 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2543 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(count), &mut result__).from_abi::<i32>(result__) 2544 } Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange>2545 pub unsafe fn Range(&self, cpactive: i32, cpanchor: i32) -> ::windows::runtime::Result<ITextRange> { 2546 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2547 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(cpactive), ::std::mem::transmute(cpanchor), &mut result__).from_abi::<ITextRange>(result__) 2548 } RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange>2549 pub unsafe fn RangeFromPoint(&self, x: i32, y: i32) -> ::windows::runtime::Result<ITextRange> { 2550 let mut result__: <ITextRange as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2551 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(x), ::std::mem::transmute(y), &mut result__).from_abi::<ITextRange>(result__) 2552 } AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()>2553 pub unsafe fn AttachMsgFilter<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pfilter: Param0) -> ::windows::runtime::Result<()> { 2554 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), pfilter.into_param().abi()).ok() 2555 } SetEffectColor(&self, index: i32, cr: u32) -> ::windows::runtime::Result<()>2556 pub unsafe fn SetEffectColor(&self, index: i32, cr: u32) -> ::windows::runtime::Result<()> { 2557 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), ::std::mem::transmute(cr)).ok() 2558 } GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<u32>2559 pub unsafe fn GetEffectColor(&self, index: i32) -> ::windows::runtime::Result<u32> { 2560 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2561 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(index), &mut result__).from_abi::<u32>(result__) 2562 } GetCaretType(&self) -> ::windows::runtime::Result<i32>2563 pub unsafe fn GetCaretType(&self) -> ::windows::runtime::Result<i32> { 2564 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2565 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2566 } SetCaretType(&self, carettype: i32) -> ::windows::runtime::Result<()>2567 pub unsafe fn SetCaretType(&self, carettype: i32) -> ::windows::runtime::Result<()> { 2568 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), ::std::mem::transmute(carettype)).ok() 2569 } GetImmContext(&self) -> ::windows::runtime::Result<i64>2570 pub unsafe fn GetImmContext(&self) -> ::windows::runtime::Result<i64> { 2571 let mut result__: <i64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2572 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i64>(result__) 2573 } ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()>2574 pub unsafe fn ReleaseImmContext(&self, context: i64) -> ::windows::runtime::Result<()> { 2575 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(context)).ok() 2576 } 2577 #[cfg(feature = "Win32_Foundation")] GetPreferredFont(&self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()>2578 pub unsafe fn GetPreferredFont(&self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut super::super::super::Foundation::BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::Result<()> { 2579 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(cp), ::std::mem::transmute(charrep), ::std::mem::transmute(option), ::std::mem::transmute(charrepcur), ::std::mem::transmute(curfontsize), ::std::mem::transmute(pbstr), ::std::mem::transmute(ppitchandfamily), ::std::mem::transmute(pnewfontsize)).ok() 2580 } GetNotificationMode(&self) -> ::windows::runtime::Result<i32>2581 pub unsafe fn GetNotificationMode(&self) -> ::windows::runtime::Result<i32> { 2582 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2583 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2584 } SetNotificationMode(&self, mode: i32) -> ::windows::runtime::Result<()>2585 pub unsafe fn SetNotificationMode(&self, mode: i32) -> ::windows::runtime::Result<()> { 2586 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok() 2587 } GetClientRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()>2588 pub unsafe fn GetClientRect(&self, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::Result<()> { 2589 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), ::std::mem::transmute(r#type), ::std::mem::transmute(pleft), ::std::mem::transmute(ptop), ::std::mem::transmute(pright), ::std::mem::transmute(pbottom)).ok() 2590 } GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection>2591 pub unsafe fn GetSelection2(&self) -> ::windows::runtime::Result<ITextSelection> { 2592 let mut result__: <ITextSelection as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2593 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextSelection>(result__) 2594 } GetWindow(&self) -> ::windows::runtime::Result<i32>2595 pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<i32> { 2596 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2597 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2598 } GetFEFlags(&self) -> ::windows::runtime::Result<i32>2599 pub unsafe fn GetFEFlags(&self) -> ::windows::runtime::Result<i32> { 2600 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2601 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2602 } UpdateWindow(&self) -> ::windows::runtime::Result<()>2603 pub unsafe fn UpdateWindow(&self) -> ::windows::runtime::Result<()> { 2604 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok() 2605 } CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()>2606 pub unsafe fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> ::windows::runtime::Result<()> { 2607 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(cch), ::std::mem::transmute(pcch)).ok() 2608 } IMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()>2609 pub unsafe fn IMEInProgress(&self, value: i32) -> ::windows::runtime::Result<()> { 2610 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2611 } SysBeep(&self) -> ::windows::runtime::Result<()>2612 pub unsafe fn SysBeep(&self) -> ::windows::runtime::Result<()> { 2613 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok() 2614 } Update(&self, mode: i32) -> ::windows::runtime::Result<()>2615 pub unsafe fn Update(&self, mode: i32) -> ::windows::runtime::Result<()> { 2616 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), ::std::mem::transmute(mode)).ok() 2617 } Notify(&self, notify: i32) -> ::windows::runtime::Result<()>2618 pub unsafe fn Notify(&self, notify: i32) -> ::windows::runtime::Result<()> { 2619 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(notify)).ok() 2620 } GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont>2621 pub unsafe fn GetDocumentFont(&self) -> ::windows::runtime::Result<ITextFont> { 2622 let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2623 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__) 2624 } GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara>2625 pub unsafe fn GetDocumentPara(&self) -> ::windows::runtime::Result<ITextPara> { 2626 let mut result__: <ITextPara as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2627 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextPara>(result__) 2628 } GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2629 pub unsafe fn GetCallManager(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> { 2630 let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2631 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__) 2632 } ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()>2633 pub unsafe fn ReleaseCallManager<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, pvoid: Param0) -> ::windows::runtime::Result<()> { 2634 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), pvoid.into_param().abi()).ok() 2635 } 2636 } 2637 unsafe impl ::windows::runtime::Interface for ITextDocument2Old { 2638 type Vtable = ITextDocument2Old_abi; 2639 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(29512960, 17000, 4561, [136, 58, 60, 139, 0, 193, 0, 0]); 2640 } 2641 impl ::std::convert::From<ITextDocument2Old> for ::windows::runtime::IUnknown { from(value: ITextDocument2Old) -> Self2642 fn from(value: ITextDocument2Old) -> Self { 2643 unsafe { ::std::mem::transmute(value) } 2644 } 2645 } 2646 impl ::std::convert::From<&ITextDocument2Old> for ::windows::runtime::IUnknown { from(value: &ITextDocument2Old) -> Self2647 fn from(value: &ITextDocument2Old) -> Self { 2648 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2649 } 2650 } 2651 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2652 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2653 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2654 } 2655 } 2656 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2657 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2658 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2659 } 2660 } 2661 impl ::std::convert::From<ITextDocument2Old> for ITextDocument { from(value: ITextDocument2Old) -> Self2662 fn from(value: ITextDocument2Old) -> Self { 2663 unsafe { ::std::mem::transmute(value) } 2664 } 2665 } 2666 impl ::std::convert::From<&ITextDocument2Old> for ITextDocument { from(value: &ITextDocument2Old) -> Self2667 fn from(value: &ITextDocument2Old) -> Self { 2668 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2669 } 2670 } 2671 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2672 fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> { 2673 ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(self)) 2674 } 2675 } 2676 impl<'a> ::windows::runtime::IntoParam<'a, ITextDocument> for &ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, ITextDocument>2677 fn into_param(self) -> ::windows::runtime::Param<'a, ITextDocument> { 2678 ::windows::runtime::Param::Owned(::std::convert::Into::<ITextDocument>::into(::std::clone::Clone::clone(self))) 2679 } 2680 } 2681 #[cfg(feature = "Win32_System_Ole_Automation")] 2682 impl ::std::convert::From<ITextDocument2Old> for super::super::super::System::Ole::Automation::IDispatch { from(value: ITextDocument2Old) -> Self2683 fn from(value: ITextDocument2Old) -> Self { 2684 unsafe { ::std::mem::transmute(value) } 2685 } 2686 } 2687 #[cfg(feature = "Win32_System_Ole_Automation")] 2688 impl ::std::convert::From<&ITextDocument2Old> for super::super::super::System::Ole::Automation::IDispatch { from(value: &ITextDocument2Old) -> Self2689 fn from(value: &ITextDocument2Old) -> Self { 2690 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2691 } 2692 } 2693 #[cfg(feature = "Win32_System_Ole_Automation")] 2694 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2695 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2696 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self)) 2697 } 2698 } 2699 #[cfg(feature = "Win32_System_Ole_Automation")] 2700 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextDocument2Old { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>2701 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 2702 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 2703 } 2704 } 2705 #[repr(C)] 2706 #[doc(hidden)] 2707 pub struct ITextDocument2Old_abi( 2708 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2709 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2710 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 2711 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 2712 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2713 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 2714 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 2715 #[cfg(not(feature = "Win32_Foundation"))] usize, 2716 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 2717 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 2718 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2719 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 2720 #[cfg(not(feature = "Win32_Foundation"))] usize, 2721 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2722 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2723 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppstories: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2724 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 2725 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT, 2726 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 2727 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 2728 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2729 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2730 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2731 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *const ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, flags: i32, codepage: i32) -> ::windows::runtime::HRESULT, 2732 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 2733 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2734 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2735 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2736 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2737 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2738 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, count: i32, pcount: *mut i32) -> ::windows::runtime::HRESULT, 2739 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cpactive: i32, cpanchor: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2740 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, x: i32, y: i32, pprange: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2741 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfilter: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2742 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, cr: u32) -> ::windows::runtime::HRESULT, 2743 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, index: i32, pcr: *mut u32) -> ::windows::runtime::HRESULT, 2744 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcarettype: *mut i32) -> ::windows::runtime::HRESULT, 2745 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, carettype: i32) -> ::windows::runtime::HRESULT, 2746 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcontext: *mut i64) -> ::windows::runtime::HRESULT, 2747 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, context: i64) -> ::windows::runtime::HRESULT, 2748 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>, ppitchandfamily: *mut i32, pnewfontsize: *mut i32) -> ::windows::runtime::HRESULT, 2749 #[cfg(not(feature = "Win32_Foundation"))] usize, 2750 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmode: *mut i32) -> ::windows::runtime::HRESULT, 2751 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: i32) -> ::windows::runtime::HRESULT, 2752 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, r#type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32) -> ::windows::runtime::HRESULT, 2753 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppsel: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2754 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut i32) -> ::windows::runtime::HRESULT, 2755 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pflags: *mut i32) -> ::windows::runtime::HRESULT, 2756 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2757 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cch: i32, pcch: *const i32) -> ::windows::runtime::HRESULT, 2758 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 2759 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2760 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, mode: i32) -> ::windows::runtime::HRESULT, 2761 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, notify: i32) -> ::windows::runtime::HRESULT, 2762 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppitextfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2763 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppitextpara: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2764 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppvoid: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2765 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvoid: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 2766 ); 2767 #[repr(transparent)] 2768 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 2769 pub struct ITextFont(::windows::runtime::IUnknown); 2770 impl ITextFont { GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont>2771 pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont> { 2772 let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2773 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__) 2774 } SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>2775 pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> { 2776 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok() 2777 } CanChange(&self) -> ::windows::runtime::Result<i32>2778 pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> { 2779 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2780 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2781 } IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32>2782 pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32> { 2783 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2784 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pfont.into_param().abi(), &mut result__).from_abi::<i32>(result__) 2785 } Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()>2786 pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()> { 2787 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2788 } GetStyle(&self) -> ::windows::runtime::Result<i32>2789 pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> { 2790 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2791 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2792 } SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>2793 pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> { 2794 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2795 } GetAllCaps(&self) -> ::windows::runtime::Result<i32>2796 pub unsafe fn GetAllCaps(&self) -> ::windows::runtime::Result<i32> { 2797 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2798 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2799 } SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()>2800 pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()> { 2801 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2802 } GetAnimation(&self) -> ::windows::runtime::Result<i32>2803 pub unsafe fn GetAnimation(&self) -> ::windows::runtime::Result<i32> { 2804 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2805 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2806 } SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()>2807 pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()> { 2808 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2809 } GetBackColor(&self) -> ::windows::runtime::Result<i32>2810 pub unsafe fn GetBackColor(&self) -> ::windows::runtime::Result<i32> { 2811 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2812 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2813 } SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()>2814 pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()> { 2815 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2816 } GetBold(&self) -> ::windows::runtime::Result<i32>2817 pub unsafe fn GetBold(&self) -> ::windows::runtime::Result<i32> { 2818 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2819 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2820 } SetBold(&self, value: i32) -> ::windows::runtime::Result<()>2821 pub unsafe fn SetBold(&self, value: i32) -> ::windows::runtime::Result<()> { 2822 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2823 } GetEmboss(&self) -> ::windows::runtime::Result<i32>2824 pub unsafe fn GetEmboss(&self) -> ::windows::runtime::Result<i32> { 2825 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2826 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2827 } SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()>2828 pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()> { 2829 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2830 } GetForeColor(&self) -> ::windows::runtime::Result<i32>2831 pub unsafe fn GetForeColor(&self) -> ::windows::runtime::Result<i32> { 2832 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2833 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2834 } SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()>2835 pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()> { 2836 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2837 } GetHidden(&self) -> ::windows::runtime::Result<i32>2838 pub unsafe fn GetHidden(&self) -> ::windows::runtime::Result<i32> { 2839 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2840 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2841 } SetHidden(&self, value: i32) -> ::windows::runtime::Result<()>2842 pub unsafe fn SetHidden(&self, value: i32) -> ::windows::runtime::Result<()> { 2843 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2844 } GetEngrave(&self) -> ::windows::runtime::Result<i32>2845 pub unsafe fn GetEngrave(&self) -> ::windows::runtime::Result<i32> { 2846 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2847 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2848 } SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()>2849 pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()> { 2850 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2851 } GetItalic(&self) -> ::windows::runtime::Result<i32>2852 pub unsafe fn GetItalic(&self) -> ::windows::runtime::Result<i32> { 2853 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2854 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2855 } SetItalic(&self, value: i32) -> ::windows::runtime::Result<()>2856 pub unsafe fn SetItalic(&self, value: i32) -> ::windows::runtime::Result<()> { 2857 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2858 } GetKerning(&self) -> ::windows::runtime::Result<f32>2859 pub unsafe fn GetKerning(&self) -> ::windows::runtime::Result<f32> { 2860 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2861 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2862 } SetKerning(&self, value: f32) -> ::windows::runtime::Result<()>2863 pub unsafe fn SetKerning(&self, value: f32) -> ::windows::runtime::Result<()> { 2864 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2865 } GetLanguageID(&self) -> ::windows::runtime::Result<i32>2866 pub unsafe fn GetLanguageID(&self) -> ::windows::runtime::Result<i32> { 2867 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2868 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2869 } SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()>2870 pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()> { 2871 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2872 } 2873 #[cfg(feature = "Win32_Foundation")] GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>2874 pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 2875 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2876 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 2877 } 2878 #[cfg(feature = "Win32_Foundation")] SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>2879 pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> { 2880 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok() 2881 } GetOutline(&self) -> ::windows::runtime::Result<i32>2882 pub unsafe fn GetOutline(&self) -> ::windows::runtime::Result<i32> { 2883 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2884 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2885 } SetOutline(&self, value: i32) -> ::windows::runtime::Result<()>2886 pub unsafe fn SetOutline(&self, value: i32) -> ::windows::runtime::Result<()> { 2887 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2888 } GetPosition(&self) -> ::windows::runtime::Result<f32>2889 pub unsafe fn GetPosition(&self) -> ::windows::runtime::Result<f32> { 2890 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2891 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2892 } SetPosition(&self, value: f32) -> ::windows::runtime::Result<()>2893 pub unsafe fn SetPosition(&self, value: f32) -> ::windows::runtime::Result<()> { 2894 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2895 } GetProtected(&self) -> ::windows::runtime::Result<i32>2896 pub unsafe fn GetProtected(&self) -> ::windows::runtime::Result<i32> { 2897 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2898 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2899 } SetProtected(&self, value: i32) -> ::windows::runtime::Result<()>2900 pub unsafe fn SetProtected(&self, value: i32) -> ::windows::runtime::Result<()> { 2901 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2902 } GetShadow(&self) -> ::windows::runtime::Result<i32>2903 pub unsafe fn GetShadow(&self) -> ::windows::runtime::Result<i32> { 2904 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2905 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2906 } SetShadow(&self, value: i32) -> ::windows::runtime::Result<()>2907 pub unsafe fn SetShadow(&self, value: i32) -> ::windows::runtime::Result<()> { 2908 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2909 } GetSize(&self) -> ::windows::runtime::Result<f32>2910 pub unsafe fn GetSize(&self) -> ::windows::runtime::Result<f32> { 2911 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2912 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2913 } SetSize(&self, value: f32) -> ::windows::runtime::Result<()>2914 pub unsafe fn SetSize(&self, value: f32) -> ::windows::runtime::Result<()> { 2915 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2916 } GetSmallCaps(&self) -> ::windows::runtime::Result<i32>2917 pub unsafe fn GetSmallCaps(&self) -> ::windows::runtime::Result<i32> { 2918 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2919 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2920 } SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()>2921 pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()> { 2922 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2923 } GetSpacing(&self) -> ::windows::runtime::Result<f32>2924 pub unsafe fn GetSpacing(&self) -> ::windows::runtime::Result<f32> { 2925 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2926 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 2927 } SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()>2928 pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()> { 2929 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2930 } GetStrikeThrough(&self) -> ::windows::runtime::Result<i32>2931 pub unsafe fn GetStrikeThrough(&self) -> ::windows::runtime::Result<i32> { 2932 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2933 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2934 } SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()>2935 pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()> { 2936 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2937 } GetSubscript(&self) -> ::windows::runtime::Result<i32>2938 pub unsafe fn GetSubscript(&self) -> ::windows::runtime::Result<i32> { 2939 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2940 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2941 } SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()>2942 pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()> { 2943 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2944 } GetSuperscript(&self) -> ::windows::runtime::Result<i32>2945 pub unsafe fn GetSuperscript(&self) -> ::windows::runtime::Result<i32> { 2946 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2947 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2948 } SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()>2949 pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()> { 2950 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2951 } GetUnderline(&self) -> ::windows::runtime::Result<i32>2952 pub unsafe fn GetUnderline(&self) -> ::windows::runtime::Result<i32> { 2953 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2954 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2955 } SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()>2956 pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()> { 2957 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2958 } GetWeight(&self) -> ::windows::runtime::Result<i32>2959 pub unsafe fn GetWeight(&self) -> ::windows::runtime::Result<i32> { 2960 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 2961 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 2962 } SetWeight(&self, value: i32) -> ::windows::runtime::Result<()>2963 pub unsafe fn SetWeight(&self, value: i32) -> ::windows::runtime::Result<()> { 2964 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 2965 } 2966 } 2967 unsafe impl ::windows::runtime::Interface for ITextFont { 2968 type Vtable = ITextFont_abi; 2969 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2361694147, 41439, 4558, [128, 152, 0, 170, 0, 71, 190, 93]); 2970 } 2971 impl ::std::convert::From<ITextFont> for ::windows::runtime::IUnknown { from(value: ITextFont) -> Self2972 fn from(value: ITextFont) -> Self { 2973 unsafe { ::std::mem::transmute(value) } 2974 } 2975 } 2976 impl ::std::convert::From<&ITextFont> for ::windows::runtime::IUnknown { from(value: &ITextFont) -> Self2977 fn from(value: &ITextFont) -> Self { 2978 ::std::convert::From::from(::std::clone::Clone::clone(value)) 2979 } 2980 } 2981 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ITextFont { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2982 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2983 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self)) 2984 } 2985 } 2986 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ITextFont { into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2987 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> { 2988 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self))) 2989 } 2990 } 2991 #[cfg(feature = "Win32_System_Ole_Automation")] 2992 impl ::std::convert::From<ITextFont> for super::super::super::System::Ole::Automation::IDispatch { from(value: ITextFont) -> Self2993 fn from(value: ITextFont) -> Self { 2994 unsafe { ::std::mem::transmute(value) } 2995 } 2996 } 2997 #[cfg(feature = "Win32_System_Ole_Automation")] 2998 impl ::std::convert::From<&ITextFont> for super::super::super::System::Ole::Automation::IDispatch { from(value: &ITextFont) -> Self2999 fn from(value: &ITextFont) -> Self { 3000 ::std::convert::From::from(::std::clone::Clone::clone(value)) 3001 } 3002 } 3003 #[cfg(feature = "Win32_System_Ole_Automation")] 3004 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for ITextFont { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3005 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 3006 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(self)) 3007 } 3008 } 3009 #[cfg(feature = "Win32_System_Ole_Automation")] 3010 impl<'a> ::windows::runtime::IntoParam<'a, super::super::super::System::Ole::Automation::IDispatch> for &ITextFont { into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch>3011 fn into_param(self) -> ::windows::runtime::Param<'a, super::super::super::System::Ole::Automation::IDispatch> { 3012 ::windows::runtime::Param::Owned(::std::convert::Into::<super::super::super::System::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self))) 3013 } 3014 } 3015 #[repr(C)] 3016 #[doc(hidden)] 3017 pub struct ITextFont_abi( 3018 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3019 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3020 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32, 3021 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT, 3022 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itinfo: u32, lcid: u32, pptinfo: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3023 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize, 3024 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT, 3025 #[cfg(not(feature = "Win32_Foundation"))] usize, 3026 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] 3027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::super::super::System::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::super::super::System::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT, 3028 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize, 3029 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3030 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT, 3031 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3032 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfont: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3033 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: tomConstants) -> ::windows::runtime::HRESULT, 3034 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3035 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3036 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3037 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3038 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3039 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3040 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3041 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3042 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3043 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3044 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3045 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3046 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3047 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3048 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3049 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3050 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3051 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3052 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3053 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3054 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 3055 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 3056 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3057 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3058 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3059 #[cfg(not(feature = "Win32_Foundation"))] usize, 3060 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstr: ::std::mem::ManuallyDrop<super::super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT, 3061 #[cfg(not(feature = "Win32_Foundation"))] usize, 3062 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3063 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3064 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 3065 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 3066 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3067 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3068 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3069 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3070 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 3071 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 3072 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3073 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3074 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut f32) -> ::windows::runtime::HRESULT, 3075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: f32) -> ::windows::runtime::HRESULT, 3076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3077 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3078 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3079 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3080 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3081 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3082 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3083 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvalue: *mut i32) -> ::windows::runtime::HRESULT, 3085 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: i32) -> ::windows::runtime::HRESULT, 3086 ); 3087 #[repr(transparent)] 3088 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)] 3089 pub struct ITextFont2(::windows::runtime::IUnknown); 3090 impl ITextFont2 { GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>3091 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> { 3092 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3093 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__) 3094 } 3095 #[cfg(feature = "Win32_System_Ole_Automation")] GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo>3096 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::super::super::System::Ole::Automation::ITypeInfo> { 3097 let mut result__: <super::super::super::System::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3098 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::super::super::System::Ole::Automation::ITypeInfo>(result__) 3099 } 3100 #[cfg(feature = "Win32_Foundation")] GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>3101 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> { 3102 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok() 3103 } 3104 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>3105 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::super::super::System::Ole::Automation::DISPPARAMS, pvarresult: *mut super::super::super::System::Com::VARIANT, pexcepinfo: *mut super::super::super::System::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> { 3106 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok() 3107 } GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont>3108 pub unsafe fn GetDuplicate(&self) -> ::windows::runtime::Result<ITextFont> { 3109 let mut result__: <ITextFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3110 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont>(result__) 3111 } SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>3112 pub unsafe fn SetDuplicate<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> { 3113 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok() 3114 } CanChange(&self) -> ::windows::runtime::Result<i32>3115 pub unsafe fn CanChange(&self) -> ::windows::runtime::Result<i32> { 3116 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3117 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3118 } IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32>3119 pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont>>(&self, pfont: Param0) -> ::windows::runtime::Result<i32> { 3120 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3121 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pfont.into_param().abi(), &mut result__).from_abi::<i32>(result__) 3122 } Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()>3123 pub unsafe fn Reset(&self, value: tomConstants) -> ::windows::runtime::Result<()> { 3124 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3125 } GetStyle(&self) -> ::windows::runtime::Result<i32>3126 pub unsafe fn GetStyle(&self) -> ::windows::runtime::Result<i32> { 3127 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3128 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3129 } SetStyle(&self, value: i32) -> ::windows::runtime::Result<()>3130 pub unsafe fn SetStyle(&self, value: i32) -> ::windows::runtime::Result<()> { 3131 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3132 } GetAllCaps(&self) -> ::windows::runtime::Result<i32>3133 pub unsafe fn GetAllCaps(&self) -> ::windows::runtime::Result<i32> { 3134 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3135 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3136 } SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()>3137 pub unsafe fn SetAllCaps(&self, value: i32) -> ::windows::runtime::Result<()> { 3138 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3139 } GetAnimation(&self) -> ::windows::runtime::Result<i32>3140 pub unsafe fn GetAnimation(&self) -> ::windows::runtime::Result<i32> { 3141 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3142 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3143 } SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()>3144 pub unsafe fn SetAnimation(&self, value: i32) -> ::windows::runtime::Result<()> { 3145 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3146 } GetBackColor(&self) -> ::windows::runtime::Result<i32>3147 pub unsafe fn GetBackColor(&self) -> ::windows::runtime::Result<i32> { 3148 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3149 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3150 } SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()>3151 pub unsafe fn SetBackColor(&self, value: i32) -> ::windows::runtime::Result<()> { 3152 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3153 } GetBold(&self) -> ::windows::runtime::Result<i32>3154 pub unsafe fn GetBold(&self) -> ::windows::runtime::Result<i32> { 3155 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3156 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3157 } SetBold(&self, value: i32) -> ::windows::runtime::Result<()>3158 pub unsafe fn SetBold(&self, value: i32) -> ::windows::runtime::Result<()> { 3159 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3160 } GetEmboss(&self) -> ::windows::runtime::Result<i32>3161 pub unsafe fn GetEmboss(&self) -> ::windows::runtime::Result<i32> { 3162 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3163 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3164 } SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()>3165 pub unsafe fn SetEmboss(&self, value: i32) -> ::windows::runtime::Result<()> { 3166 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3167 } GetForeColor(&self) -> ::windows::runtime::Result<i32>3168 pub unsafe fn GetForeColor(&self) -> ::windows::runtime::Result<i32> { 3169 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3170 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3171 } SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()>3172 pub unsafe fn SetForeColor(&self, value: i32) -> ::windows::runtime::Result<()> { 3173 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3174 } GetHidden(&self) -> ::windows::runtime::Result<i32>3175 pub unsafe fn GetHidden(&self) -> ::windows::runtime::Result<i32> { 3176 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3177 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3178 } SetHidden(&self, value: i32) -> ::windows::runtime::Result<()>3179 pub unsafe fn SetHidden(&self, value: i32) -> ::windows::runtime::Result<()> { 3180 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3181 } GetEngrave(&self) -> ::windows::runtime::Result<i32>3182 pub unsafe fn GetEngrave(&self) -> ::windows::runtime::Result<i32> { 3183 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3184 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3185 } SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()>3186 pub unsafe fn SetEngrave(&self, value: i32) -> ::windows::runtime::Result<()> { 3187 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3188 } GetItalic(&self) -> ::windows::runtime::Result<i32>3189 pub unsafe fn GetItalic(&self) -> ::windows::runtime::Result<i32> { 3190 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3191 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3192 } SetItalic(&self, value: i32) -> ::windows::runtime::Result<()>3193 pub unsafe fn SetItalic(&self, value: i32) -> ::windows::runtime::Result<()> { 3194 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3195 } GetKerning(&self) -> ::windows::runtime::Result<f32>3196 pub unsafe fn GetKerning(&self) -> ::windows::runtime::Result<f32> { 3197 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3198 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 3199 } SetKerning(&self, value: f32) -> ::windows::runtime::Result<()>3200 pub unsafe fn SetKerning(&self, value: f32) -> ::windows::runtime::Result<()> { 3201 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3202 } GetLanguageID(&self) -> ::windows::runtime::Result<i32>3203 pub unsafe fn GetLanguageID(&self) -> ::windows::runtime::Result<i32> { 3204 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3205 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3206 } SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()>3207 pub unsafe fn SetLanguageID(&self, value: i32) -> ::windows::runtime::Result<()> { 3208 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3209 } 3210 #[cfg(feature = "Win32_Foundation")] GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR>3211 pub unsafe fn GetName(&self) -> ::windows::runtime::Result<super::super::super::Foundation::BSTR> { 3212 let mut result__: <super::super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3213 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::super::Foundation::BSTR>(result__) 3214 } 3215 #[cfg(feature = "Win32_Foundation")] SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()>3216 pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::super::Foundation::BSTR>>(&self, bstr: Param0) -> ::windows::runtime::Result<()> { 3217 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), bstr.into_param().abi()).ok() 3218 } GetOutline(&self) -> ::windows::runtime::Result<i32>3219 pub unsafe fn GetOutline(&self) -> ::windows::runtime::Result<i32> { 3220 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3221 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3222 } SetOutline(&self, value: i32) -> ::windows::runtime::Result<()>3223 pub unsafe fn SetOutline(&self, value: i32) -> ::windows::runtime::Result<()> { 3224 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3225 } GetPosition(&self) -> ::windows::runtime::Result<f32>3226 pub unsafe fn GetPosition(&self) -> ::windows::runtime::Result<f32> { 3227 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3228 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 3229 } SetPosition(&self, value: f32) -> ::windows::runtime::Result<()>3230 pub unsafe fn SetPosition(&self, value: f32) -> ::windows::runtime::Result<()> { 3231 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3232 } GetProtected(&self) -> ::windows::runtime::Result<i32>3233 pub unsafe fn GetProtected(&self) -> ::windows::runtime::Result<i32> { 3234 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3235 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3236 } SetProtected(&self, value: i32) -> ::windows::runtime::Result<()>3237 pub unsafe fn SetProtected(&self, value: i32) -> ::windows::runtime::Result<()> { 3238 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3239 } GetShadow(&self) -> ::windows::runtime::Result<i32>3240 pub unsafe fn GetShadow(&self) -> ::windows::runtime::Result<i32> { 3241 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3242 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3243 } SetShadow(&self, value: i32) -> ::windows::runtime::Result<()>3244 pub unsafe fn SetShadow(&self, value: i32) -> ::windows::runtime::Result<()> { 3245 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3246 } GetSize(&self) -> ::windows::runtime::Result<f32>3247 pub unsafe fn GetSize(&self) -> ::windows::runtime::Result<f32> { 3248 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3249 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 3250 } SetSize(&self, value: f32) -> ::windows::runtime::Result<()>3251 pub unsafe fn SetSize(&self, value: f32) -> ::windows::runtime::Result<()> { 3252 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3253 } GetSmallCaps(&self) -> ::windows::runtime::Result<i32>3254 pub unsafe fn GetSmallCaps(&self) -> ::windows::runtime::Result<i32> { 3255 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3256 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3257 } SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()>3258 pub unsafe fn SetSmallCaps(&self, value: i32) -> ::windows::runtime::Result<()> { 3259 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3260 } GetSpacing(&self) -> ::windows::runtime::Result<f32>3261 pub unsafe fn GetSpacing(&self) -> ::windows::runtime::Result<f32> { 3262 let mut result__: <f32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3263 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self), &mut result__).from_abi::<f32>(result__) 3264 } SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()>3265 pub unsafe fn SetSpacing(&self, value: f32) -> ::windows::runtime::Result<()> { 3266 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3267 } GetStrikeThrough(&self) -> ::windows::runtime::Result<i32>3268 pub unsafe fn GetStrikeThrough(&self) -> ::windows::runtime::Result<i32> { 3269 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3270 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3271 } SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()>3272 pub unsafe fn SetStrikeThrough(&self, value: i32) -> ::windows::runtime::Result<()> { 3273 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3274 } GetSubscript(&self) -> ::windows::runtime::Result<i32>3275 pub unsafe fn GetSubscript(&self) -> ::windows::runtime::Result<i32> { 3276 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3277 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3278 } SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()>3279 pub unsafe fn SetSubscript(&self, value: i32) -> ::windows::runtime::Result<()> { 3280 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3281 } GetSuperscript(&self) -> ::windows::runtime::Result<i32>3282 pub unsafe fn GetSuperscript(&self) -> ::windows::runtime::Result<i32> { 3283 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3284 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3285 } SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()>3286 pub unsafe fn SetSuperscript(&self, value: i32) -> ::windows::runtime::Result<()> { 3287 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3288 } GetUnderline(&self) -> ::windows::runtime::Result<i32>3289 pub unsafe fn GetUnderline(&self) -> ::windows::runtime::Result<i32> { 3290 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3291 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3292 } SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()>3293 pub unsafe fn SetUnderline(&self, value: i32) -> ::windows::runtime::Result<()> { 3294 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3295 } GetWeight(&self) -> ::windows::runtime::Result<i32>3296 pub unsafe fn GetWeight(&self) -> ::windows::runtime::Result<i32> { 3297 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3298 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3299 } SetWeight(&self, value: i32) -> ::windows::runtime::Result<()>3300 pub unsafe fn SetWeight(&self, value: i32) -> ::windows::runtime::Result<()> { 3301 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3302 } GetCount(&self) -> ::windows::runtime::Result<i32>3303 pub unsafe fn GetCount(&self) -> ::windows::runtime::Result<i32> { 3304 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3305 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3306 } GetAutoLigatures(&self) -> ::windows::runtime::Result<i32>3307 pub unsafe fn GetAutoLigatures(&self) -> ::windows::runtime::Result<i32> { 3308 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3309 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3310 } SetAutoLigatures(&self, value: i32) -> ::windows::runtime::Result<()>3311 pub unsafe fn SetAutoLigatures(&self, value: i32) -> ::windows::runtime::Result<()> { 3312 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3313 } GetAutospaceAlpha(&self) -> ::windows::runtime::Result<i32>3314 pub unsafe fn GetAutospaceAlpha(&self) -> ::windows::runtime::Result<i32> { 3315 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3316 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3317 } SetAutospaceAlpha(&self, value: i32) -> ::windows::runtime::Result<()>3318 pub unsafe fn SetAutospaceAlpha(&self, value: i32) -> ::windows::runtime::Result<()> { 3319 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3320 } GetAutospaceNumeric(&self) -> ::windows::runtime::Result<i32>3321 pub unsafe fn GetAutospaceNumeric(&self) -> ::windows::runtime::Result<i32> { 3322 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3323 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3324 } SetAutospaceNumeric(&self, value: i32) -> ::windows::runtime::Result<()>3325 pub unsafe fn SetAutospaceNumeric(&self, value: i32) -> ::windows::runtime::Result<()> { 3326 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3327 } GetAutospaceParens(&self) -> ::windows::runtime::Result<i32>3328 pub unsafe fn GetAutospaceParens(&self) -> ::windows::runtime::Result<i32> { 3329 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3330 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3331 } SetAutospaceParens(&self, value: i32) -> ::windows::runtime::Result<()>3332 pub unsafe fn SetAutospaceParens(&self, value: i32) -> ::windows::runtime::Result<()> { 3333 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3334 } GetCharRep(&self) -> ::windows::runtime::Result<i32>3335 pub unsafe fn GetCharRep(&self) -> ::windows::runtime::Result<i32> { 3336 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3337 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3338 } SetCharRep(&self, value: i32) -> ::windows::runtime::Result<()>3339 pub unsafe fn SetCharRep(&self, value: i32) -> ::windows::runtime::Result<()> { 3340 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3341 } GetCompressionMode(&self) -> ::windows::runtime::Result<i32>3342 pub unsafe fn GetCompressionMode(&self) -> ::windows::runtime::Result<i32> { 3343 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3344 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3345 } SetCompressionMode(&self, value: i32) -> ::windows::runtime::Result<()>3346 pub unsafe fn SetCompressionMode(&self, value: i32) -> ::windows::runtime::Result<()> { 3347 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3348 } GetCookie(&self) -> ::windows::runtime::Result<i32>3349 pub unsafe fn GetCookie(&self) -> ::windows::runtime::Result<i32> { 3350 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3351 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3352 } SetCookie(&self, value: i32) -> ::windows::runtime::Result<()>3353 pub unsafe fn SetCookie(&self, value: i32) -> ::windows::runtime::Result<()> { 3354 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3355 } GetDoubleStrike(&self) -> ::windows::runtime::Result<i32>3356 pub unsafe fn GetDoubleStrike(&self) -> ::windows::runtime::Result<i32> { 3357 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3358 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3359 } SetDoubleStrike(&self, value: i32) -> ::windows::runtime::Result<()>3360 pub unsafe fn SetDoubleStrike(&self, value: i32) -> ::windows::runtime::Result<()> { 3361 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3362 } GetDuplicate2(&self) -> ::windows::runtime::Result<ITextFont2>3363 pub unsafe fn GetDuplicate2(&self) -> ::windows::runtime::Result<ITextFont2> { 3364 let mut result__: <ITextFont2 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3365 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<ITextFont2>(result__) 3366 } SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()>3367 pub unsafe fn SetDuplicate2<'a, Param0: ::windows::runtime::IntoParam<'a, ITextFont2>>(&self, pfont: Param0) -> ::windows::runtime::Result<()> { 3368 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), pfont.into_param().abi()).ok() 3369 } GetLinkType(&self) -> ::windows::runtime::Result<i32>3370 pub unsafe fn GetLinkType(&self) -> ::windows::runtime::Result<i32> { 3371 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3372 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3373 } GetMathZone(&self) -> ::windows::runtime::Result<i32>3374 pub unsafe fn GetMathZone(&self) -> ::windows::runtime::Result<i32> { 3375 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3376 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3377 } SetMathZone(&self, value: i32) -> ::windows::runtime::Result<()>3378 pub unsafe fn SetMathZone(&self, value: i32) -> ::windows::runtime::Result<()> { 3379 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3380 } GetModWidthPairs(&self) -> ::windows::runtime::Result<i32>3381 pub unsafe fn GetModWidthPairs(&self) -> ::windows::runtime::Result<i32> { 3382 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed(); 3383 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__) 3384 } SetModWidthPairs(&self, value: i32) -> ::windows::runtime::Result<()>3385 pub unsafe fn SetModWidthPairs(&self, value: i32) -> ::windows::runtime::Result<()> { 3386 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), ::std::mem::transmute(value)).ok() 3387 } GetModWidthSpace(&self) -> ::windows::runtime::Result<i32>3388