1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 #[cfg(feature = "Win32_System_Ole_Automation")]
3 pub mod Automation;
4 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
5 #[repr(transparent)]
6 pub struct ACTIVATEFLAGS(pub i32);
7 pub const ACTIVATE_WINDOWLESS: ACTIVATEFLAGS = ACTIVATEFLAGS(1i32);
8 impl ::std::convert::From<i32> for ACTIVATEFLAGS {
from(value: i32) -> Self9     fn from(value: i32) -> Self {
10         Self(value)
11     }
12 }
13 unsafe impl ::windows::runtime::Abi for ACTIVATEFLAGS {
14     type Abi = Self;
15     type DefaultType = Self;
16 }
17 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
18 #[repr(C)]
19 pub struct AspectInfo {
20     pub cb: u32,
21     pub dwFlags: u32,
22 }
23 impl AspectInfo {}
24 impl ::std::default::Default for AspectInfo {
default() -> Self25     fn default() -> Self {
26         unsafe { ::std::mem::zeroed() }
27     }
28 }
29 impl ::std::fmt::Debug for AspectInfo {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result30     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
31         fmt.debug_struct("AspectInfo").field("cb", &self.cb).field("dwFlags", &self.dwFlags).finish()
32     }
33 }
34 impl ::std::cmp::PartialEq for AspectInfo {
eq(&self, other: &Self) -> bool35     fn eq(&self, other: &Self) -> bool {
36         self.cb == other.cb && self.dwFlags == other.dwFlags
37     }
38 }
39 impl ::std::cmp::Eq for AspectInfo {}
40 unsafe impl ::windows::runtime::Abi for AspectInfo {
41     type Abi = Self;
42     type DefaultType = Self;
43 }
44 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
45 #[repr(transparent)]
46 pub struct AspectInfoFlag(pub i32);
47 pub const DVASPECTINFOFLAG_CANOPTIMIZE: AspectInfoFlag = AspectInfoFlag(1i32);
48 impl ::std::convert::From<i32> for AspectInfoFlag {
from(value: i32) -> Self49     fn from(value: i32) -> Self {
50         Self(value)
51     }
52 }
53 unsafe impl ::windows::runtime::Abi for AspectInfoFlag {
54     type Abi = Self;
55     type DefaultType = Self;
56 }
57 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
58 #[repr(transparent)]
59 pub struct BINDSPEED(pub i32);
60 pub const BINDSPEED_INDEFINITE: BINDSPEED = BINDSPEED(1i32);
61 pub const BINDSPEED_MODERATE: BINDSPEED = BINDSPEED(2i32);
62 pub const BINDSPEED_IMMEDIATE: BINDSPEED = BINDSPEED(3i32);
63 impl ::std::convert::From<i32> for BINDSPEED {
from(value: i32) -> Self64     fn from(value: i32) -> Self {
65         Self(value)
66     }
67 }
68 unsafe impl ::windows::runtime::Abi for BINDSPEED {
69     type Abi = Self;
70     type DefaultType = Self;
71 }
72 pub const BZ_DISABLECANCELBUTTON: i32 = 1i32;
73 pub const BZ_DISABLERETRYBUTTON: i32 = 4i32;
74 pub const BZ_DISABLESWITCHTOBUTTON: i32 = 2i32;
75 pub const BZ_NOTRESPONDINGDIALOG: i32 = 8i32;
76 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
77 #[repr(C)]
78 pub struct CADWORD {
79     pub cElems: u32,
80     pub pElems: *mut u32,
81 }
82 impl CADWORD {}
83 impl ::std::default::Default for CADWORD {
default() -> Self84     fn default() -> Self {
85         unsafe { ::std::mem::zeroed() }
86     }
87 }
88 impl ::std::fmt::Debug for CADWORD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result89     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
90         fmt.debug_struct("CADWORD").field("cElems", &self.cElems).field("pElems", &self.pElems).finish()
91     }
92 }
93 impl ::std::cmp::PartialEq for CADWORD {
eq(&self, other: &Self) -> bool94     fn eq(&self, other: &Self) -> bool {
95         self.cElems == other.cElems && self.pElems == other.pElems
96     }
97 }
98 impl ::std::cmp::Eq for CADWORD {}
99 unsafe impl ::windows::runtime::Abi for CADWORD {
100     type Abi = Self;
101     type DefaultType = Self;
102 }
103 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
104 #[repr(C)]
105 #[cfg(feature = "Win32_Foundation")]
106 pub struct CALPOLESTR {
107     pub cElems: u32,
108     pub pElems: *mut super::super::Foundation::PWSTR,
109 }
110 #[cfg(feature = "Win32_Foundation")]
111 impl CALPOLESTR {}
112 #[cfg(feature = "Win32_Foundation")]
113 impl ::std::default::Default for CALPOLESTR {
default() -> Self114     fn default() -> Self {
115         unsafe { ::std::mem::zeroed() }
116     }
117 }
118 #[cfg(feature = "Win32_Foundation")]
119 impl ::std::fmt::Debug for CALPOLESTR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result120     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
121         fmt.debug_struct("CALPOLESTR").field("cElems", &self.cElems).field("pElems", &self.pElems).finish()
122     }
123 }
124 #[cfg(feature = "Win32_Foundation")]
125 impl ::std::cmp::PartialEq for CALPOLESTR {
eq(&self, other: &Self) -> bool126     fn eq(&self, other: &Self) -> bool {
127         self.cElems == other.cElems && self.pElems == other.pElems
128     }
129 }
130 #[cfg(feature = "Win32_Foundation")]
131 impl ::std::cmp::Eq for CALPOLESTR {}
132 #[cfg(feature = "Win32_Foundation")]
133 unsafe impl ::windows::runtime::Abi for CALPOLESTR {
134     type Abi = Self;
135     type DefaultType = Self;
136 }
137 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
138 #[repr(C)]
139 pub struct CAUUID {
140     pub cElems: u32,
141     pub pElems: *mut ::windows::runtime::GUID,
142 }
143 impl CAUUID {}
144 impl ::std::default::Default for CAUUID {
default() -> Self145     fn default() -> Self {
146         unsafe { ::std::mem::zeroed() }
147     }
148 }
149 impl ::std::fmt::Debug for CAUUID {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result150     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
151         fmt.debug_struct("CAUUID").field("cElems", &self.cElems).field("pElems", &self.pElems).finish()
152     }
153 }
154 impl ::std::cmp::PartialEq for CAUUID {
eq(&self, other: &Self) -> bool155     fn eq(&self, other: &Self) -> bool {
156         self.cElems == other.cElems && self.pElems == other.pElems
157     }
158 }
159 impl ::std::cmp::Eq for CAUUID {}
160 unsafe impl ::windows::runtime::Abi for CAUUID {
161     type Abi = Self;
162     type DefaultType = Self;
163 }
164 pub const CF_CONVERTONLY: i32 = 256i32;
165 pub const CF_DISABLEACTIVATEAS: i32 = 64i32;
166 pub const CF_DISABLEDISPLAYASICON: i32 = 32i32;
167 pub const CF_HIDECHANGEICON: i32 = 128i32;
168 pub const CF_SELECTACTIVATEAS: i32 = 16i32;
169 pub const CF_SELECTCONVERTTO: i32 = 8i32;
170 pub const CF_SETACTIVATEDEFAULT: i32 = 4i32;
171 pub const CF_SETCONVERTDEFAULT: i32 = 2i32;
172 pub const CF_SHOWHELPBUTTON: i32 = 1i32;
173 pub const CIF_SELECTCURRENT: i32 = 2i32;
174 pub const CIF_SELECTDEFAULT: i32 = 4i32;
175 pub const CIF_SELECTFROMFILE: i32 = 8i32;
176 pub const CIF_SHOWHELP: i32 = 1i32;
177 pub const CIF_USEICONEXE: i32 = 16i32;
178 pub const CLSID_CColorPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(199447041, 36753, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
179 pub const CLSID_CFontPropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(199447040, 36753, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
180 pub const CLSID_CPicturePropPage: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(199447042, 36753, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
181 pub const CLSID_ConvertVBX: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4220454946, 356, 4123, [132, 237, 8, 0, 43, 46, 199, 19]);
182 pub const CLSID_PersistPropset: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4220454945, 356, 4123, [132, 237, 8, 0, 43, 46, 199, 19]);
183 pub const CLSID_StdFont: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(199447043, 36753, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
184 pub const CLSID_StdPicture: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(199447044, 36753, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
185 pub const CONNECT_E_ADVISELIMIT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220991i32 as _);
186 pub const CONNECT_E_CANNOTCONNECT: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220990i32 as _);
187 pub const CONNECT_E_FIRST: i32 = -2147220992i32;
188 pub const CONNECT_E_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220977i32 as _);
189 pub const CONNECT_E_NOCONNECTION: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220992i32 as _);
190 pub const CONNECT_E_OVERRIDDEN: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220989i32 as _);
191 pub const CONNECT_S_FIRST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262656i32 as _);
192 pub const CONNECT_S_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262671i32 as _);
193 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
194 #[repr(C)]
195 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
196 pub struct CONTROLINFO {
197     pub cb: u32,
198     pub hAccel: super::super::UI::WindowsAndMessaging::HACCEL,
199     pub cAccel: u16,
200     pub dwFlags: u32,
201 }
202 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
203 impl CONTROLINFO {}
204 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
205 impl ::std::default::Default for CONTROLINFO {
default() -> Self206     fn default() -> Self {
207         unsafe { ::std::mem::zeroed() }
208     }
209 }
210 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
211 impl ::std::fmt::Debug for CONTROLINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result212     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
213         fmt.debug_struct("CONTROLINFO").field("cb", &self.cb).field("hAccel", &self.hAccel).field("cAccel", &self.cAccel).field("dwFlags", &self.dwFlags).finish()
214     }
215 }
216 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
217 impl ::std::cmp::PartialEq for CONTROLINFO {
eq(&self, other: &Self) -> bool218     fn eq(&self, other: &Self) -> bool {
219         self.cb == other.cb && self.hAccel == other.hAccel && self.cAccel == other.cAccel && self.dwFlags == other.dwFlags
220     }
221 }
222 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
223 impl ::std::cmp::Eq for CONTROLINFO {}
224 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
225 unsafe impl ::windows::runtime::Abi for CONTROLINFO {
226     type Abi = Self;
227     type DefaultType = Self;
228 }
229 pub const CSF_EXPLORER: i32 = 8i32;
230 pub const CSF_ONLYGETSOURCE: i32 = 4i32;
231 pub const CSF_SHOWHELP: i32 = 1i32;
232 pub const CSF_VALIDSOURCE: i32 = 2i32;
233 pub const CTL_E_ILLEGALFUNCTIONCALL: i32 = -2146828283i32;
234 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
235 #[repr(transparent)]
236 pub struct CTRLINFO(pub i32);
237 pub const CTRLINFO_EATS_RETURN: CTRLINFO = CTRLINFO(1i32);
238 pub const CTRLINFO_EATS_ESCAPE: CTRLINFO = CTRLINFO(2i32);
239 impl ::std::convert::From<i32> for CTRLINFO {
from(value: i32) -> Self240     fn from(value: i32) -> Self {
241         Self(value)
242     }
243 }
244 unsafe impl ::windows::runtime::Abi for CTRLINFO {
245     type Abi = Self;
246     type DefaultType = Self;
247 }
248 #[inline]
CreateOleAdviseHolder() -> ::windows::runtime::Result<IOleAdviseHolder>249 pub unsafe fn CreateOleAdviseHolder() -> ::windows::runtime::Result<IOleAdviseHolder> {
250     #[cfg(windows)]
251     {
252         #[link(name = "windows")]
253         extern "system" {
254             fn CreateOleAdviseHolder(ppoaholder: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
255         }
256         let mut result__: <IOleAdviseHolder as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
257         CreateOleAdviseHolder(&mut result__).from_abi::<IOleAdviseHolder>(result__)
258     }
259     #[cfg(not(windows))]
260     unimplemented!("Unsupported target OS");
261 }
262 pub const DD_DEFDRAGDELAY: u32 = 200u32;
263 pub const DD_DEFDRAGMINDIST: u32 = 2u32;
264 pub const DD_DEFSCROLLDELAY: u32 = 50u32;
265 pub const DD_DEFSCROLLINSET: u32 = 11u32;
266 pub const DD_DEFSCROLLINTERVAL: u32 = 50u32;
267 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
268 #[repr(transparent)]
269 pub struct DISCARDCACHE(pub i32);
270 pub const DISCARDCACHE_SAVEIFDIRTY: DISCARDCACHE = DISCARDCACHE(0i32);
271 pub const DISCARDCACHE_NOSAVE: DISCARDCACHE = DISCARDCACHE(1i32);
272 impl ::std::convert::From<i32> for DISCARDCACHE {
from(value: i32) -> Self273     fn from(value: i32) -> Self {
274         Self(value)
275     }
276 }
277 unsafe impl ::windows::runtime::Abi for DISCARDCACHE {
278     type Abi = Self;
279     type DefaultType = Self;
280 }
281 pub const DISPID_ABOUTBOX: i32 = -552i32;
282 pub const DISPID_ACCELERATOR: i32 = -543i32;
283 pub const DISPID_ADDITEM: i32 = -553i32;
284 pub const DISPID_AMBIENT_APPEARANCE: i32 = -716i32;
285 pub const DISPID_AMBIENT_AUTOCLIP: i32 = -715i32;
286 pub const DISPID_AMBIENT_BACKCOLOR: i32 = -701i32;
287 pub const DISPID_AMBIENT_CHARSET: i32 = -727i32;
288 pub const DISPID_AMBIENT_CODEPAGE: i32 = -725i32;
289 pub const DISPID_AMBIENT_DISPLAYASDEFAULT: i32 = -713i32;
290 pub const DISPID_AMBIENT_DISPLAYNAME: i32 = -702i32;
291 pub const DISPID_AMBIENT_FONT: i32 = -703i32;
292 pub const DISPID_AMBIENT_FORECOLOR: i32 = -704i32;
293 pub const DISPID_AMBIENT_LOCALEID: i32 = -705i32;
294 pub const DISPID_AMBIENT_MESSAGEREFLECT: i32 = -706i32;
295 pub const DISPID_AMBIENT_PALETTE: i32 = -726i32;
296 pub const DISPID_AMBIENT_RIGHTTOLEFT: i32 = -732i32;
297 pub const DISPID_AMBIENT_SCALEUNITS: i32 = -707i32;
298 pub const DISPID_AMBIENT_SHOWGRABHANDLES: i32 = -711i32;
299 pub const DISPID_AMBIENT_SHOWHATCHING: i32 = -712i32;
300 pub const DISPID_AMBIENT_SUPPORTSMNEMONICS: i32 = -714i32;
301 pub const DISPID_AMBIENT_TEXTALIGN: i32 = -708i32;
302 pub const DISPID_AMBIENT_TOPTOBOTTOM: i32 = -733i32;
303 pub const DISPID_AMBIENT_TRANSFERPRIORITY: i32 = -728i32;
304 pub const DISPID_AMBIENT_UIDEAD: i32 = -710i32;
305 pub const DISPID_AMBIENT_USERMODE: i32 = -709i32;
306 pub const DISPID_APPEARANCE: i32 = -520i32;
307 pub const DISPID_AUTOSIZE: i32 = -500i32;
308 pub const DISPID_BACKCOLOR: i32 = -501i32;
309 pub const DISPID_BACKSTYLE: i32 = -502i32;
310 pub const DISPID_BORDERCOLOR: i32 = -503i32;
311 pub const DISPID_BORDERSTYLE: i32 = -504i32;
312 pub const DISPID_BORDERVISIBLE: i32 = -519i32;
313 pub const DISPID_BORDERWIDTH: i32 = -505i32;
314 pub const DISPID_CAPTION: i32 = -518i32;
315 pub const DISPID_CLEAR: i32 = -554i32;
316 pub const DISPID_CLICK: i32 = -600i32;
317 pub const DISPID_CLICK_VALUE: i32 = -610i32;
318 pub const DISPID_COLUMN: i32 = -529i32;
319 pub const DISPID_DBLCLICK: i32 = -601i32;
320 pub const DISPID_DISPLAYSTYLE: i32 = -540i32;
321 pub const DISPID_DOCLICK: i32 = -551i32;
322 pub const DISPID_DRAWMODE: i32 = -507i32;
323 pub const DISPID_DRAWSTYLE: i32 = -508i32;
324 pub const DISPID_DRAWWIDTH: i32 = -509i32;
325 pub const DISPID_Delete: i32 = -801i32;
326 pub const DISPID_ENABLED: i32 = -514i32;
327 pub const DISPID_ENTERKEYBEHAVIOR: i32 = -544i32;
328 pub const DISPID_ERROREVENT: i32 = -608i32;
329 pub const DISPID_FILLCOLOR: i32 = -510i32;
330 pub const DISPID_FILLSTYLE: i32 = -511i32;
331 pub const DISPID_FONT: i32 = -512i32;
332 pub const DISPID_FONT_BOLD: u32 = 3u32;
333 pub const DISPID_FONT_CHANGED: u32 = 9u32;
334 pub const DISPID_FONT_CHARSET: u32 = 8u32;
335 pub const DISPID_FONT_ITALIC: u32 = 4u32;
336 pub const DISPID_FONT_NAME: u32 = 0u32;
337 pub const DISPID_FONT_SIZE: u32 = 2u32;
338 pub const DISPID_FONT_STRIKE: u32 = 6u32;
339 pub const DISPID_FONT_UNDER: u32 = 5u32;
340 pub const DISPID_FONT_WEIGHT: u32 = 7u32;
341 pub const DISPID_FORECOLOR: i32 = -513i32;
342 pub const DISPID_GROUPNAME: i32 = -541i32;
343 pub const DISPID_HWND: i32 = -515i32;
344 pub const DISPID_IMEMODE: i32 = -542i32;
345 pub const DISPID_KEYDOWN: i32 = -602i32;
346 pub const DISPID_KEYPRESS: i32 = -603i32;
347 pub const DISPID_KEYUP: i32 = -604i32;
348 pub const DISPID_LIST: i32 = -528i32;
349 pub const DISPID_LISTCOUNT: i32 = -531i32;
350 pub const DISPID_LISTINDEX: i32 = -526i32;
351 pub const DISPID_MAXLENGTH: i32 = -533i32;
352 pub const DISPID_MOUSEDOWN: i32 = -605i32;
353 pub const DISPID_MOUSEICON: i32 = -522i32;
354 pub const DISPID_MOUSEMOVE: i32 = -606i32;
355 pub const DISPID_MOUSEPOINTER: i32 = -521i32;
356 pub const DISPID_MOUSEUP: i32 = -607i32;
357 pub const DISPID_MULTILINE: i32 = -537i32;
358 pub const DISPID_MULTISELECT: i32 = -532i32;
359 pub const DISPID_NUMBEROFCOLUMNS: i32 = -539i32;
360 pub const DISPID_NUMBEROFROWS: i32 = -538i32;
361 pub const DISPID_Name: i32 = -800i32;
362 pub const DISPID_Object: i32 = -802i32;
363 pub const DISPID_PASSWORDCHAR: i32 = -534i32;
364 pub const DISPID_PICTURE: i32 = -523i32;
365 pub const DISPID_PICT_HANDLE: u32 = 0u32;
366 pub const DISPID_PICT_HEIGHT: u32 = 5u32;
367 pub const DISPID_PICT_HPAL: u32 = 2u32;
368 pub const DISPID_PICT_RENDER: u32 = 6u32;
369 pub const DISPID_PICT_TYPE: u32 = 3u32;
370 pub const DISPID_PICT_WIDTH: u32 = 4u32;
371 pub const DISPID_Parent: i32 = -803i32;
372 pub const DISPID_READYSTATE: i32 = -525i32;
373 pub const DISPID_READYSTATECHANGE: i32 = -609i32;
374 pub const DISPID_REFRESH: i32 = -550i32;
375 pub const DISPID_REMOVEITEM: i32 = -555i32;
376 pub const DISPID_RIGHTTOLEFT: i32 = -611i32;
377 pub const DISPID_SCROLLBARS: i32 = -535i32;
378 pub const DISPID_SELECTED: i32 = -527i32;
379 pub const DISPID_SELLENGTH: i32 = -548i32;
380 pub const DISPID_SELSTART: i32 = -547i32;
381 pub const DISPID_SELTEXT: i32 = -546i32;
382 pub const DISPID_TABKEYBEHAVIOR: i32 = -545i32;
383 pub const DISPID_TABSTOP: i32 = -516i32;
384 pub const DISPID_TEXT: i32 = -517i32;
385 pub const DISPID_TOPTOBOTTOM: i32 = -612i32;
386 pub const DISPID_VALID: i32 = -524i32;
387 pub const DISPID_WORDWRAP: i32 = -536i32;
388 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
389 #[repr(transparent)]
390 pub struct DOCMISC(pub i32);
391 pub const DOCMISC_CANCREATEMULTIPLEVIEWS: DOCMISC = DOCMISC(1i32);
392 pub const DOCMISC_SUPPORTCOMPLEXRECTANGLES: DOCMISC = DOCMISC(2i32);
393 pub const DOCMISC_CANTOPENEDIT: DOCMISC = DOCMISC(4i32);
394 pub const DOCMISC_NOFILESUPPORT: DOCMISC = DOCMISC(8i32);
395 impl ::std::convert::From<i32> for DOCMISC {
from(value: i32) -> Self396     fn from(value: i32) -> Self {
397         Self(value)
398     }
399 }
400 unsafe impl ::windows::runtime::Abi for DOCMISC {
401     type Abi = Self;
402     type DefaultType = Self;
403 }
404 pub const DROPEFFECT_COPY: u32 = 1u32;
405 pub const DROPEFFECT_LINK: u32 = 4u32;
406 pub const DROPEFFECT_MOVE: u32 = 2u32;
407 pub const DROPEFFECT_NONE: u32 = 0u32;
408 pub const DROPEFFECT_SCROLL: u32 = 2147483648u32;
409 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
410 #[repr(transparent)]
411 pub struct DVASPECT2(pub i32);
412 pub const DVASPECT_OPAQUE: DVASPECT2 = DVASPECT2(16i32);
413 pub const DVASPECT_TRANSPARENT: DVASPECT2 = DVASPECT2(32i32);
414 impl ::std::convert::From<i32> for DVASPECT2 {
from(value: i32) -> Self415     fn from(value: i32) -> Self {
416         Self(value)
417     }
418 }
419 unsafe impl ::windows::runtime::Abi for DVASPECT2 {
420     type Abi = Self;
421     type DefaultType = Self;
422 }
423 #[cfg(feature = "Win32_System_Com")]
424 #[inline]
DoDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param1: ::windows::runtime::IntoParam<'a, IDropSource>>(pdataobj: Param0, pdropsource: Param1, dwokeffects: u32, pdweffect: *mut u32) -> ::windows::runtime::HRESULT425 pub unsafe fn DoDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param1: ::windows::runtime::IntoParam<'a, IDropSource>>(pdataobj: Param0, pdropsource: Param1, dwokeffects: u32, pdweffect: *mut u32) -> ::windows::runtime::HRESULT {
426     #[cfg(windows)]
427     {
428         #[link(name = "windows")]
429         extern "system" {
430             fn DoDragDrop(pdataobj: ::windows::runtime::RawPtr, pdropsource: ::windows::runtime::RawPtr, dwokeffects: u32, pdweffect: *mut u32) -> ::windows::runtime::HRESULT;
431         }
432         ::std::mem::transmute(DoDragDrop(pdataobj.into_param().abi(), pdropsource.into_param().abi(), ::std::mem::transmute(dwokeffects), ::std::mem::transmute(pdweffect)))
433     }
434     #[cfg(not(windows))]
435     unimplemented!("Unsupported target OS");
436 }
437 pub const ELF_DISABLECANCELLINK: i32 = 16i32;
438 pub const ELF_DISABLECHANGESOURCE: i32 = 8i32;
439 pub const ELF_DISABLEOPENSOURCE: i32 = 4i32;
440 pub const ELF_DISABLEUPDATENOW: i32 = 2i32;
441 pub const ELF_SHOWHELP: i32 = 1i32;
442 pub const EMBDHLP_CREATENOW: i32 = 0i32;
443 pub const EMBDHLP_DELAYCREATE: i32 = 65536i32;
444 pub const EMBDHLP_INPROC_HANDLER: i32 = 0i32;
445 pub const EMBDHLP_INPROC_SERVER: i32 = 1i32;
446 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
447 #[repr(transparent)]
448 pub struct ENUM_CONTROLS_WHICH_FLAGS(pub u32);
449 pub const GCW_WCH_SIBLING: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(1u32);
450 pub const GC_WCH_CONTAINER: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(2u32);
451 pub const GC_WCH_CONTAINED: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(3u32);
452 pub const GC_WCH_ALL: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(4u32);
453 pub const GC_WCH_FREVERSEDIR: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(134217728u32);
454 pub const GC_WCH_FONLYAFTER: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(268435456u32);
455 pub const GC_WCH_FONLYBEFORE: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(536870912u32);
456 pub const GC_WCH_FSELECTED: ENUM_CONTROLS_WHICH_FLAGS = ENUM_CONTROLS_WHICH_FLAGS(1073741824u32);
457 impl ::std::convert::From<u32> for ENUM_CONTROLS_WHICH_FLAGS {
from(value: u32) -> Self458     fn from(value: u32) -> Self {
459         Self(value)
460     }
461 }
462 unsafe impl ::windows::runtime::Abi for ENUM_CONTROLS_WHICH_FLAGS {
463     type Abi = Self;
464     type DefaultType = Self;
465 }
466 impl ::std::ops::BitOr for ENUM_CONTROLS_WHICH_FLAGS {
467     type Output = Self;
bitor(self, rhs: Self) -> Self468     fn bitor(self, rhs: Self) -> Self {
469         Self(self.0 | rhs.0)
470     }
471 }
472 impl ::std::ops::BitAnd for ENUM_CONTROLS_WHICH_FLAGS {
473     type Output = Self;
bitand(self, rhs: Self) -> Self474     fn bitand(self, rhs: Self) -> Self {
475         Self(self.0 & rhs.0)
476     }
477 }
478 impl ::std::ops::BitOrAssign for ENUM_CONTROLS_WHICH_FLAGS {
bitor_assign(&mut self, rhs: Self)479     fn bitor_assign(&mut self, rhs: Self) {
480         self.0.bitor_assign(rhs.0)
481     }
482 }
483 impl ::std::ops::BitAndAssign for ENUM_CONTROLS_WHICH_FLAGS {
bitand_assign(&mut self, rhs: Self)484     fn bitand_assign(&mut self, rhs: Self) {
485         self.0.bitand_assign(rhs.0)
486     }
487 }
488 impl ::std::ops::Not for ENUM_CONTROLS_WHICH_FLAGS {
489     type Output = Self;
not(self) -> Self490     fn not(self) -> Self {
491         Self(self.0.not())
492     }
493 }
494 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
495 #[repr(C)]
496 #[cfg(feature = "Win32_Foundation")]
497 pub struct ExtentInfo {
498     pub cb: u32,
499     pub dwExtentMode: u32,
500     pub sizelProposed: super::super::Foundation::SIZE,
501 }
502 #[cfg(feature = "Win32_Foundation")]
503 impl ExtentInfo {}
504 #[cfg(feature = "Win32_Foundation")]
505 impl ::std::default::Default for ExtentInfo {
default() -> Self506     fn default() -> Self {
507         unsafe { ::std::mem::zeroed() }
508     }
509 }
510 #[cfg(feature = "Win32_Foundation")]
511 impl ::std::fmt::Debug for ExtentInfo {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result512     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
513         fmt.debug_struct("ExtentInfo").field("cb", &self.cb).field("dwExtentMode", &self.dwExtentMode).field("sizelProposed", &self.sizelProposed).finish()
514     }
515 }
516 #[cfg(feature = "Win32_Foundation")]
517 impl ::std::cmp::PartialEq for ExtentInfo {
eq(&self, other: &Self) -> bool518     fn eq(&self, other: &Self) -> bool {
519         self.cb == other.cb && self.dwExtentMode == other.dwExtentMode && self.sizelProposed == other.sizelProposed
520     }
521 }
522 #[cfg(feature = "Win32_Foundation")]
523 impl ::std::cmp::Eq for ExtentInfo {}
524 #[cfg(feature = "Win32_Foundation")]
525 unsafe impl ::windows::runtime::Abi for ExtentInfo {
526     type Abi = Self;
527     type DefaultType = Self;
528 }
529 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
530 #[repr(transparent)]
531 pub struct ExtentMode(pub i32);
532 pub const DVEXTENT_CONTENT: ExtentMode = ExtentMode(0i32);
533 pub const DVEXTENT_INTEGRAL: ExtentMode = ExtentMode(1i32);
534 impl ::std::convert::From<i32> for ExtentMode {
from(value: i32) -> Self535     fn from(value: i32) -> Self {
536         Self(value)
537     }
538 }
539 unsafe impl ::windows::runtime::Abi for ExtentMode {
540     type Abi = Self;
541     type DefaultType = Self;
542 }
543 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
544 #[repr(C)]
545 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
546 pub struct FONTDESC {
547     pub cbSizeofstruct: u32,
548     pub lpstrName: super::super::Foundation::PWSTR,
549     pub cySize: super::Com::CY,
550     pub sWeight: i16,
551     pub sCharset: i16,
552     pub fItalic: super::super::Foundation::BOOL,
553     pub fUnderline: super::super::Foundation::BOOL,
554     pub fStrikethrough: super::super::Foundation::BOOL,
555 }
556 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
557 impl FONTDESC {}
558 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
559 impl ::std::default::Default for FONTDESC {
default() -> Self560     fn default() -> Self {
561         unsafe { ::std::mem::zeroed() }
562     }
563 }
564 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
565 impl ::std::cmp::PartialEq for FONTDESC {
eq(&self, _other: &Self) -> bool566     fn eq(&self, _other: &Self) -> bool {
567         unimplemented!()
568     }
569 }
570 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
571 impl ::std::cmp::Eq for FONTDESC {}
572 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
573 unsafe impl ::windows::runtime::Abi for FONTDESC {
574     type Abi = Self;
575     type DefaultType = Self;
576 }
577 pub const GC_WCH_SIBLING: i32 = 1i32;
578 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
579 #[repr(transparent)]
580 pub struct GUIDKIND(pub i32);
581 pub const GUIDKIND_DEFAULT_SOURCE_DISP_IID: GUIDKIND = GUIDKIND(1i32);
582 impl ::std::convert::From<i32> for GUIDKIND {
from(value: i32) -> Self583     fn from(value: i32) -> Self {
584         Self(value)
585     }
586 }
587 unsafe impl ::windows::runtime::Abi for GUIDKIND {
588     type Abi = Self;
589     type DefaultType = Self;
590 }
591 pub const GUID_CHECKVALUEEXCLUSIVE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536076, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
592 pub const GUID_COLOR: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536065, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
593 pub const GUID_FONTBOLD: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536079, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
594 pub const GUID_FONTITALIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536080, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
595 pub const GUID_FONTNAME: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536077, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
596 pub const GUID_FONTSIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536078, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
597 pub const GUID_FONTSTRIKETHROUGH: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536082, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
598 pub const GUID_FONTUNDERSCORE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536081, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
599 pub const GUID_HANDLE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536083, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
600 pub const GUID_HIMETRIC: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536064, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
601 pub const GUID_OPTIONVALUEEXCLUSIVE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536075, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
602 pub const GUID_TRISTATE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536074, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
603 pub const GUID_XPOS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536070, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
604 pub const GUID_XPOSPIXEL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536066, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
605 pub const GUID_XSIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536072, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
606 pub const GUID_XSIZEPIXEL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536068, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
607 pub const GUID_YPOS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536071, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
608 pub const GUID_YPOSPIXEL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536067, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
609 pub const GUID_YSIZE: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536073, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
610 pub const GUID_YSIZEPIXEL: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1716536069, 48655, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
611 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
612 #[repr(transparent)]
613 pub struct HITRESULT(pub i32);
614 pub const HITRESULT_OUTSIDE: HITRESULT = HITRESULT(0i32);
615 pub const HITRESULT_TRANSPARENT: HITRESULT = HITRESULT(1i32);
616 pub const HITRESULT_CLOSE: HITRESULT = HITRESULT(2i32);
617 pub const HITRESULT_HIT: HITRESULT = HITRESULT(3i32);
618 impl ::std::convert::From<i32> for HITRESULT {
from(value: i32) -> Self619     fn from(value: i32) -> Self {
620         Self(value)
621     }
622 }
623 unsafe impl ::windows::runtime::Abi for HITRESULT {
624     type Abi = Self;
625     type DefaultType = Self;
626 }
627 #[cfg(feature = "Win32_Graphics_Gdi")]
628 #[inline]
HRGN_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN)629 pub unsafe fn HRGN_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN) {
630     #[cfg(windows)]
631     {
632         #[link(name = "windows")]
633         extern "system" {
634             fn HRGN_UserFree(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN);
635         }
636         ::std::mem::transmute(HRGN_UserFree(::std::mem::transmute(param0), ::std::mem::transmute(param1)))
637     }
638     #[cfg(not(windows))]
639     unimplemented!("Unsupported target OS");
640 }
641 #[cfg(feature = "Win32_Graphics_Gdi")]
642 #[inline]
HRGN_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN)643 pub unsafe fn HRGN_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN) {
644     #[cfg(windows)]
645     {
646         #[link(name = "windows")]
647         extern "system" {
648             fn HRGN_UserFree64(param0: *const u32, param1: *const super::super::Graphics::Gdi::HRGN);
649         }
650         ::std::mem::transmute(HRGN_UserFree64(::std::mem::transmute(param0), ::std::mem::transmute(param1)))
651     }
652     #[cfg(not(windows))]
653     unimplemented!("Unsupported target OS");
654 }
655 #[cfg(feature = "Win32_Graphics_Gdi")]
656 #[inline]
HRGN_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8657 pub unsafe fn HRGN_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8 {
658     #[cfg(windows)]
659     {
660         #[link(name = "windows")]
661         extern "system" {
662             fn HRGN_UserMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8;
663         }
664         ::std::mem::transmute(HRGN_UserMarshal(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
665     }
666     #[cfg(not(windows))]
667     unimplemented!("Unsupported target OS");
668 }
669 #[cfg(feature = "Win32_Graphics_Gdi")]
670 #[inline]
HRGN_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8671 pub unsafe fn HRGN_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8 {
672     #[cfg(windows)]
673     {
674         #[link(name = "windows")]
675         extern "system" {
676             fn HRGN_UserMarshal64(param0: *const u32, param1: *mut u8, param2: *const super::super::Graphics::Gdi::HRGN) -> *mut u8;
677         }
678         ::std::mem::transmute(HRGN_UserMarshal64(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
679     }
680     #[cfg(not(windows))]
681     unimplemented!("Unsupported target OS");
682 }
683 #[cfg(feature = "Win32_Graphics_Gdi")]
684 #[inline]
HRGN_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32685 pub unsafe fn HRGN_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32 {
686     #[cfg(windows)]
687     {
688         #[link(name = "windows")]
689         extern "system" {
690             fn HRGN_UserSize(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32;
691         }
692         ::std::mem::transmute(HRGN_UserSize(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
693     }
694     #[cfg(not(windows))]
695     unimplemented!("Unsupported target OS");
696 }
697 #[cfg(feature = "Win32_Graphics_Gdi")]
698 #[inline]
HRGN_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32699 pub unsafe fn HRGN_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32 {
700     #[cfg(windows)]
701     {
702         #[link(name = "windows")]
703         extern "system" {
704             fn HRGN_UserSize64(param0: *const u32, param1: u32, param2: *const super::super::Graphics::Gdi::HRGN) -> u32;
705         }
706         ::std::mem::transmute(HRGN_UserSize64(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
707     }
708     #[cfg(not(windows))]
709     unimplemented!("Unsupported target OS");
710 }
711 #[cfg(feature = "Win32_Graphics_Gdi")]
712 #[inline]
HRGN_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8713 pub unsafe fn HRGN_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8 {
714     #[cfg(windows)]
715     {
716         #[link(name = "windows")]
717         extern "system" {
718             fn HRGN_UserUnmarshal(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8;
719         }
720         ::std::mem::transmute(HRGN_UserUnmarshal(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
721     }
722     #[cfg(not(windows))]
723     unimplemented!("Unsupported target OS");
724 }
725 #[cfg(feature = "Win32_Graphics_Gdi")]
726 #[inline]
HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8727 pub unsafe fn HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8 {
728     #[cfg(windows)]
729     {
730         #[link(name = "windows")]
731         extern "system" {
732             fn HRGN_UserUnmarshal64(param0: *const u32, param1: *const u8, param2: *mut super::super::Graphics::Gdi::HRGN) -> *mut u8;
733         }
734         ::std::mem::transmute(HRGN_UserUnmarshal64(::std::mem::transmute(param0), ::std::mem::transmute(param1), ::std::mem::transmute(param2)))
735     }
736     #[cfg(not(windows))]
737     unimplemented!("Unsupported target OS");
738 }
739 #[repr(transparent)]
740 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
741 pub struct IAdviseSinkEx(::windows::runtime::IUnknown);
742 impl IAdviseSinkEx {
743     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
OnDataChange(&self, pformatetc: *const super::Com::FORMATETC, pstgmed: *const super::Com::STGMEDIUM)744     pub unsafe fn OnDataChange(&self, pformatetc: *const super::Com::FORMATETC, pstgmed: *const super::Com::STGMEDIUM) {
745         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pformatetc), ::std::mem::transmute(pstgmed)))
746     }
OnViewChange(&self, dwaspect: u32, lindex: i32)747     pub unsafe fn OnViewChange(&self, dwaspect: u32, lindex: i32) {
748         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), ::std::mem::transmute(lindex)))
749     }
750     #[cfg(feature = "Win32_System_Com")]
OnRename<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0)751     pub unsafe fn OnRename<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0) {
752         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pmk.into_param().abi()))
753     }
OnSave(&self)754     pub unsafe fn OnSave(&self) {
755         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)))
756     }
OnClose(&self)757     pub unsafe fn OnClose(&self) {
758         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)))
759     }
OnViewStatusChange(&self, dwviewstatus: u32)760     pub unsafe fn OnViewStatusChange(&self, dwviewstatus: u32) {
761         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwviewstatus)))
762     }
763 }
764 unsafe impl ::windows::runtime::Interface for IAdviseSinkEx {
765     type Vtable = IAdviseSinkEx_abi;
766     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(988955280, 3222, 4558, [160, 207, 0, 170, 0, 96, 10, 184]);
767 }
768 impl ::std::convert::From<IAdviseSinkEx> for ::windows::runtime::IUnknown {
from(value: IAdviseSinkEx) -> Self769     fn from(value: IAdviseSinkEx) -> Self {
770         unsafe { ::std::mem::transmute(value) }
771     }
772 }
773 impl ::std::convert::From<&IAdviseSinkEx> for ::windows::runtime::IUnknown {
from(value: &IAdviseSinkEx) -> Self774     fn from(value: &IAdviseSinkEx) -> Self {
775         ::std::convert::From::from(::std::clone::Clone::clone(value))
776     }
777 }
778 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IAdviseSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>779     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
780         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
781     }
782 }
783 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IAdviseSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>784     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
785         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
786     }
787 }
788 #[cfg(feature = "Win32_System_Com")]
789 impl ::std::convert::From<IAdviseSinkEx> for super::Com::IAdviseSink {
from(value: IAdviseSinkEx) -> Self790     fn from(value: IAdviseSinkEx) -> Self {
791         unsafe { ::std::mem::transmute(value) }
792     }
793 }
794 #[cfg(feature = "Win32_System_Com")]
795 impl ::std::convert::From<&IAdviseSinkEx> for super::Com::IAdviseSink {
from(value: &IAdviseSinkEx) -> Self796     fn from(value: &IAdviseSinkEx) -> Self {
797         ::std::convert::From::from(::std::clone::Clone::clone(value))
798     }
799 }
800 #[cfg(feature = "Win32_System_Com")]
801 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink> for IAdviseSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IAdviseSink>802     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IAdviseSink> {
803         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IAdviseSink>::into(self))
804     }
805 }
806 #[cfg(feature = "Win32_System_Com")]
807 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink> for &IAdviseSinkEx {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IAdviseSink>808     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IAdviseSink> {
809         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IAdviseSink>::into(::std::clone::Clone::clone(self)))
810     }
811 }
812 #[repr(C)]
813 #[doc(hidden)]
814 pub struct IAdviseSinkEx_abi(
815     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
816     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
817     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
818     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pformatetc: *const super::Com::FORMATETC, pstgmed: *const ::std::mem::ManuallyDrop<super::Com::STGMEDIUM>),
819     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] usize,
820     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, lindex: i32),
821     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmk: ::windows::runtime::RawPtr),
822     #[cfg(not(feature = "Win32_System_Com"))] usize,
823     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
824     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
825     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwviewstatus: u32),
826 );
827 #[repr(transparent)]
828 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
829 pub struct IClassFactory2(::windows::runtime::IUnknown);
830 impl IClassFactory2 {
CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, T: ::windows::runtime::Interface>(&self, punkouter: Param0) -> ::windows::runtime::Result<T>831     pub unsafe fn CreateInstance<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, T: ::windows::runtime::Interface>(&self, punkouter: Param0) -> ::windows::runtime::Result<T> {
832         let mut result__ = ::std::option::Option::None;
833         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), punkouter.into_param().abi(), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
834     }
835     #[cfg(feature = "Win32_Foundation")]
LockServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()>836     pub unsafe fn LockServer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()> {
837         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), flock.into_param().abi()).ok()
838     }
839     #[cfg(feature = "Win32_Foundation")]
GetLicInfo(&self, plicinfo: *mut LICINFO) -> ::windows::runtime::Result<()>840     pub unsafe fn GetLicInfo(&self, plicinfo: *mut LICINFO) -> ::windows::runtime::Result<()> {
841         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(plicinfo)).ok()
842     }
843     #[cfg(feature = "Win32_Foundation")]
RequestLicKey(&self, dwreserved: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>844     pub unsafe fn RequestLicKey(&self, dwreserved: u32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
845         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
846         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwreserved), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
847     }
848     #[cfg(feature = "Win32_Foundation")]
CreateInstanceLic<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, punkouter: Param0, punkreserved: Param1, riid: *const ::windows::runtime::GUID, bstrkey: Param3, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>849     pub unsafe fn CreateInstanceLic<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, punkouter: Param0, punkreserved: Param1, riid: *const ::windows::runtime::GUID, bstrkey: Param3, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
850         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), punkouter.into_param().abi(), punkreserved.into_param().abi(), ::std::mem::transmute(riid), bstrkey.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
851     }
852 }
853 unsafe impl ::windows::runtime::Interface for IClassFactory2 {
854     type Vtable = IClassFactory2_abi;
855     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443343, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
856 }
857 impl ::std::convert::From<IClassFactory2> for ::windows::runtime::IUnknown {
from(value: IClassFactory2) -> Self858     fn from(value: IClassFactory2) -> Self {
859         unsafe { ::std::mem::transmute(value) }
860     }
861 }
862 impl ::std::convert::From<&IClassFactory2> for ::windows::runtime::IUnknown {
from(value: &IClassFactory2) -> Self863     fn from(value: &IClassFactory2) -> Self {
864         ::std::convert::From::from(::std::clone::Clone::clone(value))
865     }
866 }
867 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IClassFactory2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>868     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
869         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
870     }
871 }
872 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IClassFactory2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>873     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
874         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
875     }
876 }
877 #[cfg(feature = "Win32_System_Com")]
878 impl ::std::convert::From<IClassFactory2> for super::Com::IClassFactory {
from(value: IClassFactory2) -> Self879     fn from(value: IClassFactory2) -> Self {
880         unsafe { ::std::mem::transmute(value) }
881     }
882 }
883 #[cfg(feature = "Win32_System_Com")]
884 impl ::std::convert::From<&IClassFactory2> for super::Com::IClassFactory {
from(value: &IClassFactory2) -> Self885     fn from(value: &IClassFactory2) -> Self {
886         ::std::convert::From::from(::std::clone::Clone::clone(value))
887     }
888 }
889 #[cfg(feature = "Win32_System_Com")]
890 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IClassFactory> for IClassFactory2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IClassFactory>891     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IClassFactory> {
892         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IClassFactory>::into(self))
893     }
894 }
895 #[cfg(feature = "Win32_System_Com")]
896 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IClassFactory> for &IClassFactory2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IClassFactory>897     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IClassFactory> {
898         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IClassFactory>::into(::std::clone::Clone::clone(self)))
899     }
900 }
901 #[repr(C)]
902 #[doc(hidden)]
903 pub struct IClassFactory2_abi(
904     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
905     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
906     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
907     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punkouter: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
908     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
909     #[cfg(not(feature = "Win32_Foundation"))] usize,
910     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plicinfo: *mut LICINFO) -> ::windows::runtime::HRESULT,
911     #[cfg(not(feature = "Win32_Foundation"))] usize,
912     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwreserved: u32, pbstrkey: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
913     #[cfg(not(feature = "Win32_Foundation"))] usize,
914     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punkouter: ::windows::runtime::RawPtr, punkreserved: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, bstrkey: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
915     #[cfg(not(feature = "Win32_Foundation"))] usize,
916 );
917 #[repr(transparent)]
918 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
919 pub struct IContinue(::windows::runtime::IUnknown);
920 impl IContinue {
FContinue(&self) -> ::windows::runtime::Result<()>921     pub unsafe fn FContinue(&self) -> ::windows::runtime::Result<()> {
922         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
923     }
924 }
925 unsafe impl ::windows::runtime::Interface for IContinue {
926     type Vtable = IContinue_abi;
927     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(298, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
928 }
929 impl ::std::convert::From<IContinue> for ::windows::runtime::IUnknown {
from(value: IContinue) -> Self930     fn from(value: IContinue) -> Self {
931         unsafe { ::std::mem::transmute(value) }
932     }
933 }
934 impl ::std::convert::From<&IContinue> for ::windows::runtime::IUnknown {
from(value: &IContinue) -> Self935     fn from(value: &IContinue) -> Self {
936         ::std::convert::From::from(::std::clone::Clone::clone(value))
937     }
938 }
939 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IContinue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>940     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
941         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
942     }
943 }
944 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IContinue {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>945     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
946         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
947     }
948 }
949 #[repr(C)]
950 #[doc(hidden)]
951 pub struct IContinue_abi(
952     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
953     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
954     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
956 );
957 #[repr(transparent)]
958 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
959 pub struct IContinueCallback(::windows::runtime::IUnknown);
960 impl IContinueCallback {
FContinue(&self) -> ::windows::runtime::Result<()>961     pub unsafe fn FContinue(&self) -> ::windows::runtime::Result<()> {
962         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
963     }
964     #[cfg(feature = "Win32_Foundation")]
FContinuePrinting<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncntprinted: i32, ncurpage: i32, pwszprintstatus: Param2) -> ::windows::runtime::Result<()>965     pub unsafe fn FContinuePrinting<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, ncntprinted: i32, ncurpage: i32, pwszprintstatus: Param2) -> ::windows::runtime::Result<()> {
966         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncntprinted), ::std::mem::transmute(ncurpage), pwszprintstatus.into_param().abi()).ok()
967     }
968 }
969 unsafe impl ::windows::runtime::Interface for IContinueCallback {
970     type Vtable = IContinueCallback_abi;
971     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507082, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
972 }
973 impl ::std::convert::From<IContinueCallback> for ::windows::runtime::IUnknown {
from(value: IContinueCallback) -> Self974     fn from(value: IContinueCallback) -> Self {
975         unsafe { ::std::mem::transmute(value) }
976     }
977 }
978 impl ::std::convert::From<&IContinueCallback> for ::windows::runtime::IUnknown {
from(value: &IContinueCallback) -> Self979     fn from(value: &IContinueCallback) -> Self {
980         ::std::convert::From::from(::std::clone::Clone::clone(value))
981     }
982 }
983 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IContinueCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>984     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
985         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
986     }
987 }
988 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IContinueCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>989     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
990         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
991     }
992 }
993 #[repr(C)]
994 #[doc(hidden)]
995 pub struct IContinueCallback_abi(
996     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
997     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
998     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
999     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1000     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncntprinted: i32, ncurpage: i32, pwszprintstatus: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1001     #[cfg(not(feature = "Win32_Foundation"))] usize,
1002 );
1003 pub const IDC_BZ_ICON: u32 = 601u32;
1004 pub const IDC_BZ_MESSAGE1: u32 = 602u32;
1005 pub const IDC_BZ_RETRY: u32 = 600u32;
1006 pub const IDC_BZ_SWITCHTO: u32 = 604u32;
1007 pub const IDC_CI_BROWSE: u32 = 130u32;
1008 pub const IDC_CI_CURRENT: u32 = 121u32;
1009 pub const IDC_CI_CURRENTICON: u32 = 122u32;
1010 pub const IDC_CI_DEFAULT: u32 = 123u32;
1011 pub const IDC_CI_DEFAULTICON: u32 = 124u32;
1012 pub const IDC_CI_FROMFILE: u32 = 125u32;
1013 pub const IDC_CI_FROMFILEEDIT: u32 = 126u32;
1014 pub const IDC_CI_GROUP: u32 = 120u32;
1015 pub const IDC_CI_ICONDISPLAY: u32 = 131u32;
1016 pub const IDC_CI_ICONLIST: u32 = 127u32;
1017 pub const IDC_CI_LABEL: u32 = 128u32;
1018 pub const IDC_CI_LABELEDIT: u32 = 129u32;
1019 pub const IDC_CV_ACTIVATEAS: u32 = 156u32;
1020 pub const IDC_CV_ACTIVATELIST: u32 = 154u32;
1021 pub const IDC_CV_CHANGEICON: u32 = 153u32;
1022 pub const IDC_CV_CONVERTLIST: u32 = 158u32;
1023 pub const IDC_CV_CONVERTTO: u32 = 155u32;
1024 pub const IDC_CV_DISPLAYASICON: u32 = 152u32;
1025 pub const IDC_CV_ICONDISPLAY: u32 = 165u32;
1026 pub const IDC_CV_OBJECTTYPE: u32 = 150u32;
1027 pub const IDC_CV_RESULTTEXT: u32 = 157u32;
1028 pub const IDC_EL_AUTOMATIC: u32 = 202u32;
1029 pub const IDC_EL_CANCELLINK: u32 = 209u32;
1030 pub const IDC_EL_CHANGESOURCE: u32 = 201u32;
1031 pub const IDC_EL_COL1: u32 = 220u32;
1032 pub const IDC_EL_COL2: u32 = 221u32;
1033 pub const IDC_EL_COL3: u32 = 222u32;
1034 pub const IDC_EL_LINKSLISTBOX: u32 = 206u32;
1035 pub const IDC_EL_LINKSOURCE: u32 = 216u32;
1036 pub const IDC_EL_LINKTYPE: u32 = 217u32;
1037 pub const IDC_EL_MANUAL: u32 = 212u32;
1038 pub const IDC_EL_OPENSOURCE: u32 = 211u32;
1039 pub const IDC_EL_UPDATENOW: u32 = 210u32;
1040 pub const IDC_GP_CONVERT: u32 = 1013u32;
1041 pub const IDC_GP_OBJECTICON: u32 = 1014u32;
1042 pub const IDC_GP_OBJECTLOCATION: u32 = 1022u32;
1043 pub const IDC_GP_OBJECTNAME: u32 = 1009u32;
1044 pub const IDC_GP_OBJECTSIZE: u32 = 1011u32;
1045 pub const IDC_GP_OBJECTTYPE: u32 = 1010u32;
1046 pub const IDC_IO_ADDCONTROL: u32 = 2115u32;
1047 pub const IDC_IO_CHANGEICON: u32 = 2105u32;
1048 pub const IDC_IO_CONTROLTYPELIST: u32 = 2116u32;
1049 pub const IDC_IO_CREATEFROMFILE: u32 = 2101u32;
1050 pub const IDC_IO_CREATENEW: u32 = 2100u32;
1051 pub const IDC_IO_DISPLAYASICON: u32 = 2104u32;
1052 pub const IDC_IO_FILE: u32 = 2106u32;
1053 pub const IDC_IO_FILEDISPLAY: u32 = 2107u32;
1054 pub const IDC_IO_FILETEXT: u32 = 2112u32;
1055 pub const IDC_IO_FILETYPE: u32 = 2113u32;
1056 pub const IDC_IO_ICONDISPLAY: u32 = 2110u32;
1057 pub const IDC_IO_INSERTCONTROL: u32 = 2114u32;
1058 pub const IDC_IO_LINKFILE: u32 = 2102u32;
1059 pub const IDC_IO_OBJECTTYPELIST: u32 = 2103u32;
1060 pub const IDC_IO_OBJECTTYPETEXT: u32 = 2111u32;
1061 pub const IDC_IO_RESULTIMAGE: u32 = 2108u32;
1062 pub const IDC_IO_RESULTTEXT: u32 = 2109u32;
1063 pub const IDC_LP_AUTOMATIC: u32 = 1016u32;
1064 pub const IDC_LP_BREAKLINK: u32 = 1008u32;
1065 pub const IDC_LP_CHANGESOURCE: u32 = 1015u32;
1066 pub const IDC_LP_DATE: u32 = 1018u32;
1067 pub const IDC_LP_LINKSOURCE: u32 = 1012u32;
1068 pub const IDC_LP_MANUAL: u32 = 1017u32;
1069 pub const IDC_LP_OPENSOURCE: u32 = 1006u32;
1070 pub const IDC_LP_TIME: u32 = 1019u32;
1071 pub const IDC_LP_UPDATENOW: u32 = 1007u32;
1072 pub const IDC_OLEUIHELP: u32 = 99u32;
1073 pub const IDC_PS_CHANGEICON: u32 = 508u32;
1074 pub const IDC_PS_DISPLAYASICON: u32 = 506u32;
1075 pub const IDC_PS_DISPLAYLIST: u32 = 505u32;
1076 pub const IDC_PS_ICONDISPLAY: u32 = 507u32;
1077 pub const IDC_PS_PASTE: u32 = 500u32;
1078 pub const IDC_PS_PASTELINK: u32 = 501u32;
1079 pub const IDC_PS_PASTELINKLIST: u32 = 504u32;
1080 pub const IDC_PS_PASTELIST: u32 = 503u32;
1081 pub const IDC_PS_RESULTIMAGE: u32 = 509u32;
1082 pub const IDC_PS_RESULTTEXT: u32 = 510u32;
1083 pub const IDC_PS_SOURCETEXT: u32 = 502u32;
1084 pub const IDC_PU_CONVERT: u32 = 902u32;
1085 pub const IDC_PU_ICON: u32 = 908u32;
1086 pub const IDC_PU_LINKS: u32 = 900u32;
1087 pub const IDC_PU_TEXT: u32 = 901u32;
1088 pub const IDC_UL_METER: u32 = 1029u32;
1089 pub const IDC_UL_PERCENT: u32 = 1031u32;
1090 pub const IDC_UL_PROGRESS: u32 = 1032u32;
1091 pub const IDC_UL_STOP: u32 = 1030u32;
1092 pub const IDC_VP_ASICON: u32 = 1003u32;
1093 pub const IDC_VP_CHANGEICON: u32 = 1001u32;
1094 pub const IDC_VP_EDITABLE: u32 = 1002u32;
1095 pub const IDC_VP_ICONDISPLAY: u32 = 1021u32;
1096 pub const IDC_VP_PERCENT: u32 = 1000u32;
1097 pub const IDC_VP_RELATIVE: u32 = 1005u32;
1098 pub const IDC_VP_RESULTIMAGE: u32 = 1033u32;
1099 pub const IDC_VP_SCALETXT: u32 = 1034u32;
1100 pub const IDC_VP_SPIN: u32 = 1006u32;
1101 pub const IDD_BUSY: u32 = 1006u32;
1102 pub const IDD_CANNOTUPDATELINK: u32 = 1008u32;
1103 pub const IDD_CHANGEICON: u32 = 1001u32;
1104 pub const IDD_CHANGEICONBROWSE: u32 = 1011u32;
1105 pub const IDD_CHANGESOURCE: u32 = 1009u32;
1106 pub const IDD_CHANGESOURCE4: u32 = 1013u32;
1107 pub const IDD_CONVERT: u32 = 1002u32;
1108 pub const IDD_CONVERT4: u32 = 1103u32;
1109 pub const IDD_CONVERTONLY: u32 = 1012u32;
1110 pub const IDD_CONVERTONLY4: u32 = 1104u32;
1111 pub const IDD_EDITLINKS: u32 = 1004u32;
1112 pub const IDD_EDITLINKS4: u32 = 1105u32;
1113 pub const IDD_GNRLPROPS: u32 = 1100u32;
1114 pub const IDD_GNRLPROPS4: u32 = 1106u32;
1115 pub const IDD_INSERTFILEBROWSE: u32 = 1010u32;
1116 pub const IDD_INSERTOBJECT: u32 = 1000u32;
1117 pub const IDD_LINKPROPS: u32 = 1102u32;
1118 pub const IDD_LINKPROPS4: u32 = 1107u32;
1119 pub const IDD_LINKSOURCEUNAVAILABLE: u32 = 1020u32;
1120 pub const IDD_LINKTYPECHANGED: u32 = 1022u32;
1121 pub const IDD_LINKTYPECHANGEDA: u32 = 1026u32;
1122 pub const IDD_LINKTYPECHANGEDW: u32 = 1022u32;
1123 pub const IDD_OUTOFMEMORY: u32 = 1024u32;
1124 pub const IDD_PASTESPECIAL: u32 = 1003u32;
1125 pub const IDD_PASTESPECIAL4: u32 = 1108u32;
1126 pub const IDD_SERVERNOTFOUND: u32 = 1023u32;
1127 pub const IDD_SERVERNOTREG: u32 = 1021u32;
1128 pub const IDD_SERVERNOTREGA: u32 = 1025u32;
1129 pub const IDD_SERVERNOTREGW: u32 = 1021u32;
1130 pub const IDD_UPDATELINKS: u32 = 1007u32;
1131 pub const IDD_VIEWPROPS: u32 = 1101u32;
1132 pub const ID_BROWSE_ADDCONTROL: u32 = 3u32;
1133 pub const ID_BROWSE_CHANGEICON: u32 = 1u32;
1134 pub const ID_BROWSE_CHANGESOURCE: u32 = 4u32;
1135 pub const ID_BROWSE_INSERTFILE: u32 = 2u32;
1136 #[repr(transparent)]
1137 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1138 pub struct IDropSource(::windows::runtime::IUnknown);
1139 impl IDropSource {
1140     #[cfg(feature = "Win32_Foundation")]
QueryContinueDrag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fescapepressed: Param0, grfkeystate: u32) -> ::windows::runtime::Result<()>1141     pub unsafe fn QueryContinueDrag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fescapepressed: Param0, grfkeystate: u32) -> ::windows::runtime::Result<()> {
1142         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), fescapepressed.into_param().abi(), ::std::mem::transmute(grfkeystate)).ok()
1143     }
GiveFeedback(&self, dweffect: u32) -> ::windows::runtime::Result<()>1144     pub unsafe fn GiveFeedback(&self, dweffect: u32) -> ::windows::runtime::Result<()> {
1145         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dweffect)).ok()
1146     }
1147 }
1148 unsafe impl ::windows::runtime::Interface for IDropSource {
1149     type Vtable = IDropSource_abi;
1150     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(289, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1151 }
1152 impl ::std::convert::From<IDropSource> for ::windows::runtime::IUnknown {
from(value: IDropSource) -> Self1153     fn from(value: IDropSource) -> Self {
1154         unsafe { ::std::mem::transmute(value) }
1155     }
1156 }
1157 impl ::std::convert::From<&IDropSource> for ::windows::runtime::IUnknown {
from(value: &IDropSource) -> Self1158     fn from(value: &IDropSource) -> Self {
1159         ::std::convert::From::from(::std::clone::Clone::clone(value))
1160     }
1161 }
1162 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDropSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1163     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1164         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1165     }
1166 }
1167 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDropSource {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1168     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1169         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1170     }
1171 }
1172 #[repr(C)]
1173 #[doc(hidden)]
1174 pub struct IDropSource_abi(
1175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fescapepressed: super::super::Foundation::BOOL, grfkeystate: u32) -> ::windows::runtime::HRESULT,
1179     #[cfg(not(feature = "Win32_Foundation"))] usize,
1180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dweffect: u32) -> ::windows::runtime::HRESULT,
1181 );
1182 #[repr(transparent)]
1183 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1184 pub struct IDropSourceNotify(::windows::runtime::IUnknown);
1185 impl IDropSourceNotify {
1186     #[cfg(feature = "Win32_Foundation")]
DragEnterTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndtarget: Param0) -> ::windows::runtime::Result<()>1187     pub unsafe fn DragEnterTarget<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hwndtarget: Param0) -> ::windows::runtime::Result<()> {
1188         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hwndtarget.into_param().abi()).ok()
1189     }
DragLeaveTarget(&self) -> ::windows::runtime::Result<()>1190     pub unsafe fn DragLeaveTarget(&self) -> ::windows::runtime::Result<()> {
1191         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
1192     }
1193 }
1194 unsafe impl ::windows::runtime::Interface for IDropSourceNotify {
1195     type Vtable = IDropSourceNotify_abi;
1196     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(299, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1197 }
1198 impl ::std::convert::From<IDropSourceNotify> for ::windows::runtime::IUnknown {
from(value: IDropSourceNotify) -> Self1199     fn from(value: IDropSourceNotify) -> Self {
1200         unsafe { ::std::mem::transmute(value) }
1201     }
1202 }
1203 impl ::std::convert::From<&IDropSourceNotify> for ::windows::runtime::IUnknown {
from(value: &IDropSourceNotify) -> Self1204     fn from(value: &IDropSourceNotify) -> Self {
1205         ::std::convert::From::from(::std::clone::Clone::clone(value))
1206     }
1207 }
1208 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDropSourceNotify {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1209     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1210         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1211     }
1212 }
1213 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDropSourceNotify {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1214     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1215         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1216     }
1217 }
1218 #[repr(C)]
1219 #[doc(hidden)]
1220 pub struct IDropSourceNotify_abi(
1221     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1222     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1223     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1224     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndtarget: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
1225     #[cfg(not(feature = "Win32_Foundation"))] usize,
1226     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1227 );
1228 #[repr(transparent)]
1229 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1230 pub struct IDropTarget(::windows::runtime::IUnknown);
1231 impl IDropTarget {
1232     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
DragEnter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, pdataobj: Param0, grfkeystate: u32, pt: Param2, pdweffect: *mut u32) -> ::windows::runtime::Result<()>1233     pub unsafe fn DragEnter<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, pdataobj: Param0, grfkeystate: u32, pt: Param2, pdweffect: *mut u32) -> ::windows::runtime::Result<()> {
1234         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pdataobj.into_param().abi(), ::std::mem::transmute(grfkeystate), pt.into_param().abi(), ::std::mem::transmute(pdweffect)).ok()
1235     }
1236     #[cfg(feature = "Win32_Foundation")]
DragOver<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, grfkeystate: u32, pt: Param1, pdweffect: *mut u32) -> ::windows::runtime::Result<()>1237     pub unsafe fn DragOver<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, grfkeystate: u32, pt: Param1, pdweffect: *mut u32) -> ::windows::runtime::Result<()> {
1238         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(grfkeystate), pt.into_param().abi(), ::std::mem::transmute(pdweffect)).ok()
1239     }
DragLeave(&self) -> ::windows::runtime::Result<()>1240     pub unsafe fn DragLeave(&self) -> ::windows::runtime::Result<()> {
1241         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1242     }
1243     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Drop<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, pdataobj: Param0, grfkeystate: u32, pt: Param2, pdweffect: *mut u32) -> ::windows::runtime::Result<()>1244     pub unsafe fn Drop<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINTL>>(&self, pdataobj: Param0, grfkeystate: u32, pt: Param2, pdweffect: *mut u32) -> ::windows::runtime::Result<()> {
1245         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pdataobj.into_param().abi(), ::std::mem::transmute(grfkeystate), pt.into_param().abi(), ::std::mem::transmute(pdweffect)).ok()
1246     }
1247 }
1248 unsafe impl ::windows::runtime::Interface for IDropTarget {
1249     type Vtable = IDropTarget_abi;
1250     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(290, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1251 }
1252 impl ::std::convert::From<IDropTarget> for ::windows::runtime::IUnknown {
from(value: IDropTarget) -> Self1253     fn from(value: IDropTarget) -> Self {
1254         unsafe { ::std::mem::transmute(value) }
1255     }
1256 }
1257 impl ::std::convert::From<&IDropTarget> for ::windows::runtime::IUnknown {
from(value: &IDropTarget) -> Self1258     fn from(value: &IDropTarget) -> Self {
1259         ::std::convert::From::from(::std::clone::Clone::clone(value))
1260     }
1261 }
1262 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDropTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1263     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1264         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1265     }
1266 }
1267 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDropTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1268     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1269         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1270     }
1271 }
1272 #[repr(C)]
1273 #[doc(hidden)]
1274 pub struct IDropTarget_abi(
1275     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1277     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1278     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobj: ::windows::runtime::RawPtr, grfkeystate: u32, pt: super::super::Foundation::POINTL, pdweffect: *mut u32) -> ::windows::runtime::HRESULT,
1279     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1280     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, grfkeystate: u32, pt: super::super::Foundation::POINTL, pdweffect: *mut u32) -> ::windows::runtime::HRESULT,
1281     #[cfg(not(feature = "Win32_Foundation"))] usize,
1282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1283     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobj: ::windows::runtime::RawPtr, grfkeystate: u32, pt: super::super::Foundation::POINTL, pdweffect: *mut u32) -> ::windows::runtime::HRESULT,
1284     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
1285 );
1286 #[repr(transparent)]
1287 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1288 pub struct IEnterpriseDropTarget(::windows::runtime::IUnknown);
1289 impl IEnterpriseDropTarget {
1290     #[cfg(feature = "Win32_Foundation")]
SetDropSourceEnterpriseId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, identity: Param0) -> ::windows::runtime::Result<()>1291     pub unsafe fn SetDropSourceEnterpriseId<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, identity: Param0) -> ::windows::runtime::Result<()> {
1292         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), identity.into_param().abi()).ok()
1293     }
1294     #[cfg(feature = "Win32_Foundation")]
IsEvaluatingEdpPolicy(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1295     pub unsafe fn IsEvaluatingEdpPolicy(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1296         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1297         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1298     }
1299 }
1300 unsafe impl ::windows::runtime::Interface for IEnterpriseDropTarget {
1301     type Vtable = IEnterpriseDropTarget_abi;
1302     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(957233272, 64853, 19992, [129, 157, 70, 130, 8, 28, 12, 253]);
1303 }
1304 impl ::std::convert::From<IEnterpriseDropTarget> for ::windows::runtime::IUnknown {
from(value: IEnterpriseDropTarget) -> Self1305     fn from(value: IEnterpriseDropTarget) -> Self {
1306         unsafe { ::std::mem::transmute(value) }
1307     }
1308 }
1309 impl ::std::convert::From<&IEnterpriseDropTarget> for ::windows::runtime::IUnknown {
from(value: &IEnterpriseDropTarget) -> Self1310     fn from(value: &IEnterpriseDropTarget) -> Self {
1311         ::std::convert::From::from(::std::clone::Clone::clone(value))
1312     }
1313 }
1314 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnterpriseDropTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1315     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1316         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1317     }
1318 }
1319 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnterpriseDropTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1320     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1321         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1322     }
1323 }
1324 #[repr(C)]
1325 #[doc(hidden)]
1326 pub struct IEnterpriseDropTarget_abi(
1327     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1328     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1329     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1330     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, identity: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
1331     #[cfg(not(feature = "Win32_Foundation"))] usize,
1332     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, value: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1333     #[cfg(not(feature = "Win32_Foundation"))] usize,
1334 );
1335 #[repr(transparent)]
1336 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1337 pub struct IEnumOLEVERB(::windows::runtime::IUnknown);
1338 impl IEnumOLEVERB {
1339     #[cfg(feature = "Win32_Foundation")]
Next(&self, celt: u32, rgelt: *mut OLEVERB, pceltfetched: *mut u32) -> ::windows::runtime::Result<()>1340     pub unsafe fn Next(&self, celt: u32, rgelt: *mut OLEVERB, pceltfetched: *mut u32) -> ::windows::runtime::Result<()> {
1341         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt), ::std::mem::transmute(rgelt), ::std::mem::transmute(pceltfetched)).ok()
1342     }
Skip(&self, celt: u32) -> ::windows::runtime::Result<()>1343     pub unsafe fn Skip(&self, celt: u32) -> ::windows::runtime::Result<()> {
1344         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt)).ok()
1345     }
Reset(&self) -> ::windows::runtime::Result<()>1346     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1347         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1348     }
Clone(&self) -> ::windows::runtime::Result<IEnumOLEVERB>1349     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumOLEVERB> {
1350         let mut result__: <IEnumOLEVERB as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1351         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOLEVERB>(result__)
1352     }
1353 }
1354 unsafe impl ::windows::runtime::Interface for IEnumOLEVERB {
1355     type Vtable = IEnumOLEVERB_abi;
1356     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(260, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1357 }
1358 impl ::std::convert::From<IEnumOLEVERB> for ::windows::runtime::IUnknown {
from(value: IEnumOLEVERB) -> Self1359     fn from(value: IEnumOLEVERB) -> Self {
1360         unsafe { ::std::mem::transmute(value) }
1361     }
1362 }
1363 impl ::std::convert::From<&IEnumOLEVERB> for ::windows::runtime::IUnknown {
from(value: &IEnumOLEVERB) -> Self1364     fn from(value: &IEnumOLEVERB) -> Self {
1365         ::std::convert::From::from(::std::clone::Clone::clone(value))
1366     }
1367 }
1368 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumOLEVERB {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1369     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1370         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1371     }
1372 }
1373 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumOLEVERB {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1374     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1375         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1376     }
1377 }
1378 #[repr(C)]
1379 #[doc(hidden)]
1380 pub struct IEnumOLEVERB_abi(
1381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1384     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32, rgelt: *mut OLEVERB, pceltfetched: *mut u32) -> ::windows::runtime::HRESULT,
1385     #[cfg(not(feature = "Win32_Foundation"))] usize,
1386     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32) -> ::windows::runtime::HRESULT,
1387     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1388     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1389 );
1390 #[repr(transparent)]
1391 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1392 pub struct IEnumOleDocumentViews(::windows::runtime::IUnknown);
1393 impl IEnumOleDocumentViews {
Next(&self, cviews: u32, rgpview: *mut ::std::option::Option<IOleDocumentView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()>1394     pub unsafe fn Next(&self, cviews: u32, rgpview: *mut ::std::option::Option<IOleDocumentView>, pcfetched: *mut u32) -> ::windows::runtime::Result<()> {
1395         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(cviews), ::std::mem::transmute(rgpview), ::std::mem::transmute(pcfetched)).ok()
1396     }
Skip(&self, cviews: u32) -> ::windows::runtime::Result<()>1397     pub unsafe fn Skip(&self, cviews: u32) -> ::windows::runtime::Result<()> {
1398         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(cviews)).ok()
1399     }
Reset(&self) -> ::windows::runtime::Result<()>1400     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1401         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1402     }
Clone(&self) -> ::windows::runtime::Result<IEnumOleDocumentViews>1403     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumOleDocumentViews> {
1404         let mut result__: <IEnumOleDocumentViews as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1405         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOleDocumentViews>(result__)
1406     }
1407 }
1408 unsafe impl ::windows::runtime::Interface for IEnumOleDocumentViews {
1409     type Vtable = IEnumOleDocumentViews_abi;
1410     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507080, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
1411 }
1412 impl ::std::convert::From<IEnumOleDocumentViews> for ::windows::runtime::IUnknown {
from(value: IEnumOleDocumentViews) -> Self1413     fn from(value: IEnumOleDocumentViews) -> Self {
1414         unsafe { ::std::mem::transmute(value) }
1415     }
1416 }
1417 impl ::std::convert::From<&IEnumOleDocumentViews> for ::windows::runtime::IUnknown {
from(value: &IEnumOleDocumentViews) -> Self1418     fn from(value: &IEnumOleDocumentViews) -> Self {
1419         ::std::convert::From::from(::std::clone::Clone::clone(value))
1420     }
1421 }
1422 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumOleDocumentViews {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1423     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1424         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1425     }
1426 }
1427 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumOleDocumentViews {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1428     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1429         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1430     }
1431 }
1432 #[repr(C)]
1433 #[doc(hidden)]
1434 pub struct IEnumOleDocumentViews_abi(
1435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cviews: u32, rgpview: *mut ::windows::runtime::RawPtr, pcfetched: *mut u32) -> ::windows::runtime::HRESULT,
1439     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cviews: u32) -> ::windows::runtime::HRESULT,
1440     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1441     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1442 );
1443 #[repr(transparent)]
1444 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1445 pub struct IEnumOleUndoUnits(::windows::runtime::IUnknown);
1446 impl IEnumOleUndoUnits {
Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IOleUndoUnit>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()>1447     pub unsafe fn Next(&self, celt: u32, rgelt: *mut ::std::option::Option<IOleUndoUnit>, pceltfetched: *mut u32) -> ::windows::runtime::Result<()> {
1448         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt), ::std::mem::transmute(rgelt), ::std::mem::transmute(pceltfetched)).ok()
1449     }
Skip(&self, celt: u32) -> ::windows::runtime::Result<()>1450     pub unsafe fn Skip(&self, celt: u32) -> ::windows::runtime::Result<()> {
1451         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(celt)).ok()
1452     }
Reset(&self) -> ::windows::runtime::Result<()>1453     pub unsafe fn Reset(&self) -> ::windows::runtime::Result<()> {
1454         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1455     }
Clone(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits>1456     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits> {
1457         let mut result__: <IEnumOleUndoUnits as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1458         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOleUndoUnits>(result__)
1459     }
1460 }
1461 unsafe impl ::windows::runtime::Interface for IEnumOleUndoUnits {
1462     type Vtable = IEnumOleUndoUnits_abi;
1463     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3018310464, 61335, 4558, [155, 201, 0, 170, 0, 96, 142, 1]);
1464 }
1465 impl ::std::convert::From<IEnumOleUndoUnits> for ::windows::runtime::IUnknown {
from(value: IEnumOleUndoUnits) -> Self1466     fn from(value: IEnumOleUndoUnits) -> Self {
1467         unsafe { ::std::mem::transmute(value) }
1468     }
1469 }
1470 impl ::std::convert::From<&IEnumOleUndoUnits> for ::windows::runtime::IUnknown {
from(value: &IEnumOleUndoUnits) -> Self1471     fn from(value: &IEnumOleUndoUnits) -> Self {
1472         ::std::convert::From::from(::std::clone::Clone::clone(value))
1473     }
1474 }
1475 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEnumOleUndoUnits {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1476     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1477         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1478     }
1479 }
1480 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEnumOleUndoUnits {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1481     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1482         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1483     }
1484 }
1485 #[repr(C)]
1486 #[doc(hidden)]
1487 pub struct IEnumOleUndoUnits_abi(
1488     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1489     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1490     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1491     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32, rgelt: *mut ::windows::runtime::RawPtr, pceltfetched: *mut u32) -> ::windows::runtime::HRESULT,
1492     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, celt: u32) -> ::windows::runtime::HRESULT,
1493     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1494     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1495 );
1496 #[repr(transparent)]
1497 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1498 pub struct IFont(::windows::runtime::IUnknown);
1499 impl IFont {
1500     #[cfg(feature = "Win32_Foundation")]
Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>1501     pub unsafe fn Name(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
1502         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1503         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
1504     }
1505     #[cfg(feature = "Win32_Foundation")]
SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()>1506     pub unsafe fn SetName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, name: Param0) -> ::windows::runtime::Result<()> {
1507         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), name.into_param().abi()).ok()
1508     }
1509     #[cfg(feature = "Win32_System_Com")]
Size(&self) -> ::windows::runtime::Result<super::Com::CY>1510     pub unsafe fn Size(&self) -> ::windows::runtime::Result<super::Com::CY> {
1511         let mut result__: <super::Com::CY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1512         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::CY>(result__)
1513     }
1514     #[cfg(feature = "Win32_System_Com")]
SetSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::CY>>(&self, size: Param0) -> ::windows::runtime::Result<()>1515     pub unsafe fn SetSize<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::CY>>(&self, size: Param0) -> ::windows::runtime::Result<()> {
1516         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), size.into_param().abi()).ok()
1517     }
1518     #[cfg(feature = "Win32_Foundation")]
Bold(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1519     pub unsafe fn Bold(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1520         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1521         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1522     }
1523     #[cfg(feature = "Win32_Foundation")]
SetBold<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bold: Param0) -> ::windows::runtime::Result<()>1524     pub unsafe fn SetBold<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bold: Param0) -> ::windows::runtime::Result<()> {
1525         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), bold.into_param().abi()).ok()
1526     }
1527     #[cfg(feature = "Win32_Foundation")]
Italic(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1528     pub unsafe fn Italic(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1529         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1530         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1531     }
1532     #[cfg(feature = "Win32_Foundation")]
SetItalic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, italic: Param0) -> ::windows::runtime::Result<()>1533     pub unsafe fn SetItalic<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, italic: Param0) -> ::windows::runtime::Result<()> {
1534         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), italic.into_param().abi()).ok()
1535     }
1536     #[cfg(feature = "Win32_Foundation")]
Underline(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1537     pub unsafe fn Underline(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1538         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1539         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1540     }
1541     #[cfg(feature = "Win32_Foundation")]
SetUnderline<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, underline: Param0) -> ::windows::runtime::Result<()>1542     pub unsafe fn SetUnderline<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, underline: Param0) -> ::windows::runtime::Result<()> {
1543         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), underline.into_param().abi()).ok()
1544     }
1545     #[cfg(feature = "Win32_Foundation")]
Strikethrough(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>1546     pub unsafe fn Strikethrough(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
1547         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1548         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
1549     }
1550     #[cfg(feature = "Win32_Foundation")]
SetStrikethrough<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, strikethrough: Param0) -> ::windows::runtime::Result<()>1551     pub unsafe fn SetStrikethrough<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, strikethrough: Param0) -> ::windows::runtime::Result<()> {
1552         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), strikethrough.into_param().abi()).ok()
1553     }
Weight(&self) -> ::windows::runtime::Result<i16>1554     pub unsafe fn Weight(&self) -> ::windows::runtime::Result<i16> {
1555         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1556         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1557     }
SetWeight(&self, weight: i16) -> ::windows::runtime::Result<()>1558     pub unsafe fn SetWeight(&self, weight: i16) -> ::windows::runtime::Result<()> {
1559         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(weight)).ok()
1560     }
Charset(&self) -> ::windows::runtime::Result<i16>1561     pub unsafe fn Charset(&self) -> ::windows::runtime::Result<i16> {
1562         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1563         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
1564     }
SetCharset(&self, charset: i16) -> ::windows::runtime::Result<()>1565     pub unsafe fn SetCharset(&self, charset: i16) -> ::windows::runtime::Result<()> {
1566         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(charset)).ok()
1567     }
1568     #[cfg(feature = "Win32_Graphics_Gdi")]
hFont(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HFONT>1569     pub unsafe fn hFont(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HFONT> {
1570         let mut result__: <super::super::Graphics::Gdi::HFONT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1571         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Graphics::Gdi::HFONT>(result__)
1572     }
Clone(&self) -> ::windows::runtime::Result<IFont>1573     pub unsafe fn Clone(&self) -> ::windows::runtime::Result<IFont> {
1574         let mut result__: <IFont as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1575         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IFont>(result__)
1576     }
IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, IFont>>(&self, pfontother: Param0) -> ::windows::runtime::Result<()>1577     pub unsafe fn IsEqual<'a, Param0: ::windows::runtime::IntoParam<'a, IFont>>(&self, pfontother: Param0) -> ::windows::runtime::Result<()> {
1578         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), pfontother.into_param().abi()).ok()
1579     }
SetRatio(&self, cylogical: i32, cyhimetric: i32) -> ::windows::runtime::Result<()>1580     pub unsafe fn SetRatio(&self, cylogical: i32, cyhimetric: i32) -> ::windows::runtime::Result<()> {
1581         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(cylogical), ::std::mem::transmute(cyhimetric)).ok()
1582     }
1583     #[cfg(feature = "Win32_Graphics_Gdi")]
QueryTextMetrics(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::TEXTMETRICW>1584     pub unsafe fn QueryTextMetrics(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::TEXTMETRICW> {
1585         let mut result__: <super::super::Graphics::Gdi::TEXTMETRICW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1586         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Graphics::Gdi::TEXTMETRICW>(result__)
1587     }
1588     #[cfg(feature = "Win32_Graphics_Gdi")]
AddRefHfont<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HFONT>>(&self, hfont: Param0) -> ::windows::runtime::Result<()>1589     pub unsafe fn AddRefHfont<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HFONT>>(&self, hfont: Param0) -> ::windows::runtime::Result<()> {
1590         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), hfont.into_param().abi()).ok()
1591     }
1592     #[cfg(feature = "Win32_Graphics_Gdi")]
ReleaseHfont<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HFONT>>(&self, hfont: Param0) -> ::windows::runtime::Result<()>1593     pub unsafe fn ReleaseHfont<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HFONT>>(&self, hfont: Param0) -> ::windows::runtime::Result<()> {
1594         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), hfont.into_param().abi()).ok()
1595     }
1596     #[cfg(feature = "Win32_Graphics_Gdi")]
SetHdc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> ::windows::runtime::Result<()>1597     pub unsafe fn SetHdc<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> ::windows::runtime::Result<()> {
1598         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), hdc.into_param().abi()).ok()
1599     }
1600 }
1601 unsafe impl ::windows::runtime::Interface for IFont {
1602     type Vtable = IFont_abi;
1603     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3203850242, 43124, 4122, [139, 186, 0, 170, 0, 48, 12, 171]);
1604 }
1605 impl ::std::convert::From<IFont> for ::windows::runtime::IUnknown {
from(value: IFont) -> Self1606     fn from(value: IFont) -> Self {
1607         unsafe { ::std::mem::transmute(value) }
1608     }
1609 }
1610 impl ::std::convert::From<&IFont> for ::windows::runtime::IUnknown {
from(value: &IFont) -> Self1611     fn from(value: &IFont) -> Self {
1612         ::std::convert::From::from(::std::clone::Clone::clone(value))
1613     }
1614 }
1615 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFont {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1616     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1617         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1618     }
1619 }
1620 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFont {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1621     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1622         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1623     }
1624 }
1625 #[repr(C)]
1626 #[doc(hidden)]
1627 pub struct IFont_abi(
1628     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1629     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1630     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1631     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1632     #[cfg(not(feature = "Win32_Foundation"))] usize,
1633     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, name: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
1634     #[cfg(not(feature = "Win32_Foundation"))] usize,
1635     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psize: *mut super::Com::CY) -> ::windows::runtime::HRESULT,
1636     #[cfg(not(feature = "Win32_System_Com"))] usize,
1637     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, size: super::Com::CY) -> ::windows::runtime::HRESULT,
1638     #[cfg(not(feature = "Win32_System_Com"))] usize,
1639     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbold: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1640     #[cfg(not(feature = "Win32_Foundation"))] usize,
1641     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bold: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1642     #[cfg(not(feature = "Win32_Foundation"))] usize,
1643     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitalic: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1644     #[cfg(not(feature = "Win32_Foundation"))] usize,
1645     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, italic: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1646     #[cfg(not(feature = "Win32_Foundation"))] usize,
1647     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punderline: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1648     #[cfg(not(feature = "Win32_Foundation"))] usize,
1649     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, underline: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1650     #[cfg(not(feature = "Win32_Foundation"))] usize,
1651     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrikethrough: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1652     #[cfg(not(feature = "Win32_Foundation"))] usize,
1653     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strikethrough: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1654     #[cfg(not(feature = "Win32_Foundation"))] usize,
1655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pweight: *mut i16) -> ::windows::runtime::HRESULT,
1656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, weight: i16) -> ::windows::runtime::HRESULT,
1657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcharset: *mut i16) -> ::windows::runtime::HRESULT,
1658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, charset: i16) -> ::windows::runtime::HRESULT,
1659     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phfont: *mut super::super::Graphics::Gdi::HFONT) -> ::windows::runtime::HRESULT,
1660     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
1661     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppfont: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1662     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfontother: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1663     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cylogical: i32, cyhimetric: i32) -> ::windows::runtime::HRESULT,
1664     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptm: *mut super::super::Graphics::Gdi::TEXTMETRICW) -> ::windows::runtime::HRESULT,
1665     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
1666     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hfont: super::super::Graphics::Gdi::HFONT) -> ::windows::runtime::HRESULT,
1667     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
1668     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hfont: super::super::Graphics::Gdi::HFONT) -> ::windows::runtime::HRESULT,
1669     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
1670     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::runtime::HRESULT,
1671     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
1672 );
1673 #[repr(transparent)]
1674 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1675 pub struct IFontDisp(::windows::runtime::IUnknown);
1676 impl IFontDisp {}
1677 unsafe impl ::windows::runtime::Interface for IFontDisp {
1678     type Vtable = IFontDisp_abi;
1679     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3203850243, 43124, 4122, [139, 186, 0, 170, 0, 48, 12, 171]);
1680 }
1681 impl ::std::convert::From<IFontDisp> for ::windows::runtime::IUnknown {
from(value: IFontDisp) -> Self1682     fn from(value: IFontDisp) -> Self {
1683         unsafe { ::std::mem::transmute(value) }
1684     }
1685 }
1686 impl ::std::convert::From<&IFontDisp> for ::windows::runtime::IUnknown {
from(value: &IFontDisp) -> Self1687     fn from(value: &IFontDisp) -> Self {
1688         ::std::convert::From::from(::std::clone::Clone::clone(value))
1689     }
1690 }
1691 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFontDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1692     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1693         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1694     }
1695 }
1696 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFontDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1697     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1698         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1699     }
1700 }
1701 #[cfg(feature = "Win32_System_Ole_Automation")]
1702 impl ::std::convert::From<IFontDisp> for Automation::IDispatch {
from(value: IFontDisp) -> Self1703     fn from(value: IFontDisp) -> Self {
1704         unsafe { ::std::mem::transmute(value) }
1705     }
1706 }
1707 #[cfg(feature = "Win32_System_Ole_Automation")]
1708 impl ::std::convert::From<&IFontDisp> for Automation::IDispatch {
from(value: &IFontDisp) -> Self1709     fn from(value: &IFontDisp) -> Self {
1710         ::std::convert::From::from(::std::clone::Clone::clone(value))
1711     }
1712 }
1713 #[cfg(feature = "Win32_System_Ole_Automation")]
1714 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for IFontDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>1715     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
1716         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(self))
1717     }
1718 }
1719 #[cfg(feature = "Win32_System_Ole_Automation")]
1720 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for &IFontDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>1721     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
1722         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1723     }
1724 }
1725 #[repr(C)]
1726 #[doc(hidden)]
1727 pub struct IFontDisp_abi(
1728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1729     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1730     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1731     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1732     #[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,
1733     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1734     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1735     #[cfg(not(feature = "Win32_Foundation"))] usize,
1736     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1737     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1738 );
1739 #[repr(transparent)]
1740 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1741 pub struct IFontEventsDisp(::windows::runtime::IUnknown);
1742 impl IFontEventsDisp {}
1743 unsafe impl ::windows::runtime::Interface for IFontEventsDisp {
1744     type Vtable = IFontEventsDisp_abi;
1745     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1324748810, 44936, 4560, [152, 70, 0, 192, 79, 194, 153, 147]);
1746 }
1747 impl ::std::convert::From<IFontEventsDisp> for ::windows::runtime::IUnknown {
from(value: IFontEventsDisp) -> Self1748     fn from(value: IFontEventsDisp) -> Self {
1749         unsafe { ::std::mem::transmute(value) }
1750     }
1751 }
1752 impl ::std::convert::From<&IFontEventsDisp> for ::windows::runtime::IUnknown {
from(value: &IFontEventsDisp) -> Self1753     fn from(value: &IFontEventsDisp) -> Self {
1754         ::std::convert::From::from(::std::clone::Clone::clone(value))
1755     }
1756 }
1757 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFontEventsDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1758     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1759         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1760     }
1761 }
1762 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFontEventsDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1763     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1764         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1765     }
1766 }
1767 #[cfg(feature = "Win32_System_Ole_Automation")]
1768 impl ::std::convert::From<IFontEventsDisp> for Automation::IDispatch {
from(value: IFontEventsDisp) -> Self1769     fn from(value: IFontEventsDisp) -> Self {
1770         unsafe { ::std::mem::transmute(value) }
1771     }
1772 }
1773 #[cfg(feature = "Win32_System_Ole_Automation")]
1774 impl ::std::convert::From<&IFontEventsDisp> for Automation::IDispatch {
from(value: &IFontEventsDisp) -> Self1775     fn from(value: &IFontEventsDisp) -> Self {
1776         ::std::convert::From::from(::std::clone::Clone::clone(value))
1777     }
1778 }
1779 #[cfg(feature = "Win32_System_Ole_Automation")]
1780 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for IFontEventsDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>1781     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
1782         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(self))
1783     }
1784 }
1785 #[cfg(feature = "Win32_System_Ole_Automation")]
1786 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for &IFontEventsDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>1787     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
1788         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1789     }
1790 }
1791 #[repr(C)]
1792 #[doc(hidden)]
1793 pub struct IFontEventsDisp_abi(
1794     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1795     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1796     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1797     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1798     #[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,
1799     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1800     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
1801     #[cfg(not(feature = "Win32_Foundation"))] usize,
1802     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1803     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1804 );
1805 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1806 #[repr(transparent)]
1807 pub struct IGNOREMIME(pub i32);
1808 pub const IGNOREMIME_PROMPT: IGNOREMIME = IGNOREMIME(1i32);
1809 pub const IGNOREMIME_TEXT: IGNOREMIME = IGNOREMIME(2i32);
1810 impl ::std::convert::From<i32> for IGNOREMIME {
from(value: i32) -> Self1811     fn from(value: i32) -> Self {
1812         Self(value)
1813     }
1814 }
1815 unsafe impl ::windows::runtime::Abi for IGNOREMIME {
1816     type Abi = Self;
1817     type DefaultType = Self;
1818 }
1819 #[repr(transparent)]
1820 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1821 pub struct IGetOleObject(::windows::runtime::IUnknown);
1822 impl IGetOleObject {
GetOleObject(&self, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1823     pub unsafe fn GetOleObject(&self, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1824         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(ppvobj)).ok()
1825     }
1826 }
1827 unsafe impl ::windows::runtime::Interface for IGetOleObject {
1828     type Vtable = IGetOleObject_abi;
1829     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2322603424, 20459, 4123, [168, 46, 8, 0, 43, 43, 35, 55]);
1830 }
1831 impl ::std::convert::From<IGetOleObject> for ::windows::runtime::IUnknown {
from(value: IGetOleObject) -> Self1832     fn from(value: IGetOleObject) -> Self {
1833         unsafe { ::std::mem::transmute(value) }
1834     }
1835 }
1836 impl ::std::convert::From<&IGetOleObject> for ::windows::runtime::IUnknown {
from(value: &IGetOleObject) -> Self1837     fn from(value: &IGetOleObject) -> Self {
1838         ::std::convert::From::from(::std::clone::Clone::clone(value))
1839     }
1840 }
1841 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IGetOleObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1842     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1843         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1844     }
1845 }
1846 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IGetOleObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1847     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1848         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1849     }
1850 }
1851 #[repr(C)]
1852 #[doc(hidden)]
1853 pub struct IGetOleObject_abi(
1854     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1855     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1856     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1857     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1858 );
1859 #[repr(transparent)]
1860 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1861 pub struct IGetVBAObject(::windows::runtime::IUnknown);
1862 impl IGetVBAObject {
GetObject(&self, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()>1863     pub unsafe fn GetObject(&self, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()> {
1864         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(ppvobj), ::std::mem::transmute(dwreserved)).ok()
1865     }
1866 }
1867 unsafe impl ::windows::runtime::Interface for IGetVBAObject {
1868     type Vtable = IGetVBAObject_abi;
1869     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2440247904, 16204, 4123, [163, 246, 0, 170, 0, 52, 228, 233]);
1870 }
1871 impl ::std::convert::From<IGetVBAObject> for ::windows::runtime::IUnknown {
from(value: IGetVBAObject) -> Self1872     fn from(value: IGetVBAObject) -> Self {
1873         unsafe { ::std::mem::transmute(value) }
1874     }
1875 }
1876 impl ::std::convert::From<&IGetVBAObject> for ::windows::runtime::IUnknown {
from(value: &IGetVBAObject) -> Self1877     fn from(value: &IGetVBAObject) -> Self {
1878         ::std::convert::From::from(::std::clone::Clone::clone(value))
1879     }
1880 }
1881 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IGetVBAObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1882     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1883         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1884     }
1885 }
1886 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IGetVBAObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1887     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1888         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1889     }
1890 }
1891 #[repr(C)]
1892 #[doc(hidden)]
1893 pub struct IGetVBAObject_abi(
1894     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1895     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1896     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1897     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::HRESULT,
1898 );
1899 pub const INSTALL_SCOPE_INVALID: u32 = 0u32;
1900 pub const INSTALL_SCOPE_MACHINE: u32 = 1u32;
1901 pub const INSTALL_SCOPE_USER: u32 = 2u32;
1902 pub const IOF_CHECKDISPLAYASICON: i32 = 16i32;
1903 pub const IOF_CHECKLINK: i32 = 8i32;
1904 pub const IOF_CREATEFILEOBJECT: i32 = 64i32;
1905 pub const IOF_CREATELINKOBJECT: i32 = 128i32;
1906 pub const IOF_CREATENEWOBJECT: i32 = 32i32;
1907 pub const IOF_DISABLEDISPLAYASICON: i32 = 1024i32;
1908 pub const IOF_DISABLELINK: i32 = 256i32;
1909 pub const IOF_HIDECHANGEICON: i32 = 2048i32;
1910 pub const IOF_SELECTCREATECONTROL: i32 = 8192i32;
1911 pub const IOF_SELECTCREATEFROMFILE: i32 = 4i32;
1912 pub const IOF_SELECTCREATENEW: i32 = 2i32;
1913 pub const IOF_SHOWHELP: i32 = 1i32;
1914 pub const IOF_SHOWINSERTCONTROL: i32 = 4096i32;
1915 pub const IOF_VERIFYSERVERSEXIST: i32 = 512i32;
1916 #[repr(transparent)]
1917 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1918 pub struct IObjectWithSite(::windows::runtime::IUnknown);
1919 impl IObjectWithSite {
SetSite<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punksite: Param0) -> ::windows::runtime::Result<()>1920     pub unsafe fn SetSite<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(&self, punksite: Param0) -> ::windows::runtime::Result<()> {
1921         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), punksite.into_param().abi()).ok()
1922     }
GetSite<T: ::windows::runtime::Interface>(&self) -> ::windows::runtime::Result<T>1923     pub unsafe fn GetSite<T: ::windows::runtime::Interface>(&self) -> ::windows::runtime::Result<T> {
1924         let mut result__ = ::std::option::Option::None;
1925         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
1926     }
1927 }
1928 unsafe impl ::windows::runtime::Interface for IObjectWithSite {
1929     type Vtable = IObjectWithSite_abi;
1930     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4232577443, 11177, 4559, [162, 41, 0, 170, 0, 61, 115, 82]);
1931 }
1932 impl ::std::convert::From<IObjectWithSite> for ::windows::runtime::IUnknown {
from(value: IObjectWithSite) -> Self1933     fn from(value: IObjectWithSite) -> Self {
1934         unsafe { ::std::mem::transmute(value) }
1935     }
1936 }
1937 impl ::std::convert::From<&IObjectWithSite> for ::windows::runtime::IUnknown {
from(value: &IObjectWithSite) -> Self1938     fn from(value: &IObjectWithSite) -> Self {
1939         ::std::convert::From::from(::std::clone::Clone::clone(value))
1940     }
1941 }
1942 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IObjectWithSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1943     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1944         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1945     }
1946 }
1947 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IObjectWithSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1948     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1949         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1950     }
1951 }
1952 #[repr(C)]
1953 #[doc(hidden)]
1954 pub struct IObjectWithSite_abi(
1955     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1956     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1957     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1958     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, punksite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1959     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvsite: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
1960 );
1961 #[repr(transparent)]
1962 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1963 pub struct IOleAdviseHolder(::windows::runtime::IUnknown);
1964 impl IOleAdviseHolder {
1965     #[cfg(feature = "Win32_System_Com")]
Advise<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, padvise: Param0) -> ::windows::runtime::Result<u32>1966     pub unsafe fn Advise<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, padvise: Param0) -> ::windows::runtime::Result<u32> {
1967         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1968         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), padvise.into_param().abi(), &mut result__).from_abi::<u32>(result__)
1969     }
Unadvise(&self, dwconnection: u32) -> ::windows::runtime::Result<()>1970     pub unsafe fn Unadvise(&self, dwconnection: u32) -> ::windows::runtime::Result<()> {
1971         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwconnection)).ok()
1972     }
1973     #[cfg(feature = "Win32_System_Com")]
EnumAdvise(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA>1974     pub unsafe fn EnumAdvise(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA> {
1975         let mut result__: <super::Com::IEnumSTATDATA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1976         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::IEnumSTATDATA>(result__)
1977     }
1978     #[cfg(feature = "Win32_System_Com")]
SendOnRename<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0) -> ::windows::runtime::Result<()>1979     pub unsafe fn SendOnRename<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0) -> ::windows::runtime::Result<()> {
1980         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pmk.into_param().abi()).ok()
1981     }
SendOnSave(&self) -> ::windows::runtime::Result<()>1982     pub unsafe fn SendOnSave(&self) -> ::windows::runtime::Result<()> {
1983         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
1984     }
SendOnClose(&self) -> ::windows::runtime::Result<()>1985     pub unsafe fn SendOnClose(&self) -> ::windows::runtime::Result<()> {
1986         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
1987     }
1988 }
1989 unsafe impl ::windows::runtime::Interface for IOleAdviseHolder {
1990     type Vtable = IOleAdviseHolder_abi;
1991     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(273, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
1992 }
1993 impl ::std::convert::From<IOleAdviseHolder> for ::windows::runtime::IUnknown {
from(value: IOleAdviseHolder) -> Self1994     fn from(value: IOleAdviseHolder) -> Self {
1995         unsafe { ::std::mem::transmute(value) }
1996     }
1997 }
1998 impl ::std::convert::From<&IOleAdviseHolder> for ::windows::runtime::IUnknown {
from(value: &IOleAdviseHolder) -> Self1999     fn from(value: &IOleAdviseHolder) -> Self {
2000         ::std::convert::From::from(::std::clone::Clone::clone(value))
2001     }
2002 }
2003 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleAdviseHolder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2004     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2005         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2006     }
2007 }
2008 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleAdviseHolder {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2009     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2010         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2011     }
2012 }
2013 #[repr(C)]
2014 #[doc(hidden)]
2015 pub struct IOleAdviseHolder_abi(
2016     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2017     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2018     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2019     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, padvise: ::windows::runtime::RawPtr, pdwconnection: *mut u32) -> ::windows::runtime::HRESULT,
2020     #[cfg(not(feature = "Win32_System_Com"))] usize,
2021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwconnection: u32) -> ::windows::runtime::HRESULT,
2022     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumadvise: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2023     #[cfg(not(feature = "Win32_System_Com"))] usize,
2024     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2025     #[cfg(not(feature = "Win32_System_Com"))] usize,
2026     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2027     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2028 );
2029 #[repr(transparent)]
2030 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2031 pub struct IOleCache(::windows::runtime::IUnknown);
2032 impl IOleCache {
2033     #[cfg(feature = "Win32_System_Com")]
Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::runtime::Result<u32>2034     pub unsafe fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::runtime::Result<u32> {
2035         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2036         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pformatetc), ::std::mem::transmute(advf), &mut result__).from_abi::<u32>(result__)
2037     }
Uncache(&self, dwconnection: u32) -> ::windows::runtime::Result<()>2038     pub unsafe fn Uncache(&self, dwconnection: u32) -> ::windows::runtime::Result<()> {
2039         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwconnection)).ok()
2040     }
2041     #[cfg(feature = "Win32_System_Com")]
EnumCache(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA>2042     pub unsafe fn EnumCache(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA> {
2043         let mut result__: <super::Com::IEnumSTATDATA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2044         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::IEnumSTATDATA>(result__)
2045     }
2046     #[cfg(feature = "Win32_System_Com")]
InitCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()>2047     pub unsafe fn InitCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()> {
2048         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pdataobject.into_param().abi()).ok()
2049     }
2050     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
SetData<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::runtime::Result<()>2051     pub unsafe fn SetData<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::runtime::Result<()> {
2052         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pformatetc), ::std::mem::transmute(pmedium), frelease.into_param().abi()).ok()
2053     }
2054 }
2055 unsafe impl ::windows::runtime::Interface for IOleCache {
2056     type Vtable = IOleCache_abi;
2057     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(286, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2058 }
2059 impl ::std::convert::From<IOleCache> for ::windows::runtime::IUnknown {
from(value: IOleCache) -> Self2060     fn from(value: IOleCache) -> Self {
2061         unsafe { ::std::mem::transmute(value) }
2062     }
2063 }
2064 impl ::std::convert::From<&IOleCache> for ::windows::runtime::IUnknown {
from(value: &IOleCache) -> Self2065     fn from(value: &IOleCache) -> Self {
2066         ::std::convert::From::from(::std::clone::Clone::clone(value))
2067     }
2068 }
2069 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleCache {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2070     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2071         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2072     }
2073 }
2074 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleCache {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2075     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2076         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2077     }
2078 }
2079 #[repr(C)]
2080 #[doc(hidden)]
2081 pub struct IOleCache_abi(
2082     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2083     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2084     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2085     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pformatetc: *const super::Com::FORMATETC, advf: u32, pdwconnection: *mut u32) -> ::windows::runtime::HRESULT,
2086     #[cfg(not(feature = "Win32_System_Com"))] usize,
2087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwconnection: u32) -> ::windows::runtime::HRESULT,
2088     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumstatdata: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2089     #[cfg(not(feature = "Win32_System_Com"))] usize,
2090     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2091     #[cfg(not(feature = "Win32_System_Com"))] usize,
2092     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pformatetc: *const super::Com::FORMATETC, pmedium: *const ::std::mem::ManuallyDrop<super::Com::STGMEDIUM>, frelease: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2093     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] usize,
2094 );
2095 #[repr(transparent)]
2096 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2097 pub struct IOleCache2(::windows::runtime::IUnknown);
2098 impl IOleCache2 {
2099     #[cfg(feature = "Win32_System_Com")]
Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::runtime::Result<u32>2100     pub unsafe fn Cache(&self, pformatetc: *const super::Com::FORMATETC, advf: u32) -> ::windows::runtime::Result<u32> {
2101         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2102         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pformatetc), ::std::mem::transmute(advf), &mut result__).from_abi::<u32>(result__)
2103     }
Uncache(&self, dwconnection: u32) -> ::windows::runtime::Result<()>2104     pub unsafe fn Uncache(&self, dwconnection: u32) -> ::windows::runtime::Result<()> {
2105         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwconnection)).ok()
2106     }
2107     #[cfg(feature = "Win32_System_Com")]
EnumCache(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA>2108     pub unsafe fn EnumCache(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA> {
2109         let mut result__: <super::Com::IEnumSTATDATA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2110         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::IEnumSTATDATA>(result__)
2111     }
2112     #[cfg(feature = "Win32_System_Com")]
InitCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()>2113     pub unsafe fn InitCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()> {
2114         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pdataobject.into_param().abi()).ok()
2115     }
2116     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
SetData<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::runtime::Result<()>2117     pub unsafe fn SetData<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pformatetc: *const super::Com::FORMATETC, pmedium: *const super::Com::STGMEDIUM, frelease: Param2) -> ::windows::runtime::Result<()> {
2118         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pformatetc), ::std::mem::transmute(pmedium), frelease.into_param().abi()).ok()
2119     }
2120     #[cfg(feature = "Win32_System_Com")]
UpdateCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0, grfupdf: UPDFCACHE_FLAGS, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>2121     pub unsafe fn UpdateCache<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0, grfupdf: UPDFCACHE_FLAGS, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
2122         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pdataobject.into_param().abi(), ::std::mem::transmute(grfupdf), ::std::mem::transmute(preserved)).ok()
2123     }
DiscardCache(&self, dwdiscardoptions: u32) -> ::windows::runtime::Result<()>2124     pub unsafe fn DiscardCache(&self, dwdiscardoptions: u32) -> ::windows::runtime::Result<()> {
2125         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdiscardoptions)).ok()
2126     }
2127 }
2128 unsafe impl ::windows::runtime::Interface for IOleCache2 {
2129     type Vtable = IOleCache2_abi;
2130     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(296, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2131 }
2132 impl ::std::convert::From<IOleCache2> for ::windows::runtime::IUnknown {
from(value: IOleCache2) -> Self2133     fn from(value: IOleCache2) -> Self {
2134         unsafe { ::std::mem::transmute(value) }
2135     }
2136 }
2137 impl ::std::convert::From<&IOleCache2> for ::windows::runtime::IUnknown {
from(value: &IOleCache2) -> Self2138     fn from(value: &IOleCache2) -> Self {
2139         ::std::convert::From::from(::std::clone::Clone::clone(value))
2140     }
2141 }
2142 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleCache2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2143     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2144         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2145     }
2146 }
2147 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleCache2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2148     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2149         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2150     }
2151 }
2152 impl ::std::convert::From<IOleCache2> for IOleCache {
from(value: IOleCache2) -> Self2153     fn from(value: IOleCache2) -> Self {
2154         unsafe { ::std::mem::transmute(value) }
2155     }
2156 }
2157 impl ::std::convert::From<&IOleCache2> for IOleCache {
from(value: &IOleCache2) -> Self2158     fn from(value: &IOleCache2) -> Self {
2159         ::std::convert::From::from(::std::clone::Clone::clone(value))
2160     }
2161 }
2162 impl<'a> ::windows::runtime::IntoParam<'a, IOleCache> for IOleCache2 {
into_param(self) -> ::windows::runtime::Param<'a, IOleCache>2163     fn into_param(self) -> ::windows::runtime::Param<'a, IOleCache> {
2164         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleCache>::into(self))
2165     }
2166 }
2167 impl<'a> ::windows::runtime::IntoParam<'a, IOleCache> for &IOleCache2 {
into_param(self) -> ::windows::runtime::Param<'a, IOleCache>2168     fn into_param(self) -> ::windows::runtime::Param<'a, IOleCache> {
2169         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleCache>::into(::std::clone::Clone::clone(self)))
2170     }
2171 }
2172 #[repr(C)]
2173 #[doc(hidden)]
2174 pub struct IOleCache2_abi(
2175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2178     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pformatetc: *const super::Com::FORMATETC, advf: u32, pdwconnection: *mut u32) -> ::windows::runtime::HRESULT,
2179     #[cfg(not(feature = "Win32_System_Com"))] usize,
2180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwconnection: u32) -> ::windows::runtime::HRESULT,
2181     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumstatdata: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2182     #[cfg(not(feature = "Win32_System_Com"))] usize,
2183     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2184     #[cfg(not(feature = "Win32_System_Com"))] usize,
2185     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pformatetc: *const super::Com::FORMATETC, pmedium: *const ::std::mem::ManuallyDrop<super::Com::STGMEDIUM>, frelease: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2186     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] usize,
2187     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr, grfupdf: UPDFCACHE_FLAGS, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
2188     #[cfg(not(feature = "Win32_System_Com"))] usize,
2189     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdiscardoptions: u32) -> ::windows::runtime::HRESULT,
2190 );
2191 #[repr(transparent)]
2192 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2193 pub struct IOleCacheControl(::windows::runtime::IUnknown);
2194 impl IOleCacheControl {
2195     #[cfg(feature = "Win32_System_Com")]
OnRun<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()>2196     pub unsafe fn OnRun<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(&self, pdataobject: Param0) -> ::windows::runtime::Result<()> {
2197         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pdataobject.into_param().abi()).ok()
2198     }
OnStop(&self) -> ::windows::runtime::Result<()>2199     pub unsafe fn OnStop(&self) -> ::windows::runtime::Result<()> {
2200         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2201     }
2202 }
2203 unsafe impl ::windows::runtime::Interface for IOleCacheControl {
2204     type Vtable = IOleCacheControl_abi;
2205     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(297, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2206 }
2207 impl ::std::convert::From<IOleCacheControl> for ::windows::runtime::IUnknown {
from(value: IOleCacheControl) -> Self2208     fn from(value: IOleCacheControl) -> Self {
2209         unsafe { ::std::mem::transmute(value) }
2210     }
2211 }
2212 impl ::std::convert::From<&IOleCacheControl> for ::windows::runtime::IUnknown {
from(value: &IOleCacheControl) -> Self2213     fn from(value: &IOleCacheControl) -> Self {
2214         ::std::convert::From::from(::std::clone::Clone::clone(value))
2215     }
2216 }
2217 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleCacheControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2218     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2219         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2220     }
2221 }
2222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleCacheControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2225     }
2226 }
2227 #[repr(C)]
2228 #[doc(hidden)]
2229 pub struct IOleCacheControl_abi(
2230     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2231     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2232     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2233     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2234     #[cfg(not(feature = "Win32_System_Com"))] usize,
2235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2236 );
2237 #[repr(transparent)]
2238 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2239 pub struct IOleClientSite(::windows::runtime::IUnknown);
2240 impl IOleClientSite {
SaveObject(&self) -> ::windows::runtime::Result<()>2241     pub unsafe fn SaveObject(&self) -> ::windows::runtime::Result<()> {
2242         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
2243     }
2244     #[cfg(feature = "Win32_System_Com")]
GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::runtime::Result<super::Com::IMoniker>2245     pub unsafe fn GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::runtime::Result<super::Com::IMoniker> {
2246         let mut result__: <super::Com::IMoniker as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2247         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwassign), ::std::mem::transmute(dwwhichmoniker), &mut result__).from_abi::<super::Com::IMoniker>(result__)
2248     }
GetContainer(&self) -> ::windows::runtime::Result<IOleContainer>2249     pub unsafe fn GetContainer(&self) -> ::windows::runtime::Result<IOleContainer> {
2250         let mut result__: <IOleContainer as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2251         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOleContainer>(result__)
2252     }
ShowObject(&self) -> ::windows::runtime::Result<()>2253     pub unsafe fn ShowObject(&self) -> ::windows::runtime::Result<()> {
2254         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
2255     }
2256     #[cfg(feature = "Win32_Foundation")]
OnShowWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>2257     pub unsafe fn OnShowWindow<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
2258         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
2259     }
RequestNewObjectLayout(&self) -> ::windows::runtime::Result<()>2260     pub unsafe fn RequestNewObjectLayout(&self) -> ::windows::runtime::Result<()> {
2261         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
2262     }
2263 }
2264 unsafe impl ::windows::runtime::Interface for IOleClientSite {
2265     type Vtable = IOleClientSite_abi;
2266     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(280, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2267 }
2268 impl ::std::convert::From<IOleClientSite> for ::windows::runtime::IUnknown {
from(value: IOleClientSite) -> Self2269     fn from(value: IOleClientSite) -> Self {
2270         unsafe { ::std::mem::transmute(value) }
2271     }
2272 }
2273 impl ::std::convert::From<&IOleClientSite> for ::windows::runtime::IUnknown {
from(value: &IOleClientSite) -> Self2274     fn from(value: &IOleClientSite) -> Self {
2275         ::std::convert::From::from(::std::clone::Clone::clone(value))
2276     }
2277 }
2278 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleClientSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2279     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2280         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2281     }
2282 }
2283 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleClientSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2284     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2285         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2286     }
2287 }
2288 #[repr(C)]
2289 #[doc(hidden)]
2290 pub struct IOleClientSite_abi(
2291     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2292     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2293     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2294     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2295     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwassign: u32, dwwhichmoniker: u32, ppmk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2296     #[cfg(not(feature = "Win32_System_Com"))] usize,
2297     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppcontainer: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2298     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2299     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2300     #[cfg(not(feature = "Win32_Foundation"))] usize,
2301     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2302 );
2303 #[repr(transparent)]
2304 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2305 pub struct IOleCommandTarget(::windows::runtime::IUnknown);
2306 impl IOleCommandTarget {
QueryStatus(&self, pguidcmdgroup: *const ::windows::runtime::GUID, ccmds: u32, prgcmds: *mut OLECMD, pcmdtext: *mut OLECMDTEXT) -> ::windows::runtime::Result<()>2307     pub unsafe fn QueryStatus(&self, pguidcmdgroup: *const ::windows::runtime::GUID, ccmds: u32, prgcmds: *mut OLECMD, pcmdtext: *mut OLECMDTEXT) -> ::windows::runtime::Result<()> {
2308         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidcmdgroup), ::std::mem::transmute(ccmds), ::std::mem::transmute(prgcmds), ::std::mem::transmute(pcmdtext)).ok()
2309     }
2310     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Exec(&self, pguidcmdgroup: *const ::windows::runtime::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const super::Com::VARIANT, pvaout: *mut super::Com::VARIANT) -> ::windows::runtime::Result<()>2311     pub unsafe fn Exec(&self, pguidcmdgroup: *const ::windows::runtime::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const super::Com::VARIANT, pvaout: *mut super::Com::VARIANT) -> ::windows::runtime::Result<()> {
2312         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pguidcmdgroup), ::std::mem::transmute(ncmdid), ::std::mem::transmute(ncmdexecopt), ::std::mem::transmute(pvain), ::std::mem::transmute(pvaout)).ok()
2313     }
2314 }
2315 unsafe impl ::windows::runtime::Interface for IOleCommandTarget {
2316     type Vtable = IOleCommandTarget_abi;
2317     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507083, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
2318 }
2319 impl ::std::convert::From<IOleCommandTarget> for ::windows::runtime::IUnknown {
from(value: IOleCommandTarget) -> Self2320     fn from(value: IOleCommandTarget) -> Self {
2321         unsafe { ::std::mem::transmute(value) }
2322     }
2323 }
2324 impl ::std::convert::From<&IOleCommandTarget> for ::windows::runtime::IUnknown {
from(value: &IOleCommandTarget) -> Self2325     fn from(value: &IOleCommandTarget) -> Self {
2326         ::std::convert::From::from(::std::clone::Clone::clone(value))
2327     }
2328 }
2329 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleCommandTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2330     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2331         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2332     }
2333 }
2334 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleCommandTarget {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2335     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2336         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2337     }
2338 }
2339 #[repr(C)]
2340 #[doc(hidden)]
2341 pub struct IOleCommandTarget_abi(
2342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2344     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2345     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidcmdgroup: *const ::windows::runtime::GUID, ccmds: u32, prgcmds: *mut OLECMD, pcmdtext: *mut OLECMDTEXT) -> ::windows::runtime::HRESULT,
2346     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pguidcmdgroup: *const ::windows::runtime::GUID, ncmdid: u32, ncmdexecopt: u32, pvain: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvaout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
2347     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
2348 );
2349 #[repr(transparent)]
2350 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2351 pub struct IOleContainer(::windows::runtime::IUnknown);
2352 impl IOleContainer {
2353     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()>2354     pub unsafe fn ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()> {
2355         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pbc.into_param().abi(), pszdisplayname.into_param().abi(), ::std::mem::transmute(pcheaten), ::std::mem::transmute(ppmkout)).ok()
2356     }
2357     #[cfg(feature = "Win32_System_Com")]
EnumObjects(&self, grfflags: u32) -> ::windows::runtime::Result<super::Com::IEnumUnknown>2358     pub unsafe fn EnumObjects(&self, grfflags: u32) -> ::windows::runtime::Result<super::Com::IEnumUnknown> {
2359         let mut result__: <super::Com::IEnumUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2360         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(grfflags), &mut result__).from_abi::<super::Com::IEnumUnknown>(result__)
2361     }
2362     #[cfg(feature = "Win32_Foundation")]
LockContainer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()>2363     pub unsafe fn LockContainer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()> {
2364         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), flock.into_param().abi()).ok()
2365     }
2366 }
2367 unsafe impl ::windows::runtime::Interface for IOleContainer {
2368     type Vtable = IOleContainer_abi;
2369     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(283, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2370 }
2371 impl ::std::convert::From<IOleContainer> for ::windows::runtime::IUnknown {
from(value: IOleContainer) -> Self2372     fn from(value: IOleContainer) -> Self {
2373         unsafe { ::std::mem::transmute(value) }
2374     }
2375 }
2376 impl ::std::convert::From<&IOleContainer> for ::windows::runtime::IUnknown {
from(value: &IOleContainer) -> Self2377     fn from(value: &IOleContainer) -> Self {
2378         ::std::convert::From::from(::std::clone::Clone::clone(value))
2379     }
2380 }
2381 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleContainer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2382     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2383         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2384     }
2385 }
2386 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleContainer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2387     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2388         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2389     }
2390 }
2391 impl ::std::convert::From<IOleContainer> for IParseDisplayName {
from(value: IOleContainer) -> Self2392     fn from(value: IOleContainer) -> Self {
2393         unsafe { ::std::mem::transmute(value) }
2394     }
2395 }
2396 impl ::std::convert::From<&IOleContainer> for IParseDisplayName {
from(value: &IOleContainer) -> Self2397     fn from(value: &IOleContainer) -> Self {
2398         ::std::convert::From::from(::std::clone::Clone::clone(value))
2399     }
2400 }
2401 impl<'a> ::windows::runtime::IntoParam<'a, IParseDisplayName> for IOleContainer {
into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName>2402     fn into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName> {
2403         ::windows::runtime::Param::Owned(::std::convert::Into::<IParseDisplayName>::into(self))
2404     }
2405 }
2406 impl<'a> ::windows::runtime::IntoParam<'a, IParseDisplayName> for &IOleContainer {
into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName>2407     fn into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName> {
2408         ::windows::runtime::Param::Owned(::std::convert::Into::<IParseDisplayName>::into(::std::clone::Clone::clone(self)))
2409     }
2410 }
2411 #[repr(C)]
2412 #[doc(hidden)]
2413 pub struct IOleContainer_abi(
2414     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2415     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2416     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2417     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbc: ::windows::runtime::RawPtr, pszdisplayname: super::super::Foundation::PWSTR, pcheaten: *mut u32, ppmkout: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2418     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
2419     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, grfflags: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2420     #[cfg(not(feature = "Win32_System_Com"))] usize,
2421     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2422     #[cfg(not(feature = "Win32_Foundation"))] usize,
2423 );
2424 #[repr(transparent)]
2425 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2426 pub struct IOleControl(::windows::runtime::IUnknown);
2427 impl IOleControl {
2428     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
GetControlInfo(&self, pci: *mut CONTROLINFO) -> ::windows::runtime::Result<()>2429     pub unsafe fn GetControlInfo(&self, pci: *mut CONTROLINFO) -> ::windows::runtime::Result<()> {
2430         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pci)).ok()
2431     }
2432     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
OnMnemonic(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>2433     pub unsafe fn OnMnemonic(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
2434         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg)).ok()
2435     }
OnAmbientPropertyChange(&self, dispid: i32) -> ::windows::runtime::Result<()>2436     pub unsafe fn OnAmbientPropertyChange(&self, dispid: i32) -> ::windows::runtime::Result<()> {
2437         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid)).ok()
2438     }
2439     #[cfg(feature = "Win32_Foundation")]
FreezeEvents<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bfreeze: Param0) -> ::windows::runtime::Result<()>2440     pub unsafe fn FreezeEvents<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, bfreeze: Param0) -> ::windows::runtime::Result<()> {
2441         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), bfreeze.into_param().abi()).ok()
2442     }
2443 }
2444 unsafe impl ::windows::runtime::Interface for IOleControl {
2445     type Vtable = IOleControl_abi;
2446     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443336, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
2447 }
2448 impl ::std::convert::From<IOleControl> for ::windows::runtime::IUnknown {
from(value: IOleControl) -> Self2449     fn from(value: IOleControl) -> Self {
2450         unsafe { ::std::mem::transmute(value) }
2451     }
2452 }
2453 impl ::std::convert::From<&IOleControl> for ::windows::runtime::IUnknown {
from(value: &IOleControl) -> Self2454     fn from(value: &IOleControl) -> Self {
2455         ::std::convert::From::from(::std::clone::Clone::clone(value))
2456     }
2457 }
2458 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2459     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2460         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2461     }
2462 }
2463 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2464     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2465         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2466     }
2467 }
2468 #[repr(C)]
2469 #[doc(hidden)]
2470 pub struct IOleControl_abi(
2471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2472     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2473     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2474     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pci: *mut CONTROLINFO) -> ::windows::runtime::HRESULT,
2475     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
2476     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
2477     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
2478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32) -> ::windows::runtime::HRESULT,
2479     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bfreeze: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2480     #[cfg(not(feature = "Win32_Foundation"))] usize,
2481 );
2482 #[repr(transparent)]
2483 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2484 pub struct IOleControlSite(::windows::runtime::IUnknown);
2485 impl IOleControlSite {
OnControlInfoChanged(&self) -> ::windows::runtime::Result<()>2486     pub unsafe fn OnControlInfoChanged(&self) -> ::windows::runtime::Result<()> {
2487         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
2488     }
2489     #[cfg(feature = "Win32_Foundation")]
LockInPlaceActive<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()>2490     pub unsafe fn LockInPlaceActive<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()> {
2491         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), flock.into_param().abi()).ok()
2492     }
2493     #[cfg(feature = "Win32_System_Ole_Automation")]
GetExtendedControl(&self) -> ::windows::runtime::Result<Automation::IDispatch>2494     pub unsafe fn GetExtendedControl(&self) -> ::windows::runtime::Result<Automation::IDispatch> {
2495         let mut result__: <Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2496         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<Automation::IDispatch>(result__)
2497     }
2498     #[cfg(feature = "Win32_Foundation")]
TransformCoords(&self, pptlhimetric: *mut super::super::Foundation::POINTL, pptfcontainer: *mut POINTF, dwflags: XFORMCOORDS) -> ::windows::runtime::Result<()>2499     pub unsafe fn TransformCoords(&self, pptlhimetric: *mut super::super::Foundation::POINTL, pptfcontainer: *mut POINTF, dwflags: XFORMCOORDS) -> ::windows::runtime::Result<()> {
2500         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pptlhimetric), ::std::mem::transmute(pptfcontainer), ::std::mem::transmute(dwflags)).ok()
2501     }
2502     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG, grfmodifiers: u32) -> ::windows::runtime::Result<()>2503     pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG, grfmodifiers: u32) -> ::windows::runtime::Result<()> {
2504         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg), ::std::mem::transmute(grfmodifiers)).ok()
2505     }
2506     #[cfg(feature = "Win32_Foundation")]
OnFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fgotfocus: Param0) -> ::windows::runtime::Result<()>2507     pub unsafe fn OnFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fgotfocus: Param0) -> ::windows::runtime::Result<()> {
2508         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), fgotfocus.into_param().abi()).ok()
2509     }
ShowPropertyFrame(&self) -> ::windows::runtime::Result<()>2510     pub unsafe fn ShowPropertyFrame(&self) -> ::windows::runtime::Result<()> {
2511         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
2512     }
2513 }
2514 unsafe impl ::windows::runtime::Interface for IOleControlSite {
2515     type Vtable = IOleControlSite_abi;
2516     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443337, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
2517 }
2518 impl ::std::convert::From<IOleControlSite> for ::windows::runtime::IUnknown {
from(value: IOleControlSite) -> Self2519     fn from(value: IOleControlSite) -> Self {
2520         unsafe { ::std::mem::transmute(value) }
2521     }
2522 }
2523 impl ::std::convert::From<&IOleControlSite> for ::windows::runtime::IUnknown {
from(value: &IOleControlSite) -> Self2524     fn from(value: &IOleControlSite) -> Self {
2525         ::std::convert::From::from(::std::clone::Clone::clone(value))
2526     }
2527 }
2528 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleControlSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2529     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2530         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2531     }
2532 }
2533 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleControlSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2534     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2535         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2536     }
2537 }
2538 #[repr(C)]
2539 #[doc(hidden)]
2540 pub struct IOleControlSite_abi(
2541     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2545     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2546     #[cfg(not(feature = "Win32_Foundation"))] usize,
2547     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdisp: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2548     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
2549     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pptlhimetric: *mut super::super::Foundation::POINTL, pptfcontainer: *mut POINTF, dwflags: XFORMCOORDS) -> ::windows::runtime::HRESULT,
2550     #[cfg(not(feature = "Win32_Foundation"))] usize,
2551     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::UI::WindowsAndMessaging::MSG, grfmodifiers: u32) -> ::windows::runtime::HRESULT,
2552     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
2553     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fgotfocus: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2554     #[cfg(not(feature = "Win32_Foundation"))] usize,
2555     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2556 );
2557 #[repr(transparent)]
2558 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2559 pub struct IOleDocument(::windows::runtime::IUnknown);
2560 impl IOleDocument {
2561     #[cfg(feature = "Win32_System_Com")]
CreateView<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pipsite: Param0, pstm: Param1, dwreserved: u32) -> ::windows::runtime::Result<IOleDocumentView>2562     pub unsafe fn CreateView<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pipsite: Param0, pstm: Param1, dwreserved: u32) -> ::windows::runtime::Result<IOleDocumentView> {
2563         let mut result__: <IOleDocumentView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2564         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pipsite.into_param().abi(), pstm.into_param().abi(), ::std::mem::transmute(dwreserved), &mut result__).from_abi::<IOleDocumentView>(result__)
2565     }
GetDocMiscStatus(&self) -> ::windows::runtime::Result<u32>2566     pub unsafe fn GetDocMiscStatus(&self) -> ::windows::runtime::Result<u32> {
2567         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2568         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2569     }
EnumViews(&self, ppenum: *mut ::std::option::Option<IEnumOleDocumentViews>, ppview: *mut ::std::option::Option<IOleDocumentView>) -> ::windows::runtime::Result<()>2570     pub unsafe fn EnumViews(&self, ppenum: *mut ::std::option::Option<IEnumOleDocumentViews>, ppview: *mut ::std::option::Option<IOleDocumentView>) -> ::windows::runtime::Result<()> {
2571         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppenum), ::std::mem::transmute(ppview)).ok()
2572     }
2573 }
2574 unsafe impl ::windows::runtime::Interface for IOleDocument {
2575     type Vtable = IOleDocument_abi;
2576     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507077, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
2577 }
2578 impl ::std::convert::From<IOleDocument> for ::windows::runtime::IUnknown {
from(value: IOleDocument) -> Self2579     fn from(value: IOleDocument) -> Self {
2580         unsafe { ::std::mem::transmute(value) }
2581     }
2582 }
2583 impl ::std::convert::From<&IOleDocument> for ::windows::runtime::IUnknown {
from(value: &IOleDocument) -> Self2584     fn from(value: &IOleDocument) -> Self {
2585         ::std::convert::From::from(::std::clone::Clone::clone(value))
2586     }
2587 }
2588 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2589     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2590         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2591     }
2592 }
2593 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleDocument {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2594     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2595         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2596     }
2597 }
2598 #[repr(C)]
2599 #[doc(hidden)]
2600 pub struct IOleDocument_abi(
2601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2602     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2603     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2604     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pipsite: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr, dwreserved: u32, ppview: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2605     #[cfg(not(feature = "Win32_System_Com"))] usize,
2606     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
2607     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr, ppview: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2608 );
2609 #[repr(transparent)]
2610 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2611 pub struct IOleDocumentSite(::windows::runtime::IUnknown);
2612 impl IOleDocumentSite {
ActivateMe<'a, Param0: ::windows::runtime::IntoParam<'a, IOleDocumentView>>(&self, pviewtoactivate: Param0) -> ::windows::runtime::Result<()>2613     pub unsafe fn ActivateMe<'a, Param0: ::windows::runtime::IntoParam<'a, IOleDocumentView>>(&self, pviewtoactivate: Param0) -> ::windows::runtime::Result<()> {
2614         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pviewtoactivate.into_param().abi()).ok()
2615     }
2616 }
2617 unsafe impl ::windows::runtime::Interface for IOleDocumentSite {
2618     type Vtable = IOleDocumentSite_abi;
2619     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507079, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
2620 }
2621 impl ::std::convert::From<IOleDocumentSite> for ::windows::runtime::IUnknown {
from(value: IOleDocumentSite) -> Self2622     fn from(value: IOleDocumentSite) -> Self {
2623         unsafe { ::std::mem::transmute(value) }
2624     }
2625 }
2626 impl ::std::convert::From<&IOleDocumentSite> for ::windows::runtime::IUnknown {
from(value: &IOleDocumentSite) -> Self2627     fn from(value: &IOleDocumentSite) -> Self {
2628         ::std::convert::From::from(::std::clone::Clone::clone(value))
2629     }
2630 }
2631 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleDocumentSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2632     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2633         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2634     }
2635 }
2636 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleDocumentSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2637     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2638         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2639     }
2640 }
2641 #[repr(C)]
2642 #[doc(hidden)]
2643 pub struct IOleDocumentSite_abi(
2644     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2645     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2646     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2647     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pviewtoactivate: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2648 );
2649 #[repr(transparent)]
2650 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2651 pub struct IOleDocumentView(::windows::runtime::IUnknown);
2652 impl IOleDocumentView {
SetInPlaceSite<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>>(&self, pipsite: Param0) -> ::windows::runtime::Result<()>2653     pub unsafe fn SetInPlaceSite<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>>(&self, pipsite: Param0) -> ::windows::runtime::Result<()> {
2654         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pipsite.into_param().abi()).ok()
2655     }
GetInPlaceSite(&self) -> ::windows::runtime::Result<IOleInPlaceSite>2656     pub unsafe fn GetInPlaceSite(&self) -> ::windows::runtime::Result<IOleInPlaceSite> {
2657         let mut result__: <IOleInPlaceSite as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2658         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOleInPlaceSite>(result__)
2659     }
GetDocument(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>2660     pub unsafe fn GetDocument(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
2661         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2662         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
2663     }
2664     #[cfg(feature = "Win32_Foundation")]
SetRect(&self, prcview: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>2665     pub unsafe fn SetRect(&self, prcview: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
2666         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcview)).ok()
2667     }
2668     #[cfg(feature = "Win32_Foundation")]
GetRect(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>2669     pub unsafe fn GetRect(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
2670         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2671         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
2672     }
2673     #[cfg(feature = "Win32_Foundation")]
SetRectComplex(&self, prcview: *const super::super::Foundation::RECT, prchscroll: *const super::super::Foundation::RECT, prcvscroll: *const super::super::Foundation::RECT, prcsizebox: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>2674     pub unsafe fn SetRectComplex(&self, prcview: *const super::super::Foundation::RECT, prchscroll: *const super::super::Foundation::RECT, prcvscroll: *const super::super::Foundation::RECT, prcsizebox: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
2675         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcview), ::std::mem::transmute(prchscroll), ::std::mem::transmute(prcvscroll), ::std::mem::transmute(prcsizebox)).ok()
2676     }
2677     #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()>2678     pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fshow: Param0) -> ::windows::runtime::Result<()> {
2679         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fshow.into_param().abi()).ok()
2680     }
2681     #[cfg(feature = "Win32_Foundation")]
UIActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fuiactivate: Param0) -> ::windows::runtime::Result<()>2682     pub unsafe fn UIActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fuiactivate: Param0) -> ::windows::runtime::Result<()> {
2683         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fuiactivate.into_param().abi()).ok()
2684     }
Open(&self) -> ::windows::runtime::Result<()>2685     pub unsafe fn Open(&self) -> ::windows::runtime::Result<()> {
2686         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
2687     }
CloseView(&self, dwreserved: u32) -> ::windows::runtime::Result<()>2688     pub unsafe fn CloseView(&self, dwreserved: u32) -> ::windows::runtime::Result<()> {
2689         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwreserved)).ok()
2690     }
2691     #[cfg(feature = "Win32_System_Com")]
SaveViewState<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()>2692     pub unsafe fn SaveViewState<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()> {
2693         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pstm.into_param().abi()).ok()
2694     }
2695     #[cfg(feature = "Win32_System_Com")]
ApplyViewState<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()>2696     pub unsafe fn ApplyViewState<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()> {
2697         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), pstm.into_param().abi()).ok()
2698     }
Clone<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>>(&self, pipsitenew: Param0) -> ::windows::runtime::Result<IOleDocumentView>2699     pub unsafe fn Clone<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceSite>>(&self, pipsitenew: Param0) -> ::windows::runtime::Result<IOleDocumentView> {
2700         let mut result__: <IOleDocumentView as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2701         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pipsitenew.into_param().abi(), &mut result__).from_abi::<IOleDocumentView>(result__)
2702     }
2703 }
2704 unsafe impl ::windows::runtime::Interface for IOleDocumentView {
2705     type Vtable = IOleDocumentView_abi;
2706     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507078, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
2707 }
2708 impl ::std::convert::From<IOleDocumentView> for ::windows::runtime::IUnknown {
from(value: IOleDocumentView) -> Self2709     fn from(value: IOleDocumentView) -> Self {
2710         unsafe { ::std::mem::transmute(value) }
2711     }
2712 }
2713 impl ::std::convert::From<&IOleDocumentView> for ::windows::runtime::IUnknown {
from(value: &IOleDocumentView) -> Self2714     fn from(value: &IOleDocumentView) -> Self {
2715         ::std::convert::From::from(::std::clone::Clone::clone(value))
2716     }
2717 }
2718 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleDocumentView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2719     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2720         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2721     }
2722 }
2723 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleDocumentView {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2724     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2725         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2726     }
2727 }
2728 #[repr(C)]
2729 #[doc(hidden)]
2730 pub struct IOleDocumentView_abi(
2731     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2732     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2733     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pipsite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppipsite: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2737     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcview: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2738     #[cfg(not(feature = "Win32_Foundation"))] usize,
2739     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcview: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2740     #[cfg(not(feature = "Win32_Foundation"))] usize,
2741     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcview: *const super::super::Foundation::RECT, prchscroll: *const super::super::Foundation::RECT, prcvscroll: *const super::super::Foundation::RECT, prcsizebox: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2742     #[cfg(not(feature = "Win32_Foundation"))] usize,
2743     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fshow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2744     #[cfg(not(feature = "Win32_Foundation"))] usize,
2745     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fuiactivate: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2746     #[cfg(not(feature = "Win32_Foundation"))] usize,
2747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2748     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwreserved: u32) -> ::windows::runtime::HRESULT,
2749     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2750     #[cfg(not(feature = "Win32_System_Com"))] usize,
2751     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2752     #[cfg(not(feature = "Win32_System_Com"))] usize,
2753     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pipsitenew: ::windows::runtime::RawPtr, ppviewnew: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2754 );
2755 #[repr(transparent)]
2756 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2757 pub struct IOleInPlaceActiveObject(::windows::runtime::IUnknown);
2758 impl IOleInPlaceActiveObject {
2759     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>2760     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
2761         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2762         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
2763     }
2764     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>2765     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
2766         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
2767     }
2768     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>2769     pub unsafe fn TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
2770         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpmsg)).ok()
2771     }
2772     #[cfg(feature = "Win32_Foundation")]
OnFrameWindowActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, factivate: Param0) -> ::windows::runtime::Result<()>2773     pub unsafe fn OnFrameWindowActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, factivate: Param0) -> ::windows::runtime::Result<()> {
2774         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), factivate.into_param().abi()).ok()
2775     }
2776     #[cfg(feature = "Win32_Foundation")]
OnDocWindowActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, factivate: Param0) -> ::windows::runtime::Result<()>2777     pub unsafe fn OnDocWindowActivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, factivate: Param0) -> ::windows::runtime::Result<()> {
2778         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), factivate.into_param().abi()).ok()
2779     }
2780     #[cfg(feature = "Win32_Foundation")]
ResizeBorder<'a, Param1: ::windows::runtime::IntoParam<'a, IOleInPlaceUIWindow>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prcborder: *const super::super::Foundation::RECT, puiwindow: Param1, fframewindow: Param2) -> ::windows::runtime::Result<()>2781     pub unsafe fn ResizeBorder<'a, Param1: ::windows::runtime::IntoParam<'a, IOleInPlaceUIWindow>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prcborder: *const super::super::Foundation::RECT, puiwindow: Param1, fframewindow: Param2) -> ::windows::runtime::Result<()> {
2782         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(prcborder), puiwindow.into_param().abi(), fframewindow.into_param().abi()).ok()
2783     }
2784     #[cfg(feature = "Win32_Foundation")]
EnableModeless<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>2785     pub unsafe fn EnableModeless<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
2786         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
2787     }
2788 }
2789 unsafe impl ::windows::runtime::Interface for IOleInPlaceActiveObject {
2790     type Vtable = IOleInPlaceActiveObject_abi;
2791     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(279, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2792 }
2793 impl ::std::convert::From<IOleInPlaceActiveObject> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceActiveObject) -> Self2794     fn from(value: IOleInPlaceActiveObject) -> Self {
2795         unsafe { ::std::mem::transmute(value) }
2796     }
2797 }
2798 impl ::std::convert::From<&IOleInPlaceActiveObject> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceActiveObject) -> Self2799     fn from(value: &IOleInPlaceActiveObject) -> Self {
2800         ::std::convert::From::from(::std::clone::Clone::clone(value))
2801     }
2802 }
2803 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceActiveObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2804     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2805         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2806     }
2807 }
2808 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceActiveObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2809     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2810         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2811     }
2812 }
2813 impl ::std::convert::From<IOleInPlaceActiveObject> for IOleWindow {
from(value: IOleInPlaceActiveObject) -> Self2814     fn from(value: IOleInPlaceActiveObject) -> Self {
2815         unsafe { ::std::mem::transmute(value) }
2816     }
2817 }
2818 impl ::std::convert::From<&IOleInPlaceActiveObject> for IOleWindow {
from(value: &IOleInPlaceActiveObject) -> Self2819     fn from(value: &IOleInPlaceActiveObject) -> Self {
2820         ::std::convert::From::from(::std::clone::Clone::clone(value))
2821     }
2822 }
2823 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceActiveObject {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>2824     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
2825         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
2826     }
2827 }
2828 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceActiveObject {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>2829     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
2830         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
2831     }
2832 }
2833 #[repr(C)]
2834 #[doc(hidden)]
2835 pub struct IOleInPlaceActiveObject_abi(
2836     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2837     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2838     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2839     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
2840     #[cfg(not(feature = "Win32_Foundation"))] usize,
2841     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2842     #[cfg(not(feature = "Win32_Foundation"))] usize,
2843     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
2844     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
2845     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factivate: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2846     #[cfg(not(feature = "Win32_Foundation"))] usize,
2847     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, factivate: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2848     #[cfg(not(feature = "Win32_Foundation"))] usize,
2849     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prcborder: *const super::super::Foundation::RECT, puiwindow: ::windows::runtime::RawPtr, fframewindow: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2850     #[cfg(not(feature = "Win32_Foundation"))] usize,
2851     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2852     #[cfg(not(feature = "Win32_Foundation"))] usize,
2853 );
2854 #[repr(transparent)]
2855 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2856 pub struct IOleInPlaceFrame(::windows::runtime::IUnknown);
2857 impl IOleInPlaceFrame {
2858     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>2859     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
2860         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2861         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
2862     }
2863     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>2864     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
2865         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
2866     }
2867     #[cfg(feature = "Win32_Foundation")]
GetBorder(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>2868     pub unsafe fn GetBorder(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
2869         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2870         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
2871     }
2872     #[cfg(feature = "Win32_Foundation")]
RequestBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>2873     pub unsafe fn RequestBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
2874         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pborderwidths)).ok()
2875     }
2876     #[cfg(feature = "Win32_Foundation")]
SetBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>2877     pub unsafe fn SetBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
2878         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pborderwidths)).ok()
2879     }
2880     #[cfg(feature = "Win32_Foundation")]
SetActiveObject<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pactiveobject: Param0, pszobjname: Param1) -> ::windows::runtime::Result<()>2881     pub unsafe fn SetActiveObject<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pactiveobject: Param0, pszobjname: Param1) -> ::windows::runtime::Result<()> {
2882         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pactiveobject.into_param().abi(), pszobjname.into_param().abi()).ok()
2883     }
2884     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
InsertMenus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(&self, hmenushared: Param0, lpmenuwidths: *mut OleMenuGroupWidths) -> ::windows::runtime::Result<()>2885     pub unsafe fn InsertMenus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(&self, hmenushared: Param0, lpmenuwidths: *mut OleMenuGroupWidths) -> ::windows::runtime::Result<()> {
2886         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), hmenushared.into_param().abi(), ::std::mem::transmute(lpmenuwidths)).ok()
2887     }
2888     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
SetMenu<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hmenushared: Param0, holemenu: isize, hwndactiveobject: Param2) -> ::windows::runtime::Result<()>2889     pub unsafe fn SetMenu<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, hmenushared: Param0, holemenu: isize, hwndactiveobject: Param2) -> ::windows::runtime::Result<()> {
2890         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), hmenushared.into_param().abi(), ::std::mem::transmute(holemenu), hwndactiveobject.into_param().abi()).ok()
2891     }
2892     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
RemoveMenus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(&self, hmenushared: Param0) -> ::windows::runtime::Result<()>2893     pub unsafe fn RemoveMenus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(&self, hmenushared: Param0) -> ::windows::runtime::Result<()> {
2894         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hmenushared.into_param().abi()).ok()
2895     }
2896     #[cfg(feature = "Win32_Foundation")]
SetStatusText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszstatustext: Param0) -> ::windows::runtime::Result<()>2897     pub unsafe fn SetStatusText<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszstatustext: Param0) -> ::windows::runtime::Result<()> {
2898         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pszstatustext.into_param().abi()).ok()
2899     }
2900     #[cfg(feature = "Win32_Foundation")]
EnableModeless<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>2901     pub unsafe fn EnableModeless<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
2902         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
2903     }
2904     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, wid: u16) -> ::windows::runtime::Result<()>2905     pub unsafe fn TranslateAccelerator(&self, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, wid: u16) -> ::windows::runtime::Result<()> {
2906         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lpmsg), ::std::mem::transmute(wid)).ok()
2907     }
2908 }
2909 unsafe impl ::windows::runtime::Interface for IOleInPlaceFrame {
2910     type Vtable = IOleInPlaceFrame_abi;
2911     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(278, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
2912 }
2913 impl ::std::convert::From<IOleInPlaceFrame> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceFrame) -> Self2914     fn from(value: IOleInPlaceFrame) -> Self {
2915         unsafe { ::std::mem::transmute(value) }
2916     }
2917 }
2918 impl ::std::convert::From<&IOleInPlaceFrame> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceFrame) -> Self2919     fn from(value: &IOleInPlaceFrame) -> Self {
2920         ::std::convert::From::from(::std::clone::Clone::clone(value))
2921     }
2922 }
2923 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2924     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2925         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2926     }
2927 }
2928 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2929     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2930         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2931     }
2932 }
2933 impl ::std::convert::From<IOleInPlaceFrame> for IOleInPlaceUIWindow {
from(value: IOleInPlaceFrame) -> Self2934     fn from(value: IOleInPlaceFrame) -> Self {
2935         unsafe { ::std::mem::transmute(value) }
2936     }
2937 }
2938 impl ::std::convert::From<&IOleInPlaceFrame> for IOleInPlaceUIWindow {
from(value: &IOleInPlaceFrame) -> Self2939     fn from(value: &IOleInPlaceFrame) -> Self {
2940         ::std::convert::From::from(::std::clone::Clone::clone(value))
2941     }
2942 }
2943 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceUIWindow> for IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceUIWindow>2944     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceUIWindow> {
2945         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceUIWindow>::into(self))
2946     }
2947 }
2948 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceUIWindow> for &IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceUIWindow>2949     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceUIWindow> {
2950         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceUIWindow>::into(::std::clone::Clone::clone(self)))
2951     }
2952 }
2953 impl ::std::convert::From<IOleInPlaceFrame> for IOleWindow {
from(value: IOleInPlaceFrame) -> Self2954     fn from(value: IOleInPlaceFrame) -> Self {
2955         unsafe { ::std::mem::transmute(value) }
2956     }
2957 }
2958 impl ::std::convert::From<&IOleInPlaceFrame> for IOleWindow {
from(value: &IOleInPlaceFrame) -> Self2959     fn from(value: &IOleInPlaceFrame) -> Self {
2960         ::std::convert::From::from(::std::clone::Clone::clone(value))
2961     }
2962 }
2963 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>2964     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
2965         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
2966     }
2967 }
2968 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceFrame {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>2969     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
2970         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
2971     }
2972 }
2973 #[repr(C)]
2974 #[doc(hidden)]
2975 pub struct IOleInPlaceFrame_abi(
2976     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2977     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2978     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2979     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
2980     #[cfg(not(feature = "Win32_Foundation"))] usize,
2981     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2982     #[cfg(not(feature = "Win32_Foundation"))] usize,
2983     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprectborder: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2984     #[cfg(not(feature = "Win32_Foundation"))] usize,
2985     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2986     #[cfg(not(feature = "Win32_Foundation"))] usize,
2987     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
2988     #[cfg(not(feature = "Win32_Foundation"))] usize,
2989     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pactiveobject: ::windows::runtime::RawPtr, pszobjname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2990     #[cfg(not(feature = "Win32_Foundation"))] usize,
2991     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmenushared: super::super::UI::WindowsAndMessaging::HMENU, lpmenuwidths: *mut OleMenuGroupWidths) -> ::windows::runtime::HRESULT,
2992     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
2993     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmenushared: super::super::UI::WindowsAndMessaging::HMENU, holemenu: isize, hwndactiveobject: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
2994     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
2995     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmenushared: super::super::UI::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT,
2996     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
2997     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszstatustext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2998     #[cfg(not(feature = "Win32_Foundation"))] usize,
2999     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3000     #[cfg(not(feature = "Win32_Foundation"))] usize,
3001     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, wid: u16) -> ::windows::runtime::HRESULT,
3002     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3003 );
3004 #[repr(transparent)]
3005 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3006 pub struct IOleInPlaceObject(::windows::runtime::IUnknown);
3007 impl IOleInPlaceObject {
3008     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3009     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3010         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3011         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3012     }
3013     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3014     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3015         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3016     }
InPlaceDeactivate(&self) -> ::windows::runtime::Result<()>3017     pub unsafe fn InPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
3018         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3019     }
UIDeactivate(&self) -> ::windows::runtime::Result<()>3020     pub unsafe fn UIDeactivate(&self) -> ::windows::runtime::Result<()> {
3021         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3022     }
3023     #[cfg(feature = "Win32_Foundation")]
SetObjectRects(&self, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3024     pub unsafe fn SetObjectRects(&self, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3025         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprcposrect), ::std::mem::transmute(lprccliprect)).ok()
3026     }
ReactivateAndUndo(&self) -> ::windows::runtime::Result<()>3027     pub unsafe fn ReactivateAndUndo(&self) -> ::windows::runtime::Result<()> {
3028         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
3029     }
3030 }
3031 unsafe impl ::windows::runtime::Interface for IOleInPlaceObject {
3032     type Vtable = IOleInPlaceObject_abi;
3033     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(275, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
3034 }
3035 impl ::std::convert::From<IOleInPlaceObject> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceObject) -> Self3036     fn from(value: IOleInPlaceObject) -> Self {
3037         unsafe { ::std::mem::transmute(value) }
3038     }
3039 }
3040 impl ::std::convert::From<&IOleInPlaceObject> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceObject) -> Self3041     fn from(value: &IOleInPlaceObject) -> Self {
3042         ::std::convert::From::from(::std::clone::Clone::clone(value))
3043     }
3044 }
3045 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3046     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3047         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3048     }
3049 }
3050 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3051     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3052         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3053     }
3054 }
3055 impl ::std::convert::From<IOleInPlaceObject> for IOleWindow {
from(value: IOleInPlaceObject) -> Self3056     fn from(value: IOleInPlaceObject) -> Self {
3057         unsafe { ::std::mem::transmute(value) }
3058     }
3059 }
3060 impl ::std::convert::From<&IOleInPlaceObject> for IOleWindow {
from(value: &IOleInPlaceObject) -> Self3061     fn from(value: &IOleInPlaceObject) -> Self {
3062         ::std::convert::From::from(::std::clone::Clone::clone(value))
3063     }
3064 }
3065 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceObject {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3066     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3067         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3068     }
3069 }
3070 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceObject {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3071     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3072         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3073     }
3074 }
3075 #[repr(C)]
3076 #[doc(hidden)]
3077 pub struct IOleInPlaceObject_abi(
3078     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3079     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3080     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3081     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3082     #[cfg(not(feature = "Win32_Foundation"))] usize,
3083     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3084     #[cfg(not(feature = "Win32_Foundation"))] usize,
3085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3087     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3088     #[cfg(not(feature = "Win32_Foundation"))] usize,
3089     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3090 );
3091 #[repr(transparent)]
3092 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3093 pub struct IOleInPlaceObjectWindowless(::windows::runtime::IUnknown);
3094 impl IOleInPlaceObjectWindowless {
3095     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3096     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3097         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3098         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3099     }
3100     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3101     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3102         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3103     }
InPlaceDeactivate(&self) -> ::windows::runtime::Result<()>3104     pub unsafe fn InPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
3105         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3106     }
UIDeactivate(&self) -> ::windows::runtime::Result<()>3107     pub unsafe fn UIDeactivate(&self) -> ::windows::runtime::Result<()> {
3108         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3109     }
3110     #[cfg(feature = "Win32_Foundation")]
SetObjectRects(&self, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3111     pub unsafe fn SetObjectRects(&self, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3112         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprcposrect), ::std::mem::transmute(lprccliprect)).ok()
3113     }
ReactivateAndUndo(&self) -> ::windows::runtime::Result<()>3114     pub unsafe fn ReactivateAndUndo(&self) -> ::windows::runtime::Result<()> {
3115         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
3116     }
3117     #[cfg(feature = "Win32_Foundation")]
OnWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::LRESULT>3118     pub unsafe fn OnWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::LRESULT> {
3119         let mut result__: <super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3120         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::LRESULT>(result__)
3121     }
GetDropTarget(&self) -> ::windows::runtime::Result<IDropTarget>3122     pub unsafe fn GetDropTarget(&self) -> ::windows::runtime::Result<IDropTarget> {
3123         let mut result__: <IDropTarget as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3124         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IDropTarget>(result__)
3125     }
3126 }
3127 unsafe impl ::windows::runtime::Interface for IOleInPlaceObjectWindowless {
3128     type Vtable = IOleInPlaceObjectWindowless_abi;
3129     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(471881420, 24308, 4123, [139, 200, 0, 170, 0, 62, 59, 41]);
3130 }
3131 impl ::std::convert::From<IOleInPlaceObjectWindowless> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceObjectWindowless) -> Self3132     fn from(value: IOleInPlaceObjectWindowless) -> Self {
3133         unsafe { ::std::mem::transmute(value) }
3134     }
3135 }
3136 impl ::std::convert::From<&IOleInPlaceObjectWindowless> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceObjectWindowless) -> Self3137     fn from(value: &IOleInPlaceObjectWindowless) -> Self {
3138         ::std::convert::From::from(::std::clone::Clone::clone(value))
3139     }
3140 }
3141 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3142     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3143         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3144     }
3145 }
3146 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3147     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3148         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3149     }
3150 }
3151 impl ::std::convert::From<IOleInPlaceObjectWindowless> for IOleInPlaceObject {
from(value: IOleInPlaceObjectWindowless) -> Self3152     fn from(value: IOleInPlaceObjectWindowless) -> Self {
3153         unsafe { ::std::mem::transmute(value) }
3154     }
3155 }
3156 impl ::std::convert::From<&IOleInPlaceObjectWindowless> for IOleInPlaceObject {
from(value: &IOleInPlaceObjectWindowless) -> Self3157     fn from(value: &IOleInPlaceObjectWindowless) -> Self {
3158         ::std::convert::From::from(::std::clone::Clone::clone(value))
3159     }
3160 }
3161 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceObject> for IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceObject>3162     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceObject> {
3163         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceObject>::into(self))
3164     }
3165 }
3166 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceObject> for &IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceObject>3167     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceObject> {
3168         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceObject>::into(::std::clone::Clone::clone(self)))
3169     }
3170 }
3171 impl ::std::convert::From<IOleInPlaceObjectWindowless> for IOleWindow {
from(value: IOleInPlaceObjectWindowless) -> Self3172     fn from(value: IOleInPlaceObjectWindowless) -> Self {
3173         unsafe { ::std::mem::transmute(value) }
3174     }
3175 }
3176 impl ::std::convert::From<&IOleInPlaceObjectWindowless> for IOleWindow {
from(value: &IOleInPlaceObjectWindowless) -> Self3177     fn from(value: &IOleInPlaceObjectWindowless) -> Self {
3178         ::std::convert::From::from(::std::clone::Clone::clone(value))
3179     }
3180 }
3181 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3182     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3183         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3184     }
3185 }
3186 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceObjectWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3187     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3188         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3189     }
3190 }
3191 #[repr(C)]
3192 #[doc(hidden)]
3193 pub struct IOleInPlaceObjectWindowless_abi(
3194     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3195     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3196     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3197     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3198     #[cfg(not(feature = "Win32_Foundation"))] usize,
3199     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3200     #[cfg(not(feature = "Win32_Foundation"))] usize,
3201     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3202     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3203     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprcposrect: *const super::super::Foundation::RECT, lprccliprect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3204     #[cfg(not(feature = "Win32_Foundation"))] usize,
3205     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3206     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, plresult: *mut super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
3207     #[cfg(not(feature = "Win32_Foundation"))] usize,
3208     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppdroptarget: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3209 );
3210 #[repr(transparent)]
3211 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3212 pub struct IOleInPlaceSite(::windows::runtime::IUnknown);
3213 impl IOleInPlaceSite {
3214     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3215     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3216         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3217         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3218     }
3219     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3220     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3221         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3222     }
CanInPlaceActivate(&self) -> ::windows::runtime::Result<()>3223     pub unsafe fn CanInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3224         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3225     }
OnInPlaceActivate(&self) -> ::windows::runtime::Result<()>3226     pub unsafe fn OnInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3227         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3228     }
OnUIActivate(&self) -> ::windows::runtime::Result<()>3229     pub unsafe fn OnUIActivate(&self) -> ::windows::runtime::Result<()> {
3230         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3231     }
3232     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()>3233     pub unsafe fn GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()> {
3234         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppframe), ::std::mem::transmute(ppdoc), ::std::mem::transmute(lprcposrect), ::std::mem::transmute(lprccliprect), ::std::mem::transmute(lpframeinfo)).ok()
3235     }
3236     #[cfg(feature = "Win32_Foundation")]
Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()>3237     pub unsafe fn Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()> {
3238         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), scrollextant.into_param().abi()).ok()
3239     }
3240     #[cfg(feature = "Win32_Foundation")]
OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()>3241     pub unsafe fn OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()> {
3242         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fundoable.into_param().abi()).ok()
3243     }
OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()>3244     pub unsafe fn OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
3245         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
3246     }
DiscardUndoState(&self) -> ::windows::runtime::Result<()>3247     pub unsafe fn DiscardUndoState(&self) -> ::windows::runtime::Result<()> {
3248         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3249     }
DeactivateAndUndo(&self) -> ::windows::runtime::Result<()>3250     pub unsafe fn DeactivateAndUndo(&self) -> ::windows::runtime::Result<()> {
3251         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
3252     }
3253     #[cfg(feature = "Win32_Foundation")]
OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3254     pub unsafe fn OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3255         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprcposrect)).ok()
3256     }
3257 }
3258 unsafe impl ::windows::runtime::Interface for IOleInPlaceSite {
3259     type Vtable = IOleInPlaceSite_abi;
3260     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(281, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
3261 }
3262 impl ::std::convert::From<IOleInPlaceSite> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceSite) -> Self3263     fn from(value: IOleInPlaceSite) -> Self {
3264         unsafe { ::std::mem::transmute(value) }
3265     }
3266 }
3267 impl ::std::convert::From<&IOleInPlaceSite> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceSite) -> Self3268     fn from(value: &IOleInPlaceSite) -> Self {
3269         ::std::convert::From::from(::std::clone::Clone::clone(value))
3270     }
3271 }
3272 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3273     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3274         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3275     }
3276 }
3277 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3278     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3279         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3280     }
3281 }
3282 impl ::std::convert::From<IOleInPlaceSite> for IOleWindow {
from(value: IOleInPlaceSite) -> Self3283     fn from(value: IOleInPlaceSite) -> Self {
3284         unsafe { ::std::mem::transmute(value) }
3285     }
3286 }
3287 impl ::std::convert::From<&IOleInPlaceSite> for IOleWindow {
from(value: &IOleInPlaceSite) -> Self3288     fn from(value: &IOleInPlaceSite) -> Self {
3289         ::std::convert::From::from(::std::clone::Clone::clone(value))
3290     }
3291 }
3292 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceSite {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3293     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3294         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3295     }
3296 }
3297 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceSite {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3298     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3299         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3300     }
3301 }
3302 #[repr(C)]
3303 #[doc(hidden)]
3304 pub struct IOleInPlaceSite_abi(
3305     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3306     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3307     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3308     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3309     #[cfg(not(feature = "Win32_Foundation"))] usize,
3310     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3311     #[cfg(not(feature = "Win32_Foundation"))] usize,
3312     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3313     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3314     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3315     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppframe: *mut ::windows::runtime::RawPtr, ppdoc: *mut ::windows::runtime::RawPtr, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::HRESULT,
3316     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3317     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scrollextant: super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
3318     #[cfg(not(feature = "Win32_Foundation"))] usize,
3319     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fundoable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3320     #[cfg(not(feature = "Win32_Foundation"))] usize,
3321     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3322     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3323     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3324     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3325     #[cfg(not(feature = "Win32_Foundation"))] usize,
3326 );
3327 #[repr(transparent)]
3328 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3329 pub struct IOleInPlaceSiteEx(::windows::runtime::IUnknown);
3330 impl IOleInPlaceSiteEx {
3331     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3332     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3333         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3334         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3335     }
3336     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3337     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3338         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3339     }
CanInPlaceActivate(&self) -> ::windows::runtime::Result<()>3340     pub unsafe fn CanInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3341         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3342     }
OnInPlaceActivate(&self) -> ::windows::runtime::Result<()>3343     pub unsafe fn OnInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3344         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3345     }
OnUIActivate(&self) -> ::windows::runtime::Result<()>3346     pub unsafe fn OnUIActivate(&self) -> ::windows::runtime::Result<()> {
3347         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3348     }
3349     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()>3350     pub unsafe fn GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()> {
3351         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppframe), ::std::mem::transmute(ppdoc), ::std::mem::transmute(lprcposrect), ::std::mem::transmute(lprccliprect), ::std::mem::transmute(lpframeinfo)).ok()
3352     }
3353     #[cfg(feature = "Win32_Foundation")]
Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()>3354     pub unsafe fn Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()> {
3355         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), scrollextant.into_param().abi()).ok()
3356     }
3357     #[cfg(feature = "Win32_Foundation")]
OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()>3358     pub unsafe fn OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()> {
3359         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fundoable.into_param().abi()).ok()
3360     }
OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()>3361     pub unsafe fn OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
3362         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
3363     }
DiscardUndoState(&self) -> ::windows::runtime::Result<()>3364     pub unsafe fn DiscardUndoState(&self) -> ::windows::runtime::Result<()> {
3365         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3366     }
DeactivateAndUndo(&self) -> ::windows::runtime::Result<()>3367     pub unsafe fn DeactivateAndUndo(&self) -> ::windows::runtime::Result<()> {
3368         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
3369     }
3370     #[cfg(feature = "Win32_Foundation")]
OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3371     pub unsafe fn OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3372         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprcposrect)).ok()
3373     }
3374     #[cfg(feature = "Win32_Foundation")]
OnInPlaceActivateEx(&self, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::Result<()>3375     pub unsafe fn OnInPlaceActivateEx(&self, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::Result<()> {
3376         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pfnoredraw), ::std::mem::transmute(dwflags)).ok()
3377     }
3378     #[cfg(feature = "Win32_Foundation")]
OnInPlaceDeactivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fnoredraw: Param0) -> ::windows::runtime::Result<()>3379     pub unsafe fn OnInPlaceDeactivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fnoredraw: Param0) -> ::windows::runtime::Result<()> {
3380         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), fnoredraw.into_param().abi()).ok()
3381     }
RequestUIActivate(&self) -> ::windows::runtime::Result<()>3382     pub unsafe fn RequestUIActivate(&self) -> ::windows::runtime::Result<()> {
3383         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok()
3384     }
3385 }
3386 unsafe impl ::windows::runtime::Interface for IOleInPlaceSiteEx {
3387     type Vtable = IOleInPlaceSiteEx_abi;
3388     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2620173696, 13348, 4559, [182, 112, 0, 170, 0, 76, 214, 216]);
3389 }
3390 impl ::std::convert::From<IOleInPlaceSiteEx> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceSiteEx) -> Self3391     fn from(value: IOleInPlaceSiteEx) -> Self {
3392         unsafe { ::std::mem::transmute(value) }
3393     }
3394 }
3395 impl ::std::convert::From<&IOleInPlaceSiteEx> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceSiteEx) -> Self3396     fn from(value: &IOleInPlaceSiteEx) -> Self {
3397         ::std::convert::From::from(::std::clone::Clone::clone(value))
3398     }
3399 }
3400 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3401     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3402         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3403     }
3404 }
3405 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3406     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3407         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3408     }
3409 }
3410 impl ::std::convert::From<IOleInPlaceSiteEx> for IOleInPlaceSite {
from(value: IOleInPlaceSiteEx) -> Self3411     fn from(value: IOleInPlaceSiteEx) -> Self {
3412         unsafe { ::std::mem::transmute(value) }
3413     }
3414 }
3415 impl ::std::convert::From<&IOleInPlaceSiteEx> for IOleInPlaceSite {
from(value: &IOleInPlaceSiteEx) -> Self3416     fn from(value: &IOleInPlaceSiteEx) -> Self {
3417         ::std::convert::From::from(::std::clone::Clone::clone(value))
3418     }
3419 }
3420 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSite> for IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite>3421     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite> {
3422         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSite>::into(self))
3423     }
3424 }
3425 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSite> for &IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite>3426     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite> {
3427         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSite>::into(::std::clone::Clone::clone(self)))
3428     }
3429 }
3430 impl ::std::convert::From<IOleInPlaceSiteEx> for IOleWindow {
from(value: IOleInPlaceSiteEx) -> Self3431     fn from(value: IOleInPlaceSiteEx) -> Self {
3432         unsafe { ::std::mem::transmute(value) }
3433     }
3434 }
3435 impl ::std::convert::From<&IOleInPlaceSiteEx> for IOleWindow {
from(value: &IOleInPlaceSiteEx) -> Self3436     fn from(value: &IOleInPlaceSiteEx) -> Self {
3437         ::std::convert::From::from(::std::clone::Clone::clone(value))
3438     }
3439 }
3440 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3441     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3442         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3443     }
3444 }
3445 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceSiteEx {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3446     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3447         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3448     }
3449 }
3450 #[repr(C)]
3451 #[doc(hidden)]
3452 pub struct IOleInPlaceSiteEx_abi(
3453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3454     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3455     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3456     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3457     #[cfg(not(feature = "Win32_Foundation"))] usize,
3458     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3459     #[cfg(not(feature = "Win32_Foundation"))] usize,
3460     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3461     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3462     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3463     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppframe: *mut ::windows::runtime::RawPtr, ppdoc: *mut ::windows::runtime::RawPtr, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::HRESULT,
3464     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3465     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scrollextant: super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
3466     #[cfg(not(feature = "Win32_Foundation"))] usize,
3467     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fundoable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3468     #[cfg(not(feature = "Win32_Foundation"))] usize,
3469     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3470     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3471     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3472     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3473     #[cfg(not(feature = "Win32_Foundation"))] usize,
3474     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::HRESULT,
3475     #[cfg(not(feature = "Win32_Foundation"))] usize,
3476     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnoredraw: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3477     #[cfg(not(feature = "Win32_Foundation"))] usize,
3478     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3479 );
3480 #[repr(transparent)]
3481 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3482 pub struct IOleInPlaceSiteWindowless(::windows::runtime::IUnknown);
3483 impl IOleInPlaceSiteWindowless {
3484     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3485     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3486         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3487         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3488     }
3489     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3490     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3491         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3492     }
CanInPlaceActivate(&self) -> ::windows::runtime::Result<()>3493     pub unsafe fn CanInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3494         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3495     }
OnInPlaceActivate(&self) -> ::windows::runtime::Result<()>3496     pub unsafe fn OnInPlaceActivate(&self) -> ::windows::runtime::Result<()> {
3497         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3498     }
OnUIActivate(&self) -> ::windows::runtime::Result<()>3499     pub unsafe fn OnUIActivate(&self) -> ::windows::runtime::Result<()> {
3500         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3501     }
3502     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()>3503     pub unsafe fn GetWindowContext(&self, ppframe: *mut ::std::option::Option<IOleInPlaceFrame>, ppdoc: *mut ::std::option::Option<IOleInPlaceUIWindow>, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::Result<()> {
3504         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppframe), ::std::mem::transmute(ppdoc), ::std::mem::transmute(lprcposrect), ::std::mem::transmute(lprccliprect), ::std::mem::transmute(lpframeinfo)).ok()
3505     }
3506     #[cfg(feature = "Win32_Foundation")]
Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()>3507     pub unsafe fn Scroll<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::SIZE>>(&self, scrollextant: Param0) -> ::windows::runtime::Result<()> {
3508         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), scrollextant.into_param().abi()).ok()
3509     }
3510     #[cfg(feature = "Win32_Foundation")]
OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()>3511     pub unsafe fn OnUIDeactivate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fundoable: Param0) -> ::windows::runtime::Result<()> {
3512         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), fundoable.into_param().abi()).ok()
3513     }
OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()>3514     pub unsafe fn OnInPlaceDeactivate(&self) -> ::windows::runtime::Result<()> {
3515         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
3516     }
DiscardUndoState(&self) -> ::windows::runtime::Result<()>3517     pub unsafe fn DiscardUndoState(&self) -> ::windows::runtime::Result<()> {
3518         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3519     }
DeactivateAndUndo(&self) -> ::windows::runtime::Result<()>3520     pub unsafe fn DeactivateAndUndo(&self) -> ::windows::runtime::Result<()> {
3521         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
3522     }
3523     #[cfg(feature = "Win32_Foundation")]
OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3524     pub unsafe fn OnPosRectChange(&self, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3525         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(lprcposrect)).ok()
3526     }
3527     #[cfg(feature = "Win32_Foundation")]
OnInPlaceActivateEx(&self, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::Result<()>3528     pub unsafe fn OnInPlaceActivateEx(&self, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::Result<()> {
3529         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(pfnoredraw), ::std::mem::transmute(dwflags)).ok()
3530     }
3531     #[cfg(feature = "Win32_Foundation")]
OnInPlaceDeactivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fnoredraw: Param0) -> ::windows::runtime::Result<()>3532     pub unsafe fn OnInPlaceDeactivateEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fnoredraw: Param0) -> ::windows::runtime::Result<()> {
3533         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), fnoredraw.into_param().abi()).ok()
3534     }
RequestUIActivate(&self) -> ::windows::runtime::Result<()>3535     pub unsafe fn RequestUIActivate(&self) -> ::windows::runtime::Result<()> {
3536         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self)).ok()
3537     }
CanWindowlessActivate(&self) -> ::windows::runtime::Result<()>3538     pub unsafe fn CanWindowlessActivate(&self) -> ::windows::runtime::Result<()> {
3539         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self)).ok()
3540     }
GetCapture(&self) -> ::windows::runtime::Result<()>3541     pub unsafe fn GetCapture(&self) -> ::windows::runtime::Result<()> {
3542         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self)).ok()
3543     }
3544     #[cfg(feature = "Win32_Foundation")]
SetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fcapture: Param0) -> ::windows::runtime::Result<()>3545     pub unsafe fn SetCapture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fcapture: Param0) -> ::windows::runtime::Result<()> {
3546         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), fcapture.into_param().abi()).ok()
3547     }
GetFocus(&self) -> ::windows::runtime::Result<()>3548     pub unsafe fn GetFocus(&self) -> ::windows::runtime::Result<()> {
3549         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
3550     }
3551     #[cfg(feature = "Win32_Foundation")]
SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffocus: Param0) -> ::windows::runtime::Result<()>3552     pub unsafe fn SetFocus<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ffocus: Param0) -> ::windows::runtime::Result<()> {
3553         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ffocus.into_param().abi()).ok()
3554     }
3555     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
GetDC(&self, prect: *const super::super::Foundation::RECT, grfflags: u32) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC>3556     pub unsafe fn GetDC(&self, prect: *const super::super::Foundation::RECT, grfflags: u32) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC> {
3557         let mut result__: <super::super::Graphics::Gdi::HDC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3558         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(prect), ::std::mem::transmute(grfflags), &mut result__).from_abi::<super::super::Graphics::Gdi::HDC>(result__)
3559     }
3560     #[cfg(feature = "Win32_Graphics_Gdi")]
ReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> ::windows::runtime::Result<()>3561     pub unsafe fn ReleaseDC<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0) -> ::windows::runtime::Result<()> {
3562         (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), hdc.into_param().abi()).ok()
3563     }
3564     #[cfg(feature = "Win32_Foundation")]
InvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prect: *const super::super::Foundation::RECT, ferase: Param1) -> ::windows::runtime::Result<()>3565     pub unsafe fn InvalidateRect<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prect: *const super::super::Foundation::RECT, ferase: Param1) -> ::windows::runtime::Result<()> {
3566         (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(prect), ferase.into_param().abi()).ok()
3567     }
3568     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
InvalidateRgn<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HRGN>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hrgn: Param0, ferase: Param1) -> ::windows::runtime::Result<()>3569     pub unsafe fn InvalidateRgn<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HRGN>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hrgn: Param0, ferase: Param1) -> ::windows::runtime::Result<()> {
3570         (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), hrgn.into_param().abi(), ferase.into_param().abi()).ok()
3571     }
3572     #[cfg(feature = "Win32_Foundation")]
ScrollRect(&self, dx: i32, dy: i32, prectscroll: *const super::super::Foundation::RECT, prectclip: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3573     pub unsafe fn ScrollRect(&self, dx: i32, dy: i32, prectscroll: *const super::super::Foundation::RECT, prectclip: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3574         (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(dx), ::std::mem::transmute(dy), ::std::mem::transmute(prectscroll), ::std::mem::transmute(prectclip)).ok()
3575     }
3576     #[cfg(feature = "Win32_Foundation")]
AdjustRect(&self, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3577     pub unsafe fn AdjustRect(&self, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3578         (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), ::std::mem::transmute(prc)).ok()
3579     }
3580     #[cfg(feature = "Win32_Foundation")]
OnDefWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::LRESULT>3581     pub unsafe fn OnDefWindowMessage<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, msg: u32, wparam: Param1, lparam: Param2) -> ::windows::runtime::Result<super::super::Foundation::LRESULT> {
3582         let mut result__: <super::super::Foundation::LRESULT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3583         (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(msg), wparam.into_param().abi(), lparam.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::LRESULT>(result__)
3584     }
3585 }
3586 unsafe impl ::windows::runtime::Interface for IOleInPlaceSiteWindowless {
3587     type Vtable = IOleInPlaceSiteWindowless_abi;
3588     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2452532640, 13348, 4559, [182, 112, 0, 170, 0, 76, 214, 216]);
3589 }
3590 impl ::std::convert::From<IOleInPlaceSiteWindowless> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceSiteWindowless) -> Self3591     fn from(value: IOleInPlaceSiteWindowless) -> Self {
3592         unsafe { ::std::mem::transmute(value) }
3593     }
3594 }
3595 impl ::std::convert::From<&IOleInPlaceSiteWindowless> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceSiteWindowless) -> Self3596     fn from(value: &IOleInPlaceSiteWindowless) -> Self {
3597         ::std::convert::From::from(::std::clone::Clone::clone(value))
3598     }
3599 }
3600 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3601     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3602         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3603     }
3604 }
3605 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3606     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3607         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3608     }
3609 }
3610 impl ::std::convert::From<IOleInPlaceSiteWindowless> for IOleInPlaceSiteEx {
from(value: IOleInPlaceSiteWindowless) -> Self3611     fn from(value: IOleInPlaceSiteWindowless) -> Self {
3612         unsafe { ::std::mem::transmute(value) }
3613     }
3614 }
3615 impl ::std::convert::From<&IOleInPlaceSiteWindowless> for IOleInPlaceSiteEx {
from(value: &IOleInPlaceSiteWindowless) -> Self3616     fn from(value: &IOleInPlaceSiteWindowless) -> Self {
3617         ::std::convert::From::from(::std::clone::Clone::clone(value))
3618     }
3619 }
3620 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSiteEx> for IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSiteEx>3621     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSiteEx> {
3622         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSiteEx>::into(self))
3623     }
3624 }
3625 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSiteEx> for &IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSiteEx>3626     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSiteEx> {
3627         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSiteEx>::into(::std::clone::Clone::clone(self)))
3628     }
3629 }
3630 impl ::std::convert::From<IOleInPlaceSiteWindowless> for IOleInPlaceSite {
from(value: IOleInPlaceSiteWindowless) -> Self3631     fn from(value: IOleInPlaceSiteWindowless) -> Self {
3632         unsafe { ::std::mem::transmute(value) }
3633     }
3634 }
3635 impl ::std::convert::From<&IOleInPlaceSiteWindowless> for IOleInPlaceSite {
from(value: &IOleInPlaceSiteWindowless) -> Self3636     fn from(value: &IOleInPlaceSiteWindowless) -> Self {
3637         ::std::convert::From::from(::std::clone::Clone::clone(value))
3638     }
3639 }
3640 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSite> for IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite>3641     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite> {
3642         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSite>::into(self))
3643     }
3644 }
3645 impl<'a> ::windows::runtime::IntoParam<'a, IOleInPlaceSite> for &IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite>3646     fn into_param(self) -> ::windows::runtime::Param<'a, IOleInPlaceSite> {
3647         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleInPlaceSite>::into(::std::clone::Clone::clone(self)))
3648     }
3649 }
3650 impl ::std::convert::From<IOleInPlaceSiteWindowless> for IOleWindow {
from(value: IOleInPlaceSiteWindowless) -> Self3651     fn from(value: IOleInPlaceSiteWindowless) -> Self {
3652         unsafe { ::std::mem::transmute(value) }
3653     }
3654 }
3655 impl ::std::convert::From<&IOleInPlaceSiteWindowless> for IOleWindow {
from(value: &IOleInPlaceSiteWindowless) -> Self3656     fn from(value: &IOleInPlaceSiteWindowless) -> Self {
3657         ::std::convert::From::from(::std::clone::Clone::clone(value))
3658     }
3659 }
3660 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3661     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3662         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3663     }
3664 }
3665 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceSiteWindowless {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3666     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3667         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3668     }
3669 }
3670 #[repr(C)]
3671 #[doc(hidden)]
3672 pub struct IOleInPlaceSiteWindowless_abi(
3673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3674     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3675     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3676     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3677     #[cfg(not(feature = "Win32_Foundation"))] usize,
3678     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3679     #[cfg(not(feature = "Win32_Foundation"))] usize,
3680     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3681     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3682     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3683     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppframe: *mut ::windows::runtime::RawPtr, ppdoc: *mut ::windows::runtime::RawPtr, lprcposrect: *mut super::super::Foundation::RECT, lprccliprect: *mut super::super::Foundation::RECT, lpframeinfo: *mut OIFI) -> ::windows::runtime::HRESULT,
3684     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
3685     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, scrollextant: super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
3686     #[cfg(not(feature = "Win32_Foundation"))] usize,
3687     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fundoable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3688     #[cfg(not(feature = "Win32_Foundation"))] usize,
3689     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3691     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3692     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3693     #[cfg(not(feature = "Win32_Foundation"))] usize,
3694     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfnoredraw: *mut super::super::Foundation::BOOL, dwflags: u32) -> ::windows::runtime::HRESULT,
3695     #[cfg(not(feature = "Win32_Foundation"))] usize,
3696     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fnoredraw: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3697     #[cfg(not(feature = "Win32_Foundation"))] usize,
3698     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3699     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3700     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3701     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcapture: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3702     #[cfg(not(feature = "Win32_Foundation"))] usize,
3703     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3704     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ffocus: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3705     #[cfg(not(feature = "Win32_Foundation"))] usize,
3706     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prect: *const super::super::Foundation::RECT, grfflags: u32, phdc: *mut super::super::Graphics::Gdi::HDC) -> ::windows::runtime::HRESULT,
3707     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
3708     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::Graphics::Gdi::HDC) -> ::windows::runtime::HRESULT,
3709     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
3710     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prect: *const super::super::Foundation::RECT, ferase: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3711     #[cfg(not(feature = "Win32_Foundation"))] usize,
3712     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hrgn: super::super::Graphics::Gdi::HRGN, ferase: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3713     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
3714     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dx: i32, dy: i32, prectscroll: *const super::super::Foundation::RECT, prectclip: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3715     #[cfg(not(feature = "Win32_Foundation"))] usize,
3716     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prc: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3717     #[cfg(not(feature = "Win32_Foundation"))] usize,
3718     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM, plresult: *mut super::super::Foundation::LRESULT) -> ::windows::runtime::HRESULT,
3719     #[cfg(not(feature = "Win32_Foundation"))] usize,
3720 );
3721 #[repr(transparent)]
3722 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3723 pub struct IOleInPlaceUIWindow(::windows::runtime::IUnknown);
3724 impl IOleInPlaceUIWindow {
3725     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>3726     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
3727         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3728         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
3729     }
3730     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>3731     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
3732         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
3733     }
3734     #[cfg(feature = "Win32_Foundation")]
GetBorder(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT>3735     pub unsafe fn GetBorder(&self) -> ::windows::runtime::Result<super::super::Foundation::RECT> {
3736         let mut result__: <super::super::Foundation::RECT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3737         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::RECT>(result__)
3738     }
3739     #[cfg(feature = "Win32_Foundation")]
RequestBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3740     pub unsafe fn RequestBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3741         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pborderwidths)).ok()
3742     }
3743     #[cfg(feature = "Win32_Foundation")]
SetBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>3744     pub unsafe fn SetBorderSpace(&self, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
3745         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(pborderwidths)).ok()
3746     }
3747     #[cfg(feature = "Win32_Foundation")]
SetActiveObject<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pactiveobject: Param0, pszobjname: Param1) -> ::windows::runtime::Result<()>3748     pub unsafe fn SetActiveObject<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pactiveobject: Param0, pszobjname: Param1) -> ::windows::runtime::Result<()> {
3749         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pactiveobject.into_param().abi(), pszobjname.into_param().abi()).ok()
3750     }
3751 }
3752 unsafe impl ::windows::runtime::Interface for IOleInPlaceUIWindow {
3753     type Vtable = IOleInPlaceUIWindow_abi;
3754     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(277, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
3755 }
3756 impl ::std::convert::From<IOleInPlaceUIWindow> for ::windows::runtime::IUnknown {
from(value: IOleInPlaceUIWindow) -> Self3757     fn from(value: IOleInPlaceUIWindow) -> Self {
3758         unsafe { ::std::mem::transmute(value) }
3759     }
3760 }
3761 impl ::std::convert::From<&IOleInPlaceUIWindow> for ::windows::runtime::IUnknown {
from(value: &IOleInPlaceUIWindow) -> Self3762     fn from(value: &IOleInPlaceUIWindow) -> Self {
3763         ::std::convert::From::from(::std::clone::Clone::clone(value))
3764     }
3765 }
3766 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleInPlaceUIWindow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3767     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3768         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3769     }
3770 }
3771 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleInPlaceUIWindow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3772     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3773         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3774     }
3775 }
3776 impl ::std::convert::From<IOleInPlaceUIWindow> for IOleWindow {
from(value: IOleInPlaceUIWindow) -> Self3777     fn from(value: IOleInPlaceUIWindow) -> Self {
3778         unsafe { ::std::mem::transmute(value) }
3779     }
3780 }
3781 impl ::std::convert::From<&IOleInPlaceUIWindow> for IOleWindow {
from(value: &IOleInPlaceUIWindow) -> Self3782     fn from(value: &IOleInPlaceUIWindow) -> Self {
3783         ::std::convert::From::from(::std::clone::Clone::clone(value))
3784     }
3785 }
3786 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for IOleInPlaceUIWindow {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3787     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3788         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(self))
3789     }
3790 }
3791 impl<'a> ::windows::runtime::IntoParam<'a, IOleWindow> for &IOleInPlaceUIWindow {
into_param(self) -> ::windows::runtime::Param<'a, IOleWindow>3792     fn into_param(self) -> ::windows::runtime::Param<'a, IOleWindow> {
3793         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleWindow>::into(::std::clone::Clone::clone(self)))
3794     }
3795 }
3796 #[repr(C)]
3797 #[doc(hidden)]
3798 pub struct IOleInPlaceUIWindow_abi(
3799     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3800     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3801     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3802     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
3803     #[cfg(not(feature = "Win32_Foundation"))] usize,
3804     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3805     #[cfg(not(feature = "Win32_Foundation"))] usize,
3806     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lprectborder: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3807     #[cfg(not(feature = "Win32_Foundation"))] usize,
3808     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3809     #[cfg(not(feature = "Win32_Foundation"))] usize,
3810     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pborderwidths: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
3811     #[cfg(not(feature = "Win32_Foundation"))] usize,
3812     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pactiveobject: ::windows::runtime::RawPtr, pszobjname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3813     #[cfg(not(feature = "Win32_Foundation"))] usize,
3814 );
3815 #[repr(transparent)]
3816 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3817 pub struct IOleItemContainer(::windows::runtime::IUnknown);
3818 impl IOleItemContainer {
3819     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()>3820     pub unsafe fn ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()> {
3821         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pbc.into_param().abi(), pszdisplayname.into_param().abi(), ::std::mem::transmute(pcheaten), ::std::mem::transmute(ppmkout)).ok()
3822     }
3823     #[cfg(feature = "Win32_System_Com")]
EnumObjects(&self, grfflags: u32) -> ::windows::runtime::Result<super::Com::IEnumUnknown>3824     pub unsafe fn EnumObjects(&self, grfflags: u32) -> ::windows::runtime::Result<super::Com::IEnumUnknown> {
3825         let mut result__: <super::Com::IEnumUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3826         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(grfflags), &mut result__).from_abi::<super::Com::IEnumUnknown>(result__)
3827     }
3828     #[cfg(feature = "Win32_Foundation")]
LockContainer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()>3829     pub unsafe fn LockContainer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, flock: Param0) -> ::windows::runtime::Result<()> {
3830         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), flock.into_param().abi()).ok()
3831     }
3832     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, T: ::windows::runtime::Interface>(&self, pszitem: Param0, dwspeedneeded: u32, pbc: Param2) -> ::windows::runtime::Result<T>3833     pub unsafe fn GetObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, T: ::windows::runtime::Interface>(&self, pszitem: Param0, dwspeedneeded: u32, pbc: Param2) -> ::windows::runtime::Result<T> {
3834         let mut result__ = ::std::option::Option::None;
3835         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pszitem.into_param().abi(), ::std::mem::transmute(dwspeedneeded), pbc.into_param().abi(), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
3836     }
3837     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetObjectStorage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, T: ::windows::runtime::Interface>(&self, pszitem: Param0, pbc: Param1) -> ::windows::runtime::Result<T>3838     pub unsafe fn GetObjectStorage<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, T: ::windows::runtime::Interface>(&self, pszitem: Param0, pbc: Param1) -> ::windows::runtime::Result<T> {
3839         let mut result__ = ::std::option::Option::None;
3840         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pszitem.into_param().abi(), pbc.into_param().abi(), &<T as ::windows::runtime::Interface>::IID, &mut result__ as *mut _ as *mut _).and_some(result__)
3841     }
3842     #[cfg(feature = "Win32_Foundation")]
IsRunning<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszitem: Param0) -> ::windows::runtime::Result<()>3843     pub unsafe fn IsRunning<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszitem: Param0) -> ::windows::runtime::Result<()> {
3844         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), pszitem.into_param().abi()).ok()
3845     }
3846 }
3847 unsafe impl ::windows::runtime::Interface for IOleItemContainer {
3848     type Vtable = IOleItemContainer_abi;
3849     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(284, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
3850 }
3851 impl ::std::convert::From<IOleItemContainer> for ::windows::runtime::IUnknown {
from(value: IOleItemContainer) -> Self3852     fn from(value: IOleItemContainer) -> Self {
3853         unsafe { ::std::mem::transmute(value) }
3854     }
3855 }
3856 impl ::std::convert::From<&IOleItemContainer> for ::windows::runtime::IUnknown {
from(value: &IOleItemContainer) -> Self3857     fn from(value: &IOleItemContainer) -> Self {
3858         ::std::convert::From::from(::std::clone::Clone::clone(value))
3859     }
3860 }
3861 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3862     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3863         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3864     }
3865 }
3866 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3867     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3868         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3869     }
3870 }
3871 impl ::std::convert::From<IOleItemContainer> for IOleContainer {
from(value: IOleItemContainer) -> Self3872     fn from(value: IOleItemContainer) -> Self {
3873         unsafe { ::std::mem::transmute(value) }
3874     }
3875 }
3876 impl ::std::convert::From<&IOleItemContainer> for IOleContainer {
from(value: &IOleItemContainer) -> Self3877     fn from(value: &IOleItemContainer) -> Self {
3878         ::std::convert::From::from(::std::clone::Clone::clone(value))
3879     }
3880 }
3881 impl<'a> ::windows::runtime::IntoParam<'a, IOleContainer> for IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, IOleContainer>3882     fn into_param(self) -> ::windows::runtime::Param<'a, IOleContainer> {
3883         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleContainer>::into(self))
3884     }
3885 }
3886 impl<'a> ::windows::runtime::IntoParam<'a, IOleContainer> for &IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, IOleContainer>3887     fn into_param(self) -> ::windows::runtime::Param<'a, IOleContainer> {
3888         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleContainer>::into(::std::clone::Clone::clone(self)))
3889     }
3890 }
3891 impl ::std::convert::From<IOleItemContainer> for IParseDisplayName {
from(value: IOleItemContainer) -> Self3892     fn from(value: IOleItemContainer) -> Self {
3893         unsafe { ::std::mem::transmute(value) }
3894     }
3895 }
3896 impl ::std::convert::From<&IOleItemContainer> for IParseDisplayName {
from(value: &IOleItemContainer) -> Self3897     fn from(value: &IOleItemContainer) -> Self {
3898         ::std::convert::From::from(::std::clone::Clone::clone(value))
3899     }
3900 }
3901 impl<'a> ::windows::runtime::IntoParam<'a, IParseDisplayName> for IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName>3902     fn into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName> {
3903         ::windows::runtime::Param::Owned(::std::convert::Into::<IParseDisplayName>::into(self))
3904     }
3905 }
3906 impl<'a> ::windows::runtime::IntoParam<'a, IParseDisplayName> for &IOleItemContainer {
into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName>3907     fn into_param(self) -> ::windows::runtime::Param<'a, IParseDisplayName> {
3908         ::windows::runtime::Param::Owned(::std::convert::Into::<IParseDisplayName>::into(::std::clone::Clone::clone(self)))
3909     }
3910 }
3911 #[repr(C)]
3912 #[doc(hidden)]
3913 pub struct IOleItemContainer_abi(
3914     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3915     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3916     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3917     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbc: ::windows::runtime::RawPtr, pszdisplayname: super::super::Foundation::PWSTR, pcheaten: *mut u32, ppmkout: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3918     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
3919     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, grfflags: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3920     #[cfg(not(feature = "Win32_System_Com"))] usize,
3921     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, flock: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3922     #[cfg(not(feature = "Win32_Foundation"))] usize,
3923     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszitem: super::super::Foundation::PWSTR, dwspeedneeded: u32, pbc: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvobject: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
3924     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
3925     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszitem: super::super::Foundation::PWSTR, pbc: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, ppvstorage: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT,
3926     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
3927     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszitem: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3928     #[cfg(not(feature = "Win32_Foundation"))] usize,
3929 );
3930 #[repr(transparent)]
3931 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3932 pub struct IOleLink(::windows::runtime::IUnknown);
3933 impl IOleLink {
SetUpdateOptions(&self, dwupdateopt: u32) -> ::windows::runtime::Result<()>3934     pub unsafe fn SetUpdateOptions(&self, dwupdateopt: u32) -> ::windows::runtime::Result<()> {
3935         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwupdateopt)).ok()
3936     }
GetUpdateOptions(&self) -> ::windows::runtime::Result<u32>3937     pub unsafe fn GetUpdateOptions(&self) -> ::windows::runtime::Result<u32> {
3938         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3939         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3940     }
3941     #[cfg(feature = "Win32_System_Com")]
SetSourceMoniker<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>3942     pub unsafe fn SetSourceMoniker<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, pmk: Param0, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
3943         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pmk.into_param().abi(), ::std::mem::transmute(rclsid)).ok()
3944     }
3945     #[cfg(feature = "Win32_System_Com")]
GetSourceMoniker(&self) -> ::windows::runtime::Result<super::Com::IMoniker>3946     pub unsafe fn GetSourceMoniker(&self) -> ::windows::runtime::Result<super::Com::IMoniker> {
3947         let mut result__: <super::Com::IMoniker as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3948         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::IMoniker>(result__)
3949     }
3950     #[cfg(feature = "Win32_Foundation")]
SetSourceDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszstatustext: Param0) -> ::windows::runtime::Result<()>3951     pub unsafe fn SetSourceDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszstatustext: Param0) -> ::windows::runtime::Result<()> {
3952         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pszstatustext.into_param().abi()).ok()
3953     }
3954     #[cfg(feature = "Win32_Foundation")]
GetSourceDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>3955     pub unsafe fn GetSourceDisplayName(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
3956         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3957         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
3958     }
3959     #[cfg(feature = "Win32_System_Com")]
BindToSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>>(&self, bindflags: u32, pbc: Param1) -> ::windows::runtime::Result<()>3960     pub unsafe fn BindToSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>>(&self, bindflags: u32, pbc: Param1) -> ::windows::runtime::Result<()> {
3961         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(bindflags), pbc.into_param().abi()).ok()
3962     }
BindIfRunning(&self) -> ::windows::runtime::Result<()>3963     pub unsafe fn BindIfRunning(&self) -> ::windows::runtime::Result<()> {
3964         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
3965     }
GetBoundSource(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>3966     pub unsafe fn GetBoundSource(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
3967         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3968         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
3969     }
UnbindSource(&self) -> ::windows::runtime::Result<()>3970     pub unsafe fn UnbindSource(&self) -> ::windows::runtime::Result<()> {
3971         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3972     }
3973     #[cfg(feature = "Win32_System_Com")]
Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>>(&self, pbc: Param0) -> ::windows::runtime::Result<()>3974     pub unsafe fn Update<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>>(&self, pbc: Param0) -> ::windows::runtime::Result<()> {
3975         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), pbc.into_param().abi()).ok()
3976     }
3977 }
3978 unsafe impl ::windows::runtime::Interface for IOleLink {
3979     type Vtable = IOleLink_abi;
3980     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(285, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
3981 }
3982 impl ::std::convert::From<IOleLink> for ::windows::runtime::IUnknown {
from(value: IOleLink) -> Self3983     fn from(value: IOleLink) -> Self {
3984         unsafe { ::std::mem::transmute(value) }
3985     }
3986 }
3987 impl ::std::convert::From<&IOleLink> for ::windows::runtime::IUnknown {
from(value: &IOleLink) -> Self3988     fn from(value: &IOleLink) -> Self {
3989         ::std::convert::From::from(::std::clone::Clone::clone(value))
3990     }
3991 }
3992 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleLink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3993     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3994         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3995     }
3996 }
3997 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleLink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3998     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3999         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4000     }
4001 }
4002 #[repr(C)]
4003 #[doc(hidden)]
4004 pub struct IOleLink_abi(
4005     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4006     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4007     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4008     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwupdateopt: u32) -> ::windows::runtime::HRESULT,
4009     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwupdateopt: *mut u32) -> ::windows::runtime::HRESULT,
4010     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmk: ::windows::runtime::RawPtr, rclsid: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4011     #[cfg(not(feature = "Win32_System_Com"))] usize,
4012     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppmk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4013     #[cfg(not(feature = "Win32_System_Com"))] usize,
4014     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszstatustext: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4015     #[cfg(not(feature = "Win32_Foundation"))] usize,
4016     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppszdisplayname: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4017     #[cfg(not(feature = "Win32_Foundation"))] usize,
4018     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bindflags: u32, pbc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4019     #[cfg(not(feature = "Win32_System_Com"))] usize,
4020     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4021     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4022     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4023     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbc: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4024     #[cfg(not(feature = "Win32_System_Com"))] usize,
4025 );
4026 #[repr(transparent)]
4027 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4028 pub struct IOleObject(::windows::runtime::IUnknown);
4029 impl IOleObject {
SetClientSite<'a, Param0: ::windows::runtime::IntoParam<'a, IOleClientSite>>(&self, pclientsite: Param0) -> ::windows::runtime::Result<()>4030     pub unsafe fn SetClientSite<'a, Param0: ::windows::runtime::IntoParam<'a, IOleClientSite>>(&self, pclientsite: Param0) -> ::windows::runtime::Result<()> {
4031         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pclientsite.into_param().abi()).ok()
4032     }
GetClientSite(&self) -> ::windows::runtime::Result<IOleClientSite>4033     pub unsafe fn GetClientSite(&self) -> ::windows::runtime::Result<IOleClientSite> {
4034         let mut result__: <IOleClientSite as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4035         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IOleClientSite>(result__)
4036     }
4037     #[cfg(feature = "Win32_Foundation")]
SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, szcontainerapp: Param0, szcontainerobj: Param1) -> ::windows::runtime::Result<()>4038     pub unsafe fn SetHostNames<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, szcontainerapp: Param0, szcontainerobj: Param1) -> ::windows::runtime::Result<()> {
4039         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), szcontainerapp.into_param().abi(), szcontainerobj.into_param().abi()).ok()
4040     }
Close(&self, dwsaveoption: u32) -> ::windows::runtime::Result<()>4041     pub unsafe fn Close(&self, dwsaveoption: u32) -> ::windows::runtime::Result<()> {
4042         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwsaveoption)).ok()
4043     }
4044     #[cfg(feature = "Win32_System_Com")]
SetMoniker<'a, Param1: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, dwwhichmoniker: u32, pmk: Param1) -> ::windows::runtime::Result<()>4045     pub unsafe fn SetMoniker<'a, Param1: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>>(&self, dwwhichmoniker: u32, pmk: Param1) -> ::windows::runtime::Result<()> {
4046         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwwhichmoniker), pmk.into_param().abi()).ok()
4047     }
4048     #[cfg(feature = "Win32_System_Com")]
GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::runtime::Result<super::Com::IMoniker>4049     pub unsafe fn GetMoniker(&self, dwassign: u32, dwwhichmoniker: u32) -> ::windows::runtime::Result<super::Com::IMoniker> {
4050         let mut result__: <super::Com::IMoniker as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4051         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwassign), ::std::mem::transmute(dwwhichmoniker), &mut result__).from_abi::<super::Com::IMoniker>(result__)
4052     }
4053     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
InitFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdataobject: Param0, fcreation: Param1, dwreserved: u32) -> ::windows::runtime::Result<()>4054     pub unsafe fn InitFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pdataobject: Param0, fcreation: Param1, dwreserved: u32) -> ::windows::runtime::Result<()> {
4055         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), pdataobject.into_param().abi(), fcreation.into_param().abi(), ::std::mem::transmute(dwreserved)).ok()
4056     }
4057     #[cfg(feature = "Win32_System_Com")]
GetClipboardData(&self, dwreserved: u32) -> ::windows::runtime::Result<super::Com::IDataObject>4058     pub unsafe fn GetClipboardData(&self, dwreserved: u32) -> ::windows::runtime::Result<super::Com::IDataObject> {
4059         let mut result__: <super::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4060         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwreserved), &mut result__).from_abi::<super::Com::IDataObject>(result__)
4061     }
4062     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
DoVerb<'a, Param2: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, iverb: i32, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pactivesite: Param2, lindex: i32, hwndparent: Param4, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>4063     pub unsafe fn DoVerb<'a, Param2: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(&self, iverb: i32, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pactivesite: Param2, lindex: i32, hwndparent: Param4, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
4064         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(iverb), ::std::mem::transmute(lpmsg), pactivesite.into_param().abi(), ::std::mem::transmute(lindex), hwndparent.into_param().abi(), ::std::mem::transmute(lprcposrect)).ok()
4065     }
EnumVerbs(&self) -> ::windows::runtime::Result<IEnumOLEVERB>4066     pub unsafe fn EnumVerbs(&self) -> ::windows::runtime::Result<IEnumOLEVERB> {
4067         let mut result__: <IEnumOLEVERB as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4068         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOLEVERB>(result__)
4069     }
Update(&self) -> ::windows::runtime::Result<()>4070     pub unsafe fn Update(&self) -> ::windows::runtime::Result<()> {
4071         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
4072     }
IsUpToDate(&self) -> ::windows::runtime::Result<()>4073     pub unsafe fn IsUpToDate(&self) -> ::windows::runtime::Result<()> {
4074         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
4075     }
GetUserClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>4076     pub unsafe fn GetUserClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
4077         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4078         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
4079     }
4080     #[cfg(feature = "Win32_Foundation")]
GetUserType(&self, dwformoftype: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>4081     pub unsafe fn GetUserType(&self, dwformoftype: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
4082         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4083         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwformoftype), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
4084     }
4085     #[cfg(feature = "Win32_Foundation")]
SetExtent(&self, dwdrawaspect: u32, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<()>4086     pub unsafe fn SetExtent(&self, dwdrawaspect: u32, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<()> {
4087         (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(psizel)).ok()
4088     }
4089     #[cfg(feature = "Win32_Foundation")]
GetExtent(&self, dwdrawaspect: u32) -> ::windows::runtime::Result<super::super::Foundation::SIZE>4090     pub unsafe fn GetExtent(&self, dwdrawaspect: u32) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
4091         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4092         (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
4093     }
4094     #[cfg(feature = "Win32_System_Com")]
Advise<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, padvsink: Param0) -> ::windows::runtime::Result<u32>4095     pub unsafe fn Advise<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, padvsink: Param0) -> ::windows::runtime::Result<u32> {
4096         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4097         (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), padvsink.into_param().abi(), &mut result__).from_abi::<u32>(result__)
4098     }
Unadvise(&self, dwconnection: u32) -> ::windows::runtime::Result<()>4099     pub unsafe fn Unadvise(&self, dwconnection: u32) -> ::windows::runtime::Result<()> {
4100         (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwconnection)).ok()
4101     }
4102     #[cfg(feature = "Win32_System_Com")]
EnumAdvise(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA>4103     pub unsafe fn EnumAdvise(&self) -> ::windows::runtime::Result<super::Com::IEnumSTATDATA> {
4104         let mut result__: <super::Com::IEnumSTATDATA as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4105         (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::IEnumSTATDATA>(result__)
4106     }
GetMiscStatus(&self, dwaspect: u32) -> ::windows::runtime::Result<u32>4107     pub unsafe fn GetMiscStatus(&self, dwaspect: u32) -> ::windows::runtime::Result<u32> {
4108         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4109         (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), &mut result__).from_abi::<u32>(result__)
4110     }
4111     #[cfg(feature = "Win32_Graphics_Gdi")]
SetColorScheme(&self, plogpal: *const super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()>4112     pub unsafe fn SetColorScheme(&self, plogpal: *const super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()> {
4113         (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(plogpal)).ok()
4114     }
4115 }
4116 unsafe impl ::windows::runtime::Interface for IOleObject {
4117     type Vtable = IOleObject_abi;
4118     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(274, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
4119 }
4120 impl ::std::convert::From<IOleObject> for ::windows::runtime::IUnknown {
from(value: IOleObject) -> Self4121     fn from(value: IOleObject) -> Self {
4122         unsafe { ::std::mem::transmute(value) }
4123     }
4124 }
4125 impl ::std::convert::From<&IOleObject> for ::windows::runtime::IUnknown {
from(value: &IOleObject) -> Self4126     fn from(value: &IOleObject) -> Self {
4127         ::std::convert::From::from(::std::clone::Clone::clone(value))
4128     }
4129 }
4130 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4131     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4132         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4133     }
4134 }
4135 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4136     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4137         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4138     }
4139 }
4140 #[repr(C)]
4141 #[doc(hidden)]
4142 pub struct IOleObject_abi(
4143     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4144     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4145     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclientsite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppclientsite: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4148     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, szcontainerapp: super::super::Foundation::PWSTR, szcontainerobj: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4149     #[cfg(not(feature = "Win32_Foundation"))] usize,
4150     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwsaveoption: u32) -> ::windows::runtime::HRESULT,
4151     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwwhichmoniker: u32, pmk: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4152     #[cfg(not(feature = "Win32_System_Com"))] usize,
4153     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwassign: u32, dwwhichmoniker: u32, ppmk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4154     #[cfg(not(feature = "Win32_System_Com"))] usize,
4155     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdataobject: ::windows::runtime::RawPtr, fcreation: super::super::Foundation::BOOL, dwreserved: u32) -> ::windows::runtime::HRESULT,
4156     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
4157     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwreserved: u32, ppdataobject: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4158     #[cfg(not(feature = "Win32_System_Com"))] usize,
4159     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iverb: i32, lpmsg: *const super::super::UI::WindowsAndMessaging::MSG, pactivesite: ::windows::runtime::RawPtr, lindex: i32, hwndparent: super::super::Foundation::HWND, lprcposrect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
4160     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
4161     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumoleverb: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4162     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4163     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4165     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwformoftype: u32, pszusertype: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4166     #[cfg(not(feature = "Win32_Foundation"))] usize,
4167     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
4168     #[cfg(not(feature = "Win32_Foundation"))] usize,
4169     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, psizel: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
4170     #[cfg(not(feature = "Win32_Foundation"))] usize,
4171     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, padvsink: ::windows::runtime::RawPtr, pdwconnection: *mut u32) -> ::windows::runtime::HRESULT,
4172     #[cfg(not(feature = "Win32_System_Com"))] usize,
4173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwconnection: u32) -> ::windows::runtime::HRESULT,
4174     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenumadvise: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4175     #[cfg(not(feature = "Win32_System_Com"))] usize,
4176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
4177     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plogpal: *const super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::HRESULT,
4178     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
4179 );
4180 #[repr(transparent)]
4181 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4182 pub struct IOleParentUndoUnit(::windows::runtime::IUnknown);
4183 impl IOleParentUndoUnit {
Do<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoManager>>(&self, pundomanager: Param0) -> ::windows::runtime::Result<()>4184     pub unsafe fn Do<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoManager>>(&self, pundomanager: Param0) -> ::windows::runtime::Result<()> {
4185         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pundomanager.into_param().abi()).ok()
4186     }
4187     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4188     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4189         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4190         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4191     }
GetUnitType(&self, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::Result<()>4192     pub unsafe fn GetUnitType(&self, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::Result<()> {
4193         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pclsid), ::std::mem::transmute(plid)).ok()
4194     }
OnNextAdd(&self) -> ::windows::runtime::Result<()>4195     pub unsafe fn OnNextAdd(&self) -> ::windows::runtime::Result<()> {
4196         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
4197     }
Open<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>>(&self, ppuu: Param0) -> ::windows::runtime::Result<()>4198     pub unsafe fn Open<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>>(&self, ppuu: Param0) -> ::windows::runtime::Result<()> {
4199         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ppuu.into_param().abi()).ok()
4200     }
4201     #[cfg(feature = "Win32_Foundation")]
Close<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppuu: Param0, fcommit: Param1) -> ::windows::runtime::Result<()>4202     pub unsafe fn Close<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppuu: Param0, fcommit: Param1) -> ::windows::runtime::Result<()> {
4203         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ppuu.into_param().abi(), fcommit.into_param().abi()).ok()
4204     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4205     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4206         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4207     }
FindUnit<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4208     pub unsafe fn FindUnit<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4209         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4210     }
GetParentState(&self) -> ::windows::runtime::Result<u32>4211     pub unsafe fn GetParentState(&self) -> ::windows::runtime::Result<u32> {
4212         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4213         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4214     }
4215 }
4216 unsafe impl ::windows::runtime::Interface for IOleParentUndoUnit {
4217     type Vtable = IOleParentUndoUnit_abi;
4218     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2717578032, 61335, 4558, [155, 201, 0, 170, 0, 96, 142, 1]);
4219 }
4220 impl ::std::convert::From<IOleParentUndoUnit> for ::windows::runtime::IUnknown {
from(value: IOleParentUndoUnit) -> Self4221     fn from(value: IOleParentUndoUnit) -> Self {
4222         unsafe { ::std::mem::transmute(value) }
4223     }
4224 }
4225 impl ::std::convert::From<&IOleParentUndoUnit> for ::windows::runtime::IUnknown {
from(value: &IOleParentUndoUnit) -> Self4226     fn from(value: &IOleParentUndoUnit) -> Self {
4227         ::std::convert::From::from(::std::clone::Clone::clone(value))
4228     }
4229 }
4230 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleParentUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4231     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4232         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4233     }
4234 }
4235 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleParentUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4236     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4237         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4238     }
4239 }
4240 impl ::std::convert::From<IOleParentUndoUnit> for IOleUndoUnit {
from(value: IOleParentUndoUnit) -> Self4241     fn from(value: IOleParentUndoUnit) -> Self {
4242         unsafe { ::std::mem::transmute(value) }
4243     }
4244 }
4245 impl ::std::convert::From<&IOleParentUndoUnit> for IOleUndoUnit {
from(value: &IOleParentUndoUnit) -> Self4246     fn from(value: &IOleParentUndoUnit) -> Self {
4247         ::std::convert::From::from(::std::clone::Clone::clone(value))
4248     }
4249 }
4250 impl<'a> ::windows::runtime::IntoParam<'a, IOleUndoUnit> for IOleParentUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, IOleUndoUnit>4251     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUndoUnit> {
4252         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUndoUnit>::into(self))
4253     }
4254 }
4255 impl<'a> ::windows::runtime::IntoParam<'a, IOleUndoUnit> for &IOleParentUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, IOleUndoUnit>4256     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUndoUnit> {
4257         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUndoUnit>::into(::std::clone::Clone::clone(self)))
4258     }
4259 }
4260 #[repr(C)]
4261 #[doc(hidden)]
4262 pub struct IOleParentUndoUnit_abi(
4263     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4264     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4265     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4266     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pundomanager: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4267     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4268     #[cfg(not(feature = "Win32_Foundation"))] usize,
4269     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::HRESULT,
4270     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4271     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppuu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4272     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppuu: ::windows::runtime::RawPtr, fcommit: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4273     #[cfg(not(feature = "Win32_Foundation"))] usize,
4274     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4275     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4276     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstate: *mut u32) -> ::windows::runtime::HRESULT,
4277 );
4278 #[repr(transparent)]
4279 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4280 pub struct IOleUILinkContainerA(::windows::runtime::IUnknown);
4281 impl IOleUILinkContainerA {
GetNextLink(&self, dwlink: u32) -> u324282     pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 {
4283         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)))
4284     }
SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()>4285     pub unsafe fn SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()> {
4286         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ::std::mem::transmute(dwupdateopt)).ok()
4287     }
GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32>4288     pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32> {
4289         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4290         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<u32>(result__)
4291     }
4292     #[cfg(feature = "Win32_Foundation")]
SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()>4293     pub unsafe fn SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()> {
4294         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), lpszdisplayname.into_param().abi(), ::std::mem::transmute(lenfilename), ::std::mem::transmute(pcheaten), fvalidatesource.into_param().abi()).ok()
4295     }
4296     #[cfg(feature = "Win32_Foundation")]
GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>4297     pub unsafe fn GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
4298         (::windows::runtime::Interface::vtable(self).7)(
4299             ::std::mem::transmute_copy(self),
4300             ::std::mem::transmute(dwlink),
4301             ::std::mem::transmute(lplpszdisplayname),
4302             ::std::mem::transmute(lplenfilename),
4303             ::std::mem::transmute(lplpszfulllinktype),
4304             ::std::mem::transmute(lplpszshortlinktype),
4305             ::std::mem::transmute(lpfsourceavailable),
4306             ::std::mem::transmute(lpfisselected),
4307         )
4308         .ok()
4309     }
OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()>4310     pub unsafe fn OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4311         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4312     }
4313     #[cfg(feature = "Win32_Foundation")]
UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()>4314     pub unsafe fn UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()> {
4315         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ferrormessage.into_param().abi(), freserved.into_param().abi()).ok()
4316     }
CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()>4317     pub unsafe fn CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4318         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4319     }
4320 }
4321 unsafe impl ::windows::runtime::Interface for IOleUILinkContainerA {
4322     type Vtable = IOleUILinkContainerA_abi;
4323     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4324 }
4325 impl ::std::convert::From<IOleUILinkContainerA> for ::windows::runtime::IUnknown {
from(value: IOleUILinkContainerA) -> Self4326     fn from(value: IOleUILinkContainerA) -> Self {
4327         unsafe { ::std::mem::transmute(value) }
4328     }
4329 }
4330 impl ::std::convert::From<&IOleUILinkContainerA> for ::windows::runtime::IUnknown {
from(value: &IOleUILinkContainerA) -> Self4331     fn from(value: &IOleUILinkContainerA) -> Self {
4332         ::std::convert::From::from(::std::clone::Clone::clone(value))
4333     }
4334 }
4335 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUILinkContainerA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4336     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4337         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4338     }
4339 }
4340 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUILinkContainerA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4341     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4342         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4343     }
4344 }
4345 #[repr(C)]
4346 #[doc(hidden)]
4347 pub struct IOleUILinkContainerA_abi(
4348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4349     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4350     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4351     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> u32,
4352     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::HRESULT,
4353     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpdwupdateopt: *mut u32) -> ::windows::runtime::HRESULT,
4354     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpszdisplayname: super::super::Foundation::PSTR, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4355     #[cfg(not(feature = "Win32_Foundation"))] usize,
4356     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4357     #[cfg(not(feature = "Win32_Foundation"))] usize,
4358     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4359     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, ferrormessage: super::super::Foundation::BOOL, freserved: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4360     #[cfg(not(feature = "Win32_Foundation"))] usize,
4361     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4362 );
4363 #[repr(transparent)]
4364 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4365 pub struct IOleUILinkContainerW(::windows::runtime::IUnknown);
4366 impl IOleUILinkContainerW {
GetNextLink(&self, dwlink: u32) -> u324367     pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 {
4368         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)))
4369     }
SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()>4370     pub unsafe fn SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()> {
4371         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ::std::mem::transmute(dwupdateopt)).ok()
4372     }
GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32>4373     pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32> {
4374         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4375         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<u32>(result__)
4376     }
4377     #[cfg(feature = "Win32_Foundation")]
SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()>4378     pub unsafe fn SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()> {
4379         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), lpszdisplayname.into_param().abi(), ::std::mem::transmute(lenfilename), ::std::mem::transmute(pcheaten), fvalidatesource.into_param().abi()).ok()
4380     }
4381     #[cfg(feature = "Win32_Foundation")]
GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>4382     pub unsafe fn GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
4383         (::windows::runtime::Interface::vtable(self).7)(
4384             ::std::mem::transmute_copy(self),
4385             ::std::mem::transmute(dwlink),
4386             ::std::mem::transmute(lplpszdisplayname),
4387             ::std::mem::transmute(lplenfilename),
4388             ::std::mem::transmute(lplpszfulllinktype),
4389             ::std::mem::transmute(lplpszshortlinktype),
4390             ::std::mem::transmute(lpfsourceavailable),
4391             ::std::mem::transmute(lpfisselected),
4392         )
4393         .ok()
4394     }
OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()>4395     pub unsafe fn OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4396         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4397     }
4398     #[cfg(feature = "Win32_Foundation")]
UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()>4399     pub unsafe fn UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()> {
4400         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ferrormessage.into_param().abi(), freserved.into_param().abi()).ok()
4401     }
CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()>4402     pub unsafe fn CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4403         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4404     }
4405 }
4406 unsafe impl ::windows::runtime::Interface for IOleUILinkContainerW {
4407     type Vtable = IOleUILinkContainerW_abi;
4408     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4409 }
4410 impl ::std::convert::From<IOleUILinkContainerW> for ::windows::runtime::IUnknown {
from(value: IOleUILinkContainerW) -> Self4411     fn from(value: IOleUILinkContainerW) -> Self {
4412         unsafe { ::std::mem::transmute(value) }
4413     }
4414 }
4415 impl ::std::convert::From<&IOleUILinkContainerW> for ::windows::runtime::IUnknown {
from(value: &IOleUILinkContainerW) -> Self4416     fn from(value: &IOleUILinkContainerW) -> Self {
4417         ::std::convert::From::from(::std::clone::Clone::clone(value))
4418     }
4419 }
4420 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUILinkContainerW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4421     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4422         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4423     }
4424 }
4425 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUILinkContainerW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4426     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4427         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4428     }
4429 }
4430 #[repr(C)]
4431 #[doc(hidden)]
4432 pub struct IOleUILinkContainerW_abi(
4433     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4434     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4435     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4436     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> u32,
4437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::HRESULT,
4438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpdwupdateopt: *mut u32) -> ::windows::runtime::HRESULT,
4439     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpszdisplayname: super::super::Foundation::PWSTR, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4440     #[cfg(not(feature = "Win32_Foundation"))] usize,
4441     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4442     #[cfg(not(feature = "Win32_Foundation"))] usize,
4443     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4444     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, ferrormessage: super::super::Foundation::BOOL, freserved: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4445     #[cfg(not(feature = "Win32_Foundation"))] usize,
4446     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4447 );
4448 #[repr(transparent)]
4449 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4450 pub struct IOleUILinkInfoA(::windows::runtime::IUnknown);
4451 impl IOleUILinkInfoA {
GetNextLink(&self, dwlink: u32) -> u324452     pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 {
4453         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)))
4454     }
SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()>4455     pub unsafe fn SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()> {
4456         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ::std::mem::transmute(dwupdateopt)).ok()
4457     }
GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32>4458     pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32> {
4459         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4460         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<u32>(result__)
4461     }
4462     #[cfg(feature = "Win32_Foundation")]
SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()>4463     pub unsafe fn SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()> {
4464         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), lpszdisplayname.into_param().abi(), ::std::mem::transmute(lenfilename), ::std::mem::transmute(pcheaten), fvalidatesource.into_param().abi()).ok()
4465     }
4466     #[cfg(feature = "Win32_Foundation")]
GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>4467     pub unsafe fn GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
4468         (::windows::runtime::Interface::vtable(self).7)(
4469             ::std::mem::transmute_copy(self),
4470             ::std::mem::transmute(dwlink),
4471             ::std::mem::transmute(lplpszdisplayname),
4472             ::std::mem::transmute(lplenfilename),
4473             ::std::mem::transmute(lplpszfulllinktype),
4474             ::std::mem::transmute(lplpszshortlinktype),
4475             ::std::mem::transmute(lpfsourceavailable),
4476             ::std::mem::transmute(lpfisselected),
4477         )
4478         .ok()
4479     }
OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()>4480     pub unsafe fn OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4481         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4482     }
4483     #[cfg(feature = "Win32_Foundation")]
UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()>4484     pub unsafe fn UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()> {
4485         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ferrormessage.into_param().abi(), freserved.into_param().abi()).ok()
4486     }
CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()>4487     pub unsafe fn CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4488         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4489     }
4490     #[cfg(feature = "Win32_Foundation")]
GetLastUpdate(&self, dwlink: u32) -> ::windows::runtime::Result<super::super::Foundation::FILETIME>4491     pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> ::windows::runtime::Result<super::super::Foundation::FILETIME> {
4492         let mut result__: <super::super::Foundation::FILETIME as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4493         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<super::super::Foundation::FILETIME>(result__)
4494     }
4495 }
4496 unsafe impl ::windows::runtime::Interface for IOleUILinkInfoA {
4497     type Vtable = IOleUILinkInfoA_abi;
4498     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4499 }
4500 impl ::std::convert::From<IOleUILinkInfoA> for ::windows::runtime::IUnknown {
from(value: IOleUILinkInfoA) -> Self4501     fn from(value: IOleUILinkInfoA) -> Self {
4502         unsafe { ::std::mem::transmute(value) }
4503     }
4504 }
4505 impl ::std::convert::From<&IOleUILinkInfoA> for ::windows::runtime::IUnknown {
from(value: &IOleUILinkInfoA) -> Self4506     fn from(value: &IOleUILinkInfoA) -> Self {
4507         ::std::convert::From::from(::std::clone::Clone::clone(value))
4508     }
4509 }
4510 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUILinkInfoA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4511     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4512         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4513     }
4514 }
4515 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUILinkInfoA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4516     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4517         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4518     }
4519 }
4520 impl ::std::convert::From<IOleUILinkInfoA> for IOleUILinkContainerA {
from(value: IOleUILinkInfoA) -> Self4521     fn from(value: IOleUILinkInfoA) -> Self {
4522         unsafe { ::std::mem::transmute(value) }
4523     }
4524 }
4525 impl ::std::convert::From<&IOleUILinkInfoA> for IOleUILinkContainerA {
from(value: &IOleUILinkInfoA) -> Self4526     fn from(value: &IOleUILinkInfoA) -> Self {
4527         ::std::convert::From::from(::std::clone::Clone::clone(value))
4528     }
4529 }
4530 impl<'a> ::windows::runtime::IntoParam<'a, IOleUILinkContainerA> for IOleUILinkInfoA {
into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerA>4531     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerA> {
4532         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUILinkContainerA>::into(self))
4533     }
4534 }
4535 impl<'a> ::windows::runtime::IntoParam<'a, IOleUILinkContainerA> for &IOleUILinkInfoA {
into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerA>4536     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerA> {
4537         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUILinkContainerA>::into(::std::clone::Clone::clone(self)))
4538     }
4539 }
4540 #[repr(C)]
4541 #[doc(hidden)]
4542 pub struct IOleUILinkInfoA_abi(
4543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> u32,
4547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::HRESULT,
4548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpdwupdateopt: *mut u32) -> ::windows::runtime::HRESULT,
4549     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpszdisplayname: super::super::Foundation::PSTR, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4550     #[cfg(not(feature = "Win32_Foundation"))] usize,
4551     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PSTR, lplpszshortlinktype: *mut super::super::Foundation::PSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4552     #[cfg(not(feature = "Win32_Foundation"))] usize,
4553     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4554     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, ferrormessage: super::super::Foundation::BOOL, freserved: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4555     #[cfg(not(feature = "Win32_Foundation"))] usize,
4556     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4557     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplastupdate: *mut super::super::Foundation::FILETIME) -> ::windows::runtime::HRESULT,
4558     #[cfg(not(feature = "Win32_Foundation"))] usize,
4559 );
4560 #[repr(transparent)]
4561 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4562 pub struct IOleUILinkInfoW(::windows::runtime::IUnknown);
4563 impl IOleUILinkInfoW {
GetNextLink(&self, dwlink: u32) -> u324564     pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 {
4565         ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)))
4566     }
SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()>4567     pub unsafe fn SetLinkUpdateOptions(&self, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::Result<()> {
4568         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ::std::mem::transmute(dwupdateopt)).ok()
4569     }
GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32>4570     pub unsafe fn GetLinkUpdateOptions(&self, dwlink: u32) -> ::windows::runtime::Result<u32> {
4571         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4572         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<u32>(result__)
4573     }
4574     #[cfg(feature = "Win32_Foundation")]
SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()>4575     pub unsafe fn SetLinkSource<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, lpszdisplayname: Param1, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: Param4) -> ::windows::runtime::Result<()> {
4576         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), lpszdisplayname.into_param().abi(), ::std::mem::transmute(lenfilename), ::std::mem::transmute(pcheaten), fvalidatesource.into_param().abi()).ok()
4577     }
4578     #[cfg(feature = "Win32_Foundation")]
GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>4579     pub unsafe fn GetLinkSource(&self, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
4580         (::windows::runtime::Interface::vtable(self).7)(
4581             ::std::mem::transmute_copy(self),
4582             ::std::mem::transmute(dwlink),
4583             ::std::mem::transmute(lplpszdisplayname),
4584             ::std::mem::transmute(lplenfilename),
4585             ::std::mem::transmute(lplpszfulllinktype),
4586             ::std::mem::transmute(lplpszshortlinktype),
4587             ::std::mem::transmute(lpfsourceavailable),
4588             ::std::mem::transmute(lpfisselected),
4589         )
4590         .ok()
4591     }
OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()>4592     pub unsafe fn OpenLinkSource(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4593         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4594     }
4595     #[cfg(feature = "Win32_Foundation")]
UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()>4596     pub unsafe fn UpdateLink<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwlink: u32, ferrormessage: Param1, freserved: Param2) -> ::windows::runtime::Result<()> {
4597         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), ferrormessage.into_param().abi(), freserved.into_param().abi()).ok()
4598     }
CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()>4599     pub unsafe fn CancelLink(&self, dwlink: u32) -> ::windows::runtime::Result<()> {
4600         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink)).ok()
4601     }
4602     #[cfg(feature = "Win32_Foundation")]
GetLastUpdate(&self, dwlink: u32) -> ::windows::runtime::Result<super::super::Foundation::FILETIME>4603     pub unsafe fn GetLastUpdate(&self, dwlink: u32) -> ::windows::runtime::Result<super::super::Foundation::FILETIME> {
4604         let mut result__: <super::super::Foundation::FILETIME as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4605         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwlink), &mut result__).from_abi::<super::super::Foundation::FILETIME>(result__)
4606     }
4607 }
4608 unsafe impl ::windows::runtime::Interface for IOleUILinkInfoW {
4609     type Vtable = IOleUILinkInfoW_abi;
4610     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4611 }
4612 impl ::std::convert::From<IOleUILinkInfoW> for ::windows::runtime::IUnknown {
from(value: IOleUILinkInfoW) -> Self4613     fn from(value: IOleUILinkInfoW) -> Self {
4614         unsafe { ::std::mem::transmute(value) }
4615     }
4616 }
4617 impl ::std::convert::From<&IOleUILinkInfoW> for ::windows::runtime::IUnknown {
from(value: &IOleUILinkInfoW) -> Self4618     fn from(value: &IOleUILinkInfoW) -> Self {
4619         ::std::convert::From::from(::std::clone::Clone::clone(value))
4620     }
4621 }
4622 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUILinkInfoW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4623     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4624         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4625     }
4626 }
4627 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUILinkInfoW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4628     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4629         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4630     }
4631 }
4632 impl ::std::convert::From<IOleUILinkInfoW> for IOleUILinkContainerW {
from(value: IOleUILinkInfoW) -> Self4633     fn from(value: IOleUILinkInfoW) -> Self {
4634         unsafe { ::std::mem::transmute(value) }
4635     }
4636 }
4637 impl ::std::convert::From<&IOleUILinkInfoW> for IOleUILinkContainerW {
from(value: &IOleUILinkInfoW) -> Self4638     fn from(value: &IOleUILinkInfoW) -> Self {
4639         ::std::convert::From::from(::std::clone::Clone::clone(value))
4640     }
4641 }
4642 impl<'a> ::windows::runtime::IntoParam<'a, IOleUILinkContainerW> for IOleUILinkInfoW {
into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerW>4643     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerW> {
4644         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUILinkContainerW>::into(self))
4645     }
4646 }
4647 impl<'a> ::windows::runtime::IntoParam<'a, IOleUILinkContainerW> for &IOleUILinkInfoW {
into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerW>4648     fn into_param(self) -> ::windows::runtime::Param<'a, IOleUILinkContainerW> {
4649         ::windows::runtime::Param::Owned(::std::convert::Into::<IOleUILinkContainerW>::into(::std::clone::Clone::clone(self)))
4650     }
4651 }
4652 #[repr(C)]
4653 #[doc(hidden)]
4654 pub struct IOleUILinkInfoW_abi(
4655     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4656     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4657     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4658     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> u32,
4659     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, dwupdateopt: u32) -> ::windows::runtime::HRESULT,
4660     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpdwupdateopt: *mut u32) -> ::windows::runtime::HRESULT,
4661     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lpszdisplayname: super::super::Foundation::PWSTR, lenfilename: u32, pcheaten: *mut u32, fvalidatesource: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4662     #[cfg(not(feature = "Win32_Foundation"))] usize,
4663     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplpszdisplayname: *mut super::super::Foundation::PWSTR, lplenfilename: *mut u32, lplpszfulllinktype: *mut super::super::Foundation::PWSTR, lplpszshortlinktype: *mut super::super::Foundation::PWSTR, lpfsourceavailable: *mut super::super::Foundation::BOOL, lpfisselected: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4664     #[cfg(not(feature = "Win32_Foundation"))] usize,
4665     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4666     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, ferrormessage: super::super::Foundation::BOOL, freserved: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4667     #[cfg(not(feature = "Win32_Foundation"))] usize,
4668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32) -> ::windows::runtime::HRESULT,
4669     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwlink: u32, lplastupdate: *mut super::super::Foundation::FILETIME) -> ::windows::runtime::HRESULT,
4670     #[cfg(not(feature = "Win32_Foundation"))] usize,
4671 );
4672 #[repr(transparent)]
4673 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4674 pub struct IOleUIObjInfoA(::windows::runtime::IUnknown);
4675 impl IOleUIObjInfoA {
4676     #[cfg(feature = "Win32_Foundation")]
GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PSTR, lplpsztype: *mut super::super::Foundation::PSTR, lplpszshorttype: *mut super::super::Foundation::PSTR, lplpszlocation: *mut super::super::Foundation::PSTR) -> ::windows::runtime::Result<()>4677     pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PSTR, lplpsztype: *mut super::super::Foundation::PSTR, lplpszshorttype: *mut super::super::Foundation::PSTR, lplpszlocation: *mut super::super::Foundation::PSTR) -> ::windows::runtime::Result<()> {
4678         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(lpdwobjsize), ::std::mem::transmute(lplpszlabel), ::std::mem::transmute(lplpsztype), ::std::mem::transmute(lplpszshorttype), ::std::mem::transmute(lplpszlocation)).ok()
4679     }
GetConvertInfo(&self, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::Result<()>4680     pub unsafe fn GetConvertInfo(&self, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::Result<()> {
4681         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(lpclassid), ::std::mem::transmute(lpwformat), ::std::mem::transmute(lpconvertdefaultclassid), ::std::mem::transmute(lplpclsidexclude), ::std::mem::transmute(lpcclsidexclude)).ok()
4682     }
ConvertObject(&self, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>4683     pub unsafe fn ConvertObject(&self, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
4684         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(clsidnew)).ok()
4685     }
GetViewInfo(&self, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::Result<()>4686     pub unsafe fn GetViewInfo(&self, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::Result<()> {
4687         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(phmetapict), ::std::mem::transmute(pdvaspect), ::std::mem::transmute(pncurrentscale)).ok()
4688     }
4689     #[cfg(feature = "Win32_Foundation")]
SetViewInfo<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: Param4) -> ::windows::runtime::Result<()>4690     pub unsafe fn SetViewInfo<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: Param4) -> ::windows::runtime::Result<()> {
4691         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(hmetapict), ::std::mem::transmute(dvaspect), ::std::mem::transmute(ncurrentscale), brelativetoorig.into_param().abi()).ok()
4692     }
4693 }
4694 unsafe impl ::windows::runtime::Interface for IOleUIObjInfoA {
4695     type Vtable = IOleUIObjInfoA_abi;
4696     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4697 }
4698 impl ::std::convert::From<IOleUIObjInfoA> for ::windows::runtime::IUnknown {
from(value: IOleUIObjInfoA) -> Self4699     fn from(value: IOleUIObjInfoA) -> Self {
4700         unsafe { ::std::mem::transmute(value) }
4701     }
4702 }
4703 impl ::std::convert::From<&IOleUIObjInfoA> for ::windows::runtime::IUnknown {
from(value: &IOleUIObjInfoA) -> Self4704     fn from(value: &IOleUIObjInfoA) -> Self {
4705         ::std::convert::From::from(::std::clone::Clone::clone(value))
4706     }
4707 }
4708 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUIObjInfoA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4709     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4710         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4711     }
4712 }
4713 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUIObjInfoA {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4714     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4715         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4716     }
4717 }
4718 #[repr(C)]
4719 #[doc(hidden)]
4720 pub struct IOleUIObjInfoA_abi(
4721     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4722     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4723     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4724     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PSTR, lplpsztype: *mut super::super::Foundation::PSTR, lplpszshorttype: *mut super::super::Foundation::PSTR, lplpszlocation: *mut super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT,
4725     #[cfg(not(feature = "Win32_Foundation"))] usize,
4726     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::HRESULT,
4727     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4728     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::HRESULT,
4729     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4730     #[cfg(not(feature = "Win32_Foundation"))] usize,
4731 );
4732 #[repr(transparent)]
4733 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4734 pub struct IOleUIObjInfoW(::windows::runtime::IUnknown);
4735 impl IOleUIObjInfoW {
4736     #[cfg(feature = "Win32_Foundation")]
GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PWSTR, lplpsztype: *mut super::super::Foundation::PWSTR, lplpszshorttype: *mut super::super::Foundation::PWSTR, lplpszlocation: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>4737     pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PWSTR, lplpsztype: *mut super::super::Foundation::PWSTR, lplpszshorttype: *mut super::super::Foundation::PWSTR, lplpszlocation: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
4738         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(lpdwobjsize), ::std::mem::transmute(lplpszlabel), ::std::mem::transmute(lplpsztype), ::std::mem::transmute(lplpszshorttype), ::std::mem::transmute(lplpszlocation)).ok()
4739     }
GetConvertInfo(&self, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::Result<()>4740     pub unsafe fn GetConvertInfo(&self, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::Result<()> {
4741         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(lpclassid), ::std::mem::transmute(lpwformat), ::std::mem::transmute(lpconvertdefaultclassid), ::std::mem::transmute(lplpclsidexclude), ::std::mem::transmute(lpcclsidexclude)).ok()
4742     }
ConvertObject(&self, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>4743     pub unsafe fn ConvertObject(&self, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
4744         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(clsidnew)).ok()
4745     }
GetViewInfo(&self, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::Result<()>4746     pub unsafe fn GetViewInfo(&self, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::Result<()> {
4747         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(phmetapict), ::std::mem::transmute(pdvaspect), ::std::mem::transmute(pncurrentscale)).ok()
4748     }
4749     #[cfg(feature = "Win32_Foundation")]
SetViewInfo<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: Param4) -> ::windows::runtime::Result<()>4750     pub unsafe fn SetViewInfo<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: Param4) -> ::windows::runtime::Result<()> {
4751         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwobject), ::std::mem::transmute(hmetapict), ::std::mem::transmute(dvaspect), ::std::mem::transmute(ncurrentscale), brelativetoorig.into_param().abi()).ok()
4752     }
4753 }
4754 unsafe impl ::windows::runtime::Interface for IOleUIObjInfoW {
4755     type Vtable = IOleUIObjInfoW_abi;
4756     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::zeroed();
4757 }
4758 impl ::std::convert::From<IOleUIObjInfoW> for ::windows::runtime::IUnknown {
from(value: IOleUIObjInfoW) -> Self4759     fn from(value: IOleUIObjInfoW) -> Self {
4760         unsafe { ::std::mem::transmute(value) }
4761     }
4762 }
4763 impl ::std::convert::From<&IOleUIObjInfoW> for ::windows::runtime::IUnknown {
from(value: &IOleUIObjInfoW) -> Self4764     fn from(value: &IOleUIObjInfoW) -> Self {
4765         ::std::convert::From::from(::std::clone::Clone::clone(value))
4766     }
4767 }
4768 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUIObjInfoW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4769     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4770         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4771     }
4772 }
4773 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUIObjInfoW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4774     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4775         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4776     }
4777 }
4778 #[repr(C)]
4779 #[doc(hidden)]
4780 pub struct IOleUIObjInfoW_abi(
4781     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4782     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4783     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4784     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: *mut super::super::Foundation::PWSTR, lplpsztype: *mut super::super::Foundation::PWSTR, lplpszshorttype: *mut super::super::Foundation::PWSTR, lplpszlocation: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
4785     #[cfg(not(feature = "Win32_Foundation"))] usize,
4786     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, lpclassid: *mut ::windows::runtime::GUID, lpwformat: *mut u16, lpconvertdefaultclassid: *mut ::windows::runtime::GUID, lplpclsidexclude: *mut *mut ::windows::runtime::GUID, lpcclsidexclude: *mut u32) -> ::windows::runtime::HRESULT,
4787     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
4788     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, phmetapict: *const isize, pdvaspect: *const u32, pncurrentscale: *const i32) -> ::windows::runtime::HRESULT,
4789     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwobject: u32, hmetapict: isize, dvaspect: u32, ncurrentscale: i32, brelativetoorig: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4790     #[cfg(not(feature = "Win32_Foundation"))] usize,
4791 );
4792 #[repr(transparent)]
4793 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4794 pub struct IOleUndoManager(::windows::runtime::IUnknown);
4795 impl IOleUndoManager {
Open<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>>(&self, ppuu: Param0) -> ::windows::runtime::Result<()>4796     pub unsafe fn Open<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>>(&self, ppuu: Param0) -> ::windows::runtime::Result<()> {
4797         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ppuu.into_param().abi()).ok()
4798     }
4799     #[cfg(feature = "Win32_Foundation")]
Close<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppuu: Param0, fcommit: Param1) -> ::windows::runtime::Result<()>4800     pub unsafe fn Close<'a, Param0: ::windows::runtime::IntoParam<'a, IOleParentUndoUnit>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppuu: Param0, fcommit: Param1) -> ::windows::runtime::Result<()> {
4801         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ppuu.into_param().abi(), fcommit.into_param().abi()).ok()
4802     }
Add<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4803     pub unsafe fn Add<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4804         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4805     }
GetOpenParentState(&self) -> ::windows::runtime::Result<u32>4806     pub unsafe fn GetOpenParentState(&self) -> ::windows::runtime::Result<u32> {
4807         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4808         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4809     }
DiscardFrom<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4810     pub unsafe fn DiscardFrom<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4811         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4812     }
UndoTo<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4813     pub unsafe fn UndoTo<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4814         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4815     }
RedoTo<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()>4816     pub unsafe fn RedoTo<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoUnit>>(&self, puu: Param0) -> ::windows::runtime::Result<()> {
4817         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), puu.into_param().abi()).ok()
4818     }
EnumUndoable(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits>4819     pub unsafe fn EnumUndoable(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits> {
4820         let mut result__: <IEnumOleUndoUnits as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4821         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOleUndoUnits>(result__)
4822     }
EnumRedoable(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits>4823     pub unsafe fn EnumRedoable(&self) -> ::windows::runtime::Result<IEnumOleUndoUnits> {
4824         let mut result__: <IEnumOleUndoUnits as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4825         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IEnumOleUndoUnits>(result__)
4826     }
4827     #[cfg(feature = "Win32_Foundation")]
GetLastUndoDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4828     pub unsafe fn GetLastUndoDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4829         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4830         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4831     }
4832     #[cfg(feature = "Win32_Foundation")]
GetLastRedoDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4833     pub unsafe fn GetLastRedoDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4834         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4835         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4836     }
4837     #[cfg(feature = "Win32_Foundation")]
Enable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()>4838     pub unsafe fn Enable<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fenable: Param0) -> ::windows::runtime::Result<()> {
4839         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), fenable.into_param().abi()).ok()
4840     }
4841 }
4842 unsafe impl ::windows::runtime::Interface for IOleUndoManager {
4843     type Vtable = IOleUndoManager_abi;
4844     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3489788416, 61335, 4558, [155, 201, 0, 170, 0, 96, 142, 1]);
4845 }
4846 impl ::std::convert::From<IOleUndoManager> for ::windows::runtime::IUnknown {
from(value: IOleUndoManager) -> Self4847     fn from(value: IOleUndoManager) -> Self {
4848         unsafe { ::std::mem::transmute(value) }
4849     }
4850 }
4851 impl ::std::convert::From<&IOleUndoManager> for ::windows::runtime::IUnknown {
from(value: &IOleUndoManager) -> Self4852     fn from(value: &IOleUndoManager) -> Self {
4853         ::std::convert::From::from(::std::clone::Clone::clone(value))
4854     }
4855 }
4856 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUndoManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4857     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4858         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4859     }
4860 }
4861 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUndoManager {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4862     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4863         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4864     }
4865 }
4866 #[repr(C)]
4867 #[doc(hidden)]
4868 pub struct IOleUndoManager_abi(
4869     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4872     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppuu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4873     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppuu: ::windows::runtime::RawPtr, fcommit: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4874     #[cfg(not(feature = "Win32_Foundation"))] usize,
4875     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4876     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstate: *mut u32) -> ::windows::runtime::HRESULT,
4877     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4878     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4879     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, puu: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4880     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4881     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4882     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4883     #[cfg(not(feature = "Win32_Foundation"))] usize,
4884     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4885     #[cfg(not(feature = "Win32_Foundation"))] usize,
4886     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4887     #[cfg(not(feature = "Win32_Foundation"))] usize,
4888 );
4889 #[repr(transparent)]
4890 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4891 pub struct IOleUndoUnit(::windows::runtime::IUnknown);
4892 impl IOleUndoUnit {
Do<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoManager>>(&self, pundomanager: Param0) -> ::windows::runtime::Result<()>4893     pub unsafe fn Do<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUndoManager>>(&self, pundomanager: Param0) -> ::windows::runtime::Result<()> {
4894         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pundomanager.into_param().abi()).ok()
4895     }
4896     #[cfg(feature = "Win32_Foundation")]
GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4897     pub unsafe fn GetDescription(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4898         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4899         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4900     }
GetUnitType(&self, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::Result<()>4901     pub unsafe fn GetUnitType(&self, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::Result<()> {
4902         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pclsid), ::std::mem::transmute(plid)).ok()
4903     }
OnNextAdd(&self) -> ::windows::runtime::Result<()>4904     pub unsafe fn OnNextAdd(&self) -> ::windows::runtime::Result<()> {
4905         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
4906     }
4907 }
4908 unsafe impl ::windows::runtime::Interface for IOleUndoUnit {
4909     type Vtable = IOleUndoUnit_abi;
4910     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2303382448, 61335, 4558, [155, 201, 0, 170, 0, 96, 142, 1]);
4911 }
4912 impl ::std::convert::From<IOleUndoUnit> for ::windows::runtime::IUnknown {
from(value: IOleUndoUnit) -> Self4913     fn from(value: IOleUndoUnit) -> Self {
4914         unsafe { ::std::mem::transmute(value) }
4915     }
4916 }
4917 impl ::std::convert::From<&IOleUndoUnit> for ::windows::runtime::IUnknown {
from(value: &IOleUndoUnit) -> Self4918     fn from(value: &IOleUndoUnit) -> Self {
4919         ::std::convert::From::from(::std::clone::Clone::clone(value))
4920     }
4921 }
4922 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4923     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4924         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4925     }
4926 }
4927 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleUndoUnit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4928     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4929         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4930     }
4931 }
4932 #[repr(C)]
4933 #[doc(hidden)]
4934 pub struct IOleUndoUnit_abi(
4935     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4936     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4937     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4938     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pundomanager: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4939     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4940     #[cfg(not(feature = "Win32_Foundation"))] usize,
4941     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsid: *mut ::windows::runtime::GUID, plid: *mut i32) -> ::windows::runtime::HRESULT,
4942     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4943 );
4944 #[repr(transparent)]
4945 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4946 pub struct IOleWindow(::windows::runtime::IUnknown);
4947 impl IOleWindow {
4948     #[cfg(feature = "Win32_Foundation")]
GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND>4949     pub unsafe fn GetWindow(&self) -> ::windows::runtime::Result<super::super::Foundation::HWND> {
4950         let mut result__: <super::super::Foundation::HWND as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4951         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::HWND>(result__)
4952     }
4953     #[cfg(feature = "Win32_Foundation")]
ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()>4954     pub unsafe fn ContextSensitiveHelp<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fentermode: Param0) -> ::windows::runtime::Result<()> {
4955         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), fentermode.into_param().abi()).ok()
4956     }
4957 }
4958 unsafe impl ::windows::runtime::Interface for IOleWindow {
4959     type Vtable = IOleWindow_abi;
4960     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(276, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
4961 }
4962 impl ::std::convert::From<IOleWindow> for ::windows::runtime::IUnknown {
from(value: IOleWindow) -> Self4963     fn from(value: IOleWindow) -> Self {
4964         unsafe { ::std::mem::transmute(value) }
4965     }
4966 }
4967 impl ::std::convert::From<&IOleWindow> for ::windows::runtime::IUnknown {
from(value: &IOleWindow) -> Self4968     fn from(value: &IOleWindow) -> Self {
4969         ::std::convert::From::from(::std::clone::Clone::clone(value))
4970     }
4971 }
4972 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IOleWindow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4973     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4974         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4975     }
4976 }
4977 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IOleWindow {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4978     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4979         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4980     }
4981 }
4982 #[repr(C)]
4983 #[doc(hidden)]
4984 pub struct IOleWindow_abi(
4985     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4986     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4987     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4988     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phwnd: *mut super::super::Foundation::HWND) -> ::windows::runtime::HRESULT,
4989     #[cfg(not(feature = "Win32_Foundation"))] usize,
4990     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fentermode: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
4991     #[cfg(not(feature = "Win32_Foundation"))] usize,
4992 );
4993 #[repr(transparent)]
4994 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4995 pub struct IParseDisplayName(::windows::runtime::IUnknown);
4996 impl IParseDisplayName {
4997     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()>4998     pub unsafe fn ParseDisplayName<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IBindCtx>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pbc: Param0, pszdisplayname: Param1, pcheaten: *mut u32, ppmkout: *mut ::std::option::Option<super::Com::IMoniker>) -> ::windows::runtime::Result<()> {
4999         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pbc.into_param().abi(), pszdisplayname.into_param().abi(), ::std::mem::transmute(pcheaten), ::std::mem::transmute(ppmkout)).ok()
5000     }
5001 }
5002 unsafe impl ::windows::runtime::Interface for IParseDisplayName {
5003     type Vtable = IParseDisplayName_abi;
5004     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(282, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
5005 }
5006 impl ::std::convert::From<IParseDisplayName> for ::windows::runtime::IUnknown {
from(value: IParseDisplayName) -> Self5007     fn from(value: IParseDisplayName) -> Self {
5008         unsafe { ::std::mem::transmute(value) }
5009     }
5010 }
5011 impl ::std::convert::From<&IParseDisplayName> for ::windows::runtime::IUnknown {
from(value: &IParseDisplayName) -> Self5012     fn from(value: &IParseDisplayName) -> Self {
5013         ::std::convert::From::from(::std::clone::Clone::clone(value))
5014     }
5015 }
5016 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IParseDisplayName {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5017     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5018         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5019     }
5020 }
5021 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IParseDisplayName {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5022     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5023         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5024     }
5025 }
5026 #[repr(C)]
5027 #[doc(hidden)]
5028 pub struct IParseDisplayName_abi(
5029     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5030     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5031     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5032     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbc: ::windows::runtime::RawPtr, pszdisplayname: super::super::Foundation::PWSTR, pcheaten: *mut u32, ppmkout: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5033     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5034 );
5035 #[repr(transparent)]
5036 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5037 pub struct IPerPropertyBrowsing(::windows::runtime::IUnknown);
5038 impl IPerPropertyBrowsing {
5039     #[cfg(feature = "Win32_Foundation")]
GetDisplayString(&self, dispid: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5040     pub unsafe fn GetDisplayString(&self, dispid: i32) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5041         let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5042         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5043     }
MapPropertyToPage(&self, dispid: i32) -> ::windows::runtime::Result<::windows::runtime::GUID>5044     pub unsafe fn MapPropertyToPage(&self, dispid: i32) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5045         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5046         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5047     }
5048     #[cfg(feature = "Win32_Foundation")]
GetPredefinedStrings(&self, dispid: i32, pcastringsout: *mut CALPOLESTR, pcacookiesout: *mut CADWORD) -> ::windows::runtime::Result<()>5049     pub unsafe fn GetPredefinedStrings(&self, dispid: i32, pcastringsout: *mut CALPOLESTR, pcacookiesout: *mut CADWORD) -> ::windows::runtime::Result<()> {
5050         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid), ::std::mem::transmute(pcastringsout), ::std::mem::transmute(pcacookiesout)).ok()
5051     }
5052     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
GetPredefinedValue(&self, dispid: i32, dwcookie: u32) -> ::windows::runtime::Result<super::Com::VARIANT>5053     pub unsafe fn GetPredefinedValue(&self, dispid: i32, dwcookie: u32) -> ::windows::runtime::Result<super::Com::VARIANT> {
5054         let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5055         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid), ::std::mem::transmute(dwcookie), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5056     }
5057 }
5058 unsafe impl ::windows::runtime::Interface for IPerPropertyBrowsing {
5059     type Vtable = IPerPropertyBrowsing_abi;
5060     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(929813418, 14405, 4123, [132, 237, 8, 0, 43, 46, 199, 19]);
5061 }
5062 impl ::std::convert::From<IPerPropertyBrowsing> for ::windows::runtime::IUnknown {
from(value: IPerPropertyBrowsing) -> Self5063     fn from(value: IPerPropertyBrowsing) -> Self {
5064         unsafe { ::std::mem::transmute(value) }
5065     }
5066 }
5067 impl ::std::convert::From<&IPerPropertyBrowsing> for ::windows::runtime::IUnknown {
from(value: &IPerPropertyBrowsing) -> Self5068     fn from(value: &IPerPropertyBrowsing) -> Self {
5069         ::std::convert::From::from(::std::clone::Clone::clone(value))
5070     }
5071 }
5072 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPerPropertyBrowsing {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5073     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5074         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5075     }
5076 }
5077 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPerPropertyBrowsing {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5078     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5079         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5080     }
5081 }
5082 #[repr(C)]
5083 #[doc(hidden)]
5084 pub struct IPerPropertyBrowsing_abi(
5085     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5086     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5087     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5088     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32, pbstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5089     #[cfg(not(feature = "Win32_Foundation"))] usize,
5090     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32, pclsid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5091     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32, pcastringsout: *mut CALPOLESTR, pcacookiesout: *mut CADWORD) -> ::windows::runtime::HRESULT,
5092     #[cfg(not(feature = "Win32_Foundation"))] usize,
5093     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32, dwcookie: u32, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5094     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5095 );
5096 #[repr(transparent)]
5097 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5098 pub struct IPersistMemory(::windows::runtime::IUnknown);
5099 impl IPersistMemory {
GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>5100     pub unsafe fn GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5101         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5102         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5103     }
IsDirty(&self) -> ::windows::runtime::Result<()>5104     pub unsafe fn IsDirty(&self) -> ::windows::runtime::Result<()> {
5105         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5106     }
Load(&self, pmem: *const ::std::ffi::c_void, cbsize: u32) -> ::windows::runtime::Result<()>5107     pub unsafe fn Load(&self, pmem: *const ::std::ffi::c_void, cbsize: u32) -> ::windows::runtime::Result<()> {
5108         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmem), ::std::mem::transmute(cbsize)).ok()
5109     }
5110     #[cfg(feature = "Win32_Foundation")]
Save<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pmem: *mut ::std::ffi::c_void, fcleardirty: Param1, cbsize: u32) -> ::windows::runtime::Result<()>5111     pub unsafe fn Save<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pmem: *mut ::std::ffi::c_void, fcleardirty: Param1, cbsize: u32) -> ::windows::runtime::Result<()> {
5112         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmem), fcleardirty.into_param().abi(), ::std::mem::transmute(cbsize)).ok()
5113     }
GetSizeMax(&self) -> ::windows::runtime::Result<u32>5114     pub unsafe fn GetSizeMax(&self) -> ::windows::runtime::Result<u32> {
5115         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5116         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5117     }
InitNew(&self) -> ::windows::runtime::Result<()>5118     pub unsafe fn InitNew(&self) -> ::windows::runtime::Result<()> {
5119         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
5120     }
5121 }
5122 unsafe impl ::windows::runtime::Interface for IPersistMemory {
5123     type Vtable = IPersistMemory_abi;
5124     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3172656608, 42670, 4558, [189, 55, 80, 66, 0, 193, 0, 0]);
5125 }
5126 impl ::std::convert::From<IPersistMemory> for ::windows::runtime::IUnknown {
from(value: IPersistMemory) -> Self5127     fn from(value: IPersistMemory) -> Self {
5128         unsafe { ::std::mem::transmute(value) }
5129     }
5130 }
5131 impl ::std::convert::From<&IPersistMemory> for ::windows::runtime::IUnknown {
from(value: &IPersistMemory) -> Self5132     fn from(value: &IPersistMemory) -> Self {
5133         ::std::convert::From::from(::std::clone::Clone::clone(value))
5134     }
5135 }
5136 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPersistMemory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5137     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5138         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5139     }
5140 }
5141 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPersistMemory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5142     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5143         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5144     }
5145 }
5146 #[cfg(feature = "Win32_System_Com")]
5147 impl ::std::convert::From<IPersistMemory> for super::Com::IPersist {
from(value: IPersistMemory) -> Self5148     fn from(value: IPersistMemory) -> Self {
5149         unsafe { ::std::mem::transmute(value) }
5150     }
5151 }
5152 #[cfg(feature = "Win32_System_Com")]
5153 impl ::std::convert::From<&IPersistMemory> for super::Com::IPersist {
from(value: &IPersistMemory) -> Self5154     fn from(value: &IPersistMemory) -> Self {
5155         ::std::convert::From::from(::std::clone::Clone::clone(value))
5156     }
5157 }
5158 #[cfg(feature = "Win32_System_Com")]
5159 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for IPersistMemory {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5160     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5161         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(self))
5162     }
5163 }
5164 #[cfg(feature = "Win32_System_Com")]
5165 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for &IPersistMemory {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5166     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5167         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(::std::clone::Clone::clone(self)))
5168     }
5169 }
5170 #[repr(C)]
5171 #[doc(hidden)]
5172 pub struct IPersistMemory_abi(
5173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5174     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5175     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclassid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5178     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmem: *const ::std::ffi::c_void, cbsize: u32) -> ::windows::runtime::HRESULT,
5179     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmem: *mut ::std::ffi::c_void, fcleardirty: super::super::Foundation::BOOL, cbsize: u32) -> ::windows::runtime::HRESULT,
5180     #[cfg(not(feature = "Win32_Foundation"))] usize,
5181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbsize: *mut u32) -> ::windows::runtime::HRESULT,
5182     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5183 );
5184 #[repr(transparent)]
5185 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5186 pub struct IPersistPropertyBag(::windows::runtime::IUnknown);
5187 impl IPersistPropertyBag {
GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>5188     pub unsafe fn GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5189         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5190         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5191     }
InitNew(&self) -> ::windows::runtime::Result<()>5192     pub unsafe fn InitNew(&self) -> ::windows::runtime::Result<()> {
5193         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5194     }
5195     #[cfg(feature = "Win32_System_Ole_Automation")]
Load<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IPropertyBag>, Param1: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, ppropbag: Param0, perrorlog: Param1) -> ::windows::runtime::Result<()>5196     pub unsafe fn Load<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IPropertyBag>, Param1: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, ppropbag: Param0, perrorlog: Param1) -> ::windows::runtime::Result<()> {
5197         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ppropbag.into_param().abi(), perrorlog.into_param().abi()).ok()
5198     }
5199     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
Save<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IPropertyBag>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppropbag: Param0, fcleardirty: Param1, fsaveallproperties: Param2) -> ::windows::runtime::Result<()>5200     pub unsafe fn Save<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IPropertyBag>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppropbag: Param0, fcleardirty: Param1, fsaveallproperties: Param2) -> ::windows::runtime::Result<()> {
5201         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ppropbag.into_param().abi(), fcleardirty.into_param().abi(), fsaveallproperties.into_param().abi()).ok()
5202     }
5203 }
5204 unsafe impl ::windows::runtime::Interface for IPersistPropertyBag {
5205     type Vtable = IPersistPropertyBag_abi;
5206     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(936922976, 17099, 4558, [129, 53, 0, 170, 0, 75, 184, 81]);
5207 }
5208 impl ::std::convert::From<IPersistPropertyBag> for ::windows::runtime::IUnknown {
from(value: IPersistPropertyBag) -> Self5209     fn from(value: IPersistPropertyBag) -> Self {
5210         unsafe { ::std::mem::transmute(value) }
5211     }
5212 }
5213 impl ::std::convert::From<&IPersistPropertyBag> for ::windows::runtime::IUnknown {
from(value: &IPersistPropertyBag) -> Self5214     fn from(value: &IPersistPropertyBag) -> Self {
5215         ::std::convert::From::from(::std::clone::Clone::clone(value))
5216     }
5217 }
5218 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPersistPropertyBag {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5219     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5220         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5221     }
5222 }
5223 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPersistPropertyBag {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5224     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5225         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5226     }
5227 }
5228 #[cfg(feature = "Win32_System_Com")]
5229 impl ::std::convert::From<IPersistPropertyBag> for super::Com::IPersist {
from(value: IPersistPropertyBag) -> Self5230     fn from(value: IPersistPropertyBag) -> Self {
5231         unsafe { ::std::mem::transmute(value) }
5232     }
5233 }
5234 #[cfg(feature = "Win32_System_Com")]
5235 impl ::std::convert::From<&IPersistPropertyBag> for super::Com::IPersist {
from(value: &IPersistPropertyBag) -> Self5236     fn from(value: &IPersistPropertyBag) -> Self {
5237         ::std::convert::From::from(::std::clone::Clone::clone(value))
5238     }
5239 }
5240 #[cfg(feature = "Win32_System_Com")]
5241 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for IPersistPropertyBag {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5242     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5243         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(self))
5244     }
5245 }
5246 #[cfg(feature = "Win32_System_Com")]
5247 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for &IPersistPropertyBag {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5248     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5249         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(::std::clone::Clone::clone(self)))
5250     }
5251 }
5252 #[repr(C)]
5253 #[doc(hidden)]
5254 pub struct IPersistPropertyBag_abi(
5255     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5256     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5257     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5258     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclassid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5259     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5260     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropbag: ::windows::runtime::RawPtr, perrorlog: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5261     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5262     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropbag: ::windows::runtime::RawPtr, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5263     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
5264 );
5265 #[repr(transparent)]
5266 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5267 pub struct IPersistPropertyBag2(::windows::runtime::IUnknown);
5268 impl IPersistPropertyBag2 {
GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>5269     pub unsafe fn GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5270         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5271         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5272     }
InitNew(&self) -> ::windows::runtime::Result<()>5273     pub unsafe fn InitNew(&self) -> ::windows::runtime::Result<()> {
5274         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5275     }
5276     #[cfg(feature = "Win32_System_Ole_Automation")]
Load<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyBag2>, Param1: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, ppropbag: Param0, perrlog: Param1) -> ::windows::runtime::Result<()>5277     pub unsafe fn Load<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyBag2>, Param1: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, ppropbag: Param0, perrlog: Param1) -> ::windows::runtime::Result<()> {
5278         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ppropbag.into_param().abi(), perrlog.into_param().abi()).ok()
5279     }
5280     #[cfg(feature = "Win32_Foundation")]
Save<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyBag2>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppropbag: Param0, fcleardirty: Param1, fsaveallproperties: Param2) -> ::windows::runtime::Result<()>5281     pub unsafe fn Save<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyBag2>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, ppropbag: Param0, fcleardirty: Param1, fsaveallproperties: Param2) -> ::windows::runtime::Result<()> {
5282         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ppropbag.into_param().abi(), fcleardirty.into_param().abi(), fsaveallproperties.into_param().abi()).ok()
5283     }
IsDirty(&self) -> ::windows::runtime::Result<()>5284     pub unsafe fn IsDirty(&self) -> ::windows::runtime::Result<()> {
5285         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
5286     }
5287 }
5288 unsafe impl ::windows::runtime::Interface for IPersistPropertyBag2 {
5289     type Vtable = IPersistPropertyBag2_abi;
5290     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(586504321, 10251, 4560, [168, 169, 0, 160, 201, 12, 32, 4]);
5291 }
5292 impl ::std::convert::From<IPersistPropertyBag2> for ::windows::runtime::IUnknown {
from(value: IPersistPropertyBag2) -> Self5293     fn from(value: IPersistPropertyBag2) -> Self {
5294         unsafe { ::std::mem::transmute(value) }
5295     }
5296 }
5297 impl ::std::convert::From<&IPersistPropertyBag2> for ::windows::runtime::IUnknown {
from(value: &IPersistPropertyBag2) -> Self5298     fn from(value: &IPersistPropertyBag2) -> Self {
5299         ::std::convert::From::from(::std::clone::Clone::clone(value))
5300     }
5301 }
5302 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPersistPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5303     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5304         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5305     }
5306 }
5307 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPersistPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5308     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5309         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5310     }
5311 }
5312 #[cfg(feature = "Win32_System_Com")]
5313 impl ::std::convert::From<IPersistPropertyBag2> for super::Com::IPersist {
from(value: IPersistPropertyBag2) -> Self5314     fn from(value: IPersistPropertyBag2) -> Self {
5315         unsafe { ::std::mem::transmute(value) }
5316     }
5317 }
5318 #[cfg(feature = "Win32_System_Com")]
5319 impl ::std::convert::From<&IPersistPropertyBag2> for super::Com::IPersist {
from(value: &IPersistPropertyBag2) -> Self5320     fn from(value: &IPersistPropertyBag2) -> Self {
5321         ::std::convert::From::from(::std::clone::Clone::clone(value))
5322     }
5323 }
5324 #[cfg(feature = "Win32_System_Com")]
5325 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for IPersistPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5326     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5327         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(self))
5328     }
5329 }
5330 #[cfg(feature = "Win32_System_Com")]
5331 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for &IPersistPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5332     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5333         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(::std::clone::Clone::clone(self)))
5334     }
5335 }
5336 #[repr(C)]
5337 #[doc(hidden)]
5338 pub struct IPersistPropertyBag2_abi(
5339     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5340     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5341     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5342     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclassid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5343     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5344     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropbag: ::windows::runtime::RawPtr, perrlog: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5345     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5346     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppropbag: ::windows::runtime::RawPtr, fcleardirty: super::super::Foundation::BOOL, fsaveallproperties: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5347     #[cfg(not(feature = "Win32_Foundation"))] usize,
5348     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5349 );
5350 #[repr(transparent)]
5351 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5352 pub struct IPersistStreamInit(::windows::runtime::IUnknown);
5353 impl IPersistStreamInit {
GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID>5354     pub unsafe fn GetClassID(&self) -> ::windows::runtime::Result<::windows::runtime::GUID> {
5355         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5356         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
5357     }
IsDirty(&self) -> ::windows::runtime::Result<()>5358     pub unsafe fn IsDirty(&self) -> ::windows::runtime::Result<()> {
5359         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
5360     }
5361     #[cfg(feature = "Win32_System_Com")]
Load<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()>5362     pub unsafe fn Load<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(&self, pstm: Param0) -> ::windows::runtime::Result<()> {
5363         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pstm.into_param().abi()).ok()
5364     }
5365     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
Save<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstm: Param0, fcleardirty: Param1) -> ::windows::runtime::Result<()>5366     pub unsafe fn Save<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstm: Param0, fcleardirty: Param1) -> ::windows::runtime::Result<()> {
5367         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pstm.into_param().abi(), fcleardirty.into_param().abi()).ok()
5368     }
GetSizeMax(&self) -> ::windows::runtime::Result<u64>5369     pub unsafe fn GetSizeMax(&self) -> ::windows::runtime::Result<u64> {
5370         let mut result__: <u64 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5371         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u64>(result__)
5372     }
InitNew(&self) -> ::windows::runtime::Result<()>5373     pub unsafe fn InitNew(&self) -> ::windows::runtime::Result<()> {
5374         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
5375     }
5376 }
5377 unsafe impl ::windows::runtime::Interface for IPersistStreamInit {
5378     type Vtable = IPersistStreamInit_abi;
5379     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2144674688, 19975, 4123, [174, 45, 8, 0, 43, 46, 199, 19]);
5380 }
5381 impl ::std::convert::From<IPersistStreamInit> for ::windows::runtime::IUnknown {
from(value: IPersistStreamInit) -> Self5382     fn from(value: IPersistStreamInit) -> Self {
5383         unsafe { ::std::mem::transmute(value) }
5384     }
5385 }
5386 impl ::std::convert::From<&IPersistStreamInit> for ::windows::runtime::IUnknown {
from(value: &IPersistStreamInit) -> Self5387     fn from(value: &IPersistStreamInit) -> Self {
5388         ::std::convert::From::from(::std::clone::Clone::clone(value))
5389     }
5390 }
5391 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPersistStreamInit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5392     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5393         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5394     }
5395 }
5396 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPersistStreamInit {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5397     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5398         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5399     }
5400 }
5401 #[cfg(feature = "Win32_System_Com")]
5402 impl ::std::convert::From<IPersistStreamInit> for super::Com::IPersist {
from(value: IPersistStreamInit) -> Self5403     fn from(value: IPersistStreamInit) -> Self {
5404         unsafe { ::std::mem::transmute(value) }
5405     }
5406 }
5407 #[cfg(feature = "Win32_System_Com")]
5408 impl ::std::convert::From<&IPersistStreamInit> for super::Com::IPersist {
from(value: &IPersistStreamInit) -> Self5409     fn from(value: &IPersistStreamInit) -> Self {
5410         ::std::convert::From::from(::std::clone::Clone::clone(value))
5411     }
5412 }
5413 #[cfg(feature = "Win32_System_Com")]
5414 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for IPersistStreamInit {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5415     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5416         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(self))
5417     }
5418 }
5419 #[cfg(feature = "Win32_System_Com")]
5420 impl<'a> ::windows::runtime::IntoParam<'a, super::Com::IPersist> for &IPersistStreamInit {
into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist>5421     fn into_param(self) -> ::windows::runtime::Param<'a, super::Com::IPersist> {
5422         ::windows::runtime::Param::Owned(::std::convert::Into::<super::Com::IPersist>::into(::std::clone::Clone::clone(self)))
5423     }
5424 }
5425 #[repr(C)]
5426 #[doc(hidden)]
5427 pub struct IPersistStreamInit_abi(
5428     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5429     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5430     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5431     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclassid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
5432     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5433     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5434     #[cfg(not(feature = "Win32_System_Com"))] usize,
5435     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr, fcleardirty: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5436     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5437     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcbsize: *mut u64) -> ::windows::runtime::HRESULT,
5438     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5439 );
5440 #[repr(transparent)]
5441 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5442 pub struct IPicture(::windows::runtime::IUnknown);
5443 impl IPicture {
Handle(&self) -> ::windows::runtime::Result<u32>5444     pub unsafe fn Handle(&self) -> ::windows::runtime::Result<u32> {
5445         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5446         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5447     }
hPal(&self) -> ::windows::runtime::Result<u32>5448     pub unsafe fn hPal(&self) -> ::windows::runtime::Result<u32> {
5449         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5450         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5451     }
Type(&self) -> ::windows::runtime::Result<i16>5452     pub unsafe fn Type(&self) -> ::windows::runtime::Result<i16> {
5453         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5454         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5455     }
Width(&self) -> ::windows::runtime::Result<i32>5456     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
5457         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5458         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5459     }
Height(&self) -> ::windows::runtime::Result<i32>5460     pub unsafe fn Height(&self) -> ::windows::runtime::Result<i32> {
5461         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5462         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5463     }
5464     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
Render<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>5465     pub unsafe fn Render<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
5466         (::windows::runtime::Interface::vtable(self).8)(
5467             ::std::mem::transmute_copy(self),
5468             hdc.into_param().abi(),
5469             ::std::mem::transmute(x),
5470             ::std::mem::transmute(y),
5471             ::std::mem::transmute(cx),
5472             ::std::mem::transmute(cy),
5473             ::std::mem::transmute(xsrc),
5474             ::std::mem::transmute(ysrc),
5475             ::std::mem::transmute(cxsrc),
5476             ::std::mem::transmute(cysrc),
5477             ::std::mem::transmute(prcwbounds),
5478         )
5479         .ok()
5480     }
set_hPal(&self, hpal: u32) -> ::windows::runtime::Result<()>5481     pub unsafe fn set_hPal(&self, hpal: u32) -> ::windows::runtime::Result<()> {
5482         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(hpal)).ok()
5483     }
5484     #[cfg(feature = "Win32_Graphics_Gdi")]
CurDC(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC>5485     pub unsafe fn CurDC(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC> {
5486         let mut result__: <super::super::Graphics::Gdi::HDC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5487         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Graphics::Gdi::HDC>(result__)
5488     }
5489     #[cfg(feature = "Win32_Graphics_Gdi")]
SelectPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdcin: Param0, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut u32) -> ::windows::runtime::Result<()>5490     pub unsafe fn SelectPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdcin: Param0, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut u32) -> ::windows::runtime::Result<()> {
5491         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hdcin.into_param().abi(), ::std::mem::transmute(phdcout), ::std::mem::transmute(phbmpout)).ok()
5492     }
5493     #[cfg(feature = "Win32_Foundation")]
KeepOriginalFormat(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5494     pub unsafe fn KeepOriginalFormat(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5495         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5496         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5497     }
5498     #[cfg(feature = "Win32_Foundation")]
SetKeepOriginalFormat<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, keep: Param0) -> ::windows::runtime::Result<()>5499     pub unsafe fn SetKeepOriginalFormat<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, keep: Param0) -> ::windows::runtime::Result<()> {
5500         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), keep.into_param().abi()).ok()
5501     }
PictureChanged(&self) -> ::windows::runtime::Result<()>5502     pub unsafe fn PictureChanged(&self) -> ::windows::runtime::Result<()> {
5503         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
5504     }
5505     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
SaveAsFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstream: Param0, fsavememcopy: Param1) -> ::windows::runtime::Result<i32>5506     pub unsafe fn SaveAsFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstream: Param0, fsavememcopy: Param1) -> ::windows::runtime::Result<i32> {
5507         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5508         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pstream.into_param().abi(), fsavememcopy.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5509     }
Attributes(&self) -> ::windows::runtime::Result<u32>5510     pub unsafe fn Attributes(&self) -> ::windows::runtime::Result<u32> {
5511         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5512         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5513     }
5514 }
5515 unsafe impl ::windows::runtime::Interface for IPicture {
5516     type Vtable = IPicture_abi;
5517     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2079852928, 48946, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
5518 }
5519 impl ::std::convert::From<IPicture> for ::windows::runtime::IUnknown {
from(value: IPicture) -> Self5520     fn from(value: IPicture) -> Self {
5521         unsafe { ::std::mem::transmute(value) }
5522     }
5523 }
5524 impl ::std::convert::From<&IPicture> for ::windows::runtime::IUnknown {
from(value: &IPicture) -> Self5525     fn from(value: &IPicture) -> Self {
5526         ::std::convert::From::from(::std::clone::Clone::clone(value))
5527     }
5528 }
5529 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPicture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5530     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5531         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5532     }
5533 }
5534 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPicture {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5535     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5536         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5537     }
5538 }
5539 #[repr(C)]
5540 #[doc(hidden)]
5541 pub struct IPicture_abi(
5542     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5543     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phandle: *mut u32) -> ::windows::runtime::HRESULT,
5546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phpal: *mut u32) -> ::windows::runtime::HRESULT,
5547     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i16) -> ::windows::runtime::HRESULT,
5548     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwidth: *mut i32) -> ::windows::runtime::HRESULT,
5549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pheight: *mut i32) -> ::windows::runtime::HRESULT,
5550     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::Graphics::Gdi::HDC, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
5551     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
5552     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hpal: u32) -> ::windows::runtime::HRESULT,
5553     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phdc: *mut super::super::Graphics::Gdi::HDC) -> ::windows::runtime::HRESULT,
5554     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
5555     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdcin: super::super::Graphics::Gdi::HDC, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut u32) -> ::windows::runtime::HRESULT,
5556     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
5557     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pkeep: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5558     #[cfg(not(feature = "Win32_Foundation"))] usize,
5559     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keep: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5560     #[cfg(not(feature = "Win32_Foundation"))] usize,
5561     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5562     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstream: ::windows::runtime::RawPtr, fsavememcopy: super::super::Foundation::BOOL, pcbsize: *mut i32) -> ::windows::runtime::HRESULT,
5563     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5564     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwattr: *mut u32) -> ::windows::runtime::HRESULT,
5565 );
5566 #[repr(transparent)]
5567 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5568 pub struct IPicture2(::windows::runtime::IUnknown);
5569 impl IPicture2 {
Handle(&self) -> ::windows::runtime::Result<usize>5570     pub unsafe fn Handle(&self) -> ::windows::runtime::Result<usize> {
5571         let mut result__: <usize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5572         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<usize>(result__)
5573     }
hPal(&self) -> ::windows::runtime::Result<usize>5574     pub unsafe fn hPal(&self) -> ::windows::runtime::Result<usize> {
5575         let mut result__: <usize as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5576         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<usize>(result__)
5577     }
Type(&self) -> ::windows::runtime::Result<i16>5578     pub unsafe fn Type(&self) -> ::windows::runtime::Result<i16> {
5579         let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5580         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5581     }
Width(&self) -> ::windows::runtime::Result<i32>5582     pub unsafe fn Width(&self) -> ::windows::runtime::Result<i32> {
5583         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5584         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5585     }
Height(&self) -> ::windows::runtime::Result<i32>5586     pub unsafe fn Height(&self) -> ::windows::runtime::Result<i32> {
5587         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5588         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
5589     }
5590     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
Render<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>5591     pub unsafe fn Render<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdc: Param0, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
5592         (::windows::runtime::Interface::vtable(self).8)(
5593             ::std::mem::transmute_copy(self),
5594             hdc.into_param().abi(),
5595             ::std::mem::transmute(x),
5596             ::std::mem::transmute(y),
5597             ::std::mem::transmute(cx),
5598             ::std::mem::transmute(cy),
5599             ::std::mem::transmute(xsrc),
5600             ::std::mem::transmute(ysrc),
5601             ::std::mem::transmute(cxsrc),
5602             ::std::mem::transmute(cysrc),
5603             ::std::mem::transmute(prcwbounds),
5604         )
5605         .ok()
5606     }
set_hPal(&self, hpal: usize) -> ::windows::runtime::Result<()>5607     pub unsafe fn set_hPal(&self, hpal: usize) -> ::windows::runtime::Result<()> {
5608         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(hpal)).ok()
5609     }
5610     #[cfg(feature = "Win32_Graphics_Gdi")]
CurDC(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC>5611     pub unsafe fn CurDC(&self) -> ::windows::runtime::Result<super::super::Graphics::Gdi::HDC> {
5612         let mut result__: <super::super::Graphics::Gdi::HDC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5613         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Graphics::Gdi::HDC>(result__)
5614     }
5615     #[cfg(feature = "Win32_Graphics_Gdi")]
SelectPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdcin: Param0, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut usize) -> ::windows::runtime::Result<()>5616     pub unsafe fn SelectPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, hdcin: Param0, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut usize) -> ::windows::runtime::Result<()> {
5617         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), hdcin.into_param().abi(), ::std::mem::transmute(phdcout), ::std::mem::transmute(phbmpout)).ok()
5618     }
5619     #[cfg(feature = "Win32_Foundation")]
KeepOriginalFormat(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>5620     pub unsafe fn KeepOriginalFormat(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
5621         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5622         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
5623     }
5624     #[cfg(feature = "Win32_Foundation")]
SetKeepOriginalFormat<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, keep: Param0) -> ::windows::runtime::Result<()>5625     pub unsafe fn SetKeepOriginalFormat<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, keep: Param0) -> ::windows::runtime::Result<()> {
5626         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), keep.into_param().abi()).ok()
5627     }
PictureChanged(&self) -> ::windows::runtime::Result<()>5628     pub unsafe fn PictureChanged(&self) -> ::windows::runtime::Result<()> {
5629         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self)).ok()
5630     }
5631     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
SaveAsFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstream: Param0, fsavememcopy: Param1) -> ::windows::runtime::Result<i32>5632     pub unsafe fn SaveAsFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, pstream: Param0, fsavememcopy: Param1) -> ::windows::runtime::Result<i32> {
5633         let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5634         (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), pstream.into_param().abi(), fsavememcopy.into_param().abi(), &mut result__).from_abi::<i32>(result__)
5635     }
Attributes(&self) -> ::windows::runtime::Result<u32>5636     pub unsafe fn Attributes(&self) -> ::windows::runtime::Result<u32> {
5637         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5638         (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5639     }
5640 }
5641 unsafe impl ::windows::runtime::Interface for IPicture2 {
5642     type Vtable = IPicture2_abi;
5643     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4112014808, 8210, 19211, [170, 217, 240, 82, 198, 189, 72, 43]);
5644 }
5645 impl ::std::convert::From<IPicture2> for ::windows::runtime::IUnknown {
from(value: IPicture2) -> Self5646     fn from(value: IPicture2) -> Self {
5647         unsafe { ::std::mem::transmute(value) }
5648     }
5649 }
5650 impl ::std::convert::From<&IPicture2> for ::windows::runtime::IUnknown {
from(value: &IPicture2) -> Self5651     fn from(value: &IPicture2) -> Self {
5652         ::std::convert::From::from(::std::clone::Clone::clone(value))
5653     }
5654 }
5655 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPicture2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5656     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5657         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5658     }
5659 }
5660 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPicture2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5661     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5662         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5663     }
5664 }
5665 #[repr(C)]
5666 #[doc(hidden)]
5667 pub struct IPicture2_abi(
5668     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5669     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5670     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5671     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phandle: *mut usize) -> ::windows::runtime::HRESULT,
5672     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phpal: *mut usize) -> ::windows::runtime::HRESULT,
5673     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ptype: *mut i16) -> ::windows::runtime::HRESULT,
5674     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwidth: *mut i32) -> ::windows::runtime::HRESULT,
5675     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pheight: *mut i32) -> ::windows::runtime::HRESULT,
5676     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdc: super::super::Graphics::Gdi::HDC, x: i32, y: i32, cx: i32, cy: i32, xsrc: i32, ysrc: i32, cxsrc: i32, cysrc: i32, prcwbounds: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
5677     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi")))] usize,
5678     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hpal: usize) -> ::windows::runtime::HRESULT,
5679     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phdc: *mut super::super::Graphics::Gdi::HDC) -> ::windows::runtime::HRESULT,
5680     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
5681     #[cfg(feature = "Win32_Graphics_Gdi")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hdcin: super::super::Graphics::Gdi::HDC, phdcout: *mut super::super::Graphics::Gdi::HDC, phbmpout: *mut usize) -> ::windows::runtime::HRESULT,
5682     #[cfg(not(feature = "Win32_Graphics_Gdi"))] usize,
5683     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pkeep: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5684     #[cfg(not(feature = "Win32_Foundation"))] usize,
5685     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, keep: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5686     #[cfg(not(feature = "Win32_Foundation"))] usize,
5687     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5688     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstream: ::windows::runtime::RawPtr, fsavememcopy: super::super::Foundation::BOOL, pcbsize: *mut i32) -> ::windows::runtime::HRESULT,
5689     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
5690     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwattr: *mut u32) -> ::windows::runtime::HRESULT,
5691 );
5692 #[repr(transparent)]
5693 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5694 pub struct IPictureDisp(::windows::runtime::IUnknown);
5695 impl IPictureDisp {}
5696 unsafe impl ::windows::runtime::Interface for IPictureDisp {
5697     type Vtable = IPictureDisp_abi;
5698     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2079852929, 48946, 4122, [139, 187, 0, 170, 0, 48, 12, 171]);
5699 }
5700 impl ::std::convert::From<IPictureDisp> for ::windows::runtime::IUnknown {
from(value: IPictureDisp) -> Self5701     fn from(value: IPictureDisp) -> Self {
5702         unsafe { ::std::mem::transmute(value) }
5703     }
5704 }
5705 impl ::std::convert::From<&IPictureDisp> for ::windows::runtime::IUnknown {
from(value: &IPictureDisp) -> Self5706     fn from(value: &IPictureDisp) -> Self {
5707         ::std::convert::From::from(::std::clone::Clone::clone(value))
5708     }
5709 }
5710 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPictureDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5711     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5712         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5713     }
5714 }
5715 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPictureDisp {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5716     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5717         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5718     }
5719 }
5720 #[cfg(feature = "Win32_System_Ole_Automation")]
5721 impl ::std::convert::From<IPictureDisp> for Automation::IDispatch {
from(value: IPictureDisp) -> Self5722     fn from(value: IPictureDisp) -> Self {
5723         unsafe { ::std::mem::transmute(value) }
5724     }
5725 }
5726 #[cfg(feature = "Win32_System_Ole_Automation")]
5727 impl ::std::convert::From<&IPictureDisp> for Automation::IDispatch {
from(value: &IPictureDisp) -> Self5728     fn from(value: &IPictureDisp) -> Self {
5729         ::std::convert::From::from(::std::clone::Clone::clone(value))
5730     }
5731 }
5732 #[cfg(feature = "Win32_System_Ole_Automation")]
5733 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for IPictureDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>5734     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
5735         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(self))
5736     }
5737 }
5738 #[cfg(feature = "Win32_System_Ole_Automation")]
5739 impl<'a> ::windows::runtime::IntoParam<'a, Automation::IDispatch> for &IPictureDisp {
into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch>5740     fn into_param(self) -> ::windows::runtime::Param<'a, Automation::IDispatch> {
5741         ::windows::runtime::Param::Owned(::std::convert::Into::<Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5742     }
5743 }
5744 #[repr(C)]
5745 #[doc(hidden)]
5746 pub struct IPictureDisp_abi(
5747     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5748     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5749     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5750     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5751     #[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,
5752     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5753     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::HRESULT,
5754     #[cfg(not(feature = "Win32_Foundation"))] usize,
5755     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5756     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5757 );
5758 #[repr(transparent)]
5759 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5760 pub struct IPointerInactive(::windows::runtime::IUnknown);
5761 impl IPointerInactive {
GetActivationPolicy(&self) -> ::windows::runtime::Result<u32>5762     pub unsafe fn GetActivationPolicy(&self) -> ::windows::runtime::Result<u32> {
5763         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5764         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5765     }
5766     #[cfg(feature = "Win32_Foundation")]
OnInactiveMouseMove(&self, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, grfkeystate: u32) -> ::windows::runtime::Result<()>5767     pub unsafe fn OnInactiveMouseMove(&self, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, grfkeystate: u32) -> ::windows::runtime::Result<()> {
5768         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(prectbounds), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(grfkeystate)).ok()
5769     }
5770     #[cfg(feature = "Win32_Foundation")]
OnInactiveSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, dwmousemsg: u32, fsetalways: Param4) -> ::windows::runtime::Result<()>5771     pub unsafe fn OnInactiveSetCursor<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, dwmousemsg: u32, fsetalways: Param4) -> ::windows::runtime::Result<()> {
5772         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(prectbounds), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(dwmousemsg), fsetalways.into_param().abi()).ok()
5773     }
5774 }
5775 unsafe impl ::windows::runtime::Interface for IPointerInactive {
5776     type Vtable = IPointerInactive_abi;
5777     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1436027808, 13738, 4559, [182, 113, 0, 170, 0, 76, 214, 216]);
5778 }
5779 impl ::std::convert::From<IPointerInactive> for ::windows::runtime::IUnknown {
from(value: IPointerInactive) -> Self5780     fn from(value: IPointerInactive) -> Self {
5781         unsafe { ::std::mem::transmute(value) }
5782     }
5783 }
5784 impl ::std::convert::From<&IPointerInactive> for ::windows::runtime::IUnknown {
from(value: &IPointerInactive) -> Self5785     fn from(value: &IPointerInactive) -> Self {
5786         ::std::convert::From::from(::std::clone::Clone::clone(value))
5787     }
5788 }
5789 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPointerInactive {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5790     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5791         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5792     }
5793 }
5794 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPointerInactive {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5795     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5796         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5797     }
5798 }
5799 #[repr(C)]
5800 #[doc(hidden)]
5801 pub struct IPointerInactive_abi(
5802     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5803     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5804     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5805     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwpolicy: *mut u32) -> ::windows::runtime::HRESULT,
5806     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, grfkeystate: u32) -> ::windows::runtime::HRESULT,
5807     #[cfg(not(feature = "Win32_Foundation"))] usize,
5808     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prectbounds: *const super::super::Foundation::RECT, x: i32, y: i32, dwmousemsg: u32, fsetalways: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
5809     #[cfg(not(feature = "Win32_Foundation"))] usize,
5810 );
5811 #[repr(transparent)]
5812 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5813 pub struct IPrint(::windows::runtime::IUnknown);
5814 impl IPrint {
SetInitialPageNum(&self, nfirstpage: i32) -> ::windows::runtime::Result<()>5815     pub unsafe fn SetInitialPageNum(&self, nfirstpage: i32) -> ::windows::runtime::Result<()> {
5816         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(nfirstpage)).ok()
5817     }
GetPageInfo(&self, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::runtime::Result<()>5818     pub unsafe fn GetPageInfo(&self, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::runtime::Result<()> {
5819         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pnfirstpage), ::std::mem::transmute(pcpages)).ok()
5820     }
5821     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
Print<'a, Param4: ::windows::runtime::IntoParam<'a, IContinueCallback>>(&self, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut super::Com::STGMEDIUM, pcallback: Param4, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::runtime::Result<()>5822     pub unsafe fn Print<'a, Param4: ::windows::runtime::IntoParam<'a, IContinueCallback>>(&self, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut super::Com::STGMEDIUM, pcallback: Param4, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::runtime::Result<()> {
5823         (::windows::runtime::Interface::vtable(self).5)(
5824             ::std::mem::transmute_copy(self),
5825             ::std::mem::transmute(grfflags),
5826             ::std::mem::transmute(pptd),
5827             ::std::mem::transmute(pppageset),
5828             ::std::mem::transmute(pstgmoptions),
5829             pcallback.into_param().abi(),
5830             ::std::mem::transmute(nfirstpage),
5831             ::std::mem::transmute(pcpagesprinted),
5832             ::std::mem::transmute(pnlastpage),
5833         )
5834         .ok()
5835     }
5836 }
5837 unsafe impl ::windows::runtime::Interface for IPrint {
5838     type Vtable = IPrint_abi;
5839     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3072507081, 20072, 4123, [162, 188, 0, 170, 0, 64, 71, 112]);
5840 }
5841 impl ::std::convert::From<IPrint> for ::windows::runtime::IUnknown {
from(value: IPrint) -> Self5842     fn from(value: IPrint) -> Self {
5843         unsafe { ::std::mem::transmute(value) }
5844     }
5845 }
5846 impl ::std::convert::From<&IPrint> for ::windows::runtime::IUnknown {
from(value: &IPrint) -> Self5847     fn from(value: &IPrint) -> Self {
5848         ::std::convert::From::from(::std::clone::Clone::clone(value))
5849     }
5850 }
5851 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPrint {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5852     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5853         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5854     }
5855 }
5856 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPrint {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5857     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5858         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5859     }
5860 }
5861 #[repr(C)]
5862 #[doc(hidden)]
5863 pub struct IPrint_abi(
5864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5865     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5866     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5867     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, nfirstpage: i32) -> ::windows::runtime::HRESULT,
5868     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pnfirstpage: *mut i32, pcpages: *mut i32) -> ::windows::runtime::HRESULT,
5869     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
5870     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, grfflags: u32, pptd: *mut *mut super::Com::DVTARGETDEVICE, pppageset: *mut *mut PAGESET, pstgmoptions: *mut ::std::mem::ManuallyDrop<super::Com::STGMEDIUM>, pcallback: ::windows::runtime::RawPtr, nfirstpage: i32, pcpagesprinted: *mut i32, pnlastpage: *mut i32) -> ::windows::runtime::HRESULT,
5871     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage")))] usize,
5872 );
5873 #[repr(transparent)]
5874 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5875 pub struct IPropertyBag2(::windows::runtime::IUnknown);
5876 impl IPropertyBag2 {
5877     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Read<'a, Param2: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: Param2, pvarvalue: *mut super::Com::VARIANT, phrerror: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()>5878     pub unsafe fn Read<'a, Param2: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: Param2, pvarvalue: *mut super::Com::VARIANT, phrerror: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::Result<()> {
5879         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(cproperties), ::std::mem::transmute(ppropbag), perrlog.into_param().abi(), ::std::mem::transmute(pvarvalue), ::std::mem::transmute(phrerror)).ok()
5880     }
5881     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Write(&self, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5882     pub unsafe fn Write(&self, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5883         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(cproperties), ::std::mem::transmute(ppropbag), ::std::mem::transmute(pvarvalue)).ok()
5884     }
CountProperties(&self) -> ::windows::runtime::Result<u32>5885     pub unsafe fn CountProperties(&self) -> ::windows::runtime::Result<u32> {
5886         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5887         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5888     }
5889     #[cfg(feature = "Win32_Foundation")]
GetPropertyInfo(&self, iproperty: u32, cproperties: u32, ppropbag: *mut PROPBAG2, pcproperties: *mut u32) -> ::windows::runtime::Result<()>5890     pub unsafe fn GetPropertyInfo(&self, iproperty: u32, cproperties: u32, ppropbag: *mut PROPBAG2, pcproperties: *mut u32) -> ::windows::runtime::Result<()> {
5891         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iproperty), ::std::mem::transmute(cproperties), ::std::mem::transmute(ppropbag), ::std::mem::transmute(pcproperties)).ok()
5892     }
5893     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
LoadObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, pstrname: Param0, dwhint: u32, punkobject: Param2, perrlog: Param3) -> ::windows::runtime::Result<()>5894     pub unsafe fn LoadObject<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, Automation::IErrorLog>>(&self, pstrname: Param0, dwhint: u32, punkobject: Param2, perrlog: Param3) -> ::windows::runtime::Result<()> {
5895         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), pstrname.into_param().abi(), ::std::mem::transmute(dwhint), punkobject.into_param().abi(), perrlog.into_param().abi()).ok()
5896     }
5897 }
5898 unsafe impl ::windows::runtime::Interface for IPropertyBag2 {
5899     type Vtable = IPropertyBag2_abi;
5900     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(586504322, 10251, 4560, [168, 169, 0, 160, 201, 12, 32, 4]);
5901 }
5902 impl ::std::convert::From<IPropertyBag2> for ::windows::runtime::IUnknown {
from(value: IPropertyBag2) -> Self5903     fn from(value: IPropertyBag2) -> Self {
5904         unsafe { ::std::mem::transmute(value) }
5905     }
5906 }
5907 impl ::std::convert::From<&IPropertyBag2> for ::windows::runtime::IUnknown {
from(value: &IPropertyBag2) -> Self5908     fn from(value: &IPropertyBag2) -> Self {
5909         ::std::convert::From::from(::std::clone::Clone::clone(value))
5910     }
5911 }
5912 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5913     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5914         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5915     }
5916 }
5917 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPropertyBag2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5918     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5919         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5920     }
5921 }
5922 #[repr(C)]
5923 #[doc(hidden)]
5924 pub struct IPropertyBag2_abi(
5925     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5926     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5927     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5928     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cproperties: u32, ppropbag: *const PROPBAG2, perrlog: ::windows::runtime::RawPtr, pvarvalue: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, phrerror: *mut ::windows::runtime::HRESULT) -> ::windows::runtime::HRESULT,
5929     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5930     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cproperties: u32, ppropbag: *const PROPBAG2, pvarvalue: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5931     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5932     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcproperties: *mut u32) -> ::windows::runtime::HRESULT,
5933     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iproperty: u32, cproperties: u32, ppropbag: *mut PROPBAG2, pcproperties: *mut u32) -> ::windows::runtime::HRESULT,
5934     #[cfg(not(feature = "Win32_Foundation"))] usize,
5935     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstrname: super::super::Foundation::PWSTR, dwhint: u32, punkobject: ::windows::runtime::RawPtr, perrlog: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5936     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation")))] usize,
5937 );
5938 #[repr(transparent)]
5939 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5940 pub struct IPropertyNotifySink(::windows::runtime::IUnknown);
5941 impl IPropertyNotifySink {
OnChanged(&self, dispid: i32) -> ::windows::runtime::Result<()>5942     pub unsafe fn OnChanged(&self, dispid: i32) -> ::windows::runtime::Result<()> {
5943         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid)).ok()
5944     }
OnRequestEdit(&self, dispid: i32) -> ::windows::runtime::Result<()>5945     pub unsafe fn OnRequestEdit(&self, dispid: i32) -> ::windows::runtime::Result<()> {
5946         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid)).ok()
5947     }
5948 }
5949 unsafe impl ::windows::runtime::Interface for IPropertyNotifySink {
5950     type Vtable = IPropertyNotifySink_abi;
5951     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2616966146, 61425, 4122, [132, 237, 0, 170, 0, 52, 29, 7]);
5952 }
5953 impl ::std::convert::From<IPropertyNotifySink> for ::windows::runtime::IUnknown {
from(value: IPropertyNotifySink) -> Self5954     fn from(value: IPropertyNotifySink) -> Self {
5955         unsafe { ::std::mem::transmute(value) }
5956     }
5957 }
5958 impl ::std::convert::From<&IPropertyNotifySink> for ::windows::runtime::IUnknown {
from(value: &IPropertyNotifySink) -> Self5959     fn from(value: &IPropertyNotifySink) -> Self {
5960         ::std::convert::From::from(::std::clone::Clone::clone(value))
5961     }
5962 }
5963 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPropertyNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5964     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5965         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5966     }
5967 }
5968 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPropertyNotifySink {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5969     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5970         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5971     }
5972 }
5973 #[repr(C)]
5974 #[doc(hidden)]
5975 pub struct IPropertyNotifySink_abi(
5976     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5977     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5978     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5979     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32) -> ::windows::runtime::HRESULT,
5980     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32) -> ::windows::runtime::HRESULT,
5981 );
5982 #[repr(transparent)]
5983 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5984 pub struct IPropertyPage(::windows::runtime::IUnknown);
5985 impl IPropertyPage {
SetPageSite<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyPageSite>>(&self, ppagesite: Param0) -> ::windows::runtime::Result<()>5986     pub unsafe fn SetPageSite<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyPageSite>>(&self, ppagesite: Param0) -> ::windows::runtime::Result<()> {
5987         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ppagesite.into_param().abi()).ok()
5988     }
5989     #[cfg(feature = "Win32_Foundation")]
Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hwndparent: Param0, prect: *const super::super::Foundation::RECT, bmodal: Param2) -> ::windows::runtime::Result<()>5990     pub unsafe fn Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hwndparent: Param0, prect: *const super::super::Foundation::RECT, bmodal: Param2) -> ::windows::runtime::Result<()> {
5991         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(prect), bmodal.into_param().abi()).ok()
5992     }
Deactivate(&self) -> ::windows::runtime::Result<()>5993     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
5994         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
5995     }
5996     #[cfg(feature = "Win32_Foundation")]
GetPageInfo(&self) -> ::windows::runtime::Result<PROPPAGEINFO>5997     pub unsafe fn GetPageInfo(&self) -> ::windows::runtime::Result<PROPPAGEINFO> {
5998         let mut result__: <PROPPAGEINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5999         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PROPPAGEINFO>(result__)
6000     }
SetObjects(&self, cobjects: u32, ppunk: *const ::std::option::Option<::windows::runtime::IUnknown>) -> ::windows::runtime::Result<()>6001     pub unsafe fn SetObjects(&self, cobjects: u32, ppunk: *const ::std::option::Option<::windows::runtime::IUnknown>) -> ::windows::runtime::Result<()> {
6002         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(cobjects), ::std::mem::transmute(ppunk)).ok()
6003     }
Show(&self, ncmdshow: u32) -> ::windows::runtime::Result<()>6004     pub unsafe fn Show(&self, ncmdshow: u32) -> ::windows::runtime::Result<()> {
6005         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncmdshow)).ok()
6006     }
6007     #[cfg(feature = "Win32_Foundation")]
Move(&self, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>6008     pub unsafe fn Move(&self, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
6009         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prect)).ok()
6010     }
IsPageDirty(&self) -> ::windows::runtime::Result<()>6011     pub unsafe fn IsPageDirty(&self) -> ::windows::runtime::Result<()> {
6012         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
6013     }
Apply(&self) -> ::windows::runtime::Result<()>6014     pub unsafe fn Apply(&self) -> ::windows::runtime::Result<()> {
6015         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
6016     }
6017     #[cfg(feature = "Win32_Foundation")]
Help<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszhelpdir: Param0) -> ::windows::runtime::Result<()>6018     pub unsafe fn Help<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszhelpdir: Param0) -> ::windows::runtime::Result<()> {
6019         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pszhelpdir.into_param().abi()).ok()
6020     }
6021     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>6022     pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
6023         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg)).ok()
6024     }
6025 }
6026 unsafe impl ::windows::runtime::Interface for IPropertyPage {
6027     type Vtable = IPropertyPage_abi;
6028     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443341, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
6029 }
6030 impl ::std::convert::From<IPropertyPage> for ::windows::runtime::IUnknown {
from(value: IPropertyPage) -> Self6031     fn from(value: IPropertyPage) -> Self {
6032         unsafe { ::std::mem::transmute(value) }
6033     }
6034 }
6035 impl ::std::convert::From<&IPropertyPage> for ::windows::runtime::IUnknown {
from(value: &IPropertyPage) -> Self6036     fn from(value: &IPropertyPage) -> Self {
6037         ::std::convert::From::from(::std::clone::Clone::clone(value))
6038     }
6039 }
6040 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPropertyPage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6041     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6042         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6043     }
6044 }
6045 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPropertyPage {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6046     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6047         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6048     }
6049 }
6050 #[repr(C)]
6051 #[doc(hidden)]
6052 pub struct IPropertyPage_abi(
6053     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6054     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6055     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6056     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppagesite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6057     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, prect: *const super::super::Foundation::RECT, bmodal: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6058     #[cfg(not(feature = "Win32_Foundation"))] usize,
6059     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6060     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppageinfo: *mut PROPPAGEINFO) -> ::windows::runtime::HRESULT,
6061     #[cfg(not(feature = "Win32_Foundation"))] usize,
6062     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cobjects: u32, ppunk: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6063     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncmdshow: u32) -> ::windows::runtime::HRESULT,
6064     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
6065     #[cfg(not(feature = "Win32_Foundation"))] usize,
6066     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6067     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6068     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszhelpdir: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6069     #[cfg(not(feature = "Win32_Foundation"))] usize,
6070     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
6071     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
6072 );
6073 #[repr(transparent)]
6074 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6075 pub struct IPropertyPage2(::windows::runtime::IUnknown);
6076 impl IPropertyPage2 {
SetPageSite<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyPageSite>>(&self, ppagesite: Param0) -> ::windows::runtime::Result<()>6077     pub unsafe fn SetPageSite<'a, Param0: ::windows::runtime::IntoParam<'a, IPropertyPageSite>>(&self, ppagesite: Param0) -> ::windows::runtime::Result<()> {
6078         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ppagesite.into_param().abi()).ok()
6079     }
6080     #[cfg(feature = "Win32_Foundation")]
Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hwndparent: Param0, prect: *const super::super::Foundation::RECT, bmodal: Param2) -> ::windows::runtime::Result<()>6081     pub unsafe fn Activate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hwndparent: Param0, prect: *const super::super::Foundation::RECT, bmodal: Param2) -> ::windows::runtime::Result<()> {
6082         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwndparent.into_param().abi(), ::std::mem::transmute(prect), bmodal.into_param().abi()).ok()
6083     }
Deactivate(&self) -> ::windows::runtime::Result<()>6084     pub unsafe fn Deactivate(&self) -> ::windows::runtime::Result<()> {
6085         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
6086     }
6087     #[cfg(feature = "Win32_Foundation")]
GetPageInfo(&self) -> ::windows::runtime::Result<PROPPAGEINFO>6088     pub unsafe fn GetPageInfo(&self) -> ::windows::runtime::Result<PROPPAGEINFO> {
6089         let mut result__: <PROPPAGEINFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6090         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<PROPPAGEINFO>(result__)
6091     }
SetObjects(&self, cobjects: u32, ppunk: *const ::std::option::Option<::windows::runtime::IUnknown>) -> ::windows::runtime::Result<()>6092     pub unsafe fn SetObjects(&self, cobjects: u32, ppunk: *const ::std::option::Option<::windows::runtime::IUnknown>) -> ::windows::runtime::Result<()> {
6093         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(cobjects), ::std::mem::transmute(ppunk)).ok()
6094     }
Show(&self, ncmdshow: u32) -> ::windows::runtime::Result<()>6095     pub unsafe fn Show(&self, ncmdshow: u32) -> ::windows::runtime::Result<()> {
6096         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(ncmdshow)).ok()
6097     }
6098     #[cfg(feature = "Win32_Foundation")]
Move(&self, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()>6099     pub unsafe fn Move(&self, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
6100         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(prect)).ok()
6101     }
IsPageDirty(&self) -> ::windows::runtime::Result<()>6102     pub unsafe fn IsPageDirty(&self) -> ::windows::runtime::Result<()> {
6103         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
6104     }
Apply(&self) -> ::windows::runtime::Result<()>6105     pub unsafe fn Apply(&self) -> ::windows::runtime::Result<()> {
6106         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
6107     }
6108     #[cfg(feature = "Win32_Foundation")]
Help<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszhelpdir: Param0) -> ::windows::runtime::Result<()>6109     pub unsafe fn Help<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszhelpdir: Param0) -> ::windows::runtime::Result<()> {
6110         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), pszhelpdir.into_param().abi()).ok()
6111     }
6112     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>6113     pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
6114         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg)).ok()
6115     }
EditProperty(&self, dispid: i32) -> ::windows::runtime::Result<()>6116     pub unsafe fn EditProperty(&self, dispid: i32) -> ::windows::runtime::Result<()> {
6117         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispid)).ok()
6118     }
6119 }
6120 unsafe impl ::windows::runtime::Interface for IPropertyPage2 {
6121     type Vtable = IPropertyPage2_abi;
6122     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(31737445, 9388, 4123, [132, 237, 8, 0, 43, 46, 199, 19]);
6123 }
6124 impl ::std::convert::From<IPropertyPage2> for ::windows::runtime::IUnknown {
from(value: IPropertyPage2) -> Self6125     fn from(value: IPropertyPage2) -> Self {
6126         unsafe { ::std::mem::transmute(value) }
6127     }
6128 }
6129 impl ::std::convert::From<&IPropertyPage2> for ::windows::runtime::IUnknown {
from(value: &IPropertyPage2) -> Self6130     fn from(value: &IPropertyPage2) -> Self {
6131         ::std::convert::From::from(::std::clone::Clone::clone(value))
6132     }
6133 }
6134 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPropertyPage2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6135     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6136         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6137     }
6138 }
6139 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPropertyPage2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6140     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6141         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6142     }
6143 }
6144 impl ::std::convert::From<IPropertyPage2> for IPropertyPage {
from(value: IPropertyPage2) -> Self6145     fn from(value: IPropertyPage2) -> Self {
6146         unsafe { ::std::mem::transmute(value) }
6147     }
6148 }
6149 impl ::std::convert::From<&IPropertyPage2> for IPropertyPage {
from(value: &IPropertyPage2) -> Self6150     fn from(value: &IPropertyPage2) -> Self {
6151         ::std::convert::From::from(::std::clone::Clone::clone(value))
6152     }
6153 }
6154 impl<'a> ::windows::runtime::IntoParam<'a, IPropertyPage> for IPropertyPage2 {
into_param(self) -> ::windows::runtime::Param<'a, IPropertyPage>6155     fn into_param(self) -> ::windows::runtime::Param<'a, IPropertyPage> {
6156         ::windows::runtime::Param::Owned(::std::convert::Into::<IPropertyPage>::into(self))
6157     }
6158 }
6159 impl<'a> ::windows::runtime::IntoParam<'a, IPropertyPage> for &IPropertyPage2 {
into_param(self) -> ::windows::runtime::Param<'a, IPropertyPage>6160     fn into_param(self) -> ::windows::runtime::Param<'a, IPropertyPage> {
6161         ::windows::runtime::Param::Owned(::std::convert::Into::<IPropertyPage>::into(::std::clone::Clone::clone(self)))
6162     }
6163 }
6164 #[repr(C)]
6165 #[doc(hidden)]
6166 pub struct IPropertyPage2_abi(
6167     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6168     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6169     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6170     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppagesite: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6171     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, prect: *const super::super::Foundation::RECT, bmodal: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6172     #[cfg(not(feature = "Win32_Foundation"))] usize,
6173     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6174     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppageinfo: *mut PROPPAGEINFO) -> ::windows::runtime::HRESULT,
6175     #[cfg(not(feature = "Win32_Foundation"))] usize,
6176     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, cobjects: u32, ppunk: *const ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6177     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ncmdshow: u32) -> ::windows::runtime::HRESULT,
6178     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, prect: *const super::super::Foundation::RECT) -> ::windows::runtime::HRESULT,
6179     #[cfg(not(feature = "Win32_Foundation"))] usize,
6180     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6181     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6182     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszhelpdir: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
6183     #[cfg(not(feature = "Win32_Foundation"))] usize,
6184     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
6185     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
6186     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispid: i32) -> ::windows::runtime::HRESULT,
6187 );
6188 #[repr(transparent)]
6189 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6190 pub struct IPropertyPageSite(::windows::runtime::IUnknown);
6191 impl IPropertyPageSite {
OnStatusChange(&self, dwflags: PROPPAGESTATUS) -> ::windows::runtime::Result<()>6192     pub unsafe fn OnStatusChange(&self, dwflags: PROPPAGESTATUS) -> ::windows::runtime::Result<()> {
6193         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
6194     }
GetLocaleID(&self) -> ::windows::runtime::Result<u32>6195     pub unsafe fn GetLocaleID(&self) -> ::windows::runtime::Result<u32> {
6196         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6197         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6198     }
GetPageContainer(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown>6199     pub unsafe fn GetPageContainer(&self) -> ::windows::runtime::Result<::windows::runtime::IUnknown> {
6200         let mut result__: <::windows::runtime::IUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6201         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<::windows::runtime::IUnknown>(result__)
6202     }
6203     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>6204     pub unsafe fn TranslateAccelerator(&self, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
6205         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(pmsg)).ok()
6206     }
6207 }
6208 unsafe impl ::windows::runtime::Interface for IPropertyPageSite {
6209     type Vtable = IPropertyPageSite_abi;
6210     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443340, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
6211 }
6212 impl ::std::convert::From<IPropertyPageSite> for ::windows::runtime::IUnknown {
from(value: IPropertyPageSite) -> Self6213     fn from(value: IPropertyPageSite) -> Self {
6214         unsafe { ::std::mem::transmute(value) }
6215     }
6216 }
6217 impl ::std::convert::From<&IPropertyPageSite> for ::windows::runtime::IUnknown {
from(value: &IPropertyPageSite) -> Self6218     fn from(value: &IPropertyPageSite) -> Self {
6219         ::std::convert::From::from(::std::clone::Clone::clone(value))
6220     }
6221 }
6222 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IPropertyPageSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6223     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6224         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6225     }
6226 }
6227 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IPropertyPageSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6228     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6229         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6230     }
6231 }
6232 #[repr(C)]
6233 #[doc(hidden)]
6234 pub struct IPropertyPageSite_abi(
6235     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6236     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6237     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6238     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: PROPPAGESTATUS) -> ::windows::runtime::HRESULT,
6239     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plocaleid: *mut u32) -> ::windows::runtime::HRESULT,
6240     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6241     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pmsg: *const super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT,
6242     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
6243 );
6244 #[repr(transparent)]
6245 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6246 pub struct IProtectFocus(::windows::runtime::IUnknown);
6247 impl IProtectFocus {
6248     #[cfg(feature = "Win32_Foundation")]
AllowFocusChange(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>6249     pub unsafe fn AllowFocusChange(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
6250         let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6251         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
6252     }
6253 }
6254 unsafe impl ::windows::runtime::Interface for IProtectFocus {
6255     type Vtable = IProtectFocus_abi;
6256     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3625947299, 33110, 17655, [173, 40, 90, 187, 135, 0, 50, 116]);
6257 }
6258 impl ::std::convert::From<IProtectFocus> for ::windows::runtime::IUnknown {
from(value: IProtectFocus) -> Self6259     fn from(value: IProtectFocus) -> Self {
6260         unsafe { ::std::mem::transmute(value) }
6261     }
6262 }
6263 impl ::std::convert::From<&IProtectFocus> for ::windows::runtime::IUnknown {
from(value: &IProtectFocus) -> Self6264     fn from(value: &IProtectFocus) -> Self {
6265         ::std::convert::From::from(::std::clone::Clone::clone(value))
6266     }
6267 }
6268 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IProtectFocus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6269     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6270         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6271     }
6272 }
6273 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IProtectFocus {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6274     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6275         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6276     }
6277 }
6278 #[repr(C)]
6279 #[doc(hidden)]
6280 pub struct IProtectFocus_abi(
6281     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6282     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6283     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6284     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfallow: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
6285     #[cfg(not(feature = "Win32_Foundation"))] usize,
6286 );
6287 #[repr(transparent)]
6288 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6289 pub struct IProtectedModeMenuServices(::windows::runtime::IUnknown);
6290 impl IProtectedModeMenuServices {
6291     #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
CreateMenu(&self) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU>6292     pub unsafe fn CreateMenu(&self) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU> {
6293         let mut result__: <super::super::UI::WindowsAndMessaging::HMENU as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6294         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::UI::WindowsAndMessaging::HMENU>(result__)
6295     }
6296     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
LoadMenu<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmodulename: Param0, pszmenuname: Param1) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU>6297     pub unsafe fn LoadMenu<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmodulename: Param0, pszmenuname: Param1) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU> {
6298         let mut result__: <super::super::UI::WindowsAndMessaging::HMENU as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6299         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), pszmodulename.into_param().abi(), pszmenuname.into_param().abi(), &mut result__).from_abi::<super::super::UI::WindowsAndMessaging::HMENU>(result__)
6300     }
6301     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
LoadMenuID<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmodulename: Param0, wresourceid: u16) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU>6302     pub unsafe fn LoadMenuID<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmodulename: Param0, wresourceid: u16) -> ::windows::runtime::Result<super::super::UI::WindowsAndMessaging::HMENU> {
6303         let mut result__: <super::super::UI::WindowsAndMessaging::HMENU as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6304         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pszmodulename.into_param().abi(), ::std::mem::transmute(wresourceid), &mut result__).from_abi::<super::super::UI::WindowsAndMessaging::HMENU>(result__)
6305     }
6306 }
6307 unsafe impl ::windows::runtime::Interface for IProtectedModeMenuServices {
6308     type Vtable = IProtectedModeMenuServices_abi;
6309     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1942029806, 40447, 18951, [184, 60, 126, 255, 41, 12, 38, 110]);
6310 }
6311 impl ::std::convert::From<IProtectedModeMenuServices> for ::windows::runtime::IUnknown {
from(value: IProtectedModeMenuServices) -> Self6312     fn from(value: IProtectedModeMenuServices) -> Self {
6313         unsafe { ::std::mem::transmute(value) }
6314     }
6315 }
6316 impl ::std::convert::From<&IProtectedModeMenuServices> for ::windows::runtime::IUnknown {
from(value: &IProtectedModeMenuServices) -> Self6317     fn from(value: &IProtectedModeMenuServices) -> Self {
6318         ::std::convert::From::from(::std::clone::Clone::clone(value))
6319     }
6320 }
6321 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IProtectedModeMenuServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6322     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6323         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6324     }
6325 }
6326 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IProtectedModeMenuServices {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6327     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6328         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6329     }
6330 }
6331 #[repr(C)]
6332 #[doc(hidden)]
6333 pub struct IProtectedModeMenuServices_abi(
6334     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6335     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6336     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6337     #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, phmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT,
6338     #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] usize,
6339     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmodulename: super::super::Foundation::PWSTR, pszmenuname: super::super::Foundation::PWSTR, phmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT,
6340     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
6341     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmodulename: super::super::Foundation::PWSTR, wresourceid: u16, phmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> ::windows::runtime::HRESULT,
6342     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging")))] usize,
6343 );
6344 #[repr(transparent)]
6345 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6346 pub struct IProvideClassInfo(::windows::runtime::IUnknown);
6347 impl IProvideClassInfo {
6348     #[cfg(feature = "Win32_System_Ole_Automation")]
GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo>6349     pub unsafe fn GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo> {
6350         let mut result__: <Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6351         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<Automation::ITypeInfo>(result__)
6352     }
6353 }
6354 unsafe impl ::windows::runtime::Interface for IProvideClassInfo {
6355     type Vtable = IProvideClassInfo_abi;
6356     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443331, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
6357 }
6358 impl ::std::convert::From<IProvideClassInfo> for ::windows::runtime::IUnknown {
from(value: IProvideClassInfo) -> Self6359     fn from(value: IProvideClassInfo) -> Self {
6360         unsafe { ::std::mem::transmute(value) }
6361     }
6362 }
6363 impl ::std::convert::From<&IProvideClassInfo> for ::windows::runtime::IUnknown {
from(value: &IProvideClassInfo) -> Self6364     fn from(value: &IProvideClassInfo) -> Self {
6365         ::std::convert::From::from(::std::clone::Clone::clone(value))
6366     }
6367 }
6368 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IProvideClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6369     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6370         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6371     }
6372 }
6373 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IProvideClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6374     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6375         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6376     }
6377 }
6378 #[repr(C)]
6379 #[doc(hidden)]
6380 pub struct IProvideClassInfo_abi(
6381     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6382     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6383     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6384     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppti: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6385     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6386 );
6387 #[repr(transparent)]
6388 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6389 pub struct IProvideClassInfo2(::windows::runtime::IUnknown);
6390 impl IProvideClassInfo2 {
6391     #[cfg(feature = "Win32_System_Ole_Automation")]
GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo>6392     pub unsafe fn GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo> {
6393         let mut result__: <Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6394         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<Automation::ITypeInfo>(result__)
6395     }
GetGUID(&self, dwguidkind: u32) -> ::windows::runtime::Result<::windows::runtime::GUID>6396     pub unsafe fn GetGUID(&self, dwguidkind: u32) -> ::windows::runtime::Result<::windows::runtime::GUID> {
6397         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6398         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwguidkind), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
6399     }
6400 }
6401 unsafe impl ::windows::runtime::Interface for IProvideClassInfo2 {
6402     type Vtable = IProvideClassInfo2_abi;
6403     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2797353664, 56234, 4558, [157, 227, 0, 170, 0, 75, 184, 81]);
6404 }
6405 impl ::std::convert::From<IProvideClassInfo2> for ::windows::runtime::IUnknown {
from(value: IProvideClassInfo2) -> Self6406     fn from(value: IProvideClassInfo2) -> Self {
6407         unsafe { ::std::mem::transmute(value) }
6408     }
6409 }
6410 impl ::std::convert::From<&IProvideClassInfo2> for ::windows::runtime::IUnknown {
from(value: &IProvideClassInfo2) -> Self6411     fn from(value: &IProvideClassInfo2) -> Self {
6412         ::std::convert::From::from(::std::clone::Clone::clone(value))
6413     }
6414 }
6415 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IProvideClassInfo2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6416     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6417         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6418     }
6419 }
6420 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IProvideClassInfo2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6421     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6422         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6423     }
6424 }
6425 impl ::std::convert::From<IProvideClassInfo2> for IProvideClassInfo {
from(value: IProvideClassInfo2) -> Self6426     fn from(value: IProvideClassInfo2) -> Self {
6427         unsafe { ::std::mem::transmute(value) }
6428     }
6429 }
6430 impl ::std::convert::From<&IProvideClassInfo2> for IProvideClassInfo {
from(value: &IProvideClassInfo2) -> Self6431     fn from(value: &IProvideClassInfo2) -> Self {
6432         ::std::convert::From::from(::std::clone::Clone::clone(value))
6433     }
6434 }
6435 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo> for IProvideClassInfo2 {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo>6436     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo> {
6437         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo>::into(self))
6438     }
6439 }
6440 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo> for &IProvideClassInfo2 {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo>6441     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo> {
6442         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo>::into(::std::clone::Clone::clone(self)))
6443     }
6444 }
6445 #[repr(C)]
6446 #[doc(hidden)]
6447 pub struct IProvideClassInfo2_abi(
6448     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6449     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6450     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6451     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppti: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6452     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6453     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwguidkind: u32, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6454 );
6455 #[repr(transparent)]
6456 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6457 pub struct IProvideMultipleClassInfo(::windows::runtime::IUnknown);
6458 impl IProvideMultipleClassInfo {
6459     #[cfg(feature = "Win32_System_Ole_Automation")]
GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo>6460     pub unsafe fn GetClassInfo(&self) -> ::windows::runtime::Result<Automation::ITypeInfo> {
6461         let mut result__: <Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6462         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<Automation::ITypeInfo>(result__)
6463     }
GetGUID(&self, dwguidkind: u32) -> ::windows::runtime::Result<::windows::runtime::GUID>6464     pub unsafe fn GetGUID(&self, dwguidkind: u32) -> ::windows::runtime::Result<::windows::runtime::GUID> {
6465         let mut result__: <::windows::runtime::GUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6466         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwguidkind), &mut result__).from_abi::<::windows::runtime::GUID>(result__)
6467     }
GetMultiTypeInfoCount(&self) -> ::windows::runtime::Result<u32>6468     pub unsafe fn GetMultiTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
6469         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6470         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6471     }
6472     #[cfg(feature = "Win32_System_Ole_Automation")]
GetInfoOfIndex(&self, iti: u32, dwflags: MULTICLASSINFO_FLAGS, ppticoclass: *mut ::std::option::Option<Automation::ITypeInfo>, pdwtiflags: *mut u32, pcdispidreserved: *mut u32, piidprimary: *mut ::windows::runtime::GUID, piidsource: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>6473     pub unsafe fn GetInfoOfIndex(&self, iti: u32, dwflags: MULTICLASSINFO_FLAGS, ppticoclass: *mut ::std::option::Option<Automation::ITypeInfo>, pdwtiflags: *mut u32, pcdispidreserved: *mut u32, piidprimary: *mut ::windows::runtime::GUID, piidsource: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
6474         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(iti), ::std::mem::transmute(dwflags), ::std::mem::transmute(ppticoclass), ::std::mem::transmute(pdwtiflags), ::std::mem::transmute(pcdispidreserved), ::std::mem::transmute(piidprimary), ::std::mem::transmute(piidsource)).ok()
6475     }
6476 }
6477 unsafe impl ::windows::runtime::Interface for IProvideMultipleClassInfo {
6478     type Vtable = IProvideMultipleClassInfo_abi;
6479     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2813045185, 35203, 4559, [143, 32, 0, 128, 95, 44, 208, 100]);
6480 }
6481 impl ::std::convert::From<IProvideMultipleClassInfo> for ::windows::runtime::IUnknown {
from(value: IProvideMultipleClassInfo) -> Self6482     fn from(value: IProvideMultipleClassInfo) -> Self {
6483         unsafe { ::std::mem::transmute(value) }
6484     }
6485 }
6486 impl ::std::convert::From<&IProvideMultipleClassInfo> for ::windows::runtime::IUnknown {
from(value: &IProvideMultipleClassInfo) -> Self6487     fn from(value: &IProvideMultipleClassInfo) -> Self {
6488         ::std::convert::From::from(::std::clone::Clone::clone(value))
6489     }
6490 }
6491 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6492     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6493         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6494     }
6495 }
6496 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6497     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6498         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6499     }
6500 }
6501 impl ::std::convert::From<IProvideMultipleClassInfo> for IProvideClassInfo2 {
from(value: IProvideMultipleClassInfo) -> Self6502     fn from(value: IProvideMultipleClassInfo) -> Self {
6503         unsafe { ::std::mem::transmute(value) }
6504     }
6505 }
6506 impl ::std::convert::From<&IProvideMultipleClassInfo> for IProvideClassInfo2 {
from(value: &IProvideMultipleClassInfo) -> Self6507     fn from(value: &IProvideMultipleClassInfo) -> Self {
6508         ::std::convert::From::from(::std::clone::Clone::clone(value))
6509     }
6510 }
6511 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo2> for IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo2>6512     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo2> {
6513         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo2>::into(self))
6514     }
6515 }
6516 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo2> for &IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo2>6517     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo2> {
6518         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo2>::into(::std::clone::Clone::clone(self)))
6519     }
6520 }
6521 impl ::std::convert::From<IProvideMultipleClassInfo> for IProvideClassInfo {
from(value: IProvideMultipleClassInfo) -> Self6522     fn from(value: IProvideMultipleClassInfo) -> Self {
6523         unsafe { ::std::mem::transmute(value) }
6524     }
6525 }
6526 impl ::std::convert::From<&IProvideMultipleClassInfo> for IProvideClassInfo {
from(value: &IProvideMultipleClassInfo) -> Self6527     fn from(value: &IProvideMultipleClassInfo) -> Self {
6528         ::std::convert::From::from(::std::clone::Clone::clone(value))
6529     }
6530 }
6531 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo> for IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo>6532     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo> {
6533         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo>::into(self))
6534     }
6535 }
6536 impl<'a> ::windows::runtime::IntoParam<'a, IProvideClassInfo> for &IProvideMultipleClassInfo {
into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo>6537     fn into_param(self) -> ::windows::runtime::Param<'a, IProvideClassInfo> {
6538         ::windows::runtime::Param::Owned(::std::convert::Into::<IProvideClassInfo>::into(::std::clone::Clone::clone(self)))
6539     }
6540 }
6541 #[repr(C)]
6542 #[doc(hidden)]
6543 pub struct IProvideMultipleClassInfo_abi(
6544     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6545     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6546     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6547     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppti: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6548     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6549     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwguidkind: u32, pguid: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6550     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pcti: *mut u32) -> ::windows::runtime::HRESULT,
6551     #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iti: u32, dwflags: MULTICLASSINFO_FLAGS, ppticoclass: *mut ::windows::runtime::RawPtr, pdwtiflags: *mut u32, pcdispidreserved: *mut u32, piidprimary: *mut ::windows::runtime::GUID, piidsource: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT,
6552     #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6553 );
6554 #[repr(transparent)]
6555 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6556 pub struct IQuickActivate(::windows::runtime::IUnknown);
6557 impl IQuickActivate {
6558     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
QuickActivate(&self, pqacontainer: *const QACONTAINER, pqacontrol: *mut QACONTROL) -> ::windows::runtime::Result<()>6559     pub unsafe fn QuickActivate(&self, pqacontainer: *const QACONTAINER, pqacontrol: *mut QACONTROL) -> ::windows::runtime::Result<()> {
6560         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(pqacontainer), ::std::mem::transmute(pqacontrol)).ok()
6561     }
6562     #[cfg(feature = "Win32_Foundation")]
SetContentExtent(&self, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<()>6563     pub unsafe fn SetContentExtent(&self, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::Result<()> {
6564         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(psizel)).ok()
6565     }
6566     #[cfg(feature = "Win32_Foundation")]
GetContentExtent(&self) -> ::windows::runtime::Result<super::super::Foundation::SIZE>6567     pub unsafe fn GetContentExtent(&self) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
6568         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6569         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
6570     }
6571 }
6572 unsafe impl ::windows::runtime::Interface for IQuickActivate {
6573     type Vtable = IQuickActivate_abi;
6574     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3478252816, 25342, 4559, [191, 134, 0, 160, 201, 3, 72, 54]);
6575 }
6576 impl ::std::convert::From<IQuickActivate> for ::windows::runtime::IUnknown {
from(value: IQuickActivate) -> Self6577     fn from(value: IQuickActivate) -> Self {
6578         unsafe { ::std::mem::transmute(value) }
6579     }
6580 }
6581 impl ::std::convert::From<&IQuickActivate> for ::windows::runtime::IUnknown {
from(value: &IQuickActivate) -> Self6582     fn from(value: &IQuickActivate) -> Self {
6583         ::std::convert::From::from(::std::clone::Clone::clone(value))
6584     }
6585 }
6586 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IQuickActivate {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6587     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6588         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6589     }
6590 }
6591 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IQuickActivate {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6592     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6593         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6594     }
6595 }
6596 #[repr(C)]
6597 #[doc(hidden)]
6598 pub struct IQuickActivate_abi(
6599     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6600     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6601     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6602     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pqacontainer: *const ::std::mem::ManuallyDrop<QACONTAINER>, pqacontrol: *mut QACONTROL) -> ::windows::runtime::HRESULT,
6603     #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
6604     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psizel: *const super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
6605     #[cfg(not(feature = "Win32_Foundation"))] usize,
6606     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, psizel: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
6607     #[cfg(not(feature = "Win32_Foundation"))] usize,
6608 );
6609 #[repr(transparent)]
6610 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6611 pub struct ISimpleFrameSite(::windows::runtime::IUnknown);
6612 impl ISimpleFrameSite {
6613     #[cfg(feature = "Win32_Foundation")]
PreMessageFilter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wp: Param2, lp: Param3, plresult: *mut super::super::Foundation::LRESULT, pdwcookie: *mut u32) -> ::windows::runtime::Result<()>6614     pub unsafe fn PreMessageFilter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wp: Param2, lp: Param3, plresult: *mut super::super::Foundation::LRESULT, pdwcookie: *mut u32) -> ::windows::runtime::Result<()> {
6615         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(msg), wp.into_param().abi(), lp.into_param().abi(), ::std::mem::transmute(plresult), ::std::mem::transmute(pdwcookie)).ok()
6616     }
6617     #[cfg(feature = "Win32_Foundation")]
PostMessageFilter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wp: Param2, lp: Param3, plresult: *mut super::super::Foundation::LRESULT, dwcookie: u32) -> ::windows::runtime::Result<()>6618     pub unsafe fn PostMessageFilter<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::WPARAM>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::LPARAM>>(&self, hwnd: Param0, msg: u32, wp: Param2, lp: Param3, plresult: *mut super::super::Foundation::LRESULT, dwcookie: u32) -> ::windows::runtime::Result<()> {
6619         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), hwnd.into_param().abi(), ::std::mem::transmute(msg), wp.into_param().abi(), lp.into_param().abi(), ::std::mem::transmute(plresult), ::std::mem::transmute(dwcookie)).ok()
6620     }
6621 }
6622 unsafe impl ::windows::runtime::Interface for ISimpleFrameSite {
6623     type Vtable = ISimpleFrameSite_abi;
6624     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1948978689, 5350, 4123, [145, 78, 0, 170, 0, 48, 12, 171]);
6625 }
6626 impl ::std::convert::From<ISimpleFrameSite> for ::windows::runtime::IUnknown {
from(value: ISimpleFrameSite) -> Self6627     fn from(value: ISimpleFrameSite) -> Self {
6628         unsafe { ::std::mem::transmute(value) }
6629     }
6630 }
6631 impl ::std::convert::From<&ISimpleFrameSite> for ::windows::runtime::IUnknown {
from(value: &ISimpleFrameSite) -> Self6632     fn from(value: &ISimpleFrameSite) -> Self {
6633         ::std::convert::From::from(::std::clone::Clone::clone(value))
6634     }
6635 }
6636 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISimpleFrameSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6637     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6638         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6639     }
6640 }
6641 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISimpleFrameSite {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6642     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6643         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6644     }
6645 }
6646 #[repr(C)]
6647 #[doc(hidden)]
6648 pub struct ISimpleFrameSite_abi(
6649     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6650     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6651     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6652     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, msg: u32, wp: super::super::Foundation::WPARAM, lp: super::super::Foundation::LPARAM, plresult: *mut super::super::Foundation::LRESULT, pdwcookie: *mut u32) -> ::windows::runtime::HRESULT,
6653     #[cfg(not(feature = "Win32_Foundation"))] usize,
6654     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hwnd: super::super::Foundation::HWND, msg: u32, wp: super::super::Foundation::WPARAM, lp: super::super::Foundation::LPARAM, plresult: *mut super::super::Foundation::LRESULT, dwcookie: u32) -> ::windows::runtime::HRESULT,
6655     #[cfg(not(feature = "Win32_Foundation"))] usize,
6656 );
6657 #[repr(transparent)]
6658 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6659 pub struct ISpecifyPropertyPages(::windows::runtime::IUnknown);
6660 impl ISpecifyPropertyPages {
GetPages(&self) -> ::windows::runtime::Result<CAUUID>6661     pub unsafe fn GetPages(&self) -> ::windows::runtime::Result<CAUUID> {
6662         let mut result__: <CAUUID as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6663         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<CAUUID>(result__)
6664     }
6665 }
6666 unsafe impl ::windows::runtime::Interface for ISpecifyPropertyPages {
6667     type Vtable = ISpecifyPropertyPages_abi;
6668     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2979443339, 47796, 4122, [182, 156, 0, 170, 0, 52, 29, 7]);
6669 }
6670 impl ::std::convert::From<ISpecifyPropertyPages> for ::windows::runtime::IUnknown {
from(value: ISpecifyPropertyPages) -> Self6671     fn from(value: ISpecifyPropertyPages) -> Self {
6672         unsafe { ::std::mem::transmute(value) }
6673     }
6674 }
6675 impl ::std::convert::From<&ISpecifyPropertyPages> for ::windows::runtime::IUnknown {
from(value: &ISpecifyPropertyPages) -> Self6676     fn from(value: &ISpecifyPropertyPages) -> Self {
6677         ::std::convert::From::from(::std::clone::Clone::clone(value))
6678     }
6679 }
6680 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ISpecifyPropertyPages {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6681     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6682         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6683     }
6684 }
6685 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ISpecifyPropertyPages {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6686     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6687         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6688     }
6689 }
6690 #[repr(C)]
6691 #[doc(hidden)]
6692 pub struct ISpecifyPropertyPages_abi(
6693     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6694     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6695     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6696     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppages: *mut CAUUID) -> ::windows::runtime::HRESULT,
6697 );
6698 #[repr(transparent)]
6699 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6700 pub struct IVBFormat(::windows::runtime::IUnknown);
6701 impl IVBFormat {
6702     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Format<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, vdata: *mut super::Com::VARIANT, bstrformat: Param1, lpbuffer: *mut ::std::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> ::windows::runtime::Result<()>6703     pub unsafe fn Format<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, vdata: *mut super::Com::VARIANT, bstrformat: Param1, lpbuffer: *mut ::std::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> ::windows::runtime::Result<()> {
6704         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(vdata), bstrformat.into_param().abi(), ::std::mem::transmute(lpbuffer), ::std::mem::transmute(cb), ::std::mem::transmute(lcid), ::std::mem::transmute(sfirstdayofweek), ::std::mem::transmute(sfirstweekofyear), ::std::mem::transmute(rcb)).ok()
6705     }
6706 }
6707 unsafe impl ::windows::runtime::Interface for IVBFormat {
6708     type Vtable = IVBFormat_abi;
6709     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2554985824, 14184, 4123, [141, 114, 174, 97, 100, 255, 227, 207]);
6710 }
6711 impl ::std::convert::From<IVBFormat> for ::windows::runtime::IUnknown {
from(value: IVBFormat) -> Self6712     fn from(value: IVBFormat) -> Self {
6713         unsafe { ::std::mem::transmute(value) }
6714     }
6715 }
6716 impl ::std::convert::From<&IVBFormat> for ::windows::runtime::IUnknown {
from(value: &IVBFormat) -> Self6717     fn from(value: &IVBFormat) -> Self {
6718         ::std::convert::From::from(::std::clone::Clone::clone(value))
6719     }
6720 }
6721 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IVBFormat {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6722     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6723         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6724     }
6725 }
6726 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IVBFormat {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6727     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6728         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6729     }
6730 }
6731 #[repr(C)]
6732 #[doc(hidden)]
6733 pub struct IVBFormat_abi(
6734     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6735     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6736     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6737     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, vdata: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, bstrformat: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, lpbuffer: *mut ::std::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> ::windows::runtime::HRESULT,
6738     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6739 );
6740 #[repr(transparent)]
6741 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6742 pub struct IVBGetControl(::windows::runtime::IUnknown);
6743 impl IVBGetControl {
6744     #[cfg(feature = "Win32_System_Com")]
EnumControls(&self, dwolecontf: OLECONTF, dwwhich: ENUM_CONTROLS_WHICH_FLAGS) -> ::windows::runtime::Result<super::Com::IEnumUnknown>6745     pub unsafe fn EnumControls(&self, dwolecontf: OLECONTF, dwwhich: ENUM_CONTROLS_WHICH_FLAGS) -> ::windows::runtime::Result<super::Com::IEnumUnknown> {
6746         let mut result__: <super::Com::IEnumUnknown as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6747         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwolecontf), ::std::mem::transmute(dwwhich), &mut result__).from_abi::<super::Com::IEnumUnknown>(result__)
6748     }
6749 }
6750 unsafe impl ::windows::runtime::Interface for IVBGetControl {
6751     type Vtable = IVBGetControl_abi;
6752     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1084248224, 15409, 4123, [168, 46, 8, 0, 43, 43, 35, 55]);
6753 }
6754 impl ::std::convert::From<IVBGetControl> for ::windows::runtime::IUnknown {
from(value: IVBGetControl) -> Self6755     fn from(value: IVBGetControl) -> Self {
6756         unsafe { ::std::mem::transmute(value) }
6757     }
6758 }
6759 impl ::std::convert::From<&IVBGetControl> for ::windows::runtime::IUnknown {
from(value: &IVBGetControl) -> Self6760     fn from(value: &IVBGetControl) -> Self {
6761         ::std::convert::From::from(::std::clone::Clone::clone(value))
6762     }
6763 }
6764 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IVBGetControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6765     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6766         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6767     }
6768 }
6769 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IVBGetControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6770     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6771         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6772     }
6773 }
6774 #[repr(C)]
6775 #[doc(hidden)]
6776 pub struct IVBGetControl_abi(
6777     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6778     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6779     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6780     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwolecontf: OLECONTF, dwwhich: ENUM_CONTROLS_WHICH_FLAGS, ppenumunk: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6781     #[cfg(not(feature = "Win32_System_Com"))] usize,
6782 );
6783 #[repr(transparent)]
6784 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6785 pub struct IViewObject(::windows::runtime::IUnknown);
6786 impl IViewObject {
6787     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: Param4, hdcdraw: Param5, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize, ) -> ::windows::runtime::Result<()>6788     pub unsafe fn Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(
6789         &self,
6790         dwdrawaspect: u32,
6791         lindex: i32,
6792         pvaspect: *mut ::std::ffi::c_void,
6793         ptd: *const super::Com::DVTARGETDEVICE,
6794         hdctargetdev: Param4,
6795         hdcdraw: Param5,
6796         lprcbounds: *const super::super::Foundation::RECTL,
6797         lprcwbounds: *const super::super::Foundation::RECTL,
6798         pfncontinue: isize,
6799         dwcontinue: usize,
6800     ) -> ::windows::runtime::Result<()> {
6801         (::windows::runtime::Interface::vtable(self).3)(
6802             ::std::mem::transmute_copy(self),
6803             ::std::mem::transmute(dwdrawaspect),
6804             ::std::mem::transmute(lindex),
6805             ::std::mem::transmute(pvaspect),
6806             ::std::mem::transmute(ptd),
6807             hdctargetdev.into_param().abi(),
6808             hdcdraw.into_param().abi(),
6809             ::std::mem::transmute(lprcbounds),
6810             ::std::mem::transmute(lprcwbounds),
6811             ::std::mem::transmute(pfncontinue),
6812             ::std::mem::transmute(dwcontinue),
6813         )
6814         .ok()
6815     }
6816     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()>6817     pub unsafe fn GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()> {
6818         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(ptd), hictargetdev.into_param().abi(), ::std::mem::transmute(ppcolorset)).ok()
6819     }
Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()>6820     pub unsafe fn Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()> {
6821         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(pdwfreeze)).ok()
6822     }
Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()>6823     pub unsafe fn Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()> {
6824         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwfreeze)).ok()
6825     }
6826     #[cfg(feature = "Win32_System_Com")]
SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()>6827     pub unsafe fn SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()> {
6828         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(aspects), ::std::mem::transmute(advf), padvsink.into_param().abi()).ok()
6829     }
6830     #[cfg(feature = "Win32_System_Com")]
GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()>6831     pub unsafe fn GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()> {
6832         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(paspects), ::std::mem::transmute(padvf), ::std::mem::transmute(ppadvsink)).ok()
6833     }
6834 }
6835 unsafe impl ::windows::runtime::Interface for IViewObject {
6836     type Vtable = IViewObject_abi;
6837     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(269, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
6838 }
6839 impl ::std::convert::From<IViewObject> for ::windows::runtime::IUnknown {
from(value: IViewObject) -> Self6840     fn from(value: IViewObject) -> Self {
6841         unsafe { ::std::mem::transmute(value) }
6842     }
6843 }
6844 impl ::std::convert::From<&IViewObject> for ::windows::runtime::IUnknown {
from(value: &IViewObject) -> Self6845     fn from(value: &IViewObject) -> Self {
6846         ::std::convert::From::from(::std::clone::Clone::clone(value))
6847     }
6848 }
6849 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IViewObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6850     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6851         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6852     }
6853 }
6854 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IViewObject {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6855     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6856         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6857     }
6858 }
6859 #[repr(C)]
6860 #[doc(hidden)]
6861 pub struct IViewObject_abi(
6862     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6863     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6864     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6865     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
6866     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: super::super::Graphics::Gdi::HDC, hdcdraw: super::super::Graphics::Gdi::HDC, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize) -> ::windows::runtime::HRESULT,
6867     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
6868     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: super::super::Graphics::Gdi::HDC, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::HRESULT,
6869     #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
6870     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::HRESULT,
6871     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwfreeze: u32) -> ::windows::runtime::HRESULT,
6872     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, aspects: u32, advf: u32, padvsink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6873     #[cfg(not(feature = "Win32_System_Com"))] usize,
6874     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6875     #[cfg(not(feature = "Win32_System_Com"))] usize,
6876 );
6877 #[repr(transparent)]
6878 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6879 pub struct IViewObject2(::windows::runtime::IUnknown);
6880 impl IViewObject2 {
6881     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: Param4, hdcdraw: Param5, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize, ) -> ::windows::runtime::Result<()>6882     pub unsafe fn Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(
6883         &self,
6884         dwdrawaspect: u32,
6885         lindex: i32,
6886         pvaspect: *mut ::std::ffi::c_void,
6887         ptd: *const super::Com::DVTARGETDEVICE,
6888         hdctargetdev: Param4,
6889         hdcdraw: Param5,
6890         lprcbounds: *const super::super::Foundation::RECTL,
6891         lprcwbounds: *const super::super::Foundation::RECTL,
6892         pfncontinue: isize,
6893         dwcontinue: usize,
6894     ) -> ::windows::runtime::Result<()> {
6895         (::windows::runtime::Interface::vtable(self).3)(
6896             ::std::mem::transmute_copy(self),
6897             ::std::mem::transmute(dwdrawaspect),
6898             ::std::mem::transmute(lindex),
6899             ::std::mem::transmute(pvaspect),
6900             ::std::mem::transmute(ptd),
6901             hdctargetdev.into_param().abi(),
6902             hdcdraw.into_param().abi(),
6903             ::std::mem::transmute(lprcbounds),
6904             ::std::mem::transmute(lprcwbounds),
6905             ::std::mem::transmute(pfncontinue),
6906             ::std::mem::transmute(dwcontinue),
6907         )
6908         .ok()
6909     }
6910     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()>6911     pub unsafe fn GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()> {
6912         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(ptd), hictargetdev.into_param().abi(), ::std::mem::transmute(ppcolorset)).ok()
6913     }
Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()>6914     pub unsafe fn Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()> {
6915         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(pdwfreeze)).ok()
6916     }
Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()>6917     pub unsafe fn Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()> {
6918         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwfreeze)).ok()
6919     }
6920     #[cfg(feature = "Win32_System_Com")]
SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()>6921     pub unsafe fn SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()> {
6922         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(aspects), ::std::mem::transmute(advf), padvsink.into_param().abi()).ok()
6923     }
6924     #[cfg(feature = "Win32_System_Com")]
GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()>6925     pub unsafe fn GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()> {
6926         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(paspects), ::std::mem::transmute(padvf), ::std::mem::transmute(ppadvsink)).ok()
6927     }
6928     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::runtime::Result<super::super::Foundation::SIZE>6929     pub unsafe fn GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
6930         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6931         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(ptd), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
6932     }
6933 }
6934 unsafe impl ::windows::runtime::Interface for IViewObject2 {
6935     type Vtable = IViewObject2_abi;
6936     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(295, 0, 0, [192, 0, 0, 0, 0, 0, 0, 70]);
6937 }
6938 impl ::std::convert::From<IViewObject2> for ::windows::runtime::IUnknown {
from(value: IViewObject2) -> Self6939     fn from(value: IViewObject2) -> Self {
6940         unsafe { ::std::mem::transmute(value) }
6941     }
6942 }
6943 impl ::std::convert::From<&IViewObject2> for ::windows::runtime::IUnknown {
from(value: &IViewObject2) -> Self6944     fn from(value: &IViewObject2) -> Self {
6945         ::std::convert::From::from(::std::clone::Clone::clone(value))
6946     }
6947 }
6948 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IViewObject2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6949     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6950         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6951     }
6952 }
6953 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IViewObject2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6954     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6955         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6956     }
6957 }
6958 impl ::std::convert::From<IViewObject2> for IViewObject {
from(value: IViewObject2) -> Self6959     fn from(value: IViewObject2) -> Self {
6960         unsafe { ::std::mem::transmute(value) }
6961     }
6962 }
6963 impl ::std::convert::From<&IViewObject2> for IViewObject {
from(value: &IViewObject2) -> Self6964     fn from(value: &IViewObject2) -> Self {
6965         ::std::convert::From::from(::std::clone::Clone::clone(value))
6966     }
6967 }
6968 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject> for IViewObject2 {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject>6969     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject> {
6970         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject>::into(self))
6971     }
6972 }
6973 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject> for &IViewObject2 {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject>6974     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject> {
6975         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject>::into(::std::clone::Clone::clone(self)))
6976     }
6977 }
6978 #[repr(C)]
6979 #[doc(hidden)]
6980 pub struct IViewObject2_abi(
6981     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6982     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6983     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6984     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
6985     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: super::super::Graphics::Gdi::HDC, hdcdraw: super::super::Graphics::Gdi::HDC, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize) -> ::windows::runtime::HRESULT,
6986     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
6987     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: super::super::Graphics::Gdi::HDC, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::HRESULT,
6988     #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
6989     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::HRESULT,
6990     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwfreeze: u32) -> ::windows::runtime::HRESULT,
6991     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, aspects: u32, advf: u32, padvsink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6992     #[cfg(not(feature = "Win32_System_Com"))] usize,
6993     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6994     #[cfg(not(feature = "Win32_System_Com"))] usize,
6995     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE, lpsizel: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
6996     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
6997 );
6998 #[repr(transparent)]
6999 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7000 pub struct IViewObjectEx(::windows::runtime::IUnknown);
7001 impl IViewObjectEx {
7002     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>( &self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: Param4, hdcdraw: Param5, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize, ) -> ::windows::runtime::Result<()>7003     pub unsafe fn Draw<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>, Param5: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(
7004         &self,
7005         dwdrawaspect: u32,
7006         lindex: i32,
7007         pvaspect: *mut ::std::ffi::c_void,
7008         ptd: *const super::Com::DVTARGETDEVICE,
7009         hdctargetdev: Param4,
7010         hdcdraw: Param5,
7011         lprcbounds: *const super::super::Foundation::RECTL,
7012         lprcwbounds: *const super::super::Foundation::RECTL,
7013         pfncontinue: isize,
7014         dwcontinue: usize,
7015     ) -> ::windows::runtime::Result<()> {
7016         (::windows::runtime::Interface::vtable(self).3)(
7017             ::std::mem::transmute_copy(self),
7018             ::std::mem::transmute(dwdrawaspect),
7019             ::std::mem::transmute(lindex),
7020             ::std::mem::transmute(pvaspect),
7021             ::std::mem::transmute(ptd),
7022             hdctargetdev.into_param().abi(),
7023             hdcdraw.into_param().abi(),
7024             ::std::mem::transmute(lprcbounds),
7025             ::std::mem::transmute(lprcwbounds),
7026             ::std::mem::transmute(pfncontinue),
7027             ::std::mem::transmute(dwcontinue),
7028         )
7029         .ok()
7030     }
7031     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()>7032     pub unsafe fn GetColorSet<'a, Param4: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param4, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::Result<()> {
7033         (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(ptd), hictargetdev.into_param().abi(), ::std::mem::transmute(ppcolorset)).ok()
7034     }
Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()>7035     pub unsafe fn Freeze(&self, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::Result<()> {
7036         (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(pvaspect), ::std::mem::transmute(pdwfreeze)).ok()
7037     }
Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()>7038     pub unsafe fn Unfreeze(&self, dwfreeze: u32) -> ::windows::runtime::Result<()> {
7039         (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwfreeze)).ok()
7040     }
7041     #[cfg(feature = "Win32_System_Com")]
SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()>7042     pub unsafe fn SetAdvise<'a, Param2: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>>(&self, aspects: u32, advf: u32, padvsink: Param2) -> ::windows::runtime::Result<()> {
7043         (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(aspects), ::std::mem::transmute(advf), padvsink.into_param().abi()).ok()
7044     }
7045     #[cfg(feature = "Win32_System_Com")]
GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()>7046     pub unsafe fn GetAdvise(&self, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::std::option::Option<super::Com::IAdviseSink>) -> ::windows::runtime::Result<()> {
7047         (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(paspects), ::std::mem::transmute(padvf), ::std::mem::transmute(ppadvsink)).ok()
7048     }
7049     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::runtime::Result<super::super::Foundation::SIZE>7050     pub unsafe fn GetExtent(&self, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
7051         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7052         (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwdrawaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(ptd), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
7053     }
7054     #[cfg(feature = "Win32_Foundation")]
GetRect(&self, dwaspect: u32) -> ::windows::runtime::Result<super::super::Foundation::RECTL>7055     pub unsafe fn GetRect(&self, dwaspect: u32) -> ::windows::runtime::Result<super::super::Foundation::RECTL> {
7056         let mut result__: <super::super::Foundation::RECTL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7057         (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), &mut result__).from_abi::<super::super::Foundation::RECTL>(result__)
7058     }
GetViewStatus(&self) -> ::windows::runtime::Result<u32>7059     pub unsafe fn GetViewStatus(&self) -> ::windows::runtime::Result<u32> {
7060         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7061         (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7062     }
7063     #[cfg(feature = "Win32_Foundation")]
QueryHitPoint<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, ptlloc: Param2, lclosehint: i32) -> ::windows::runtime::Result<u32>7064     pub unsafe fn QueryHitPoint<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::POINT>>(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, ptlloc: Param2, lclosehint: i32) -> ::windows::runtime::Result<u32> {
7065         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7066         (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), ::std::mem::transmute(prectbounds), ptlloc.into_param().abi(), ::std::mem::transmute(lclosehint), &mut result__).from_abi::<u32>(result__)
7067     }
7068     #[cfg(feature = "Win32_Foundation")]
QueryHitRect(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, prectloc: *const super::super::Foundation::RECT, lclosehint: i32) -> ::windows::runtime::Result<u32>7069     pub unsafe fn QueryHitRect(&self, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, prectloc: *const super::super::Foundation::RECT, lclosehint: i32) -> ::windows::runtime::Result<u32> {
7070         let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7071         (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), ::std::mem::transmute(prectbounds), ::std::mem::transmute(prectloc), ::std::mem::transmute(lclosehint), &mut result__).from_abi::<u32>(result__)
7072     }
7073     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
GetNaturalExtent<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwaspect: super::Com::DVASPECT, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param3, pextentinfo: *const ExtentInfo) -> ::windows::runtime::Result<super::super::Foundation::SIZE>7074     pub unsafe fn GetNaturalExtent<'a, Param3: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(&self, dwaspect: super::Com::DVASPECT, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: Param3, pextentinfo: *const ExtentInfo) -> ::windows::runtime::Result<super::super::Foundation::SIZE> {
7075         let mut result__: <super::super::Foundation::SIZE as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7076         (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwaspect), ::std::mem::transmute(lindex), ::std::mem::transmute(ptd), hictargetdev.into_param().abi(), ::std::mem::transmute(pextentinfo), &mut result__).from_abi::<super::super::Foundation::SIZE>(result__)
7077     }
7078 }
7079 unsafe impl ::windows::runtime::Interface for IViewObjectEx {
7080     type Vtable = IViewObjectEx_abi;
7081     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(988955282, 3222, 4558, [160, 207, 0, 170, 0, 96, 10, 184]);
7082 }
7083 impl ::std::convert::From<IViewObjectEx> for ::windows::runtime::IUnknown {
from(value: IViewObjectEx) -> Self7084     fn from(value: IViewObjectEx) -> Self {
7085         unsafe { ::std::mem::transmute(value) }
7086     }
7087 }
7088 impl ::std::convert::From<&IViewObjectEx> for ::windows::runtime::IUnknown {
from(value: &IViewObjectEx) -> Self7089     fn from(value: &IViewObjectEx) -> Self {
7090         ::std::convert::From::from(::std::clone::Clone::clone(value))
7091     }
7092 }
7093 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7094     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7095         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7096     }
7097 }
7098 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7099     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7100         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7101     }
7102 }
7103 impl ::std::convert::From<IViewObjectEx> for IViewObject2 {
from(value: IViewObjectEx) -> Self7104     fn from(value: IViewObjectEx) -> Self {
7105         unsafe { ::std::mem::transmute(value) }
7106     }
7107 }
7108 impl ::std::convert::From<&IViewObjectEx> for IViewObject2 {
from(value: &IViewObjectEx) -> Self7109     fn from(value: &IViewObjectEx) -> Self {
7110         ::std::convert::From::from(::std::clone::Clone::clone(value))
7111     }
7112 }
7113 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject2> for IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject2>7114     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject2> {
7115         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject2>::into(self))
7116     }
7117 }
7118 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject2> for &IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject2>7119     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject2> {
7120         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject2>::into(::std::clone::Clone::clone(self)))
7121     }
7122 }
7123 impl ::std::convert::From<IViewObjectEx> for IViewObject {
from(value: IViewObjectEx) -> Self7124     fn from(value: IViewObjectEx) -> Self {
7125         unsafe { ::std::mem::transmute(value) }
7126     }
7127 }
7128 impl ::std::convert::From<&IViewObjectEx> for IViewObject {
from(value: &IViewObjectEx) -> Self7129     fn from(value: &IViewObjectEx) -> Self {
7130         ::std::convert::From::from(::std::clone::Clone::clone(value))
7131     }
7132 }
7133 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject> for IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject>7134     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject> {
7135         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject>::into(self))
7136     }
7137 }
7138 impl<'a> ::windows::runtime::IntoParam<'a, IViewObject> for &IViewObjectEx {
into_param(self) -> ::windows::runtime::Param<'a, IViewObject>7139     fn into_param(self) -> ::windows::runtime::Param<'a, IViewObject> {
7140         ::windows::runtime::Param::Owned(::std::convert::Into::<IViewObject>::into(::std::clone::Clone::clone(self)))
7141     }
7142 }
7143 #[repr(C)]
7144 #[doc(hidden)]
7145 pub struct IViewObjectEx_abi(
7146     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7147     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7148     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7149     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
7150     pub  unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hdctargetdev: super::super::Graphics::Gdi::HDC, hdcdraw: super::super::Graphics::Gdi::HDC, lprcbounds: *const super::super::Foundation::RECTL, lprcwbounds: *const super::super::Foundation::RECTL, pfncontinue: isize, dwcontinue: usize) -> ::windows::runtime::HRESULT,
7151     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7152     #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: super::super::Graphics::Gdi::HDC, ppcolorset: *mut *mut super::super::Graphics::Gdi::LOGPALETTE) -> ::windows::runtime::HRESULT,
7153     #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7154     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, pvaspect: *mut ::std::ffi::c_void, pdwfreeze: *mut u32) -> ::windows::runtime::HRESULT,
7155     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwfreeze: u32) -> ::windows::runtime::HRESULT,
7156     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, aspects: u32, advf: u32, padvsink: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7157     #[cfg(not(feature = "Win32_System_Com"))] usize,
7158     #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, paspects: *mut u32, padvf: *mut u32, ppadvsink: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7159     #[cfg(not(feature = "Win32_System_Com"))] usize,
7160     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwdrawaspect: u32, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE, lpsizel: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
7161     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com")))] usize,
7162     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, prect: *mut super::super::Foundation::RECTL) -> ::windows::runtime::HRESULT,
7163     #[cfg(not(feature = "Win32_Foundation"))] usize,
7164     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT,
7165     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, ptlloc: super::super::Foundation::POINT, lclosehint: i32, phitresult: *mut u32) -> ::windows::runtime::HRESULT,
7166     #[cfg(not(feature = "Win32_Foundation"))] usize,
7167     #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: u32, prectbounds: *const super::super::Foundation::RECT, prectloc: *const super::super::Foundation::RECT, lclosehint: i32, phitresult: *mut u32) -> ::windows::runtime::HRESULT,
7168     #[cfg(not(feature = "Win32_Foundation"))] usize,
7169     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwaspect: super::Com::DVASPECT, lindex: i32, ptd: *const super::Com::DVTARGETDEVICE, hictargetdev: super::super::Graphics::Gdi::HDC, pextentinfo: *const ExtentInfo, psizel: *mut super::super::Foundation::SIZE) -> ::windows::runtime::HRESULT,
7170     #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] usize,
7171 );
7172 #[repr(transparent)]
7173 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7174 pub struct IZoomEvents(::windows::runtime::IUnknown);
7175 impl IZoomEvents {
OnZoomPercentChanged(&self, ulzoompercent: u32) -> ::windows::runtime::Result<()>7176     pub unsafe fn OnZoomPercentChanged(&self, ulzoompercent: u32) -> ::windows::runtime::Result<()> {
7177         (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ulzoompercent)).ok()
7178     }
7179 }
7180 unsafe impl ::windows::runtime::Interface for IZoomEvents {
7181     type Vtable = IZoomEvents_abi;
7182     const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1102479696, 36940, 19991, [160, 186, 164, 56, 24, 46, 53, 157]);
7183 }
7184 impl ::std::convert::From<IZoomEvents> for ::windows::runtime::IUnknown {
from(value: IZoomEvents) -> Self7185     fn from(value: IZoomEvents) -> Self {
7186         unsafe { ::std::mem::transmute(value) }
7187     }
7188 }
7189 impl ::std::convert::From<&IZoomEvents> for ::windows::runtime::IUnknown {
from(value: &IZoomEvents) -> Self7190     fn from(value: &IZoomEvents) -> Self {
7191         ::std::convert::From::from(::std::clone::Clone::clone(value))
7192     }
7193 }
7194 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IZoomEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7195     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7196         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7197     }
7198 }
7199 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IZoomEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7200     fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7201         ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7202     }
7203 }
7204 #[repr(C)]
7205 #[doc(hidden)]
7206 pub struct IZoomEvents_abi(
7207     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7208     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7209     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7210     pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ulzoompercent: u32) -> ::windows::runtime::HRESULT,
7211 );
7212 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7213 #[inline]
IsAccelerator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HACCEL>>(haccel: Param0, caccelentries: i32, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG, lpwcmd: *mut u16) -> super::super::Foundation::BOOL7214 pub unsafe fn IsAccelerator<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HACCEL>>(haccel: Param0, caccelentries: i32, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG, lpwcmd: *mut u16) -> super::super::Foundation::BOOL {
7215     #[cfg(windows)]
7216     {
7217         #[link(name = "windows")]
7218         extern "system" {
7219             fn IsAccelerator(haccel: super::super::UI::WindowsAndMessaging::HACCEL, caccelentries: i32, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG, lpwcmd: *mut u16) -> super::super::Foundation::BOOL;
7220         }
7221         ::std::mem::transmute(IsAccelerator(haccel.into_param().abi(), ::std::mem::transmute(caccelentries), ::std::mem::transmute(lpmsg), ::std::mem::transmute(lpwcmd)))
7222     }
7223     #[cfg(not(windows))]
7224     unimplemented!("Unsupported target OS");
7225 }
7226 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7227 #[repr(C)]
7228 #[cfg(feature = "Win32_Foundation")]
7229 pub struct LICINFO {
7230     pub cbLicInfo: i32,
7231     pub fRuntimeKeyAvail: super::super::Foundation::BOOL,
7232     pub fLicVerified: super::super::Foundation::BOOL,
7233 }
7234 #[cfg(feature = "Win32_Foundation")]
7235 impl LICINFO {}
7236 #[cfg(feature = "Win32_Foundation")]
7237 impl ::std::default::Default for LICINFO {
default() -> Self7238     fn default() -> Self {
7239         unsafe { ::std::mem::zeroed() }
7240     }
7241 }
7242 #[cfg(feature = "Win32_Foundation")]
7243 impl ::std::fmt::Debug for LICINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7244     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7245         fmt.debug_struct("LICINFO").field("cbLicInfo", &self.cbLicInfo).field("fRuntimeKeyAvail", &self.fRuntimeKeyAvail).field("fLicVerified", &self.fLicVerified).finish()
7246     }
7247 }
7248 #[cfg(feature = "Win32_Foundation")]
7249 impl ::std::cmp::PartialEq for LICINFO {
eq(&self, other: &Self) -> bool7250     fn eq(&self, other: &Self) -> bool {
7251         self.cbLicInfo == other.cbLicInfo && self.fRuntimeKeyAvail == other.fRuntimeKeyAvail && self.fLicVerified == other.fLicVerified
7252     }
7253 }
7254 #[cfg(feature = "Win32_Foundation")]
7255 impl ::std::cmp::Eq for LICINFO {}
7256 #[cfg(feature = "Win32_Foundation")]
7257 unsafe impl ::windows::runtime::Abi for LICINFO {
7258     type Abi = Self;
7259     type DefaultType = Self;
7260 }
7261 #[cfg(feature = "Win32_Foundation")]
7262 pub type LPFNOLEUIHOOK = unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: u32, param2: super::super::Foundation::WPARAM, param3: super::super::Foundation::LPARAM) -> u32;
7263 pub const LP_COLOR: u32 = 4u32;
7264 pub const LP_DEFAULT: u32 = 0u32;
7265 pub const LP_MONOCHROME: u32 = 1u32;
7266 pub const LP_VGACOLOR: u32 = 2u32;
7267 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7268 #[repr(transparent)]
7269 pub struct MEDIAPLAYBACK_STATE(pub i32);
7270 pub const MEDIAPLAYBACK_RESUME: MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE(0i32);
7271 pub const MEDIAPLAYBACK_PAUSE: MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE(1i32);
7272 pub const MEDIAPLAYBACK_PAUSE_AND_SUSPEND: MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE(2i32);
7273 pub const MEDIAPLAYBACK_RESUME_FROM_SUSPEND: MEDIAPLAYBACK_STATE = MEDIAPLAYBACK_STATE(3i32);
7274 impl ::std::convert::From<i32> for MEDIAPLAYBACK_STATE {
from(value: i32) -> Self7275     fn from(value: i32) -> Self {
7276         Self(value)
7277     }
7278 }
7279 unsafe impl ::windows::runtime::Abi for MEDIAPLAYBACK_STATE {
7280     type Abi = Self;
7281     type DefaultType = Self;
7282 }
7283 pub const MK_ALT: u32 = 32u32;
7284 pub const MSOCMDERR_E_CANCELED: i32 = -2147221245i32;
7285 pub const MSOCMDERR_E_DISABLED: i32 = -2147221247i32;
7286 pub const MSOCMDERR_E_FIRST: i32 = -2147221248i32;
7287 pub const MSOCMDERR_E_NOHELP: i32 = -2147221246i32;
7288 pub const MSOCMDERR_E_NOTSUPPORTED: i32 = -2147221248i32;
7289 pub const MSOCMDERR_E_UNKNOWNGROUP: i32 = -2147221244i32;
7290 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7291 #[repr(transparent)]
7292 pub struct MULTICLASSINFO_FLAGS(pub u32);
7293 pub const MULTICLASSINFO_GETTYPEINFO: MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS(1u32);
7294 pub const MULTICLASSINFO_GETNUMRESERVEDDISPIDS: MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS(2u32);
7295 pub const MULTICLASSINFO_GETIIDPRIMARY: MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS(4u32);
7296 pub const MULTICLASSINFO_GETIIDSOURCE: MULTICLASSINFO_FLAGS = MULTICLASSINFO_FLAGS(8u32);
7297 impl ::std::convert::From<u32> for MULTICLASSINFO_FLAGS {
from(value: u32) -> Self7298     fn from(value: u32) -> Self {
7299         Self(value)
7300     }
7301 }
7302 unsafe impl ::windows::runtime::Abi for MULTICLASSINFO_FLAGS {
7303     type Abi = Self;
7304     type DefaultType = Self;
7305 }
7306 impl ::std::ops::BitOr for MULTICLASSINFO_FLAGS {
7307     type Output = Self;
bitor(self, rhs: Self) -> Self7308     fn bitor(self, rhs: Self) -> Self {
7309         Self(self.0 | rhs.0)
7310     }
7311 }
7312 impl ::std::ops::BitAnd for MULTICLASSINFO_FLAGS {
7313     type Output = Self;
bitand(self, rhs: Self) -> Self7314     fn bitand(self, rhs: Self) -> Self {
7315         Self(self.0 & rhs.0)
7316     }
7317 }
7318 impl ::std::ops::BitOrAssign for MULTICLASSINFO_FLAGS {
bitor_assign(&mut self, rhs: Self)7319     fn bitor_assign(&mut self, rhs: Self) {
7320         self.0.bitor_assign(rhs.0)
7321     }
7322 }
7323 impl ::std::ops::BitAndAssign for MULTICLASSINFO_FLAGS {
bitand_assign(&mut self, rhs: Self)7324     fn bitand_assign(&mut self, rhs: Self) {
7325         self.0.bitand_assign(rhs.0)
7326     }
7327 }
7328 impl ::std::ops::Not for MULTICLASSINFO_FLAGS {
7329     type Output = Self;
not(self) -> Self7330     fn not(self) -> Self {
7331         Self(self.0.not())
7332     }
7333 }
7334 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7335 #[repr(C)]
7336 #[cfg(feature = "Win32_Foundation")]
7337 pub struct OBJECTDESCRIPTOR {
7338     pub cbSize: u32,
7339     pub clsid: ::windows::runtime::GUID,
7340     pub dwDrawAspect: u32,
7341     pub sizel: super::super::Foundation::SIZE,
7342     pub pointl: super::super::Foundation::POINTL,
7343     pub dwStatus: u32,
7344     pub dwFullUserTypeName: u32,
7345     pub dwSrcOfCopy: u32,
7346 }
7347 #[cfg(feature = "Win32_Foundation")]
7348 impl OBJECTDESCRIPTOR {}
7349 #[cfg(feature = "Win32_Foundation")]
7350 impl ::std::default::Default for OBJECTDESCRIPTOR {
default() -> Self7351     fn default() -> Self {
7352         unsafe { ::std::mem::zeroed() }
7353     }
7354 }
7355 #[cfg(feature = "Win32_Foundation")]
7356 impl ::std::fmt::Debug for OBJECTDESCRIPTOR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7357     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7358         fmt.debug_struct("OBJECTDESCRIPTOR")
7359             .field("cbSize", &self.cbSize)
7360             .field("clsid", &self.clsid)
7361             .field("dwDrawAspect", &self.dwDrawAspect)
7362             .field("sizel", &self.sizel)
7363             .field("pointl", &self.pointl)
7364             .field("dwStatus", &self.dwStatus)
7365             .field("dwFullUserTypeName", &self.dwFullUserTypeName)
7366             .field("dwSrcOfCopy", &self.dwSrcOfCopy)
7367             .finish()
7368     }
7369 }
7370 #[cfg(feature = "Win32_Foundation")]
7371 impl ::std::cmp::PartialEq for OBJECTDESCRIPTOR {
eq(&self, other: &Self) -> bool7372     fn eq(&self, other: &Self) -> bool {
7373         self.cbSize == other.cbSize && self.clsid == other.clsid && self.dwDrawAspect == other.dwDrawAspect && self.sizel == other.sizel && self.pointl == other.pointl && self.dwStatus == other.dwStatus && self.dwFullUserTypeName == other.dwFullUserTypeName && self.dwSrcOfCopy == other.dwSrcOfCopy
7374     }
7375 }
7376 #[cfg(feature = "Win32_Foundation")]
7377 impl ::std::cmp::Eq for OBJECTDESCRIPTOR {}
7378 #[cfg(feature = "Win32_Foundation")]
7379 unsafe impl ::windows::runtime::Abi for OBJECTDESCRIPTOR {
7380     type Abi = Self;
7381     type DefaultType = Self;
7382 }
7383 pub const OCM__BASE: u32 = 8192u32;
7384 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7385 #[repr(C)]
7386 #[cfg(feature = "Win32_Foundation")]
7387 pub struct OCPFIPARAMS {
7388     pub cbStructSize: u32,
7389     pub hWndOwner: super::super::Foundation::HWND,
7390     pub x: i32,
7391     pub y: i32,
7392     pub lpszCaption: super::super::Foundation::PWSTR,
7393     pub cObjects: u32,
7394     pub lplpUnk: *mut ::std::option::Option<::windows::runtime::IUnknown>,
7395     pub cPages: u32,
7396     pub lpPages: *mut ::windows::runtime::GUID,
7397     pub lcid: u32,
7398     pub dispidInitialProperty: i32,
7399 }
7400 #[cfg(feature = "Win32_Foundation")]
7401 impl OCPFIPARAMS {}
7402 #[cfg(feature = "Win32_Foundation")]
7403 impl ::std::default::Default for OCPFIPARAMS {
default() -> Self7404     fn default() -> Self {
7405         unsafe { ::std::mem::zeroed() }
7406     }
7407 }
7408 #[cfg(feature = "Win32_Foundation")]
7409 impl ::std::fmt::Debug for OCPFIPARAMS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7410     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7411         fmt.debug_struct("OCPFIPARAMS")
7412             .field("cbStructSize", &self.cbStructSize)
7413             .field("hWndOwner", &self.hWndOwner)
7414             .field("x", &self.x)
7415             .field("y", &self.y)
7416             .field("lpszCaption", &self.lpszCaption)
7417             .field("cObjects", &self.cObjects)
7418             .field("lplpUnk", &self.lplpUnk)
7419             .field("cPages", &self.cPages)
7420             .field("lpPages", &self.lpPages)
7421             .field("lcid", &self.lcid)
7422             .field("dispidInitialProperty", &self.dispidInitialProperty)
7423             .finish()
7424     }
7425 }
7426 #[cfg(feature = "Win32_Foundation")]
7427 impl ::std::cmp::PartialEq for OCPFIPARAMS {
eq(&self, other: &Self) -> bool7428     fn eq(&self, other: &Self) -> bool {
7429         self.cbStructSize == other.cbStructSize && self.hWndOwner == other.hWndOwner && self.x == other.x && self.y == other.y && self.lpszCaption == other.lpszCaption && self.cObjects == other.cObjects && self.lplpUnk == other.lplpUnk && self.cPages == other.cPages && self.lpPages == other.lpPages && self.lcid == other.lcid && self.dispidInitialProperty == other.dispidInitialProperty
7430     }
7431 }
7432 #[cfg(feature = "Win32_Foundation")]
7433 impl ::std::cmp::Eq for OCPFIPARAMS {}
7434 #[cfg(feature = "Win32_Foundation")]
7435 unsafe impl ::windows::runtime::Abi for OCPFIPARAMS {
7436     type Abi = Self;
7437     type DefaultType = Self;
7438 }
7439 pub const OF_GET: u32 = 2u32;
7440 pub const OF_HANDLER: u32 = 4u32;
7441 pub const OF_SET: u32 = 1u32;
7442 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7443 #[repr(C)]
7444 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7445 pub struct OIFI {
7446     pub cb: u32,
7447     pub fMDIApp: super::super::Foundation::BOOL,
7448     pub hwndFrame: super::super::Foundation::HWND,
7449     pub haccel: super::super::UI::WindowsAndMessaging::HACCEL,
7450     pub cAccelEntries: u32,
7451 }
7452 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7453 impl OIFI {}
7454 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7455 impl ::std::default::Default for OIFI {
default() -> Self7456     fn default() -> Self {
7457         unsafe { ::std::mem::zeroed() }
7458     }
7459 }
7460 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7461 impl ::std::fmt::Debug for OIFI {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7462     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7463         fmt.debug_struct("OIFI").field("cb", &self.cb).field("fMDIApp", &self.fMDIApp).field("hwndFrame", &self.hwndFrame).field("haccel", &self.haccel).field("cAccelEntries", &self.cAccelEntries).finish()
7464     }
7465 }
7466 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7467 impl ::std::cmp::PartialEq for OIFI {
eq(&self, other: &Self) -> bool7468     fn eq(&self, other: &Self) -> bool {
7469         self.cb == other.cb && self.fMDIApp == other.fMDIApp && self.hwndFrame == other.hwndFrame && self.haccel == other.haccel && self.cAccelEntries == other.cAccelEntries
7470     }
7471 }
7472 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7473 impl ::std::cmp::Eq for OIFI {}
7474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
7475 unsafe impl ::windows::runtime::Abi for OIFI {
7476     type Abi = Self;
7477     type DefaultType = Self;
7478 }
7479 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7480 #[repr(transparent)]
7481 pub struct OLECLOSE(pub i32);
7482 pub const OLECLOSE_SAVEIFDIRTY: OLECLOSE = OLECLOSE(0i32);
7483 pub const OLECLOSE_NOSAVE: OLECLOSE = OLECLOSE(1i32);
7484 pub const OLECLOSE_PROMPTSAVE: OLECLOSE = OLECLOSE(2i32);
7485 impl ::std::convert::From<i32> for OLECLOSE {
from(value: i32) -> Self7486     fn from(value: i32) -> Self {
7487         Self(value)
7488     }
7489 }
7490 unsafe impl ::windows::runtime::Abi for OLECLOSE {
7491     type Abi = Self;
7492     type DefaultType = Self;
7493 }
7494 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7495 #[repr(C)]
7496 pub struct OLECMD {
7497     pub cmdID: u32,
7498     pub cmdf: u32,
7499 }
7500 impl OLECMD {}
7501 impl ::std::default::Default for OLECMD {
default() -> Self7502     fn default() -> Self {
7503         unsafe { ::std::mem::zeroed() }
7504     }
7505 }
7506 impl ::std::fmt::Debug for OLECMD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7507     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7508         fmt.debug_struct("OLECMD").field("cmdID", &self.cmdID).field("cmdf", &self.cmdf).finish()
7509     }
7510 }
7511 impl ::std::cmp::PartialEq for OLECMD {
eq(&self, other: &Self) -> bool7512     fn eq(&self, other: &Self) -> bool {
7513         self.cmdID == other.cmdID && self.cmdf == other.cmdf
7514     }
7515 }
7516 impl ::std::cmp::Eq for OLECMD {}
7517 unsafe impl ::windows::runtime::Abi for OLECMD {
7518     type Abi = Self;
7519     type DefaultType = Self;
7520 }
7521 pub const OLECMDARGINDEX_ACTIVEXINSTALL_CLSID: u32 = 2u32;
7522 pub const OLECMDARGINDEX_ACTIVEXINSTALL_DISPLAYNAME: u32 = 1u32;
7523 pub const OLECMDARGINDEX_ACTIVEXINSTALL_INSTALLSCOPE: u32 = 3u32;
7524 pub const OLECMDARGINDEX_ACTIVEXINSTALL_PUBLISHER: u32 = 0u32;
7525 pub const OLECMDARGINDEX_ACTIVEXINSTALL_SOURCEURL: u32 = 4u32;
7526 pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_HWND: u32 = 0u32;
7527 pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_X: u32 = 1u32;
7528 pub const OLECMDARGINDEX_SHOWPAGEACTIONMENU_Y: u32 = 2u32;
7529 pub const OLECMDERR_E_CANCELED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147221245i32 as _);
7530 pub const OLECMDERR_E_DISABLED: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147221247i32 as _);
7531 pub const OLECMDERR_E_FIRST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147221248i32 as _);
7532 pub const OLECMDERR_E_NOHELP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147221246i32 as _);
7533 pub const OLECMDERR_E_NOTSUPPORTED: i32 = -2147221248i32;
7534 pub const OLECMDERR_E_UNKNOWNGROUP: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147221244i32 as _);
7535 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7536 #[repr(transparent)]
7537 pub struct OLECMDEXECOPT(pub i32);
7538 pub const OLECMDEXECOPT_DODEFAULT: OLECMDEXECOPT = OLECMDEXECOPT(0i32);
7539 pub const OLECMDEXECOPT_PROMPTUSER: OLECMDEXECOPT = OLECMDEXECOPT(1i32);
7540 pub const OLECMDEXECOPT_DONTPROMPTUSER: OLECMDEXECOPT = OLECMDEXECOPT(2i32);
7541 pub const OLECMDEXECOPT_SHOWHELP: OLECMDEXECOPT = OLECMDEXECOPT(3i32);
7542 impl ::std::convert::From<i32> for OLECMDEXECOPT {
from(value: i32) -> Self7543     fn from(value: i32) -> Self {
7544         Self(value)
7545     }
7546 }
7547 unsafe impl ::windows::runtime::Abi for OLECMDEXECOPT {
7548     type Abi = Self;
7549     type DefaultType = Self;
7550 }
7551 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7552 #[repr(transparent)]
7553 pub struct OLECMDF(pub i32);
7554 pub const OLECMDF_SUPPORTED: OLECMDF = OLECMDF(1i32);
7555 pub const OLECMDF_ENABLED: OLECMDF = OLECMDF(2i32);
7556 pub const OLECMDF_LATCHED: OLECMDF = OLECMDF(4i32);
7557 pub const OLECMDF_NINCHED: OLECMDF = OLECMDF(8i32);
7558 pub const OLECMDF_INVISIBLE: OLECMDF = OLECMDF(16i32);
7559 pub const OLECMDF_DEFHIDEONCTXTMENU: OLECMDF = OLECMDF(32i32);
7560 impl ::std::convert::From<i32> for OLECMDF {
from(value: i32) -> Self7561     fn from(value: i32) -> Self {
7562         Self(value)
7563     }
7564 }
7565 unsafe impl ::windows::runtime::Abi for OLECMDF {
7566     type Abi = Self;
7567     type DefaultType = Self;
7568 }
7569 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7570 #[repr(transparent)]
7571 pub struct OLECMDID(pub i32);
7572 pub const OLECMDID_OPEN: OLECMDID = OLECMDID(1i32);
7573 pub const OLECMDID_NEW: OLECMDID = OLECMDID(2i32);
7574 pub const OLECMDID_SAVE: OLECMDID = OLECMDID(3i32);
7575 pub const OLECMDID_SAVEAS: OLECMDID = OLECMDID(4i32);
7576 pub const OLECMDID_SAVECOPYAS: OLECMDID = OLECMDID(5i32);
7577 pub const OLECMDID_PRINT: OLECMDID = OLECMDID(6i32);
7578 pub const OLECMDID_PRINTPREVIEW: OLECMDID = OLECMDID(7i32);
7579 pub const OLECMDID_PAGESETUP: OLECMDID = OLECMDID(8i32);
7580 pub const OLECMDID_SPELL: OLECMDID = OLECMDID(9i32);
7581 pub const OLECMDID_PROPERTIES: OLECMDID = OLECMDID(10i32);
7582 pub const OLECMDID_CUT: OLECMDID = OLECMDID(11i32);
7583 pub const OLECMDID_COPY: OLECMDID = OLECMDID(12i32);
7584 pub const OLECMDID_PASTE: OLECMDID = OLECMDID(13i32);
7585 pub const OLECMDID_PASTESPECIAL: OLECMDID = OLECMDID(14i32);
7586 pub const OLECMDID_UNDO: OLECMDID = OLECMDID(15i32);
7587 pub const OLECMDID_REDO: OLECMDID = OLECMDID(16i32);
7588 pub const OLECMDID_SELECTALL: OLECMDID = OLECMDID(17i32);
7589 pub const OLECMDID_CLEARSELECTION: OLECMDID = OLECMDID(18i32);
7590 pub const OLECMDID_ZOOM: OLECMDID = OLECMDID(19i32);
7591 pub const OLECMDID_GETZOOMRANGE: OLECMDID = OLECMDID(20i32);
7592 pub const OLECMDID_UPDATECOMMANDS: OLECMDID = OLECMDID(21i32);
7593 pub const OLECMDID_REFRESH: OLECMDID = OLECMDID(22i32);
7594 pub const OLECMDID_STOP: OLECMDID = OLECMDID(23i32);
7595 pub const OLECMDID_HIDETOOLBARS: OLECMDID = OLECMDID(24i32);
7596 pub const OLECMDID_SETPROGRESSMAX: OLECMDID = OLECMDID(25i32);
7597 pub const OLECMDID_SETPROGRESSPOS: OLECMDID = OLECMDID(26i32);
7598 pub const OLECMDID_SETPROGRESSTEXT: OLECMDID = OLECMDID(27i32);
7599 pub const OLECMDID_SETTITLE: OLECMDID = OLECMDID(28i32);
7600 pub const OLECMDID_SETDOWNLOADSTATE: OLECMDID = OLECMDID(29i32);
7601 pub const OLECMDID_STOPDOWNLOAD: OLECMDID = OLECMDID(30i32);
7602 pub const OLECMDID_ONTOOLBARACTIVATED: OLECMDID = OLECMDID(31i32);
7603 pub const OLECMDID_FIND: OLECMDID = OLECMDID(32i32);
7604 pub const OLECMDID_DELETE: OLECMDID = OLECMDID(33i32);
7605 pub const OLECMDID_HTTPEQUIV: OLECMDID = OLECMDID(34i32);
7606 pub const OLECMDID_HTTPEQUIV_DONE: OLECMDID = OLECMDID(35i32);
7607 pub const OLECMDID_ENABLE_INTERACTION: OLECMDID = OLECMDID(36i32);
7608 pub const OLECMDID_ONUNLOAD: OLECMDID = OLECMDID(37i32);
7609 pub const OLECMDID_PROPERTYBAG2: OLECMDID = OLECMDID(38i32);
7610 pub const OLECMDID_PREREFRESH: OLECMDID = OLECMDID(39i32);
7611 pub const OLECMDID_SHOWSCRIPTERROR: OLECMDID = OLECMDID(40i32);
7612 pub const OLECMDID_SHOWMESSAGE: OLECMDID = OLECMDID(41i32);
7613 pub const OLECMDID_SHOWFIND: OLECMDID = OLECMDID(42i32);
7614 pub const OLECMDID_SHOWPAGESETUP: OLECMDID = OLECMDID(43i32);
7615 pub const OLECMDID_SHOWPRINT: OLECMDID = OLECMDID(44i32);
7616 pub const OLECMDID_CLOSE: OLECMDID = OLECMDID(45i32);
7617 pub const OLECMDID_ALLOWUILESSSAVEAS: OLECMDID = OLECMDID(46i32);
7618 pub const OLECMDID_DONTDOWNLOADCSS: OLECMDID = OLECMDID(47i32);
7619 pub const OLECMDID_UPDATEPAGESTATUS: OLECMDID = OLECMDID(48i32);
7620 pub const OLECMDID_PRINT2: OLECMDID = OLECMDID(49i32);
7621 pub const OLECMDID_PRINTPREVIEW2: OLECMDID = OLECMDID(50i32);
7622 pub const OLECMDID_SETPRINTTEMPLATE: OLECMDID = OLECMDID(51i32);
7623 pub const OLECMDID_GETPRINTTEMPLATE: OLECMDID = OLECMDID(52i32);
7624 pub const OLECMDID_PAGEACTIONBLOCKED: OLECMDID = OLECMDID(55i32);
7625 pub const OLECMDID_PAGEACTIONUIQUERY: OLECMDID = OLECMDID(56i32);
7626 pub const OLECMDID_FOCUSVIEWCONTROLS: OLECMDID = OLECMDID(57i32);
7627 pub const OLECMDID_FOCUSVIEWCONTROLSQUERY: OLECMDID = OLECMDID(58i32);
7628 pub const OLECMDID_SHOWPAGEACTIONMENU: OLECMDID = OLECMDID(59i32);
7629 pub const OLECMDID_ADDTRAVELENTRY: OLECMDID = OLECMDID(60i32);
7630 pub const OLECMDID_UPDATETRAVELENTRY: OLECMDID = OLECMDID(61i32);
7631 pub const OLECMDID_UPDATEBACKFORWARDSTATE: OLECMDID = OLECMDID(62i32);
7632 pub const OLECMDID_OPTICAL_ZOOM: OLECMDID = OLECMDID(63i32);
7633 pub const OLECMDID_OPTICAL_GETZOOMRANGE: OLECMDID = OLECMDID(64i32);
7634 pub const OLECMDID_WINDOWSTATECHANGED: OLECMDID = OLECMDID(65i32);
7635 pub const OLECMDID_ACTIVEXINSTALLSCOPE: OLECMDID = OLECMDID(66i32);
7636 pub const OLECMDID_UPDATETRAVELENTRY_DATARECOVERY: OLECMDID = OLECMDID(67i32);
7637 pub const OLECMDID_SHOWTASKDLG: OLECMDID = OLECMDID(68i32);
7638 pub const OLECMDID_POPSTATEEVENT: OLECMDID = OLECMDID(69i32);
7639 pub const OLECMDID_VIEWPORT_MODE: OLECMDID = OLECMDID(70i32);
7640 pub const OLECMDID_LAYOUT_VIEWPORT_WIDTH: OLECMDID = OLECMDID(71i32);
7641 pub const OLECMDID_VISUAL_VIEWPORT_EXCLUDE_BOTTOM: OLECMDID = OLECMDID(72i32);
7642 pub const OLECMDID_USER_OPTICAL_ZOOM: OLECMDID = OLECMDID(73i32);
7643 pub const OLECMDID_PAGEAVAILABLE: OLECMDID = OLECMDID(74i32);
7644 pub const OLECMDID_GETUSERSCALABLE: OLECMDID = OLECMDID(75i32);
7645 pub const OLECMDID_UPDATE_CARET: OLECMDID = OLECMDID(76i32);
7646 pub const OLECMDID_ENABLE_VISIBILITY: OLECMDID = OLECMDID(77i32);
7647 pub const OLECMDID_MEDIA_PLAYBACK: OLECMDID = OLECMDID(78i32);
7648 pub const OLECMDID_SETFAVICON: OLECMDID = OLECMDID(79i32);
7649 pub const OLECMDID_SET_HOST_FULLSCREENMODE: OLECMDID = OLECMDID(80i32);
7650 pub const OLECMDID_EXITFULLSCREEN: OLECMDID = OLECMDID(81i32);
7651 pub const OLECMDID_SCROLLCOMPLETE: OLECMDID = OLECMDID(82i32);
7652 pub const OLECMDID_ONBEFOREUNLOAD: OLECMDID = OLECMDID(83i32);
7653 pub const OLECMDID_SHOWMESSAGE_BLOCKABLE: OLECMDID = OLECMDID(84i32);
7654 pub const OLECMDID_SHOWTASKDLG_BLOCKABLE: OLECMDID = OLECMDID(85i32);
7655 impl ::std::convert::From<i32> for OLECMDID {
from(value: i32) -> Self7656     fn from(value: i32) -> Self {
7657         Self(value)
7658     }
7659 }
7660 unsafe impl ::windows::runtime::Abi for OLECMDID {
7661     type Abi = Self;
7662     type DefaultType = Self;
7663 }
7664 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7665 #[repr(transparent)]
7666 pub struct OLECMDID_BROWSERSTATEFLAG(pub i32);
7667 pub const OLECMDIDF_BROWSERSTATE_EXTENSIONSOFF: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(1i32);
7668 pub const OLECMDIDF_BROWSERSTATE_IESECURITY: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(2i32);
7669 pub const OLECMDIDF_BROWSERSTATE_PROTECTEDMODE_OFF: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(4i32);
7670 pub const OLECMDIDF_BROWSERSTATE_RESET: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(8i32);
7671 pub const OLECMDIDF_BROWSERSTATE_REQUIRESACTIVEX: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(16i32);
7672 pub const OLECMDIDF_BROWSERSTATE_DESKTOPHTMLDIALOG: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(32i32);
7673 pub const OLECMDIDF_BROWSERSTATE_BLOCKEDVERSION: OLECMDID_BROWSERSTATEFLAG = OLECMDID_BROWSERSTATEFLAG(64i32);
7674 impl ::std::convert::From<i32> for OLECMDID_BROWSERSTATEFLAG {
from(value: i32) -> Self7675     fn from(value: i32) -> Self {
7676         Self(value)
7677     }
7678 }
7679 unsafe impl ::windows::runtime::Abi for OLECMDID_BROWSERSTATEFLAG {
7680     type Abi = Self;
7681     type DefaultType = Self;
7682 }
7683 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7684 #[repr(transparent)]
7685 pub struct OLECMDID_OPTICAL_ZOOMFLAG(pub i32);
7686 pub const OLECMDIDF_OPTICAL_ZOOM_NOPERSIST: OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG(1i32);
7687 pub const OLECMDIDF_OPTICAL_ZOOM_NOLAYOUT: OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG(16i32);
7688 pub const OLECMDIDF_OPTICAL_ZOOM_NOTRANSIENT: OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG(32i32);
7689 pub const OLECMDIDF_OPTICAL_ZOOM_RELOADFORNEWTAB: OLECMDID_OPTICAL_ZOOMFLAG = OLECMDID_OPTICAL_ZOOMFLAG(64i32);
7690 impl ::std::convert::From<i32> for OLECMDID_OPTICAL_ZOOMFLAG {
from(value: i32) -> Self7691     fn from(value: i32) -> Self {
7692         Self(value)
7693     }
7694 }
7695 unsafe impl ::windows::runtime::Abi for OLECMDID_OPTICAL_ZOOMFLAG {
7696     type Abi = Self;
7697     type DefaultType = Self;
7698 }
7699 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7700 #[repr(transparent)]
7701 pub struct OLECMDID_PAGEACTIONFLAG(pub i32);
7702 pub const OLECMDIDF_PAGEACTION_FILEDOWNLOAD: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(1i32);
7703 pub const OLECMDIDF_PAGEACTION_ACTIVEXINSTALL: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(2i32);
7704 pub const OLECMDIDF_PAGEACTION_ACTIVEXTRUSTFAIL: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(4i32);
7705 pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERDISABLE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(8i32);
7706 pub const OLECMDIDF_PAGEACTION_ACTIVEXDISALLOW: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(16i32);
7707 pub const OLECMDIDF_PAGEACTION_ACTIVEXUNSAFE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(32i32);
7708 pub const OLECMDIDF_PAGEACTION_POPUPWINDOW: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(64i32);
7709 pub const OLECMDIDF_PAGEACTION_LOCALMACHINE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(128i32);
7710 pub const OLECMDIDF_PAGEACTION_MIMETEXTPLAIN: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(256i32);
7711 pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(512i32);
7712 pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXINSTALL: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(512i32);
7713 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNLOCALMACHINE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(1024i32);
7714 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNTRUSTED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(2048i32);
7715 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTRANET: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(4096i32);
7716 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNINTERNET: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(8192i32);
7717 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNRESTRICTED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(16384i32);
7718 pub const OLECMDIDF_PAGEACTION_PROTLOCKDOWNDENY: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(32768i32);
7719 pub const OLECMDIDF_PAGEACTION_POPUPALLOWED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(65536i32);
7720 pub const OLECMDIDF_PAGEACTION_SCRIPTPROMPT: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(131072i32);
7721 pub const OLECMDIDF_PAGEACTION_ACTIVEXUSERAPPROVAL: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(262144i32);
7722 pub const OLECMDIDF_PAGEACTION_MIXEDCONTENT: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(524288i32);
7723 pub const OLECMDIDF_PAGEACTION_INVALID_CERT: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(1048576i32);
7724 pub const OLECMDIDF_PAGEACTION_INTRANETZONEREQUEST: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(2097152i32);
7725 pub const OLECMDIDF_PAGEACTION_XSSFILTERED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(4194304i32);
7726 pub const OLECMDIDF_PAGEACTION_SPOOFABLEIDNHOST: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(8388608i32);
7727 pub const OLECMDIDF_PAGEACTION_ACTIVEX_EPM_INCOMPATIBLE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(16777216i32);
7728 pub const OLECMDIDF_PAGEACTION_SCRIPTNAVIGATE_ACTIVEXUSERAPPROVAL: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(33554432i32);
7729 pub const OLECMDIDF_PAGEACTION_WPCBLOCKED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(67108864i32);
7730 pub const OLECMDIDF_PAGEACTION_WPCBLOCKED_ACTIVEX: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(134217728i32);
7731 pub const OLECMDIDF_PAGEACTION_EXTENSION_COMPAT_BLOCKED: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(268435456i32);
7732 pub const OLECMDIDF_PAGEACTION_NORESETACTIVEX: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(536870912i32);
7733 pub const OLECMDIDF_PAGEACTION_GENERIC_STATE: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(1073741824i32);
7734 pub const OLECMDIDF_PAGEACTION_RESET: OLECMDID_PAGEACTIONFLAG = OLECMDID_PAGEACTIONFLAG(-2147483648i32);
7735 impl ::std::convert::From<i32> for OLECMDID_PAGEACTIONFLAG {
from(value: i32) -> Self7736     fn from(value: i32) -> Self {
7737         Self(value)
7738     }
7739 }
7740 unsafe impl ::windows::runtime::Abi for OLECMDID_PAGEACTIONFLAG {
7741     type Abi = Self;
7742     type DefaultType = Self;
7743 }
7744 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7745 #[repr(transparent)]
7746 pub struct OLECMDID_REFRESHFLAG(pub i32);
7747 pub const OLECMDIDF_REFRESH_NORMAL: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(0i32);
7748 pub const OLECMDIDF_REFRESH_IFEXPIRED: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(1i32);
7749 pub const OLECMDIDF_REFRESH_CONTINUE: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(2i32);
7750 pub const OLECMDIDF_REFRESH_COMPLETELY: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(3i32);
7751 pub const OLECMDIDF_REFRESH_NO_CACHE: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(4i32);
7752 pub const OLECMDIDF_REFRESH_RELOAD: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(5i32);
7753 pub const OLECMDIDF_REFRESH_LEVELMASK: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(255i32);
7754 pub const OLECMDIDF_REFRESH_CLEARUSERINPUT: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(4096i32);
7755 pub const OLECMDIDF_REFRESH_PROMPTIFOFFLINE: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(8192i32);
7756 pub const OLECMDIDF_REFRESH_THROUGHSCRIPT: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(16384i32);
7757 pub const OLECMDIDF_REFRESH_SKIPBEFOREUNLOADEVENT: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(32768i32);
7758 pub const OLECMDIDF_REFRESH_PAGEACTION_ACTIVEXINSTALL: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(65536i32);
7759 pub const OLECMDIDF_REFRESH_PAGEACTION_FILEDOWNLOAD: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(131072i32);
7760 pub const OLECMDIDF_REFRESH_PAGEACTION_LOCALMACHINE: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(262144i32);
7761 pub const OLECMDIDF_REFRESH_PAGEACTION_POPUPWINDOW: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(524288i32);
7762 pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNLOCALMACHINE: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(1048576i32);
7763 pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNTRUSTED: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(2097152i32);
7764 pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTRANET: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(4194304i32);
7765 pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNINTERNET: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(8388608i32);
7766 pub const OLECMDIDF_REFRESH_PAGEACTION_PROTLOCKDOWNRESTRICTED: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(16777216i32);
7767 pub const OLECMDIDF_REFRESH_PAGEACTION_MIXEDCONTENT: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(33554432i32);
7768 pub const OLECMDIDF_REFRESH_PAGEACTION_INVALID_CERT: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(67108864i32);
7769 pub const OLECMDIDF_REFRESH_PAGEACTION_ALLOW_VERSION: OLECMDID_REFRESHFLAG = OLECMDID_REFRESHFLAG(134217728i32);
7770 impl ::std::convert::From<i32> for OLECMDID_REFRESHFLAG {
from(value: i32) -> Self7771     fn from(value: i32) -> Self {
7772         Self(value)
7773     }
7774 }
7775 unsafe impl ::windows::runtime::Abi for OLECMDID_REFRESHFLAG {
7776     type Abi = Self;
7777     type DefaultType = Self;
7778 }
7779 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7780 #[repr(transparent)]
7781 pub struct OLECMDID_VIEWPORT_MODE_FLAG(pub i32);
7782 pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH: OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG(1i32);
7783 pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM: OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG(2i32);
7784 pub const OLECMDIDF_VIEWPORTMODE_FIXED_LAYOUT_WIDTH_VALID: OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG(65536i32);
7785 pub const OLECMDIDF_VIEWPORTMODE_EXCLUDE_VISUAL_BOTTOM_VALID: OLECMDID_VIEWPORT_MODE_FLAG = OLECMDID_VIEWPORT_MODE_FLAG(131072i32);
7786 impl ::std::convert::From<i32> for OLECMDID_VIEWPORT_MODE_FLAG {
from(value: i32) -> Self7787     fn from(value: i32) -> Self {
7788         Self(value)
7789     }
7790 }
7791 unsafe impl ::windows::runtime::Abi for OLECMDID_VIEWPORT_MODE_FLAG {
7792     type Abi = Self;
7793     type DefaultType = Self;
7794 }
7795 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7796 #[repr(transparent)]
7797 pub struct OLECMDID_WINDOWSTATE_FLAG(pub i32);
7798 pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE: OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG(1i32);
7799 pub const OLECMDIDF_WINDOWSTATE_ENABLED: OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG(2i32);
7800 pub const OLECMDIDF_WINDOWSTATE_USERVISIBLE_VALID: OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG(65536i32);
7801 pub const OLECMDIDF_WINDOWSTATE_ENABLED_VALID: OLECMDID_WINDOWSTATE_FLAG = OLECMDID_WINDOWSTATE_FLAG(131072i32);
7802 impl ::std::convert::From<i32> for OLECMDID_WINDOWSTATE_FLAG {
from(value: i32) -> Self7803     fn from(value: i32) -> Self {
7804         Self(value)
7805     }
7806 }
7807 unsafe impl ::windows::runtime::Abi for OLECMDID_WINDOWSTATE_FLAG {
7808     type Abi = Self;
7809     type DefaultType = Self;
7810 }
7811 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
7812 #[repr(C)]
7813 pub struct OLECMDTEXT {
7814     pub cmdtextf: u32,
7815     pub cwActual: u32,
7816     pub cwBuf: u32,
7817     pub rgwz: [u16; 1],
7818 }
7819 impl OLECMDTEXT {}
7820 impl ::std::default::Default for OLECMDTEXT {
default() -> Self7821     fn default() -> Self {
7822         unsafe { ::std::mem::zeroed() }
7823     }
7824 }
7825 impl ::std::fmt::Debug for OLECMDTEXT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result7826     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
7827         fmt.debug_struct("OLECMDTEXT").field("cmdtextf", &self.cmdtextf).field("cwActual", &self.cwActual).field("cwBuf", &self.cwBuf).field("rgwz", &self.rgwz).finish()
7828     }
7829 }
7830 impl ::std::cmp::PartialEq for OLECMDTEXT {
eq(&self, other: &Self) -> bool7831     fn eq(&self, other: &Self) -> bool {
7832         self.cmdtextf == other.cmdtextf && self.cwActual == other.cwActual && self.cwBuf == other.cwBuf && self.rgwz == other.rgwz
7833     }
7834 }
7835 impl ::std::cmp::Eq for OLECMDTEXT {}
7836 unsafe impl ::windows::runtime::Abi for OLECMDTEXT {
7837     type Abi = Self;
7838     type DefaultType = Self;
7839 }
7840 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7841 #[repr(transparent)]
7842 pub struct OLECMDTEXTF(pub i32);
7843 pub const OLECMDTEXTF_NONE: OLECMDTEXTF = OLECMDTEXTF(0i32);
7844 pub const OLECMDTEXTF_NAME: OLECMDTEXTF = OLECMDTEXTF(1i32);
7845 pub const OLECMDTEXTF_STATUS: OLECMDTEXTF = OLECMDTEXTF(2i32);
7846 impl ::std::convert::From<i32> for OLECMDTEXTF {
from(value: i32) -> Self7847     fn from(value: i32) -> Self {
7848         Self(value)
7849     }
7850 }
7851 unsafe impl ::windows::runtime::Abi for OLECMDTEXTF {
7852     type Abi = Self;
7853     type DefaultType = Self;
7854 }
7855 pub const OLECMD_TASKDLGID_ONBEFOREUNLOAD: u32 = 1u32;
7856 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7857 #[repr(transparent)]
7858 pub struct OLECONTF(pub i32);
7859 pub const OLECONTF_EMBEDDINGS: OLECONTF = OLECONTF(1i32);
7860 pub const OLECONTF_LINKS: OLECONTF = OLECONTF(2i32);
7861 pub const OLECONTF_OTHERS: OLECONTF = OLECONTF(4i32);
7862 pub const OLECONTF_ONLYUSER: OLECONTF = OLECONTF(8i32);
7863 pub const OLECONTF_ONLYIFRUNNING: OLECONTF = OLECONTF(16i32);
7864 impl ::std::convert::From<i32> for OLECONTF {
from(value: i32) -> Self7865     fn from(value: i32) -> Self {
7866         Self(value)
7867     }
7868 }
7869 unsafe impl ::windows::runtime::Abi for OLECONTF {
7870     type Abi = Self;
7871     type DefaultType = Self;
7872 }
7873 pub const OLECREATE_LEAVERUNNING: u32 = 1u32;
7874 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7875 #[repr(transparent)]
7876 pub struct OLEDCFLAGS(pub i32);
7877 pub const OLEDC_NODRAW: OLEDCFLAGS = OLEDCFLAGS(1i32);
7878 pub const OLEDC_PAINTBKGND: OLEDCFLAGS = OLEDCFLAGS(2i32);
7879 pub const OLEDC_OFFSCREEN: OLEDCFLAGS = OLEDCFLAGS(4i32);
7880 impl ::std::convert::From<i32> for OLEDCFLAGS {
from(value: i32) -> Self7881     fn from(value: i32) -> Self {
7882         Self(value)
7883     }
7884 }
7885 unsafe impl ::windows::runtime::Abi for OLEDCFLAGS {
7886     type Abi = Self;
7887     type DefaultType = Self;
7888 }
7889 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7890 #[repr(transparent)]
7891 pub struct OLEGETMONIKER(pub i32);
7892 pub const OLEGETMONIKER_ONLYIFTHERE: OLEGETMONIKER = OLEGETMONIKER(1i32);
7893 pub const OLEGETMONIKER_FORCEASSIGN: OLEGETMONIKER = OLEGETMONIKER(2i32);
7894 pub const OLEGETMONIKER_UNASSIGN: OLEGETMONIKER = OLEGETMONIKER(3i32);
7895 pub const OLEGETMONIKER_TEMPFORUSER: OLEGETMONIKER = OLEGETMONIKER(4i32);
7896 impl ::std::convert::From<i32> for OLEGETMONIKER {
from(value: i32) -> Self7897     fn from(value: i32) -> Self {
7898         Self(value)
7899     }
7900 }
7901 unsafe impl ::windows::runtime::Abi for OLEGETMONIKER {
7902     type Abi = Self;
7903     type DefaultType = Self;
7904 }
7905 pub const OLEIVERB_DISCARDUNDOSTATE: i32 = -6i32;
7906 pub const OLEIVERB_HIDE: i32 = -3i32;
7907 pub const OLEIVERB_INPLACEACTIVATE: i32 = -5i32;
7908 pub const OLEIVERB_OPEN: i32 = -2i32;
7909 pub const OLEIVERB_PRIMARY: i32 = 0i32;
7910 pub const OLEIVERB_PROPERTIES: i32 = -7i32;
7911 pub const OLEIVERB_SHOW: i32 = -1i32;
7912 pub const OLEIVERB_UIACTIVATE: i32 = -4i32;
7913 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7914 #[repr(transparent)]
7915 pub struct OLELINKBIND(pub i32);
7916 pub const OLELINKBIND_EVENIFCLASSDIFF: OLELINKBIND = OLELINKBIND(1i32);
7917 impl ::std::convert::From<i32> for OLELINKBIND {
from(value: i32) -> Self7918     fn from(value: i32) -> Self {
7919         Self(value)
7920     }
7921 }
7922 unsafe impl ::windows::runtime::Abi for OLELINKBIND {
7923     type Abi = Self;
7924     type DefaultType = Self;
7925 }
7926 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7927 #[repr(transparent)]
7928 pub struct OLEMISC(pub i32);
7929 pub const OLEMISC_RECOMPOSEONRESIZE: OLEMISC = OLEMISC(1i32);
7930 pub const OLEMISC_ONLYICONIC: OLEMISC = OLEMISC(2i32);
7931 pub const OLEMISC_INSERTNOTREPLACE: OLEMISC = OLEMISC(4i32);
7932 pub const OLEMISC_STATIC: OLEMISC = OLEMISC(8i32);
7933 pub const OLEMISC_CANTLINKINSIDE: OLEMISC = OLEMISC(16i32);
7934 pub const OLEMISC_CANLINKBYOLE1: OLEMISC = OLEMISC(32i32);
7935 pub const OLEMISC_ISLINKOBJECT: OLEMISC = OLEMISC(64i32);
7936 pub const OLEMISC_INSIDEOUT: OLEMISC = OLEMISC(128i32);
7937 pub const OLEMISC_ACTIVATEWHENVISIBLE: OLEMISC = OLEMISC(256i32);
7938 pub const OLEMISC_RENDERINGISDEVICEINDEPENDENT: OLEMISC = OLEMISC(512i32);
7939 pub const OLEMISC_INVISIBLEATRUNTIME: OLEMISC = OLEMISC(1024i32);
7940 pub const OLEMISC_ALWAYSRUN: OLEMISC = OLEMISC(2048i32);
7941 pub const OLEMISC_ACTSLIKEBUTTON: OLEMISC = OLEMISC(4096i32);
7942 pub const OLEMISC_ACTSLIKELABEL: OLEMISC = OLEMISC(8192i32);
7943 pub const OLEMISC_NOUIACTIVATE: OLEMISC = OLEMISC(16384i32);
7944 pub const OLEMISC_ALIGNABLE: OLEMISC = OLEMISC(32768i32);
7945 pub const OLEMISC_SIMPLEFRAME: OLEMISC = OLEMISC(65536i32);
7946 pub const OLEMISC_SETCLIENTSITEFIRST: OLEMISC = OLEMISC(131072i32);
7947 pub const OLEMISC_IMEMODE: OLEMISC = OLEMISC(262144i32);
7948 pub const OLEMISC_IGNOREACTIVATEWHENVISIBLE: OLEMISC = OLEMISC(524288i32);
7949 pub const OLEMISC_WANTSTOMENUMERGE: OLEMISC = OLEMISC(1048576i32);
7950 pub const OLEMISC_SUPPORTSMULTILEVELUNDO: OLEMISC = OLEMISC(2097152i32);
7951 impl ::std::convert::From<i32> for OLEMISC {
from(value: i32) -> Self7952     fn from(value: i32) -> Self {
7953         Self(value)
7954     }
7955 }
7956 unsafe impl ::windows::runtime::Abi for OLEMISC {
7957     type Abi = Self;
7958     type DefaultType = Self;
7959 }
7960 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
7961 #[repr(transparent)]
7962 pub struct OLERENDER(pub i32);
7963 pub const OLERENDER_NONE: OLERENDER = OLERENDER(0i32);
7964 pub const OLERENDER_DRAW: OLERENDER = OLERENDER(1i32);
7965 pub const OLERENDER_FORMAT: OLERENDER = OLERENDER(2i32);
7966 pub const OLERENDER_ASIS: OLERENDER = OLERENDER(3i32);
7967 impl ::std::convert::From<i32> for OLERENDER {
from(value: i32) -> Self7968     fn from(value: i32) -> Self {
7969         Self(value)
7970     }
7971 }
7972 unsafe impl ::windows::runtime::Abi for OLERENDER {
7973     type Abi = Self;
7974     type DefaultType = Self;
7975 }
7976 #[derive(:: std :: clone :: Clone)]
7977 #[repr(C)]
7978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
7979 pub struct OLEUIBUSYA {
7980     pub cbStruct: u32,
7981     pub dwFlags: u32,
7982     pub hWndOwner: super::super::Foundation::HWND,
7983     pub lpszCaption: super::super::Foundation::PSTR,
7984     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
7985     pub lCustData: super::super::Foundation::LPARAM,
7986     pub hInstance: super::super::Foundation::HINSTANCE,
7987     pub lpszTemplate: super::super::Foundation::PSTR,
7988     pub hResource: super::LibraryLoader::HRSRC,
7989     pub hTask: super::super::Media::Audio::CoreAudio::HTASK,
7990     pub lphWndDialog: *mut super::super::Foundation::HWND,
7991 }
7992 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
7993 impl OLEUIBUSYA {}
7994 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
7995 impl ::std::default::Default for OLEUIBUSYA {
default() -> Self7996     fn default() -> Self {
7997         unsafe { ::std::mem::zeroed() }
7998     }
7999 }
8000 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8001 impl ::std::fmt::Debug for OLEUIBUSYA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8002     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8003         fmt.debug_struct("OLEUIBUSYA")
8004             .field("cbStruct", &self.cbStruct)
8005             .field("dwFlags", &self.dwFlags)
8006             .field("hWndOwner", &self.hWndOwner)
8007             .field("lpszCaption", &self.lpszCaption)
8008             .field("lCustData", &self.lCustData)
8009             .field("hInstance", &self.hInstance)
8010             .field("lpszTemplate", &self.lpszTemplate)
8011             .field("hResource", &self.hResource)
8012             .field("hTask", &self.hTask)
8013             .field("lphWndDialog", &self.lphWndDialog)
8014             .finish()
8015     }
8016 }
8017 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8018 impl ::std::cmp::PartialEq for OLEUIBUSYA {
eq(&self, other: &Self) -> bool8019     fn eq(&self, other: &Self) -> bool {
8020         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.hWndOwner == other.hWndOwner && self.lpszCaption == other.lpszCaption && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.hInstance == other.hInstance && self.lpszTemplate == other.lpszTemplate && self.hResource == other.hResource && self.hTask == other.hTask && self.lphWndDialog == other.lphWndDialog
8021     }
8022 }
8023 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8024 impl ::std::cmp::Eq for OLEUIBUSYA {}
8025 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8026 unsafe impl ::windows::runtime::Abi for OLEUIBUSYA {
8027     type Abi = ::std::mem::ManuallyDrop<Self>;
8028     type DefaultType = Self;
8029 }
8030 #[derive(:: std :: clone :: Clone)]
8031 #[repr(C)]
8032 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8033 pub struct OLEUIBUSYW {
8034     pub cbStruct: u32,
8035     pub dwFlags: u32,
8036     pub hWndOwner: super::super::Foundation::HWND,
8037     pub lpszCaption: super::super::Foundation::PWSTR,
8038     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8039     pub lCustData: super::super::Foundation::LPARAM,
8040     pub hInstance: super::super::Foundation::HINSTANCE,
8041     pub lpszTemplate: super::super::Foundation::PWSTR,
8042     pub hResource: super::LibraryLoader::HRSRC,
8043     pub hTask: super::super::Media::Audio::CoreAudio::HTASK,
8044     pub lphWndDialog: *mut super::super::Foundation::HWND,
8045 }
8046 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8047 impl OLEUIBUSYW {}
8048 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8049 impl ::std::default::Default for OLEUIBUSYW {
default() -> Self8050     fn default() -> Self {
8051         unsafe { ::std::mem::zeroed() }
8052     }
8053 }
8054 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8055 impl ::std::fmt::Debug for OLEUIBUSYW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8056     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8057         fmt.debug_struct("OLEUIBUSYW")
8058             .field("cbStruct", &self.cbStruct)
8059             .field("dwFlags", &self.dwFlags)
8060             .field("hWndOwner", &self.hWndOwner)
8061             .field("lpszCaption", &self.lpszCaption)
8062             .field("lCustData", &self.lCustData)
8063             .field("hInstance", &self.hInstance)
8064             .field("lpszTemplate", &self.lpszTemplate)
8065             .field("hResource", &self.hResource)
8066             .field("hTask", &self.hTask)
8067             .field("lphWndDialog", &self.lphWndDialog)
8068             .finish()
8069     }
8070 }
8071 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8072 impl ::std::cmp::PartialEq for OLEUIBUSYW {
eq(&self, other: &Self) -> bool8073     fn eq(&self, other: &Self) -> bool {
8074         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.hWndOwner == other.hWndOwner && self.lpszCaption == other.lpszCaption && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.hInstance == other.hInstance && self.lpszTemplate == other.lpszTemplate && self.hResource == other.hResource && self.hTask == other.hTask && self.lphWndDialog == other.lphWndDialog
8075     }
8076 }
8077 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8078 impl ::std::cmp::Eq for OLEUIBUSYW {}
8079 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
8080 unsafe impl ::windows::runtime::Abi for OLEUIBUSYW {
8081     type Abi = ::std::mem::ManuallyDrop<Self>;
8082     type DefaultType = Self;
8083 }
8084 #[derive(:: std :: clone :: Clone)]
8085 #[repr(C)]
8086 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8087 pub struct OLEUICHANGEICONA {
8088     pub cbStruct: u32,
8089     pub dwFlags: u32,
8090     pub hWndOwner: super::super::Foundation::HWND,
8091     pub lpszCaption: super::super::Foundation::PSTR,
8092     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8093     pub lCustData: super::super::Foundation::LPARAM,
8094     pub hInstance: super::super::Foundation::HINSTANCE,
8095     pub lpszTemplate: super::super::Foundation::PSTR,
8096     pub hResource: super::LibraryLoader::HRSRC,
8097     pub hMetaPict: isize,
8098     pub clsid: ::windows::runtime::GUID,
8099     pub szIconExe: [super::super::Foundation::CHAR; 260],
8100     pub cchIconExe: i32,
8101 }
8102 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8103 impl OLEUICHANGEICONA {}
8104 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8105 impl ::std::default::Default for OLEUICHANGEICONA {
default() -> Self8106     fn default() -> Self {
8107         unsafe { ::std::mem::zeroed() }
8108     }
8109 }
8110 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8111 impl ::std::fmt::Debug for OLEUICHANGEICONA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8112     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8113         fmt.debug_struct("OLEUICHANGEICONA")
8114             .field("cbStruct", &self.cbStruct)
8115             .field("dwFlags", &self.dwFlags)
8116             .field("hWndOwner", &self.hWndOwner)
8117             .field("lpszCaption", &self.lpszCaption)
8118             .field("lCustData", &self.lCustData)
8119             .field("hInstance", &self.hInstance)
8120             .field("lpszTemplate", &self.lpszTemplate)
8121             .field("hResource", &self.hResource)
8122             .field("hMetaPict", &self.hMetaPict)
8123             .field("clsid", &self.clsid)
8124             .field("szIconExe", &self.szIconExe)
8125             .field("cchIconExe", &self.cchIconExe)
8126             .finish()
8127     }
8128 }
8129 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8130 impl ::std::cmp::PartialEq for OLEUICHANGEICONA {
eq(&self, other: &Self) -> bool8131     fn eq(&self, other: &Self) -> bool {
8132         self.cbStruct == other.cbStruct
8133             && self.dwFlags == other.dwFlags
8134             && self.hWndOwner == other.hWndOwner
8135             && self.lpszCaption == other.lpszCaption
8136             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8137             && self.lCustData == other.lCustData
8138             && self.hInstance == other.hInstance
8139             && self.lpszTemplate == other.lpszTemplate
8140             && self.hResource == other.hResource
8141             && self.hMetaPict == other.hMetaPict
8142             && self.clsid == other.clsid
8143             && self.szIconExe == other.szIconExe
8144             && self.cchIconExe == other.cchIconExe
8145     }
8146 }
8147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8148 impl ::std::cmp::Eq for OLEUICHANGEICONA {}
8149 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8150 unsafe impl ::windows::runtime::Abi for OLEUICHANGEICONA {
8151     type Abi = ::std::mem::ManuallyDrop<Self>;
8152     type DefaultType = Self;
8153 }
8154 #[derive(:: std :: clone :: Clone)]
8155 #[repr(C)]
8156 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8157 pub struct OLEUICHANGEICONW {
8158     pub cbStruct: u32,
8159     pub dwFlags: u32,
8160     pub hWndOwner: super::super::Foundation::HWND,
8161     pub lpszCaption: super::super::Foundation::PWSTR,
8162     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8163     pub lCustData: super::super::Foundation::LPARAM,
8164     pub hInstance: super::super::Foundation::HINSTANCE,
8165     pub lpszTemplate: super::super::Foundation::PWSTR,
8166     pub hResource: super::LibraryLoader::HRSRC,
8167     pub hMetaPict: isize,
8168     pub clsid: ::windows::runtime::GUID,
8169     pub szIconExe: [u16; 260],
8170     pub cchIconExe: i32,
8171 }
8172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8173 impl OLEUICHANGEICONW {}
8174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8175 impl ::std::default::Default for OLEUICHANGEICONW {
default() -> Self8176     fn default() -> Self {
8177         unsafe { ::std::mem::zeroed() }
8178     }
8179 }
8180 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8181 impl ::std::fmt::Debug for OLEUICHANGEICONW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8182     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8183         fmt.debug_struct("OLEUICHANGEICONW")
8184             .field("cbStruct", &self.cbStruct)
8185             .field("dwFlags", &self.dwFlags)
8186             .field("hWndOwner", &self.hWndOwner)
8187             .field("lpszCaption", &self.lpszCaption)
8188             .field("lCustData", &self.lCustData)
8189             .field("hInstance", &self.hInstance)
8190             .field("lpszTemplate", &self.lpszTemplate)
8191             .field("hResource", &self.hResource)
8192             .field("hMetaPict", &self.hMetaPict)
8193             .field("clsid", &self.clsid)
8194             .field("szIconExe", &self.szIconExe)
8195             .field("cchIconExe", &self.cchIconExe)
8196             .finish()
8197     }
8198 }
8199 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8200 impl ::std::cmp::PartialEq for OLEUICHANGEICONW {
eq(&self, other: &Self) -> bool8201     fn eq(&self, other: &Self) -> bool {
8202         self.cbStruct == other.cbStruct
8203             && self.dwFlags == other.dwFlags
8204             && self.hWndOwner == other.hWndOwner
8205             && self.lpszCaption == other.lpszCaption
8206             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8207             && self.lCustData == other.lCustData
8208             && self.hInstance == other.hInstance
8209             && self.lpszTemplate == other.lpszTemplate
8210             && self.hResource == other.hResource
8211             && self.hMetaPict == other.hMetaPict
8212             && self.clsid == other.clsid
8213             && self.szIconExe == other.szIconExe
8214             && self.cchIconExe == other.cchIconExe
8215     }
8216 }
8217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8218 impl ::std::cmp::Eq for OLEUICHANGEICONW {}
8219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8220 unsafe impl ::windows::runtime::Abi for OLEUICHANGEICONW {
8221     type Abi = ::std::mem::ManuallyDrop<Self>;
8222     type DefaultType = Self;
8223 }
8224 #[derive(:: std :: clone :: Clone)]
8225 #[repr(C)]
8226 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8227 pub struct OLEUICHANGESOURCEA {
8228     pub cbStruct: u32,
8229     pub dwFlags: u32,
8230     pub hWndOwner: super::super::Foundation::HWND,
8231     pub lpszCaption: super::super::Foundation::PSTR,
8232     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8233     pub lCustData: super::super::Foundation::LPARAM,
8234     pub hInstance: super::super::Foundation::HINSTANCE,
8235     pub lpszTemplate: super::super::Foundation::PSTR,
8236     pub hResource: super::LibraryLoader::HRSRC,
8237     pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEA,
8238     pub dwReserved1: [u32; 4],
8239     pub lpOleUILinkContainer: ::std::option::Option<IOleUILinkContainerA>,
8240     pub dwLink: u32,
8241     pub lpszDisplayName: super::super::Foundation::PSTR,
8242     pub nFileLength: u32,
8243     pub lpszFrom: super::super::Foundation::PSTR,
8244     pub lpszTo: super::super::Foundation::PSTR,
8245 }
8246 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8247 impl OLEUICHANGESOURCEA {}
8248 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8249 impl ::std::default::Default for OLEUICHANGESOURCEA {
default() -> Self8250     fn default() -> Self {
8251         unsafe { ::std::mem::zeroed() }
8252     }
8253 }
8254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8255 impl ::std::fmt::Debug for OLEUICHANGESOURCEA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8256     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8257         fmt.debug_struct("OLEUICHANGESOURCEA")
8258             .field("cbStruct", &self.cbStruct)
8259             .field("dwFlags", &self.dwFlags)
8260             .field("hWndOwner", &self.hWndOwner)
8261             .field("lpszCaption", &self.lpszCaption)
8262             .field("lCustData", &self.lCustData)
8263             .field("hInstance", &self.hInstance)
8264             .field("lpszTemplate", &self.lpszTemplate)
8265             .field("hResource", &self.hResource)
8266             .field("lpOFN", &self.lpOFN)
8267             .field("dwReserved1", &self.dwReserved1)
8268             .field("lpOleUILinkContainer", &self.lpOleUILinkContainer)
8269             .field("dwLink", &self.dwLink)
8270             .field("lpszDisplayName", &self.lpszDisplayName)
8271             .field("nFileLength", &self.nFileLength)
8272             .field("lpszFrom", &self.lpszFrom)
8273             .field("lpszTo", &self.lpszTo)
8274             .finish()
8275     }
8276 }
8277 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8278 impl ::std::cmp::PartialEq for OLEUICHANGESOURCEA {
eq(&self, other: &Self) -> bool8279     fn eq(&self, other: &Self) -> bool {
8280         self.cbStruct == other.cbStruct
8281             && self.dwFlags == other.dwFlags
8282             && self.hWndOwner == other.hWndOwner
8283             && self.lpszCaption == other.lpszCaption
8284             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8285             && self.lCustData == other.lCustData
8286             && self.hInstance == other.hInstance
8287             && self.lpszTemplate == other.lpszTemplate
8288             && self.hResource == other.hResource
8289             && self.lpOFN == other.lpOFN
8290             && self.dwReserved1 == other.dwReserved1
8291             && self.lpOleUILinkContainer == other.lpOleUILinkContainer
8292             && self.dwLink == other.dwLink
8293             && self.lpszDisplayName == other.lpszDisplayName
8294             && self.nFileLength == other.nFileLength
8295             && self.lpszFrom == other.lpszFrom
8296             && self.lpszTo == other.lpszTo
8297     }
8298 }
8299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8300 impl ::std::cmp::Eq for OLEUICHANGESOURCEA {}
8301 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8302 unsafe impl ::windows::runtime::Abi for OLEUICHANGESOURCEA {
8303     type Abi = ::std::mem::ManuallyDrop<Self>;
8304     type DefaultType = Self;
8305 }
8306 #[derive(:: std :: clone :: Clone)]
8307 #[repr(C)]
8308 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8309 pub struct OLEUICHANGESOURCEW {
8310     pub cbStruct: u32,
8311     pub dwFlags: u32,
8312     pub hWndOwner: super::super::Foundation::HWND,
8313     pub lpszCaption: super::super::Foundation::PWSTR,
8314     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8315     pub lCustData: super::super::Foundation::LPARAM,
8316     pub hInstance: super::super::Foundation::HINSTANCE,
8317     pub lpszTemplate: super::super::Foundation::PWSTR,
8318     pub hResource: super::LibraryLoader::HRSRC,
8319     pub lpOFN: *mut super::super::UI::Controls::Dialogs::OPENFILENAMEW,
8320     pub dwReserved1: [u32; 4],
8321     pub lpOleUILinkContainer: ::std::option::Option<IOleUILinkContainerW>,
8322     pub dwLink: u32,
8323     pub lpszDisplayName: super::super::Foundation::PWSTR,
8324     pub nFileLength: u32,
8325     pub lpszFrom: super::super::Foundation::PWSTR,
8326     pub lpszTo: super::super::Foundation::PWSTR,
8327 }
8328 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8329 impl OLEUICHANGESOURCEW {}
8330 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8331 impl ::std::default::Default for OLEUICHANGESOURCEW {
default() -> Self8332     fn default() -> Self {
8333         unsafe { ::std::mem::zeroed() }
8334     }
8335 }
8336 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8337 impl ::std::fmt::Debug for OLEUICHANGESOURCEW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8338     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8339         fmt.debug_struct("OLEUICHANGESOURCEW")
8340             .field("cbStruct", &self.cbStruct)
8341             .field("dwFlags", &self.dwFlags)
8342             .field("hWndOwner", &self.hWndOwner)
8343             .field("lpszCaption", &self.lpszCaption)
8344             .field("lCustData", &self.lCustData)
8345             .field("hInstance", &self.hInstance)
8346             .field("lpszTemplate", &self.lpszTemplate)
8347             .field("hResource", &self.hResource)
8348             .field("lpOFN", &self.lpOFN)
8349             .field("dwReserved1", &self.dwReserved1)
8350             .field("lpOleUILinkContainer", &self.lpOleUILinkContainer)
8351             .field("dwLink", &self.dwLink)
8352             .field("lpszDisplayName", &self.lpszDisplayName)
8353             .field("nFileLength", &self.nFileLength)
8354             .field("lpszFrom", &self.lpszFrom)
8355             .field("lpszTo", &self.lpszTo)
8356             .finish()
8357     }
8358 }
8359 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8360 impl ::std::cmp::PartialEq for OLEUICHANGESOURCEW {
eq(&self, other: &Self) -> bool8361     fn eq(&self, other: &Self) -> bool {
8362         self.cbStruct == other.cbStruct
8363             && self.dwFlags == other.dwFlags
8364             && self.hWndOwner == other.hWndOwner
8365             && self.lpszCaption == other.lpszCaption
8366             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8367             && self.lCustData == other.lCustData
8368             && self.hInstance == other.hInstance
8369             && self.lpszTemplate == other.lpszTemplate
8370             && self.hResource == other.hResource
8371             && self.lpOFN == other.lpOFN
8372             && self.dwReserved1 == other.dwReserved1
8373             && self.lpOleUILinkContainer == other.lpOleUILinkContainer
8374             && self.dwLink == other.dwLink
8375             && self.lpszDisplayName == other.lpszDisplayName
8376             && self.nFileLength == other.nFileLength
8377             && self.lpszFrom == other.lpszFrom
8378             && self.lpszTo == other.lpszTo
8379     }
8380 }
8381 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8382 impl ::std::cmp::Eq for OLEUICHANGESOURCEW {}
8383 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
8384 unsafe impl ::windows::runtime::Abi for OLEUICHANGESOURCEW {
8385     type Abi = ::std::mem::ManuallyDrop<Self>;
8386     type DefaultType = Self;
8387 }
8388 #[derive(:: std :: clone :: Clone)]
8389 #[repr(C)]
8390 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8391 pub struct OLEUICONVERTA {
8392     pub cbStruct: u32,
8393     pub dwFlags: u32,
8394     pub hWndOwner: super::super::Foundation::HWND,
8395     pub lpszCaption: super::super::Foundation::PSTR,
8396     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8397     pub lCustData: super::super::Foundation::LPARAM,
8398     pub hInstance: super::super::Foundation::HINSTANCE,
8399     pub lpszTemplate: super::super::Foundation::PSTR,
8400     pub hResource: super::LibraryLoader::HRSRC,
8401     pub clsid: ::windows::runtime::GUID,
8402     pub clsidConvertDefault: ::windows::runtime::GUID,
8403     pub clsidActivateDefault: ::windows::runtime::GUID,
8404     pub clsidNew: ::windows::runtime::GUID,
8405     pub dvAspect: u32,
8406     pub wFormat: u16,
8407     pub fIsLinkedObject: super::super::Foundation::BOOL,
8408     pub hMetaPict: isize,
8409     pub lpszUserType: super::super::Foundation::PSTR,
8410     pub fObjectsIconChanged: super::super::Foundation::BOOL,
8411     pub lpszDefLabel: super::super::Foundation::PSTR,
8412     pub cClsidExclude: u32,
8413     pub lpClsidExclude: *mut ::windows::runtime::GUID,
8414 }
8415 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8416 impl OLEUICONVERTA {}
8417 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8418 impl ::std::default::Default for OLEUICONVERTA {
default() -> Self8419     fn default() -> Self {
8420         unsafe { ::std::mem::zeroed() }
8421     }
8422 }
8423 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8424 impl ::std::fmt::Debug for OLEUICONVERTA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8425     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8426         fmt.debug_struct("OLEUICONVERTA")
8427             .field("cbStruct", &self.cbStruct)
8428             .field("dwFlags", &self.dwFlags)
8429             .field("hWndOwner", &self.hWndOwner)
8430             .field("lpszCaption", &self.lpszCaption)
8431             .field("lCustData", &self.lCustData)
8432             .field("hInstance", &self.hInstance)
8433             .field("lpszTemplate", &self.lpszTemplate)
8434             .field("hResource", &self.hResource)
8435             .field("clsid", &self.clsid)
8436             .field("clsidConvertDefault", &self.clsidConvertDefault)
8437             .field("clsidActivateDefault", &self.clsidActivateDefault)
8438             .field("clsidNew", &self.clsidNew)
8439             .field("dvAspect", &self.dvAspect)
8440             .field("wFormat", &self.wFormat)
8441             .field("fIsLinkedObject", &self.fIsLinkedObject)
8442             .field("hMetaPict", &self.hMetaPict)
8443             .field("lpszUserType", &self.lpszUserType)
8444             .field("fObjectsIconChanged", &self.fObjectsIconChanged)
8445             .field("lpszDefLabel", &self.lpszDefLabel)
8446             .field("cClsidExclude", &self.cClsidExclude)
8447             .field("lpClsidExclude", &self.lpClsidExclude)
8448             .finish()
8449     }
8450 }
8451 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8452 impl ::std::cmp::PartialEq for OLEUICONVERTA {
eq(&self, other: &Self) -> bool8453     fn eq(&self, other: &Self) -> bool {
8454         self.cbStruct == other.cbStruct
8455             && self.dwFlags == other.dwFlags
8456             && self.hWndOwner == other.hWndOwner
8457             && self.lpszCaption == other.lpszCaption
8458             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8459             && self.lCustData == other.lCustData
8460             && self.hInstance == other.hInstance
8461             && self.lpszTemplate == other.lpszTemplate
8462             && self.hResource == other.hResource
8463             && self.clsid == other.clsid
8464             && self.clsidConvertDefault == other.clsidConvertDefault
8465             && self.clsidActivateDefault == other.clsidActivateDefault
8466             && self.clsidNew == other.clsidNew
8467             && self.dvAspect == other.dvAspect
8468             && self.wFormat == other.wFormat
8469             && self.fIsLinkedObject == other.fIsLinkedObject
8470             && self.hMetaPict == other.hMetaPict
8471             && self.lpszUserType == other.lpszUserType
8472             && self.fObjectsIconChanged == other.fObjectsIconChanged
8473             && self.lpszDefLabel == other.lpszDefLabel
8474             && self.cClsidExclude == other.cClsidExclude
8475             && self.lpClsidExclude == other.lpClsidExclude
8476     }
8477 }
8478 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8479 impl ::std::cmp::Eq for OLEUICONVERTA {}
8480 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8481 unsafe impl ::windows::runtime::Abi for OLEUICONVERTA {
8482     type Abi = ::std::mem::ManuallyDrop<Self>;
8483     type DefaultType = Self;
8484 }
8485 #[derive(:: std :: clone :: Clone)]
8486 #[repr(C)]
8487 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8488 pub struct OLEUICONVERTW {
8489     pub cbStruct: u32,
8490     pub dwFlags: u32,
8491     pub hWndOwner: super::super::Foundation::HWND,
8492     pub lpszCaption: super::super::Foundation::PWSTR,
8493     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8494     pub lCustData: super::super::Foundation::LPARAM,
8495     pub hInstance: super::super::Foundation::HINSTANCE,
8496     pub lpszTemplate: super::super::Foundation::PWSTR,
8497     pub hResource: super::LibraryLoader::HRSRC,
8498     pub clsid: ::windows::runtime::GUID,
8499     pub clsidConvertDefault: ::windows::runtime::GUID,
8500     pub clsidActivateDefault: ::windows::runtime::GUID,
8501     pub clsidNew: ::windows::runtime::GUID,
8502     pub dvAspect: u32,
8503     pub wFormat: u16,
8504     pub fIsLinkedObject: super::super::Foundation::BOOL,
8505     pub hMetaPict: isize,
8506     pub lpszUserType: super::super::Foundation::PWSTR,
8507     pub fObjectsIconChanged: super::super::Foundation::BOOL,
8508     pub lpszDefLabel: super::super::Foundation::PWSTR,
8509     pub cClsidExclude: u32,
8510     pub lpClsidExclude: *mut ::windows::runtime::GUID,
8511 }
8512 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8513 impl OLEUICONVERTW {}
8514 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8515 impl ::std::default::Default for OLEUICONVERTW {
default() -> Self8516     fn default() -> Self {
8517         unsafe { ::std::mem::zeroed() }
8518     }
8519 }
8520 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8521 impl ::std::fmt::Debug for OLEUICONVERTW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8522     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8523         fmt.debug_struct("OLEUICONVERTW")
8524             .field("cbStruct", &self.cbStruct)
8525             .field("dwFlags", &self.dwFlags)
8526             .field("hWndOwner", &self.hWndOwner)
8527             .field("lpszCaption", &self.lpszCaption)
8528             .field("lCustData", &self.lCustData)
8529             .field("hInstance", &self.hInstance)
8530             .field("lpszTemplate", &self.lpszTemplate)
8531             .field("hResource", &self.hResource)
8532             .field("clsid", &self.clsid)
8533             .field("clsidConvertDefault", &self.clsidConvertDefault)
8534             .field("clsidActivateDefault", &self.clsidActivateDefault)
8535             .field("clsidNew", &self.clsidNew)
8536             .field("dvAspect", &self.dvAspect)
8537             .field("wFormat", &self.wFormat)
8538             .field("fIsLinkedObject", &self.fIsLinkedObject)
8539             .field("hMetaPict", &self.hMetaPict)
8540             .field("lpszUserType", &self.lpszUserType)
8541             .field("fObjectsIconChanged", &self.fObjectsIconChanged)
8542             .field("lpszDefLabel", &self.lpszDefLabel)
8543             .field("cClsidExclude", &self.cClsidExclude)
8544             .field("lpClsidExclude", &self.lpClsidExclude)
8545             .finish()
8546     }
8547 }
8548 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8549 impl ::std::cmp::PartialEq for OLEUICONVERTW {
eq(&self, other: &Self) -> bool8550     fn eq(&self, other: &Self) -> bool {
8551         self.cbStruct == other.cbStruct
8552             && self.dwFlags == other.dwFlags
8553             && self.hWndOwner == other.hWndOwner
8554             && self.lpszCaption == other.lpszCaption
8555             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8556             && self.lCustData == other.lCustData
8557             && self.hInstance == other.hInstance
8558             && self.lpszTemplate == other.lpszTemplate
8559             && self.hResource == other.hResource
8560             && self.clsid == other.clsid
8561             && self.clsidConvertDefault == other.clsidConvertDefault
8562             && self.clsidActivateDefault == other.clsidActivateDefault
8563             && self.clsidNew == other.clsidNew
8564             && self.dvAspect == other.dvAspect
8565             && self.wFormat == other.wFormat
8566             && self.fIsLinkedObject == other.fIsLinkedObject
8567             && self.hMetaPict == other.hMetaPict
8568             && self.lpszUserType == other.lpszUserType
8569             && self.fObjectsIconChanged == other.fObjectsIconChanged
8570             && self.lpszDefLabel == other.lpszDefLabel
8571             && self.cClsidExclude == other.cClsidExclude
8572             && self.lpClsidExclude == other.lpClsidExclude
8573     }
8574 }
8575 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8576 impl ::std::cmp::Eq for OLEUICONVERTW {}
8577 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8578 unsafe impl ::windows::runtime::Abi for OLEUICONVERTW {
8579     type Abi = ::std::mem::ManuallyDrop<Self>;
8580     type DefaultType = Self;
8581 }
8582 #[derive(:: std :: clone :: Clone)]
8583 #[repr(C)]
8584 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8585 pub struct OLEUIEDITLINKSA {
8586     pub cbStruct: u32,
8587     pub dwFlags: u32,
8588     pub hWndOwner: super::super::Foundation::HWND,
8589     pub lpszCaption: super::super::Foundation::PSTR,
8590     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8591     pub lCustData: super::super::Foundation::LPARAM,
8592     pub hInstance: super::super::Foundation::HINSTANCE,
8593     pub lpszTemplate: super::super::Foundation::PSTR,
8594     pub hResource: super::LibraryLoader::HRSRC,
8595     pub lpOleUILinkContainer: ::std::option::Option<IOleUILinkContainerA>,
8596 }
8597 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8598 impl OLEUIEDITLINKSA {}
8599 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8600 impl ::std::default::Default for OLEUIEDITLINKSA {
default() -> Self8601     fn default() -> Self {
8602         unsafe { ::std::mem::zeroed() }
8603     }
8604 }
8605 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8606 impl ::std::fmt::Debug for OLEUIEDITLINKSA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8607     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8608         fmt.debug_struct("OLEUIEDITLINKSA")
8609             .field("cbStruct", &self.cbStruct)
8610             .field("dwFlags", &self.dwFlags)
8611             .field("hWndOwner", &self.hWndOwner)
8612             .field("lpszCaption", &self.lpszCaption)
8613             .field("lCustData", &self.lCustData)
8614             .field("hInstance", &self.hInstance)
8615             .field("lpszTemplate", &self.lpszTemplate)
8616             .field("hResource", &self.hResource)
8617             .field("lpOleUILinkContainer", &self.lpOleUILinkContainer)
8618             .finish()
8619     }
8620 }
8621 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8622 impl ::std::cmp::PartialEq for OLEUIEDITLINKSA {
eq(&self, other: &Self) -> bool8623     fn eq(&self, other: &Self) -> bool {
8624         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.hWndOwner == other.hWndOwner && self.lpszCaption == other.lpszCaption && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.hInstance == other.hInstance && self.lpszTemplate == other.lpszTemplate && self.hResource == other.hResource && self.lpOleUILinkContainer == other.lpOleUILinkContainer
8625     }
8626 }
8627 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8628 impl ::std::cmp::Eq for OLEUIEDITLINKSA {}
8629 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8630 unsafe impl ::windows::runtime::Abi for OLEUIEDITLINKSA {
8631     type Abi = ::std::mem::ManuallyDrop<Self>;
8632     type DefaultType = Self;
8633 }
8634 #[derive(:: std :: clone :: Clone)]
8635 #[repr(C)]
8636 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8637 pub struct OLEUIEDITLINKSW {
8638     pub cbStruct: u32,
8639     pub dwFlags: u32,
8640     pub hWndOwner: super::super::Foundation::HWND,
8641     pub lpszCaption: super::super::Foundation::PWSTR,
8642     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8643     pub lCustData: super::super::Foundation::LPARAM,
8644     pub hInstance: super::super::Foundation::HINSTANCE,
8645     pub lpszTemplate: super::super::Foundation::PWSTR,
8646     pub hResource: super::LibraryLoader::HRSRC,
8647     pub lpOleUILinkContainer: ::std::option::Option<IOleUILinkContainerW>,
8648 }
8649 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8650 impl OLEUIEDITLINKSW {}
8651 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8652 impl ::std::default::Default for OLEUIEDITLINKSW {
default() -> Self8653     fn default() -> Self {
8654         unsafe { ::std::mem::zeroed() }
8655     }
8656 }
8657 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8658 impl ::std::fmt::Debug for OLEUIEDITLINKSW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8659     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8660         fmt.debug_struct("OLEUIEDITLINKSW")
8661             .field("cbStruct", &self.cbStruct)
8662             .field("dwFlags", &self.dwFlags)
8663             .field("hWndOwner", &self.hWndOwner)
8664             .field("lpszCaption", &self.lpszCaption)
8665             .field("lCustData", &self.lCustData)
8666             .field("hInstance", &self.hInstance)
8667             .field("lpszTemplate", &self.lpszTemplate)
8668             .field("hResource", &self.hResource)
8669             .field("lpOleUILinkContainer", &self.lpOleUILinkContainer)
8670             .finish()
8671     }
8672 }
8673 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8674 impl ::std::cmp::PartialEq for OLEUIEDITLINKSW {
eq(&self, other: &Self) -> bool8675     fn eq(&self, other: &Self) -> bool {
8676         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.hWndOwner == other.hWndOwner && self.lpszCaption == other.lpszCaption && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.hInstance == other.hInstance && self.lpszTemplate == other.lpszTemplate && self.hResource == other.hResource && self.lpOleUILinkContainer == other.lpOleUILinkContainer
8677     }
8678 }
8679 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8680 impl ::std::cmp::Eq for OLEUIEDITLINKSW {}
8681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
8682 unsafe impl ::windows::runtime::Abi for OLEUIEDITLINKSW {
8683     type Abi = ::std::mem::ManuallyDrop<Self>;
8684     type DefaultType = Self;
8685 }
8686 #[derive(:: std :: clone :: Clone)]
8687 #[repr(C)]
8688 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8689 pub struct OLEUIGNRLPROPSA {
8690     pub cbStruct: u32,
8691     pub dwFlags: u32,
8692     pub dwReserved1: [u32; 2],
8693     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8694     pub lCustData: super::super::Foundation::LPARAM,
8695     pub dwReserved2: [u32; 3],
8696     pub lpOP: *mut OLEUIOBJECTPROPSA,
8697 }
8698 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8699 impl OLEUIGNRLPROPSA {}
8700 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8701 impl ::std::default::Default for OLEUIGNRLPROPSA {
default() -> Self8702     fn default() -> Self {
8703         unsafe { ::std::mem::zeroed() }
8704     }
8705 }
8706 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8707 impl ::std::fmt::Debug for OLEUIGNRLPROPSA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8708     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8709         fmt.debug_struct("OLEUIGNRLPROPSA").field("cbStruct", &self.cbStruct).field("dwFlags", &self.dwFlags).field("dwReserved1", &self.dwReserved1).field("lCustData", &self.lCustData).field("dwReserved2", &self.dwReserved2).field("lpOP", &self.lpOP).finish()
8710     }
8711 }
8712 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8713 impl ::std::cmp::PartialEq for OLEUIGNRLPROPSA {
eq(&self, other: &Self) -> bool8714     fn eq(&self, other: &Self) -> bool {
8715         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP
8716     }
8717 }
8718 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8719 impl ::std::cmp::Eq for OLEUIGNRLPROPSA {}
8720 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8721 unsafe impl ::windows::runtime::Abi for OLEUIGNRLPROPSA {
8722     type Abi = ::std::mem::ManuallyDrop<Self>;
8723     type DefaultType = Self;
8724 }
8725 #[derive(:: std :: clone :: Clone)]
8726 #[repr(C)]
8727 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8728 pub struct OLEUIGNRLPROPSW {
8729     pub cbStruct: u32,
8730     pub dwFlags: u32,
8731     pub dwReserved1: [u32; 2],
8732     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8733     pub lCustData: super::super::Foundation::LPARAM,
8734     pub dwReserved2: [u32; 3],
8735     pub lpOP: *mut OLEUIOBJECTPROPSW,
8736 }
8737 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8738 impl OLEUIGNRLPROPSW {}
8739 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8740 impl ::std::default::Default for OLEUIGNRLPROPSW {
default() -> Self8741     fn default() -> Self {
8742         unsafe { ::std::mem::zeroed() }
8743     }
8744 }
8745 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8746 impl ::std::fmt::Debug for OLEUIGNRLPROPSW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8747     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8748         fmt.debug_struct("OLEUIGNRLPROPSW").field("cbStruct", &self.cbStruct).field("dwFlags", &self.dwFlags).field("dwReserved1", &self.dwReserved1).field("lCustData", &self.lCustData).field("dwReserved2", &self.dwReserved2).field("lpOP", &self.lpOP).finish()
8749     }
8750 }
8751 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8752 impl ::std::cmp::PartialEq for OLEUIGNRLPROPSW {
eq(&self, other: &Self) -> bool8753     fn eq(&self, other: &Self) -> bool {
8754         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP
8755     }
8756 }
8757 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8758 impl ::std::cmp::Eq for OLEUIGNRLPROPSW {}
8759 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8760 unsafe impl ::windows::runtime::Abi for OLEUIGNRLPROPSW {
8761     type Abi = ::std::mem::ManuallyDrop<Self>;
8762     type DefaultType = Self;
8763 }
8764 #[derive(:: std :: clone :: Clone)]
8765 #[repr(C)]
8766 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8767 pub struct OLEUIINSERTOBJECTA {
8768     pub cbStruct: u32,
8769     pub dwFlags: u32,
8770     pub hWndOwner: super::super::Foundation::HWND,
8771     pub lpszCaption: super::super::Foundation::PSTR,
8772     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8773     pub lCustData: super::super::Foundation::LPARAM,
8774     pub hInstance: super::super::Foundation::HINSTANCE,
8775     pub lpszTemplate: super::super::Foundation::PSTR,
8776     pub hResource: super::LibraryLoader::HRSRC,
8777     pub clsid: ::windows::runtime::GUID,
8778     pub lpszFile: super::super::Foundation::PSTR,
8779     pub cchFile: u32,
8780     pub cClsidExclude: u32,
8781     pub lpClsidExclude: *mut ::windows::runtime::GUID,
8782     pub iid: ::windows::runtime::GUID,
8783     pub oleRender: u32,
8784     pub lpFormatEtc: *mut super::Com::FORMATETC,
8785     pub lpIOleClientSite: ::std::option::Option<IOleClientSite>,
8786     pub lpIStorage: ::std::option::Option<super::Com::StructuredStorage::IStorage>,
8787     pub ppvObj: *mut *mut ::std::ffi::c_void,
8788     pub sc: i32,
8789     pub hMetaPict: isize,
8790 }
8791 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8792 impl OLEUIINSERTOBJECTA {}
8793 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8794 impl ::std::default::Default for OLEUIINSERTOBJECTA {
default() -> Self8795     fn default() -> Self {
8796         unsafe { ::std::mem::zeroed() }
8797     }
8798 }
8799 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8800 impl ::std::fmt::Debug for OLEUIINSERTOBJECTA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8801     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8802         fmt.debug_struct("OLEUIINSERTOBJECTA")
8803             .field("cbStruct", &self.cbStruct)
8804             .field("dwFlags", &self.dwFlags)
8805             .field("hWndOwner", &self.hWndOwner)
8806             .field("lpszCaption", &self.lpszCaption)
8807             .field("lCustData", &self.lCustData)
8808             .field("hInstance", &self.hInstance)
8809             .field("lpszTemplate", &self.lpszTemplate)
8810             .field("hResource", &self.hResource)
8811             .field("clsid", &self.clsid)
8812             .field("lpszFile", &self.lpszFile)
8813             .field("cchFile", &self.cchFile)
8814             .field("cClsidExclude", &self.cClsidExclude)
8815             .field("lpClsidExclude", &self.lpClsidExclude)
8816             .field("iid", &self.iid)
8817             .field("oleRender", &self.oleRender)
8818             .field("lpFormatEtc", &self.lpFormatEtc)
8819             .field("lpIOleClientSite", &self.lpIOleClientSite)
8820             .field("lpIStorage", &self.lpIStorage)
8821             .field("ppvObj", &self.ppvObj)
8822             .field("sc", &self.sc)
8823             .field("hMetaPict", &self.hMetaPict)
8824             .finish()
8825     }
8826 }
8827 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8828 impl ::std::cmp::PartialEq for OLEUIINSERTOBJECTA {
eq(&self, other: &Self) -> bool8829     fn eq(&self, other: &Self) -> bool {
8830         self.cbStruct == other.cbStruct
8831             && self.dwFlags == other.dwFlags
8832             && self.hWndOwner == other.hWndOwner
8833             && self.lpszCaption == other.lpszCaption
8834             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8835             && self.lCustData == other.lCustData
8836             && self.hInstance == other.hInstance
8837             && self.lpszTemplate == other.lpszTemplate
8838             && self.hResource == other.hResource
8839             && self.clsid == other.clsid
8840             && self.lpszFile == other.lpszFile
8841             && self.cchFile == other.cchFile
8842             && self.cClsidExclude == other.cClsidExclude
8843             && self.lpClsidExclude == other.lpClsidExclude
8844             && self.iid == other.iid
8845             && self.oleRender == other.oleRender
8846             && self.lpFormatEtc == other.lpFormatEtc
8847             && self.lpIOleClientSite == other.lpIOleClientSite
8848             && self.lpIStorage == other.lpIStorage
8849             && self.ppvObj == other.ppvObj
8850             && self.sc == other.sc
8851             && self.hMetaPict == other.hMetaPict
8852     }
8853 }
8854 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8855 impl ::std::cmp::Eq for OLEUIINSERTOBJECTA {}
8856 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8857 unsafe impl ::windows::runtime::Abi for OLEUIINSERTOBJECTA {
8858     type Abi = ::std::mem::ManuallyDrop<Self>;
8859     type DefaultType = Self;
8860 }
8861 #[derive(:: std :: clone :: Clone)]
8862 #[repr(C)]
8863 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8864 pub struct OLEUIINSERTOBJECTW {
8865     pub cbStruct: u32,
8866     pub dwFlags: u32,
8867     pub hWndOwner: super::super::Foundation::HWND,
8868     pub lpszCaption: super::super::Foundation::PWSTR,
8869     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8870     pub lCustData: super::super::Foundation::LPARAM,
8871     pub hInstance: super::super::Foundation::HINSTANCE,
8872     pub lpszTemplate: super::super::Foundation::PWSTR,
8873     pub hResource: super::LibraryLoader::HRSRC,
8874     pub clsid: ::windows::runtime::GUID,
8875     pub lpszFile: super::super::Foundation::PWSTR,
8876     pub cchFile: u32,
8877     pub cClsidExclude: u32,
8878     pub lpClsidExclude: *mut ::windows::runtime::GUID,
8879     pub iid: ::windows::runtime::GUID,
8880     pub oleRender: u32,
8881     pub lpFormatEtc: *mut super::Com::FORMATETC,
8882     pub lpIOleClientSite: ::std::option::Option<IOleClientSite>,
8883     pub lpIStorage: ::std::option::Option<super::Com::StructuredStorage::IStorage>,
8884     pub ppvObj: *mut *mut ::std::ffi::c_void,
8885     pub sc: i32,
8886     pub hMetaPict: isize,
8887 }
8888 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8889 impl OLEUIINSERTOBJECTW {}
8890 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8891 impl ::std::default::Default for OLEUIINSERTOBJECTW {
default() -> Self8892     fn default() -> Self {
8893         unsafe { ::std::mem::zeroed() }
8894     }
8895 }
8896 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8897 impl ::std::fmt::Debug for OLEUIINSERTOBJECTW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8898     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8899         fmt.debug_struct("OLEUIINSERTOBJECTW")
8900             .field("cbStruct", &self.cbStruct)
8901             .field("dwFlags", &self.dwFlags)
8902             .field("hWndOwner", &self.hWndOwner)
8903             .field("lpszCaption", &self.lpszCaption)
8904             .field("lCustData", &self.lCustData)
8905             .field("hInstance", &self.hInstance)
8906             .field("lpszTemplate", &self.lpszTemplate)
8907             .field("hResource", &self.hResource)
8908             .field("clsid", &self.clsid)
8909             .field("lpszFile", &self.lpszFile)
8910             .field("cchFile", &self.cchFile)
8911             .field("cClsidExclude", &self.cClsidExclude)
8912             .field("lpClsidExclude", &self.lpClsidExclude)
8913             .field("iid", &self.iid)
8914             .field("oleRender", &self.oleRender)
8915             .field("lpFormatEtc", &self.lpFormatEtc)
8916             .field("lpIOleClientSite", &self.lpIOleClientSite)
8917             .field("lpIStorage", &self.lpIStorage)
8918             .field("ppvObj", &self.ppvObj)
8919             .field("sc", &self.sc)
8920             .field("hMetaPict", &self.hMetaPict)
8921             .finish()
8922     }
8923 }
8924 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8925 impl ::std::cmp::PartialEq for OLEUIINSERTOBJECTW {
eq(&self, other: &Self) -> bool8926     fn eq(&self, other: &Self) -> bool {
8927         self.cbStruct == other.cbStruct
8928             && self.dwFlags == other.dwFlags
8929             && self.hWndOwner == other.hWndOwner
8930             && self.lpszCaption == other.lpszCaption
8931             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
8932             && self.lCustData == other.lCustData
8933             && self.hInstance == other.hInstance
8934             && self.lpszTemplate == other.lpszTemplate
8935             && self.hResource == other.hResource
8936             && self.clsid == other.clsid
8937             && self.lpszFile == other.lpszFile
8938             && self.cchFile == other.cchFile
8939             && self.cClsidExclude == other.cClsidExclude
8940             && self.lpClsidExclude == other.lpClsidExclude
8941             && self.iid == other.iid
8942             && self.oleRender == other.oleRender
8943             && self.lpFormatEtc == other.lpFormatEtc
8944             && self.lpIOleClientSite == other.lpIOleClientSite
8945             && self.lpIStorage == other.lpIStorage
8946             && self.ppvObj == other.ppvObj
8947             && self.sc == other.sc
8948             && self.hMetaPict == other.hMetaPict
8949     }
8950 }
8951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8952 impl ::std::cmp::Eq for OLEUIINSERTOBJECTW {}
8953 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
8954 unsafe impl ::windows::runtime::Abi for OLEUIINSERTOBJECTW {
8955     type Abi = ::std::mem::ManuallyDrop<Self>;
8956     type DefaultType = Self;
8957 }
8958 #[derive(:: std :: clone :: Clone)]
8959 #[repr(C)]
8960 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8961 pub struct OLEUILINKPROPSA {
8962     pub cbStruct: u32,
8963     pub dwFlags: u32,
8964     pub dwReserved1: [u32; 2],
8965     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
8966     pub lCustData: super::super::Foundation::LPARAM,
8967     pub dwReserved2: [u32; 3],
8968     pub lpOP: *mut OLEUIOBJECTPROPSA,
8969 }
8970 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8971 impl OLEUILINKPROPSA {}
8972 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8973 impl ::std::default::Default for OLEUILINKPROPSA {
default() -> Self8974     fn default() -> Self {
8975         unsafe { ::std::mem::zeroed() }
8976     }
8977 }
8978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8979 impl ::std::fmt::Debug for OLEUILINKPROPSA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result8980     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
8981         fmt.debug_struct("OLEUILINKPROPSA").field("cbStruct", &self.cbStruct).field("dwFlags", &self.dwFlags).field("dwReserved1", &self.dwReserved1).field("lCustData", &self.lCustData).field("dwReserved2", &self.dwReserved2).field("lpOP", &self.lpOP).finish()
8982     }
8983 }
8984 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8985 impl ::std::cmp::PartialEq for OLEUILINKPROPSA {
eq(&self, other: &Self) -> bool8986     fn eq(&self, other: &Self) -> bool {
8987         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP
8988     }
8989 }
8990 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8991 impl ::std::cmp::Eq for OLEUILINKPROPSA {}
8992 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
8993 unsafe impl ::windows::runtime::Abi for OLEUILINKPROPSA {
8994     type Abi = ::std::mem::ManuallyDrop<Self>;
8995     type DefaultType = Self;
8996 }
8997 #[derive(:: std :: clone :: Clone)]
8998 #[repr(C)]
8999 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9000 pub struct OLEUILINKPROPSW {
9001     pub cbStruct: u32,
9002     pub dwFlags: u32,
9003     pub dwReserved1: [u32; 2],
9004     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
9005     pub lCustData: super::super::Foundation::LPARAM,
9006     pub dwReserved2: [u32; 3],
9007     pub lpOP: *mut OLEUIOBJECTPROPSW,
9008 }
9009 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9010 impl OLEUILINKPROPSW {}
9011 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9012 impl ::std::default::Default for OLEUILINKPROPSW {
default() -> Self9013     fn default() -> Self {
9014         unsafe { ::std::mem::zeroed() }
9015     }
9016 }
9017 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9018 impl ::std::fmt::Debug for OLEUILINKPROPSW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9019     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9020         fmt.debug_struct("OLEUILINKPROPSW").field("cbStruct", &self.cbStruct).field("dwFlags", &self.dwFlags).field("dwReserved1", &self.dwReserved1).field("lCustData", &self.lCustData).field("dwReserved2", &self.dwReserved2).field("lpOP", &self.lpOP).finish()
9021     }
9022 }
9023 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9024 impl ::std::cmp::PartialEq for OLEUILINKPROPSW {
eq(&self, other: &Self) -> bool9025     fn eq(&self, other: &Self) -> bool {
9026         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP
9027     }
9028 }
9029 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9030 impl ::std::cmp::Eq for OLEUILINKPROPSW {}
9031 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9032 unsafe impl ::windows::runtime::Abi for OLEUILINKPROPSW {
9033     type Abi = ::std::mem::ManuallyDrop<Self>;
9034     type DefaultType = Self;
9035 }
9036 #[derive(:: std :: clone :: Clone)]
9037 #[repr(C)]
9038 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9039 pub struct OLEUIOBJECTPROPSA {
9040     pub cbStruct: u32,
9041     pub dwFlags: u32,
9042     pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERA_V2,
9043     pub dwObject: u32,
9044     pub lpObjInfo: ::std::option::Option<IOleUIObjInfoA>,
9045     pub dwLink: u32,
9046     pub lpLinkInfo: ::std::option::Option<IOleUILinkInfoA>,
9047     pub lpGP: *mut OLEUIGNRLPROPSA,
9048     pub lpVP: *mut OLEUIVIEWPROPSA,
9049     pub lpLP: *mut OLEUILINKPROPSA,
9050 }
9051 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9052 impl OLEUIOBJECTPROPSA {}
9053 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9054 impl ::std::default::Default for OLEUIOBJECTPROPSA {
default() -> Self9055     fn default() -> Self {
9056         unsafe { ::std::mem::zeroed() }
9057     }
9058 }
9059 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9060 impl ::std::fmt::Debug for OLEUIOBJECTPROPSA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9061     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9062         fmt.debug_struct("OLEUIOBJECTPROPSA")
9063             .field("cbStruct", &self.cbStruct)
9064             .field("dwFlags", &self.dwFlags)
9065             .field("lpPS", &self.lpPS)
9066             .field("dwObject", &self.dwObject)
9067             .field("lpObjInfo", &self.lpObjInfo)
9068             .field("dwLink", &self.dwLink)
9069             .field("lpLinkInfo", &self.lpLinkInfo)
9070             .field("lpGP", &self.lpGP)
9071             .field("lpVP", &self.lpVP)
9072             .field("lpLP", &self.lpLP)
9073             .finish()
9074     }
9075 }
9076 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9077 impl ::std::cmp::PartialEq for OLEUIOBJECTPROPSA {
eq(&self, other: &Self) -> bool9078     fn eq(&self, other: &Self) -> bool {
9079         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.lpPS == other.lpPS && self.dwObject == other.dwObject && self.lpObjInfo == other.lpObjInfo && self.dwLink == other.dwLink && self.lpLinkInfo == other.lpLinkInfo && self.lpGP == other.lpGP && self.lpVP == other.lpVP && self.lpLP == other.lpLP
9080     }
9081 }
9082 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9083 impl ::std::cmp::Eq for OLEUIOBJECTPROPSA {}
9084 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9085 unsafe impl ::windows::runtime::Abi for OLEUIOBJECTPROPSA {
9086     type Abi = ::std::mem::ManuallyDrop<Self>;
9087     type DefaultType = Self;
9088 }
9089 #[derive(:: std :: clone :: Clone)]
9090 #[repr(C)]
9091 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9092 pub struct OLEUIOBJECTPROPSW {
9093     pub cbStruct: u32,
9094     pub dwFlags: u32,
9095     pub lpPS: *mut super::super::UI::Controls::PROPSHEETHEADERW_V2,
9096     pub dwObject: u32,
9097     pub lpObjInfo: ::std::option::Option<IOleUIObjInfoW>,
9098     pub dwLink: u32,
9099     pub lpLinkInfo: ::std::option::Option<IOleUILinkInfoW>,
9100     pub lpGP: *mut OLEUIGNRLPROPSW,
9101     pub lpVP: *mut OLEUIVIEWPROPSW,
9102     pub lpLP: *mut OLEUILINKPROPSW,
9103 }
9104 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9105 impl OLEUIOBJECTPROPSW {}
9106 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9107 impl ::std::default::Default for OLEUIOBJECTPROPSW {
default() -> Self9108     fn default() -> Self {
9109         unsafe { ::std::mem::zeroed() }
9110     }
9111 }
9112 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9113 impl ::std::fmt::Debug for OLEUIOBJECTPROPSW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9114     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9115         fmt.debug_struct("OLEUIOBJECTPROPSW")
9116             .field("cbStruct", &self.cbStruct)
9117             .field("dwFlags", &self.dwFlags)
9118             .field("lpPS", &self.lpPS)
9119             .field("dwObject", &self.dwObject)
9120             .field("lpObjInfo", &self.lpObjInfo)
9121             .field("dwLink", &self.dwLink)
9122             .field("lpLinkInfo", &self.lpLinkInfo)
9123             .field("lpGP", &self.lpGP)
9124             .field("lpVP", &self.lpVP)
9125             .field("lpLP", &self.lpLP)
9126             .finish()
9127     }
9128 }
9129 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9130 impl ::std::cmp::PartialEq for OLEUIOBJECTPROPSW {
eq(&self, other: &Self) -> bool9131     fn eq(&self, other: &Self) -> bool {
9132         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.lpPS == other.lpPS && self.dwObject == other.dwObject && self.lpObjInfo == other.lpObjInfo && self.dwLink == other.dwLink && self.lpLinkInfo == other.lpLinkInfo && self.lpGP == other.lpGP && self.lpVP == other.lpVP && self.lpLP == other.lpLP
9133     }
9134 }
9135 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9136 impl ::std::cmp::Eq for OLEUIOBJECTPROPSW {}
9137 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9138 unsafe impl ::windows::runtime::Abi for OLEUIOBJECTPROPSW {
9139     type Abi = ::std::mem::ManuallyDrop<Self>;
9140     type DefaultType = Self;
9141 }
9142 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9143 #[repr(C)]
9144 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9145 pub struct OLEUIPASTEENTRYA {
9146     pub fmtetc: super::Com::FORMATETC,
9147     pub lpstrFormatName: super::super::Foundation::PSTR,
9148     pub lpstrResultText: super::super::Foundation::PSTR,
9149     pub dwFlags: u32,
9150     pub dwScratchSpace: u32,
9151 }
9152 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9153 impl OLEUIPASTEENTRYA {}
9154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9155 impl ::std::default::Default for OLEUIPASTEENTRYA {
default() -> Self9156     fn default() -> Self {
9157         unsafe { ::std::mem::zeroed() }
9158     }
9159 }
9160 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9161 impl ::std::fmt::Debug for OLEUIPASTEENTRYA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9162     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9163         fmt.debug_struct("OLEUIPASTEENTRYA").field("fmtetc", &self.fmtetc).field("lpstrFormatName", &self.lpstrFormatName).field("lpstrResultText", &self.lpstrResultText).field("dwFlags", &self.dwFlags).field("dwScratchSpace", &self.dwScratchSpace).finish()
9164     }
9165 }
9166 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9167 impl ::std::cmp::PartialEq for OLEUIPASTEENTRYA {
eq(&self, other: &Self) -> bool9168     fn eq(&self, other: &Self) -> bool {
9169         self.fmtetc == other.fmtetc && self.lpstrFormatName == other.lpstrFormatName && self.lpstrResultText == other.lpstrResultText && self.dwFlags == other.dwFlags && self.dwScratchSpace == other.dwScratchSpace
9170     }
9171 }
9172 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9173 impl ::std::cmp::Eq for OLEUIPASTEENTRYA {}
9174 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9175 unsafe impl ::windows::runtime::Abi for OLEUIPASTEENTRYA {
9176     type Abi = Self;
9177     type DefaultType = Self;
9178 }
9179 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9180 #[repr(C)]
9181 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9182 pub struct OLEUIPASTEENTRYW {
9183     pub fmtetc: super::Com::FORMATETC,
9184     pub lpstrFormatName: super::super::Foundation::PWSTR,
9185     pub lpstrResultText: super::super::Foundation::PWSTR,
9186     pub dwFlags: u32,
9187     pub dwScratchSpace: u32,
9188 }
9189 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9190 impl OLEUIPASTEENTRYW {}
9191 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9192 impl ::std::default::Default for OLEUIPASTEENTRYW {
default() -> Self9193     fn default() -> Self {
9194         unsafe { ::std::mem::zeroed() }
9195     }
9196 }
9197 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9198 impl ::std::fmt::Debug for OLEUIPASTEENTRYW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9199     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9200         fmt.debug_struct("OLEUIPASTEENTRYW").field("fmtetc", &self.fmtetc).field("lpstrFormatName", &self.lpstrFormatName).field("lpstrResultText", &self.lpstrResultText).field("dwFlags", &self.dwFlags).field("dwScratchSpace", &self.dwScratchSpace).finish()
9201     }
9202 }
9203 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9204 impl ::std::cmp::PartialEq for OLEUIPASTEENTRYW {
eq(&self, other: &Self) -> bool9205     fn eq(&self, other: &Self) -> bool {
9206         self.fmtetc == other.fmtetc && self.lpstrFormatName == other.lpstrFormatName && self.lpstrResultText == other.lpstrResultText && self.dwFlags == other.dwFlags && self.dwScratchSpace == other.dwScratchSpace
9207     }
9208 }
9209 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9210 impl ::std::cmp::Eq for OLEUIPASTEENTRYW {}
9211 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9212 unsafe impl ::windows::runtime::Abi for OLEUIPASTEENTRYW {
9213     type Abi = Self;
9214     type DefaultType = Self;
9215 }
9216 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9217 #[repr(transparent)]
9218 pub struct OLEUIPASTEFLAG(pub i32);
9219 pub const OLEUIPASTE_ENABLEICON: OLEUIPASTEFLAG = OLEUIPASTEFLAG(2048i32);
9220 pub const OLEUIPASTE_PASTEONLY: OLEUIPASTEFLAG = OLEUIPASTEFLAG(0i32);
9221 pub const OLEUIPASTE_PASTE: OLEUIPASTEFLAG = OLEUIPASTEFLAG(512i32);
9222 pub const OLEUIPASTE_LINKANYTYPE: OLEUIPASTEFLAG = OLEUIPASTEFLAG(1024i32);
9223 pub const OLEUIPASTE_LINKTYPE1: OLEUIPASTEFLAG = OLEUIPASTEFLAG(1i32);
9224 pub const OLEUIPASTE_LINKTYPE2: OLEUIPASTEFLAG = OLEUIPASTEFLAG(2i32);
9225 pub const OLEUIPASTE_LINKTYPE3: OLEUIPASTEFLAG = OLEUIPASTEFLAG(4i32);
9226 pub const OLEUIPASTE_LINKTYPE4: OLEUIPASTEFLAG = OLEUIPASTEFLAG(8i32);
9227 pub const OLEUIPASTE_LINKTYPE5: OLEUIPASTEFLAG = OLEUIPASTEFLAG(16i32);
9228 pub const OLEUIPASTE_LINKTYPE6: OLEUIPASTEFLAG = OLEUIPASTEFLAG(32i32);
9229 pub const OLEUIPASTE_LINKTYPE7: OLEUIPASTEFLAG = OLEUIPASTEFLAG(64i32);
9230 pub const OLEUIPASTE_LINKTYPE8: OLEUIPASTEFLAG = OLEUIPASTEFLAG(128i32);
9231 impl ::std::convert::From<i32> for OLEUIPASTEFLAG {
from(value: i32) -> Self9232     fn from(value: i32) -> Self {
9233         Self(value)
9234     }
9235 }
9236 unsafe impl ::windows::runtime::Abi for OLEUIPASTEFLAG {
9237     type Abi = Self;
9238     type DefaultType = Self;
9239 }
9240 #[derive(:: std :: clone :: Clone)]
9241 #[repr(C)]
9242 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9243 pub struct OLEUIPASTESPECIALA {
9244     pub cbStruct: u32,
9245     pub dwFlags: u32,
9246     pub hWndOwner: super::super::Foundation::HWND,
9247     pub lpszCaption: super::super::Foundation::PSTR,
9248     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
9249     pub lCustData: super::super::Foundation::LPARAM,
9250     pub hInstance: super::super::Foundation::HINSTANCE,
9251     pub lpszTemplate: super::super::Foundation::PSTR,
9252     pub hResource: super::LibraryLoader::HRSRC,
9253     pub lpSrcDataObj: ::std::option::Option<super::Com::IDataObject>,
9254     pub arrPasteEntries: *mut OLEUIPASTEENTRYA,
9255     pub cPasteEntries: i32,
9256     pub arrLinkTypes: *mut u32,
9257     pub cLinkTypes: i32,
9258     pub cClsidExclude: u32,
9259     pub lpClsidExclude: *mut ::windows::runtime::GUID,
9260     pub nSelectedIndex: i32,
9261     pub fLink: super::super::Foundation::BOOL,
9262     pub hMetaPict: isize,
9263     pub sizel: super::super::Foundation::SIZE,
9264 }
9265 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9266 impl OLEUIPASTESPECIALA {}
9267 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9268 impl ::std::default::Default for OLEUIPASTESPECIALA {
default() -> Self9269     fn default() -> Self {
9270         unsafe { ::std::mem::zeroed() }
9271     }
9272 }
9273 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9274 impl ::std::fmt::Debug for OLEUIPASTESPECIALA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9275     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9276         fmt.debug_struct("OLEUIPASTESPECIALA")
9277             .field("cbStruct", &self.cbStruct)
9278             .field("dwFlags", &self.dwFlags)
9279             .field("hWndOwner", &self.hWndOwner)
9280             .field("lpszCaption", &self.lpszCaption)
9281             .field("lCustData", &self.lCustData)
9282             .field("hInstance", &self.hInstance)
9283             .field("lpszTemplate", &self.lpszTemplate)
9284             .field("hResource", &self.hResource)
9285             .field("lpSrcDataObj", &self.lpSrcDataObj)
9286             .field("arrPasteEntries", &self.arrPasteEntries)
9287             .field("cPasteEntries", &self.cPasteEntries)
9288             .field("arrLinkTypes", &self.arrLinkTypes)
9289             .field("cLinkTypes", &self.cLinkTypes)
9290             .field("cClsidExclude", &self.cClsidExclude)
9291             .field("lpClsidExclude", &self.lpClsidExclude)
9292             .field("nSelectedIndex", &self.nSelectedIndex)
9293             .field("fLink", &self.fLink)
9294             .field("hMetaPict", &self.hMetaPict)
9295             .field("sizel", &self.sizel)
9296             .finish()
9297     }
9298 }
9299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9300 impl ::std::cmp::PartialEq for OLEUIPASTESPECIALA {
eq(&self, other: &Self) -> bool9301     fn eq(&self, other: &Self) -> bool {
9302         self.cbStruct == other.cbStruct
9303             && self.dwFlags == other.dwFlags
9304             && self.hWndOwner == other.hWndOwner
9305             && self.lpszCaption == other.lpszCaption
9306             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
9307             && self.lCustData == other.lCustData
9308             && self.hInstance == other.hInstance
9309             && self.lpszTemplate == other.lpszTemplate
9310             && self.hResource == other.hResource
9311             && self.lpSrcDataObj == other.lpSrcDataObj
9312             && self.arrPasteEntries == other.arrPasteEntries
9313             && self.cPasteEntries == other.cPasteEntries
9314             && self.arrLinkTypes == other.arrLinkTypes
9315             && self.cLinkTypes == other.cLinkTypes
9316             && self.cClsidExclude == other.cClsidExclude
9317             && self.lpClsidExclude == other.lpClsidExclude
9318             && self.nSelectedIndex == other.nSelectedIndex
9319             && self.fLink == other.fLink
9320             && self.hMetaPict == other.hMetaPict
9321             && self.sizel == other.sizel
9322     }
9323 }
9324 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9325 impl ::std::cmp::Eq for OLEUIPASTESPECIALA {}
9326 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9327 unsafe impl ::windows::runtime::Abi for OLEUIPASTESPECIALA {
9328     type Abi = ::std::mem::ManuallyDrop<Self>;
9329     type DefaultType = Self;
9330 }
9331 #[derive(:: std :: clone :: Clone)]
9332 #[repr(C)]
9333 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9334 pub struct OLEUIPASTESPECIALW {
9335     pub cbStruct: u32,
9336     pub dwFlags: u32,
9337     pub hWndOwner: super::super::Foundation::HWND,
9338     pub lpszCaption: super::super::Foundation::PWSTR,
9339     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
9340     pub lCustData: super::super::Foundation::LPARAM,
9341     pub hInstance: super::super::Foundation::HINSTANCE,
9342     pub lpszTemplate: super::super::Foundation::PWSTR,
9343     pub hResource: super::LibraryLoader::HRSRC,
9344     pub lpSrcDataObj: ::std::option::Option<super::Com::IDataObject>,
9345     pub arrPasteEntries: *mut OLEUIPASTEENTRYW,
9346     pub cPasteEntries: i32,
9347     pub arrLinkTypes: *mut u32,
9348     pub cLinkTypes: i32,
9349     pub cClsidExclude: u32,
9350     pub lpClsidExclude: *mut ::windows::runtime::GUID,
9351     pub nSelectedIndex: i32,
9352     pub fLink: super::super::Foundation::BOOL,
9353     pub hMetaPict: isize,
9354     pub sizel: super::super::Foundation::SIZE,
9355 }
9356 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9357 impl OLEUIPASTESPECIALW {}
9358 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9359 impl ::std::default::Default for OLEUIPASTESPECIALW {
default() -> Self9360     fn default() -> Self {
9361         unsafe { ::std::mem::zeroed() }
9362     }
9363 }
9364 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9365 impl ::std::fmt::Debug for OLEUIPASTESPECIALW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9366     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9367         fmt.debug_struct("OLEUIPASTESPECIALW")
9368             .field("cbStruct", &self.cbStruct)
9369             .field("dwFlags", &self.dwFlags)
9370             .field("hWndOwner", &self.hWndOwner)
9371             .field("lpszCaption", &self.lpszCaption)
9372             .field("lCustData", &self.lCustData)
9373             .field("hInstance", &self.hInstance)
9374             .field("lpszTemplate", &self.lpszTemplate)
9375             .field("hResource", &self.hResource)
9376             .field("lpSrcDataObj", &self.lpSrcDataObj)
9377             .field("arrPasteEntries", &self.arrPasteEntries)
9378             .field("cPasteEntries", &self.cPasteEntries)
9379             .field("arrLinkTypes", &self.arrLinkTypes)
9380             .field("cLinkTypes", &self.cLinkTypes)
9381             .field("cClsidExclude", &self.cClsidExclude)
9382             .field("lpClsidExclude", &self.lpClsidExclude)
9383             .field("nSelectedIndex", &self.nSelectedIndex)
9384             .field("fLink", &self.fLink)
9385             .field("hMetaPict", &self.hMetaPict)
9386             .field("sizel", &self.sizel)
9387             .finish()
9388     }
9389 }
9390 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9391 impl ::std::cmp::PartialEq for OLEUIPASTESPECIALW {
eq(&self, other: &Self) -> bool9392     fn eq(&self, other: &Self) -> bool {
9393         self.cbStruct == other.cbStruct
9394             && self.dwFlags == other.dwFlags
9395             && self.hWndOwner == other.hWndOwner
9396             && self.lpszCaption == other.lpszCaption
9397             && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize)
9398             && self.lCustData == other.lCustData
9399             && self.hInstance == other.hInstance
9400             && self.lpszTemplate == other.lpszTemplate
9401             && self.hResource == other.hResource
9402             && self.lpSrcDataObj == other.lpSrcDataObj
9403             && self.arrPasteEntries == other.arrPasteEntries
9404             && self.cPasteEntries == other.cPasteEntries
9405             && self.arrLinkTypes == other.arrLinkTypes
9406             && self.cLinkTypes == other.cLinkTypes
9407             && self.cClsidExclude == other.cClsidExclude
9408             && self.lpClsidExclude == other.lpClsidExclude
9409             && self.nSelectedIndex == other.nSelectedIndex
9410             && self.fLink == other.fLink
9411             && self.hMetaPict == other.hMetaPict
9412             && self.sizel == other.sizel
9413     }
9414 }
9415 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9416 impl ::std::cmp::Eq for OLEUIPASTESPECIALW {}
9417 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
9418 unsafe impl ::windows::runtime::Abi for OLEUIPASTESPECIALW {
9419     type Abi = ::std::mem::ManuallyDrop<Self>;
9420     type DefaultType = Self;
9421 }
9422 #[derive(:: std :: clone :: Clone)]
9423 #[repr(C)]
9424 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9425 pub struct OLEUIVIEWPROPSA {
9426     pub cbStruct: u32,
9427     pub dwFlags: u32,
9428     pub dwReserved1: [u32; 2],
9429     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
9430     pub lCustData: super::super::Foundation::LPARAM,
9431     pub dwReserved2: [u32; 3],
9432     pub lpOP: *mut OLEUIOBJECTPROPSA,
9433     pub nScaleMin: i32,
9434     pub nScaleMax: i32,
9435 }
9436 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9437 impl OLEUIVIEWPROPSA {}
9438 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9439 impl ::std::default::Default for OLEUIVIEWPROPSA {
default() -> Self9440     fn default() -> Self {
9441         unsafe { ::std::mem::zeroed() }
9442     }
9443 }
9444 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9445 impl ::std::fmt::Debug for OLEUIVIEWPROPSA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9446     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9447         fmt.debug_struct("OLEUIVIEWPROPSA")
9448             .field("cbStruct", &self.cbStruct)
9449             .field("dwFlags", &self.dwFlags)
9450             .field("dwReserved1", &self.dwReserved1)
9451             .field("lCustData", &self.lCustData)
9452             .field("dwReserved2", &self.dwReserved2)
9453             .field("lpOP", &self.lpOP)
9454             .field("nScaleMin", &self.nScaleMin)
9455             .field("nScaleMax", &self.nScaleMax)
9456             .finish()
9457     }
9458 }
9459 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9460 impl ::std::cmp::PartialEq for OLEUIVIEWPROPSA {
eq(&self, other: &Self) -> bool9461     fn eq(&self, other: &Self) -> bool {
9462         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP && self.nScaleMin == other.nScaleMin && self.nScaleMax == other.nScaleMax
9463     }
9464 }
9465 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9466 impl ::std::cmp::Eq for OLEUIVIEWPROPSA {}
9467 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9468 unsafe impl ::windows::runtime::Abi for OLEUIVIEWPROPSA {
9469     type Abi = ::std::mem::ManuallyDrop<Self>;
9470     type DefaultType = Self;
9471 }
9472 #[derive(:: std :: clone :: Clone)]
9473 #[repr(C)]
9474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9475 pub struct OLEUIVIEWPROPSW {
9476     pub cbStruct: u32,
9477     pub dwFlags: u32,
9478     pub dwReserved1: [u32; 2],
9479     pub lpfnHook: ::std::option::Option<LPFNOLEUIHOOK>,
9480     pub lCustData: super::super::Foundation::LPARAM,
9481     pub dwReserved2: [u32; 3],
9482     pub lpOP: *mut OLEUIOBJECTPROPSW,
9483     pub nScaleMin: i32,
9484     pub nScaleMax: i32,
9485 }
9486 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9487 impl OLEUIVIEWPROPSW {}
9488 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9489 impl ::std::default::Default for OLEUIVIEWPROPSW {
default() -> Self9490     fn default() -> Self {
9491         unsafe { ::std::mem::zeroed() }
9492     }
9493 }
9494 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9495 impl ::std::fmt::Debug for OLEUIVIEWPROPSW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9496     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9497         fmt.debug_struct("OLEUIVIEWPROPSW")
9498             .field("cbStruct", &self.cbStruct)
9499             .field("dwFlags", &self.dwFlags)
9500             .field("dwReserved1", &self.dwReserved1)
9501             .field("lCustData", &self.lCustData)
9502             .field("dwReserved2", &self.dwReserved2)
9503             .field("lpOP", &self.lpOP)
9504             .field("nScaleMin", &self.nScaleMin)
9505             .field("nScaleMax", &self.nScaleMax)
9506             .finish()
9507     }
9508 }
9509 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9510 impl ::std::cmp::PartialEq for OLEUIVIEWPROPSW {
eq(&self, other: &Self) -> bool9511     fn eq(&self, other: &Self) -> bool {
9512         self.cbStruct == other.cbStruct && self.dwFlags == other.dwFlags && self.dwReserved1 == other.dwReserved1 && self.lpfnHook.map(|f| f as usize) == other.lpfnHook.map(|f| f as usize) && self.lCustData == other.lCustData && self.dwReserved2 == other.dwReserved2 && self.lpOP == other.lpOP && self.nScaleMin == other.nScaleMin && self.nScaleMax == other.nScaleMax
9513     }
9514 }
9515 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9516 impl ::std::cmp::Eq for OLEUIVIEWPROPSW {}
9517 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
9518 unsafe impl ::windows::runtime::Abi for OLEUIVIEWPROPSW {
9519     type Abi = ::std::mem::ManuallyDrop<Self>;
9520     type DefaultType = Self;
9521 }
9522 pub const OLEUI_BZERR_HTASKINVALID: u32 = 116u32;
9523 pub const OLEUI_BZ_CALLUNBLOCKED: u32 = 119u32;
9524 pub const OLEUI_BZ_RETRYSELECTED: u32 = 118u32;
9525 pub const OLEUI_BZ_SWITCHTOSELECTED: u32 = 117u32;
9526 pub const OLEUI_CANCEL: u32 = 2u32;
9527 pub const OLEUI_CIERR_MUSTHAVECLSID: u32 = 116u32;
9528 pub const OLEUI_CIERR_MUSTHAVECURRENTMETAFILE: u32 = 117u32;
9529 pub const OLEUI_CIERR_SZICONEXEINVALID: u32 = 118u32;
9530 pub const OLEUI_CSERR_FROMNOTNULL: u32 = 118u32;
9531 pub const OLEUI_CSERR_LINKCNTRINVALID: u32 = 117u32;
9532 pub const OLEUI_CSERR_LINKCNTRNULL: u32 = 116u32;
9533 pub const OLEUI_CSERR_SOURCEINVALID: u32 = 121u32;
9534 pub const OLEUI_CSERR_SOURCENULL: u32 = 120u32;
9535 pub const OLEUI_CSERR_SOURCEPARSEERROR: u32 = 122u32;
9536 pub const OLEUI_CSERR_SOURCEPARSERROR: u32 = 122u32;
9537 pub const OLEUI_CSERR_TONOTNULL: u32 = 119u32;
9538 pub const OLEUI_CTERR_CBFORMATINVALID: u32 = 119u32;
9539 pub const OLEUI_CTERR_CLASSIDINVALID: u32 = 117u32;
9540 pub const OLEUI_CTERR_DVASPECTINVALID: u32 = 118u32;
9541 pub const OLEUI_CTERR_HMETAPICTINVALID: u32 = 120u32;
9542 pub const OLEUI_CTERR_STRINGINVALID: u32 = 121u32;
9543 pub const OLEUI_ELERR_LINKCNTRINVALID: u32 = 117u32;
9544 pub const OLEUI_ELERR_LINKCNTRNULL: u32 = 116u32;
9545 pub const OLEUI_ERR_CBSTRUCTINCORRECT: u32 = 103u32;
9546 pub const OLEUI_ERR_DIALOGFAILURE: u32 = 112u32;
9547 pub const OLEUI_ERR_FINDTEMPLATEFAILURE: u32 = 110u32;
9548 pub const OLEUI_ERR_GLOBALMEMALLOC: u32 = 114u32;
9549 pub const OLEUI_ERR_HINSTANCEINVALID: u32 = 107u32;
9550 pub const OLEUI_ERR_HRESOURCEINVALID: u32 = 109u32;
9551 pub const OLEUI_ERR_HWNDOWNERINVALID: u32 = 104u32;
9552 pub const OLEUI_ERR_LOADSTRING: u32 = 115u32;
9553 pub const OLEUI_ERR_LOADTEMPLATEFAILURE: u32 = 111u32;
9554 pub const OLEUI_ERR_LOCALMEMALLOC: u32 = 113u32;
9555 pub const OLEUI_ERR_LPFNHOOKINVALID: u32 = 106u32;
9556 pub const OLEUI_ERR_LPSZCAPTIONINVALID: u32 = 105u32;
9557 pub const OLEUI_ERR_LPSZTEMPLATEINVALID: u32 = 108u32;
9558 pub const OLEUI_ERR_OLEMEMALLOC: u32 = 100u32;
9559 pub const OLEUI_ERR_STANDARDMAX: u32 = 116u32;
9560 pub const OLEUI_ERR_STANDARDMIN: u32 = 100u32;
9561 pub const OLEUI_ERR_STRUCTUREINVALID: u32 = 102u32;
9562 pub const OLEUI_ERR_STRUCTURENULL: u32 = 101u32;
9563 pub const OLEUI_FALSE: u32 = 0u32;
9564 pub const OLEUI_GPERR_CBFORMATINVALID: u32 = 130u32;
9565 pub const OLEUI_GPERR_CLASSIDINVALID: u32 = 128u32;
9566 pub const OLEUI_GPERR_LPCLSIDEXCLUDEINVALID: u32 = 129u32;
9567 pub const OLEUI_GPERR_STRINGINVALID: u32 = 127u32;
9568 pub const OLEUI_IOERR_ARRLINKTYPESINVALID: u32 = 118u32;
9569 pub const OLEUI_IOERR_ARRPASTEENTRIESINVALID: u32 = 117u32;
9570 pub const OLEUI_IOERR_CCHFILEINVALID: u32 = 125u32;
9571 pub const OLEUI_IOERR_HICONINVALID: u32 = 118u32;
9572 pub const OLEUI_IOERR_LPCLSIDEXCLUDEINVALID: u32 = 124u32;
9573 pub const OLEUI_IOERR_LPFORMATETCINVALID: u32 = 119u32;
9574 pub const OLEUI_IOERR_LPIOLECLIENTSITEINVALID: u32 = 121u32;
9575 pub const OLEUI_IOERR_LPISTORAGEINVALID: u32 = 122u32;
9576 pub const OLEUI_IOERR_LPSZFILEINVALID: u32 = 116u32;
9577 pub const OLEUI_IOERR_LPSZLABELINVALID: u32 = 117u32;
9578 pub const OLEUI_IOERR_PPVOBJINVALID: u32 = 120u32;
9579 pub const OLEUI_IOERR_SCODEHASERROR: u32 = 123u32;
9580 pub const OLEUI_IOERR_SRCDATAOBJECTINVALID: u32 = 116u32;
9581 pub const OLEUI_LPERR_LINKCNTRINVALID: u32 = 134u32;
9582 pub const OLEUI_LPERR_LINKCNTRNULL: u32 = 133u32;
9583 pub const OLEUI_OK: u32 = 1u32;
9584 pub const OLEUI_OPERR_DLGPROCNOTNULL: u32 = 125u32;
9585 pub const OLEUI_OPERR_INVALIDPAGES: u32 = 123u32;
9586 pub const OLEUI_OPERR_LINKINFOINVALID: u32 = 137u32;
9587 pub const OLEUI_OPERR_LPARAMNOTZERO: u32 = 126u32;
9588 pub const OLEUI_OPERR_NOTSUPPORTED: u32 = 124u32;
9589 pub const OLEUI_OPERR_OBJINFOINVALID: u32 = 136u32;
9590 pub const OLEUI_OPERR_PAGESINCORRECT: u32 = 122u32;
9591 pub const OLEUI_OPERR_PROPERTYSHEET: u32 = 135u32;
9592 pub const OLEUI_OPERR_PROPSHEETINVALID: u32 = 119u32;
9593 pub const OLEUI_OPERR_PROPSHEETNULL: u32 = 118u32;
9594 pub const OLEUI_OPERR_PROPSINVALID: u32 = 121u32;
9595 pub const OLEUI_OPERR_SUBPROPINVALID: u32 = 117u32;
9596 pub const OLEUI_OPERR_SUBPROPNULL: u32 = 116u32;
9597 pub const OLEUI_OPERR_SUPPROP: u32 = 120u32;
9598 pub const OLEUI_PSERR_CLIPBOARDCHANGED: u32 = 119u32;
9599 pub const OLEUI_PSERR_GETCLIPBOARDFAILED: u32 = 120u32;
9600 pub const OLEUI_QUERY_GETCLASSID: u32 = 65280u32;
9601 pub const OLEUI_QUERY_LINKBROKEN: u32 = 65281u32;
9602 pub const OLEUI_SUCCESS: u32 = 1u32;
9603 pub const OLEUI_VPERR_DVASPECTINVALID: u32 = 132u32;
9604 pub const OLEUI_VPERR_METAPICTINVALID: u32 = 131u32;
9605 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9606 #[repr(transparent)]
9607 pub struct OLEUPDATE(pub i32);
9608 pub const OLEUPDATE_ALWAYS: OLEUPDATE = OLEUPDATE(1i32);
9609 pub const OLEUPDATE_ONCALL: OLEUPDATE = OLEUPDATE(3i32);
9610 impl ::std::convert::From<i32> for OLEUPDATE {
from(value: i32) -> Self9611     fn from(value: i32) -> Self {
9612         Self(value)
9613     }
9614 }
9615 unsafe impl ::windows::runtime::Abi for OLEUPDATE {
9616     type Abi = Self;
9617     type DefaultType = Self;
9618 }
9619 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
9620 #[repr(C)]
9621 #[cfg(feature = "Win32_Foundation")]
9622 pub struct OLEVERB {
9623     pub lVerb: i32,
9624     pub lpszVerbName: super::super::Foundation::PWSTR,
9625     pub fuFlags: u32,
9626     pub grfAttribs: u32,
9627 }
9628 #[cfg(feature = "Win32_Foundation")]
9629 impl OLEVERB {}
9630 #[cfg(feature = "Win32_Foundation")]
9631 impl ::std::default::Default for OLEVERB {
default() -> Self9632     fn default() -> Self {
9633         unsafe { ::std::mem::zeroed() }
9634     }
9635 }
9636 #[cfg(feature = "Win32_Foundation")]
9637 impl ::std::fmt::Debug for OLEVERB {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result9638     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
9639         fmt.debug_struct("OLEVERB").field("lVerb", &self.lVerb).field("lpszVerbName", &self.lpszVerbName).field("fuFlags", &self.fuFlags).field("grfAttribs", &self.grfAttribs).finish()
9640     }
9641 }
9642 #[cfg(feature = "Win32_Foundation")]
9643 impl ::std::cmp::PartialEq for OLEVERB {
eq(&self, other: &Self) -> bool9644     fn eq(&self, other: &Self) -> bool {
9645         self.lVerb == other.lVerb && self.lpszVerbName == other.lpszVerbName && self.fuFlags == other.fuFlags && self.grfAttribs == other.grfAttribs
9646     }
9647 }
9648 #[cfg(feature = "Win32_Foundation")]
9649 impl ::std::cmp::Eq for OLEVERB {}
9650 #[cfg(feature = "Win32_Foundation")]
9651 unsafe impl ::windows::runtime::Abi for OLEVERB {
9652     type Abi = Self;
9653     type DefaultType = Self;
9654 }
9655 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9656 #[repr(transparent)]
9657 pub struct OLEVERBATTRIB(pub i32);
9658 pub const OLEVERBATTRIB_NEVERDIRTIES: OLEVERBATTRIB = OLEVERBATTRIB(1i32);
9659 pub const OLEVERBATTRIB_ONCONTAINERMENU: OLEVERBATTRIB = OLEVERBATTRIB(2i32);
9660 impl ::std::convert::From<i32> for OLEVERBATTRIB {
from(value: i32) -> Self9661     fn from(value: i32) -> Self {
9662         Self(value)
9663     }
9664 }
9665 unsafe impl ::windows::runtime::Abi for OLEVERBATTRIB {
9666     type Abi = Self;
9667     type DefaultType = Self;
9668 }
9669 pub const OLEVERB_PRIMARY: u32 = 0u32;
9670 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9671 #[repr(transparent)]
9672 pub struct OLEWHICHMK(pub i32);
9673 pub const OLEWHICHMK_CONTAINER: OLEWHICHMK = OLEWHICHMK(1i32);
9674 pub const OLEWHICHMK_OBJREL: OLEWHICHMK = OLEWHICHMK(2i32);
9675 pub const OLEWHICHMK_OBJFULL: OLEWHICHMK = OLEWHICHMK(3i32);
9676 impl ::std::convert::From<i32> for OLEWHICHMK {
from(value: i32) -> Self9677     fn from(value: i32) -> Self {
9678         Self(value)
9679     }
9680 }
9681 unsafe impl ::windows::runtime::Abi for OLEWHICHMK {
9682     type Abi = Self;
9683     type DefaultType = Self;
9684 }
9685 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
9686 #[repr(transparent)]
9687 pub struct OLE_TRISTATE(pub i32);
9688 pub const triUnchecked: OLE_TRISTATE = OLE_TRISTATE(0i32);
9689 pub const triChecked: OLE_TRISTATE = OLE_TRISTATE(1i32);
9690 pub const triGray: OLE_TRISTATE = OLE_TRISTATE(2i32);
9691 impl ::std::convert::From<i32> for OLE_TRISTATE {
from(value: i32) -> Self9692     fn from(value: i32) -> Self {
9693         Self(value)
9694     }
9695 }
9696 unsafe impl ::windows::runtime::Abi for OLE_TRISTATE {
9697     type Abi = Self;
9698     type DefaultType = Self;
9699 }
9700 pub const OPF_DISABLECONVERT: i32 = 8i32;
9701 pub const OPF_NOFILLDEFAULT: i32 = 2i32;
9702 pub const OPF_OBJECTISLINK: i32 = 1i32;
9703 pub const OPF_SHOWHELP: i32 = 4i32;
9704 pub const OT_EMBEDDED: i32 = 2i32;
9705 pub const OT_LINK: i32 = 1i32;
9706 pub const OT_STATIC: i32 = 3i32;
9707 #[inline]
OleBuildVersion() -> u329708 pub unsafe fn OleBuildVersion() -> u32 {
9709     #[cfg(windows)]
9710     {
9711         #[link(name = "windows")]
9712         extern "system" {
9713             fn OleBuildVersion() -> u32;
9714         }
9715         ::std::mem::transmute(OleBuildVersion())
9716     }
9717     #[cfg(not(windows))]
9718     unimplemented!("Unsupported target OS");
9719 }
9720 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9721 #[inline]
OleCreate<'a, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9722 pub unsafe fn OleCreate<'a, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(rclsid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9723     #[cfg(windows)]
9724     {
9725         #[link(name = "windows")]
9726         extern "system" {
9727             fn OleCreate(rclsid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9728         }
9729         OleCreate(::std::mem::transmute(rclsid), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(pformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
9730     }
9731     #[cfg(not(windows))]
9732     unimplemented!("Unsupported target OS");
9733 }
9734 #[inline]
OleCreateDefaultHandler<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(clsid: *const ::windows::runtime::GUID, punkouter: Param1, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9735 pub unsafe fn OleCreateDefaultHandler<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(clsid: *const ::windows::runtime::GUID, punkouter: Param1, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9736     #[cfg(windows)]
9737     {
9738         #[link(name = "windows")]
9739         extern "system" {
9740             fn OleCreateDefaultHandler(clsid: *const ::windows::runtime::GUID, punkouter: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9741         }
9742         OleCreateDefaultHandler(::std::mem::transmute(clsid), punkouter.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(lplpobj)).ok()
9743     }
9744     #[cfg(not(windows))]
9745     unimplemented!("Unsupported target OS");
9746 }
9747 #[cfg(feature = "Win32_System_Com")]
9748 #[inline]
OleCreateEmbeddingHelper<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::Com::IClassFactory>>(clsid: *const ::windows::runtime::GUID, punkouter: Param1, flags: u32, pcf: Param3, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9749 pub unsafe fn OleCreateEmbeddingHelper<'a, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param3: ::windows::runtime::IntoParam<'a, super::Com::IClassFactory>>(clsid: *const ::windows::runtime::GUID, punkouter: Param1, flags: u32, pcf: Param3, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9750     #[cfg(windows)]
9751     {
9752         #[link(name = "windows")]
9753         extern "system" {
9754             fn OleCreateEmbeddingHelper(clsid: *const ::windows::runtime::GUID, punkouter: ::windows::runtime::RawPtr, flags: u32, pcf: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, lplpobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9755         }
9756         OleCreateEmbeddingHelper(::std::mem::transmute(clsid), punkouter.into_param().abi(), ::std::mem::transmute(flags), pcf.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(lplpobj)).ok()
9757     }
9758     #[cfg(not(windows))]
9759     unimplemented!("Unsupported target OS");
9760 }
9761 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9762 #[inline]
OleCreateEx<'a, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( rclsid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>9763 pub unsafe fn OleCreateEx<'a, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
9764     rclsid: *const ::windows::runtime::GUID,
9765     riid: *const ::windows::runtime::GUID,
9766     dwflags: u32,
9767     renderopt: u32,
9768     cformats: u32,
9769     rgadvf: *mut u32,
9770     rgformatetc: *mut super::Com::FORMATETC,
9771     lpadvisesink: Param7,
9772     rgdwconnection: *mut u32,
9773     pclientsite: Param9,
9774     pstg: Param10,
9775     ppvobj: *mut *mut ::std::ffi::c_void,
9776 ) -> ::windows::runtime::Result<()> {
9777     #[cfg(windows)]
9778     {
9779         #[link(name = "windows")]
9780         extern "system" {
9781             fn OleCreateEx(rclsid: *const ::windows::runtime::GUID, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9782         }
9783         OleCreateEx(
9784             ::std::mem::transmute(rclsid),
9785             ::std::mem::transmute(riid),
9786             ::std::mem::transmute(dwflags),
9787             ::std::mem::transmute(renderopt),
9788             ::std::mem::transmute(cformats),
9789             ::std::mem::transmute(rgadvf),
9790             ::std::mem::transmute(rgformatetc),
9791             lpadvisesink.into_param().abi(),
9792             ::std::mem::transmute(rgdwconnection),
9793             pclientsite.into_param().abi(),
9794             pstg.into_param().abi(),
9795             ::std::mem::transmute(ppvobj),
9796         )
9797         .ok()
9798     }
9799     #[cfg(not(windows))]
9800     unimplemented!("Unsupported target OS");
9801 }
9802 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
9803 #[inline]
OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9804 pub unsafe fn OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9805     #[cfg(windows)]
9806     {
9807         #[link(name = "windows")]
9808         extern "system" {
9809             fn OleCreateFontIndirect(lpfontdesc: *mut FONTDESC, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9810         }
9811         OleCreateFontIndirect(::std::mem::transmute(lpfontdesc), ::std::mem::transmute(riid), ::std::mem::transmute(lplpvobj)).ok()
9812     }
9813     #[cfg(not(windows))]
9814     unimplemented!("Unsupported target OS");
9815 }
9816 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9817 #[inline]
OleCreateFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9818 pub unsafe fn OleCreateFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9819     #[cfg(windows)]
9820     {
9821         #[link(name = "windows")]
9822         extern "system" {
9823             fn OleCreateFromData(psrcdataobj: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9824         }
9825         OleCreateFromData(psrcdataobj.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(pformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
9826     }
9827     #[cfg(not(windows))]
9828     unimplemented!("Unsupported target OS");
9829 }
9830 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9831 #[inline]
OleCreateFromDataEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>9832 pub unsafe fn OleCreateFromDataEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
9833     psrcdataobj: Param0,
9834     riid: *const ::windows::runtime::GUID,
9835     dwflags: u32,
9836     renderopt: u32,
9837     cformats: u32,
9838     rgadvf: *mut u32,
9839     rgformatetc: *mut super::Com::FORMATETC,
9840     lpadvisesink: Param7,
9841     rgdwconnection: *mut u32,
9842     pclientsite: Param9,
9843     pstg: Param10,
9844     ppvobj: *mut *mut ::std::ffi::c_void,
9845 ) -> ::windows::runtime::Result<()> {
9846     #[cfg(windows)]
9847     {
9848         #[link(name = "windows")]
9849         extern "system" {
9850             fn OleCreateFromDataEx(psrcdataobj: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9851         }
9852         OleCreateFromDataEx(
9853             psrcdataobj.into_param().abi(),
9854             ::std::mem::transmute(riid),
9855             ::std::mem::transmute(dwflags),
9856             ::std::mem::transmute(renderopt),
9857             ::std::mem::transmute(cformats),
9858             ::std::mem::transmute(rgadvf),
9859             ::std::mem::transmute(rgformatetc),
9860             lpadvisesink.into_param().abi(),
9861             ::std::mem::transmute(rgdwconnection),
9862             pclientsite.into_param().abi(),
9863             pstg.into_param().abi(),
9864             ::std::mem::transmute(ppvobj),
9865         )
9866         .ok()
9867     }
9868     #[cfg(not(windows))]
9869     unimplemented!("Unsupported target OS");
9870 }
9871 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9872 #[inline]
OleCreateFromFile<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param6: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( rclsid: *const ::windows::runtime::GUID, lpszfilename: Param1, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param5, pstg: Param6, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>9873 pub unsafe fn OleCreateFromFile<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param6: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
9874     rclsid: *const ::windows::runtime::GUID,
9875     lpszfilename: Param1,
9876     riid: *const ::windows::runtime::GUID,
9877     renderopt: u32,
9878     lpformatetc: *mut super::Com::FORMATETC,
9879     pclientsite: Param5,
9880     pstg: Param6,
9881     ppvobj: *mut *mut ::std::ffi::c_void,
9882 ) -> ::windows::runtime::Result<()> {
9883     #[cfg(windows)]
9884     {
9885         #[link(name = "windows")]
9886         extern "system" {
9887             fn OleCreateFromFile(rclsid: *const ::windows::runtime::GUID, lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9888         }
9889         OleCreateFromFile(::std::mem::transmute(rclsid), lpszfilename.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(lpformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
9890     }
9891     #[cfg(not(windows))]
9892     unimplemented!("Unsupported target OS");
9893 }
9894 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9895 #[inline]
OleCreateFromFileEx<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param8: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param10: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param11: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( rclsid: *const ::windows::runtime::GUID, lpszfilename: Param1, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param8, rgdwconnection: *mut u32, pclientsite: Param10, pstg: Param11, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>9896 pub unsafe fn OleCreateFromFileEx<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param8: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param10: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param11: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
9897     rclsid: *const ::windows::runtime::GUID,
9898     lpszfilename: Param1,
9899     riid: *const ::windows::runtime::GUID,
9900     dwflags: u32,
9901     renderopt: u32,
9902     cformats: u32,
9903     rgadvf: *mut u32,
9904     rgformatetc: *mut super::Com::FORMATETC,
9905     lpadvisesink: Param8,
9906     rgdwconnection: *mut u32,
9907     pclientsite: Param10,
9908     pstg: Param11,
9909     ppvobj: *mut *mut ::std::ffi::c_void,
9910 ) -> ::windows::runtime::Result<()> {
9911     #[cfg(windows)]
9912     {
9913         #[link(name = "windows")]
9914         extern "system" {
9915             fn OleCreateFromFileEx(rclsid: *const ::windows::runtime::GUID, lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9916         }
9917         OleCreateFromFileEx(
9918             ::std::mem::transmute(rclsid),
9919             lpszfilename.into_param().abi(),
9920             ::std::mem::transmute(riid),
9921             ::std::mem::transmute(dwflags),
9922             ::std::mem::transmute(renderopt),
9923             ::std::mem::transmute(cformats),
9924             ::std::mem::transmute(rgadvf),
9925             ::std::mem::transmute(rgformatetc),
9926             lpadvisesink.into_param().abi(),
9927             ::std::mem::transmute(rgdwconnection),
9928             pclientsite.into_param().abi(),
9929             pstg.into_param().abi(),
9930             ::std::mem::transmute(ppvobj),
9931         )
9932         .ok()
9933     }
9934     #[cfg(not(windows))]
9935     unimplemented!("Unsupported target OS");
9936 }
9937 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9938 #[inline]
OleCreateLink<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pmklinksrc: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9939 pub unsafe fn OleCreateLink<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pmklinksrc: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9940     #[cfg(windows)]
9941     {
9942         #[link(name = "windows")]
9943         extern "system" {
9944             fn OleCreateLink(pmklinksrc: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9945         }
9946         OleCreateLink(pmklinksrc.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(lpformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
9947     }
9948     #[cfg(not(windows))]
9949     unimplemented!("Unsupported target OS");
9950 }
9951 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9952 #[inline]
OleCreateLinkEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( pmklinksrc: Param0, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>9953 pub unsafe fn OleCreateLinkEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IMoniker>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
9954     pmklinksrc: Param0,
9955     riid: *const ::windows::runtime::GUID,
9956     dwflags: u32,
9957     renderopt: u32,
9958     cformats: u32,
9959     rgadvf: *mut u32,
9960     rgformatetc: *mut super::Com::FORMATETC,
9961     lpadvisesink: Param7,
9962     rgdwconnection: *mut u32,
9963     pclientsite: Param9,
9964     pstg: Param10,
9965     ppvobj: *mut *mut ::std::ffi::c_void,
9966 ) -> ::windows::runtime::Result<()> {
9967     #[cfg(windows)]
9968     {
9969         #[link(name = "windows")]
9970         extern "system" {
9971             fn OleCreateLinkEx(pmklinksrc: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
9972         }
9973         OleCreateLinkEx(
9974             pmklinksrc.into_param().abi(),
9975             ::std::mem::transmute(riid),
9976             ::std::mem::transmute(dwflags),
9977             ::std::mem::transmute(renderopt),
9978             ::std::mem::transmute(cformats),
9979             ::std::mem::transmute(rgadvf),
9980             ::std::mem::transmute(rgformatetc),
9981             lpadvisesink.into_param().abi(),
9982             ::std::mem::transmute(rgdwconnection),
9983             pclientsite.into_param().abi(),
9984             pstg.into_param().abi(),
9985             ::std::mem::transmute(ppvobj),
9986         )
9987         .ok()
9988     }
9989     #[cfg(not(windows))]
9990     unimplemented!("Unsupported target OS");
9991 }
9992 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
9993 #[inline]
OleCreateLinkFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>9994 pub unsafe fn OleCreateLinkFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
9995     #[cfg(windows)]
9996     {
9997         #[link(name = "windows")]
9998         extern "system" {
9999             fn OleCreateLinkFromData(psrcdataobj: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10000         }
10001         OleCreateLinkFromData(psrcdataobj.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(pformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
10002     }
10003     #[cfg(not(windows))]
10004     unimplemented!("Unsupported target OS");
10005 }
10006 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
10007 #[inline]
OleCreateLinkFromDataEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( psrcdataobj: Param0, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>10008 pub unsafe fn OleCreateLinkFromDataEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
10009     psrcdataobj: Param0,
10010     riid: *const ::windows::runtime::GUID,
10011     dwflags: u32,
10012     renderopt: u32,
10013     cformats: u32,
10014     rgadvf: *mut u32,
10015     rgformatetc: *mut super::Com::FORMATETC,
10016     lpadvisesink: Param7,
10017     rgdwconnection: *mut u32,
10018     pclientsite: Param9,
10019     pstg: Param10,
10020     ppvobj: *mut *mut ::std::ffi::c_void,
10021 ) -> ::windows::runtime::Result<()> {
10022     #[cfg(windows)]
10023     {
10024         #[link(name = "windows")]
10025         extern "system" {
10026             fn OleCreateLinkFromDataEx(psrcdataobj: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10027         }
10028         OleCreateLinkFromDataEx(
10029             psrcdataobj.into_param().abi(),
10030             ::std::mem::transmute(riid),
10031             ::std::mem::transmute(dwflags),
10032             ::std::mem::transmute(renderopt),
10033             ::std::mem::transmute(cformats),
10034             ::std::mem::transmute(rgadvf),
10035             ::std::mem::transmute(rgformatetc),
10036             lpadvisesink.into_param().abi(),
10037             ::std::mem::transmute(rgdwconnection),
10038             pclientsite.into_param().abi(),
10039             pstg.into_param().abi(),
10040             ::std::mem::transmute(ppvobj),
10041         )
10042         .ok()
10043     }
10044     #[cfg(not(windows))]
10045     unimplemented!("Unsupported target OS");
10046 }
10047 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
10048 #[inline]
OleCreateLinkToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(lpszfilename: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10049 pub unsafe fn OleCreateLinkToFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(lpszfilename: Param0, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10050     #[cfg(windows)]
10051     {
10052         #[link(name = "windows")]
10053         extern "system" {
10054             fn OleCreateLinkToFile(lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows::runtime::GUID, renderopt: u32, lpformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10055         }
10056         OleCreateLinkToFile(lpszfilename.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(renderopt), ::std::mem::transmute(lpformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
10057     }
10058     #[cfg(not(windows))]
10059     unimplemented!("Unsupported target OS");
10060 }
10061 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
10062 #[inline]
OleCreateLinkToFileEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>( lpszfilename: Param0, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: Param7, rgdwconnection: *mut u32, pclientsite: Param9, pstg: Param10, ppvobj: *mut *mut ::std::ffi::c_void, ) -> ::windows::runtime::Result<()>10063 pub unsafe fn OleCreateLinkToFileEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::Com::IAdviseSink>, Param9: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param10: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(
10064     lpszfilename: Param0,
10065     riid: *const ::windows::runtime::GUID,
10066     dwflags: u32,
10067     renderopt: u32,
10068     cformats: u32,
10069     rgadvf: *mut u32,
10070     rgformatetc: *mut super::Com::FORMATETC,
10071     lpadvisesink: Param7,
10072     rgdwconnection: *mut u32,
10073     pclientsite: Param9,
10074     pstg: Param10,
10075     ppvobj: *mut *mut ::std::ffi::c_void,
10076 ) -> ::windows::runtime::Result<()> {
10077     #[cfg(windows)]
10078     {
10079         #[link(name = "windows")]
10080         extern "system" {
10081             fn OleCreateLinkToFileEx(lpszfilename: super::super::Foundation::PWSTR, riid: *const ::windows::runtime::GUID, dwflags: u32, renderopt: u32, cformats: u32, rgadvf: *mut u32, rgformatetc: *mut super::Com::FORMATETC, lpadvisesink: ::windows::runtime::RawPtr, rgdwconnection: *mut u32, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10082         }
10083         OleCreateLinkToFileEx(
10084             lpszfilename.into_param().abi(),
10085             ::std::mem::transmute(riid),
10086             ::std::mem::transmute(dwflags),
10087             ::std::mem::transmute(renderopt),
10088             ::std::mem::transmute(cformats),
10089             ::std::mem::transmute(rgadvf),
10090             ::std::mem::transmute(rgformatetc),
10091             lpadvisesink.into_param().abi(),
10092             ::std::mem::transmute(rgdwconnection),
10093             pclientsite.into_param().abi(),
10094             pstg.into_param().abi(),
10095             ::std::mem::transmute(ppvobj),
10096         )
10097         .ok()
10098     }
10099     #[cfg(not(windows))]
10100     unimplemented!("Unsupported target OS");
10101 }
10102 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
10103 #[inline]
OleCreateMenuDescriptor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(hmenucombined: Param0, lpmenuwidths: *mut OleMenuGroupWidths) -> isize10104 pub unsafe fn OleCreateMenuDescriptor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>>(hmenucombined: Param0, lpmenuwidths: *mut OleMenuGroupWidths) -> isize {
10105     #[cfg(windows)]
10106     {
10107         #[link(name = "windows")]
10108         extern "system" {
10109             fn OleCreateMenuDescriptor(hmenucombined: super::super::UI::WindowsAndMessaging::HMENU, lpmenuwidths: *mut OleMenuGroupWidths) -> isize;
10110         }
10111         ::std::mem::transmute(OleCreateMenuDescriptor(hmenucombined.into_param().abi(), ::std::mem::transmute(lpmenuwidths)))
10112     }
10113     #[cfg(not(windows))]
10114     unimplemented!("Unsupported target OS");
10115 }
10116 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
10117 #[inline]
OleCreatePictureIndirect<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lppictdesc: *mut PICTDESC, riid: *const ::windows::runtime::GUID, fown: Param2, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10118 pub unsafe fn OleCreatePictureIndirect<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lppictdesc: *mut PICTDESC, riid: *const ::windows::runtime::GUID, fown: Param2, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10119     #[cfg(windows)]
10120     {
10121         #[link(name = "windows")]
10122         extern "system" {
10123             fn OleCreatePictureIndirect(lppictdesc: *mut PICTDESC, riid: *const ::windows::runtime::GUID, fown: super::super::Foundation::BOOL, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10124         }
10125         OleCreatePictureIndirect(::std::mem::transmute(lppictdesc), ::std::mem::transmute(riid), fown.into_param().abi(), ::std::mem::transmute(lplpvobj)).ok()
10126     }
10127     #[cfg(not(windows))]
10128     unimplemented!("Unsupported target OS");
10129 }
10130 #[cfg(feature = "Win32_Foundation")]
10131 #[inline]
OleCreatePropertyFrame<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwndowner: Param0, x: u32, y: u32, lpszcaption: Param3, cobjects: u32, ppunk: *mut ::std::option::Option<::windows::runtime::IUnknown>, cpages: u32, ppageclsid: *mut ::windows::runtime::GUID, lcid: u32, dwreserved: u32, pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10132 pub unsafe fn OleCreatePropertyFrame<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwndowner: Param0, x: u32, y: u32, lpszcaption: Param3, cobjects: u32, ppunk: *mut ::std::option::Option<::windows::runtime::IUnknown>, cpages: u32, ppageclsid: *mut ::windows::runtime::GUID, lcid: u32, dwreserved: u32, pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10133     #[cfg(windows)]
10134     {
10135         #[link(name = "windows")]
10136         extern "system" {
10137             fn OleCreatePropertyFrame(hwndowner: super::super::Foundation::HWND, x: u32, y: u32, lpszcaption: super::super::Foundation::PWSTR, cobjects: u32, ppunk: *mut ::windows::runtime::RawPtr, cpages: u32, ppageclsid: *mut ::windows::runtime::GUID, lcid: u32, dwreserved: u32, pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10138         }
10139         OleCreatePropertyFrame(
10140             hwndowner.into_param().abi(),
10141             ::std::mem::transmute(x),
10142             ::std::mem::transmute(y),
10143             lpszcaption.into_param().abi(),
10144             ::std::mem::transmute(cobjects),
10145             ::std::mem::transmute(ppunk),
10146             ::std::mem::transmute(cpages),
10147             ::std::mem::transmute(ppageclsid),
10148             ::std::mem::transmute(lcid),
10149             ::std::mem::transmute(dwreserved),
10150             ::std::mem::transmute(pvreserved),
10151         )
10152         .ok()
10153     }
10154     #[cfg(not(windows))]
10155     unimplemented!("Unsupported target OS");
10156 }
10157 #[cfg(feature = "Win32_Foundation")]
10158 #[inline]
OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::windows::runtime::Result<()>10159 pub unsafe fn OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::windows::runtime::Result<()> {
10160     #[cfg(windows)]
10161     {
10162         #[link(name = "windows")]
10163         extern "system" {
10164             fn OleCreatePropertyFrameIndirect(lpparams: *mut OCPFIPARAMS) -> ::windows::runtime::HRESULT;
10165         }
10166         OleCreatePropertyFrameIndirect(::std::mem::transmute(lpparams)).ok()
10167     }
10168     #[cfg(not(windows))]
10169     unimplemented!("Unsupported target OS");
10170 }
10171 #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
10172 #[inline]
OleCreateStaticFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, iid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10173 pub unsafe fn OleCreateStaticFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>, Param4: ::windows::runtime::IntoParam<'a, IOleClientSite>, Param5: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(psrcdataobj: Param0, iid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: Param4, pstg: Param5, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10174     #[cfg(windows)]
10175     {
10176         #[link(name = "windows")]
10177         extern "system" {
10178             fn OleCreateStaticFromData(psrcdataobj: ::windows::runtime::RawPtr, iid: *const ::windows::runtime::GUID, renderopt: u32, pformatetc: *mut super::Com::FORMATETC, pclientsite: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10179         }
10180         OleCreateStaticFromData(psrcdataobj.into_param().abi(), ::std::mem::transmute(iid), ::std::mem::transmute(renderopt), ::std::mem::transmute(pformatetc), pclientsite.into_param().abi(), pstg.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
10181     }
10182     #[cfg(not(windows))]
10183     unimplemented!("Unsupported target OS");
10184 }
10185 #[inline]
OleDestroyMenuDescriptor(holemenu: isize) -> ::windows::runtime::Result<()>10186 pub unsafe fn OleDestroyMenuDescriptor(holemenu: isize) -> ::windows::runtime::Result<()> {
10187     #[cfg(windows)]
10188     {
10189         #[link(name = "windows")]
10190         extern "system" {
10191             fn OleDestroyMenuDescriptor(holemenu: isize) -> ::windows::runtime::HRESULT;
10192         }
10193         OleDestroyMenuDescriptor(::std::mem::transmute(holemenu)).ok()
10194     }
10195     #[cfg(not(windows))]
10196     unimplemented!("Unsupported target OS");
10197 }
10198 #[cfg(feature = "Win32_System_Com_StructuredStorage")]
10199 #[inline]
OleDoAutoConvert<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pstg: Param0, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>10200 pub unsafe fn OleDoAutoConvert<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>>(pstg: Param0, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
10201     #[cfg(windows)]
10202     {
10203         #[link(name = "windows")]
10204         extern "system" {
10205             fn OleDoAutoConvert(pstg: ::windows::runtime::RawPtr, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT;
10206         }
10207         OleDoAutoConvert(pstg.into_param().abi(), ::std::mem::transmute(pclsidnew)).ok()
10208     }
10209     #[cfg(not(windows))]
10210     unimplemented!("Unsupported target OS");
10211 }
10212 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
10213 #[inline]
OleDraw<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(punknown: Param0, dwaspect: u32, hdcdraw: Param2, lprcbounds: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()>10214 pub unsafe fn OleDraw<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param2: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(punknown: Param0, dwaspect: u32, hdcdraw: Param2, lprcbounds: *mut super::super::Foundation::RECT) -> ::windows::runtime::Result<()> {
10215     #[cfg(windows)]
10216     {
10217         #[link(name = "windows")]
10218         extern "system" {
10219             fn OleDraw(punknown: ::windows::runtime::RawPtr, dwaspect: u32, hdcdraw: super::super::Graphics::Gdi::HDC, lprcbounds: *mut super::super::Foundation::RECT) -> ::windows::runtime::HRESULT;
10220         }
10221         OleDraw(punknown.into_param().abi(), ::std::mem::transmute(dwaspect), hdcdraw.into_param().abi(), ::std::mem::transmute(lprcbounds)).ok()
10222     }
10223     #[cfg(not(windows))]
10224     unimplemented!("Unsupported target OS");
10225 }
10226 #[cfg(feature = "Win32_Foundation")]
10227 #[inline]
OleDuplicateData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hsrc: Param0, cfformat: u16, uiflags: u32) -> super::super::Foundation::HANDLE10228 pub unsafe fn OleDuplicateData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hsrc: Param0, cfformat: u16, uiflags: u32) -> super::super::Foundation::HANDLE {
10229     #[cfg(windows)]
10230     {
10231         #[link(name = "windows")]
10232         extern "system" {
10233             fn OleDuplicateData(hsrc: super::super::Foundation::HANDLE, cfformat: u16, uiflags: u32) -> super::super::Foundation::HANDLE;
10234         }
10235         ::std::mem::transmute(OleDuplicateData(hsrc.into_param().abi(), ::std::mem::transmute(cfformat), ::std::mem::transmute(uiflags)))
10236     }
10237     #[cfg(not(windows))]
10238     unimplemented!("Unsupported target OS");
10239 }
10240 #[inline]
OleFlushClipboard() -> ::windows::runtime::Result<()>10241 pub unsafe fn OleFlushClipboard() -> ::windows::runtime::Result<()> {
10242     #[cfg(windows)]
10243     {
10244         #[link(name = "windows")]
10245         extern "system" {
10246             fn OleFlushClipboard() -> ::windows::runtime::HRESULT;
10247         }
10248         OleFlushClipboard().ok()
10249     }
10250     #[cfg(not(windows))]
10251     unimplemented!("Unsupported target OS");
10252 }
10253 #[inline]
OleGetAutoConvert(clsidold: *const ::windows::runtime::GUID, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()>10254 pub unsafe fn OleGetAutoConvert(clsidold: *const ::windows::runtime::GUID, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
10255     #[cfg(windows)]
10256     {
10257         #[link(name = "windows")]
10258         extern "system" {
10259             fn OleGetAutoConvert(clsidold: *const ::windows::runtime::GUID, pclsidnew: *mut ::windows::runtime::GUID) -> ::windows::runtime::HRESULT;
10260         }
10261         OleGetAutoConvert(::std::mem::transmute(clsidold), ::std::mem::transmute(pclsidnew)).ok()
10262     }
10263     #[cfg(not(windows))]
10264     unimplemented!("Unsupported target OS");
10265 }
10266 #[cfg(feature = "Win32_System_Com")]
10267 #[inline]
OleGetClipboard() -> ::windows::runtime::Result<super::Com::IDataObject>10268 pub unsafe fn OleGetClipboard() -> ::windows::runtime::Result<super::Com::IDataObject> {
10269     #[cfg(windows)]
10270     {
10271         #[link(name = "windows")]
10272         extern "system" {
10273             fn OleGetClipboard(ppdataobj: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10274         }
10275         let mut result__: <super::Com::IDataObject as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10276         OleGetClipboard(&mut result__).from_abi::<super::Com::IDataObject>(result__)
10277     }
10278     #[cfg(not(windows))]
10279     unimplemented!("Unsupported target OS");
10280 }
10281 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
10282 #[inline]
OleGetClipboardWithEnterpriseInfo(dataobject: *mut ::std::option::Option<super::Com::IDataObject>, dataenterpriseid: *mut super::super::Foundation::PWSTR, sourcedescription: *mut super::super::Foundation::PWSTR, targetdescription: *mut super::super::Foundation::PWSTR, datadescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()>10283 pub unsafe fn OleGetClipboardWithEnterpriseInfo(dataobject: *mut ::std::option::Option<super::Com::IDataObject>, dataenterpriseid: *mut super::super::Foundation::PWSTR, sourcedescription: *mut super::super::Foundation::PWSTR, targetdescription: *mut super::super::Foundation::PWSTR, datadescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::Result<()> {
10284     #[cfg(windows)]
10285     {
10286         #[link(name = "windows")]
10287         extern "system" {
10288             fn OleGetClipboardWithEnterpriseInfo(dataobject: *mut ::windows::runtime::RawPtr, dataenterpriseid: *mut super::super::Foundation::PWSTR, sourcedescription: *mut super::super::Foundation::PWSTR, targetdescription: *mut super::super::Foundation::PWSTR, datadescription: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
10289         }
10290         OleGetClipboardWithEnterpriseInfo(::std::mem::transmute(dataobject), ::std::mem::transmute(dataenterpriseid), ::std::mem::transmute(sourcedescription), ::std::mem::transmute(targetdescription), ::std::mem::transmute(datadescription)).ok()
10291     }
10292     #[cfg(not(windows))]
10293     unimplemented!("Unsupported target OS");
10294 }
10295 #[cfg(feature = "Win32_Foundation")]
10296 #[inline]
OleGetIconOfClass<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(rclsid: *const ::windows::runtime::GUID, lpszlabel: Param1, fusetypeaslabel: Param2) -> isize10297 pub unsafe fn OleGetIconOfClass<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(rclsid: *const ::windows::runtime::GUID, lpszlabel: Param1, fusetypeaslabel: Param2) -> isize {
10298     #[cfg(windows)]
10299     {
10300         #[link(name = "windows")]
10301         extern "system" {
10302             fn OleGetIconOfClass(rclsid: *const ::windows::runtime::GUID, lpszlabel: super::super::Foundation::PWSTR, fusetypeaslabel: super::super::Foundation::BOOL) -> isize;
10303         }
10304         ::std::mem::transmute(OleGetIconOfClass(::std::mem::transmute(rclsid), lpszlabel.into_param().abi(), fusetypeaslabel.into_param().abi()))
10305     }
10306     #[cfg(not(windows))]
10307     unimplemented!("Unsupported target OS");
10308 }
10309 #[cfg(feature = "Win32_Foundation")]
10310 #[inline]
OleGetIconOfFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszpath: Param0, fusefileaslabel: Param1) -> isize10311 pub unsafe fn OleGetIconOfFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszpath: Param0, fusefileaslabel: Param1) -> isize {
10312     #[cfg(windows)]
10313     {
10314         #[link(name = "windows")]
10315         extern "system" {
10316             fn OleGetIconOfFile(lpszpath: super::super::Foundation::PWSTR, fusefileaslabel: super::super::Foundation::BOOL) -> isize;
10317         }
10318         ::std::mem::transmute(OleGetIconOfFile(lpszpath.into_param().abi(), fusefileaslabel.into_param().abi()))
10319     }
10320     #[cfg(not(windows))]
10321     unimplemented!("Unsupported target OS");
10322 }
10323 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
10324 #[inline]
OleIconToCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HINSTANCE>, Param1: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HICON>>(hinstexe: Param0, hicon: Param1) -> super::super::UI::WindowsAndMessaging::HCURSOR10325 pub unsafe fn OleIconToCursor<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HINSTANCE>, Param1: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HICON>>(hinstexe: Param0, hicon: Param1) -> super::super::UI::WindowsAndMessaging::HCURSOR {
10326     #[cfg(windows)]
10327     {
10328         #[link(name = "windows")]
10329         extern "system" {
10330             fn OleIconToCursor(hinstexe: super::super::Foundation::HINSTANCE, hicon: super::super::UI::WindowsAndMessaging::HICON) -> super::super::UI::WindowsAndMessaging::HCURSOR;
10331         }
10332         ::std::mem::transmute(OleIconToCursor(hinstexe.into_param().abi(), hicon.into_param().abi()))
10333     }
10334     #[cfg(not(windows))]
10335     unimplemented!("Unsupported target OS");
10336 }
10337 #[inline]
OleInitialize(pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10338 pub unsafe fn OleInitialize(pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10339     #[cfg(windows)]
10340     {
10341         #[link(name = "windows")]
10342         extern "system" {
10343             fn OleInitialize(pvreserved: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10344         }
10345         OleInitialize(::std::mem::transmute(pvreserved)).ok()
10346     }
10347     #[cfg(not(windows))]
10348     unimplemented!("Unsupported target OS");
10349 }
10350 #[cfg(feature = "Win32_System_Com")]
10351 #[inline]
OleIsCurrentClipboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(pdataobj: Param0) -> ::windows::runtime::Result<()>10352 pub unsafe fn OleIsCurrentClipboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(pdataobj: Param0) -> ::windows::runtime::Result<()> {
10353     #[cfg(windows)]
10354     {
10355         #[link(name = "windows")]
10356         extern "system" {
10357             fn OleIsCurrentClipboard(pdataobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10358         }
10359         OleIsCurrentClipboard(pdataobj.into_param().abi()).ok()
10360     }
10361     #[cfg(not(windows))]
10362     unimplemented!("Unsupported target OS");
10363 }
10364 #[cfg(feature = "Win32_Foundation")]
10365 #[inline]
OleIsRunning<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>>(pobject: Param0) -> super::super::Foundation::BOOL10366 pub unsafe fn OleIsRunning<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>>(pobject: Param0) -> super::super::Foundation::BOOL {
10367     #[cfg(windows)]
10368     {
10369         #[link(name = "windows")]
10370         extern "system" {
10371             fn OleIsRunning(pobject: ::windows::runtime::RawPtr) -> super::super::Foundation::BOOL;
10372         }
10373         ::std::mem::transmute(OleIsRunning(pobject.into_param().abi()))
10374     }
10375     #[cfg(not(windows))]
10376     unimplemented!("Unsupported target OS");
10377 }
10378 #[cfg(feature = "Win32_System_Com_StructuredStorage")]
10379 #[inline]
OleLoad<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>, Param2: ::windows::runtime::IntoParam<'a, IOleClientSite>>(pstg: Param0, riid: *const ::windows::runtime::GUID, pclientsite: Param2, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10380 pub unsafe fn OleLoad<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>, Param2: ::windows::runtime::IntoParam<'a, IOleClientSite>>(pstg: Param0, riid: *const ::windows::runtime::GUID, pclientsite: Param2, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10381     #[cfg(windows)]
10382     {
10383         #[link(name = "windows")]
10384         extern "system" {
10385             fn OleLoad(pstg: ::windows::runtime::RawPtr, riid: *const ::windows::runtime::GUID, pclientsite: ::windows::runtime::RawPtr, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10386         }
10387         OleLoad(pstg.into_param().abi(), ::std::mem::transmute(riid), pclientsite.into_param().abi(), ::std::mem::transmute(ppvobj)).ok()
10388     }
10389     #[cfg(not(windows))]
10390     unimplemented!("Unsupported target OS");
10391 }
10392 #[cfg(feature = "Win32_System_Com")]
10393 #[inline]
OleLoadFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(pstm: Param0, iidinterface: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10394 pub unsafe fn OleLoadFromStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(pstm: Param0, iidinterface: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10395     #[cfg(windows)]
10396     {
10397         #[link(name = "windows")]
10398         extern "system" {
10399             fn OleLoadFromStream(pstm: ::windows::runtime::RawPtr, iidinterface: *const ::windows::runtime::GUID, ppvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10400         }
10401         OleLoadFromStream(pstm.into_param().abi(), ::std::mem::transmute(iidinterface), ::std::mem::transmute(ppvobj)).ok()
10402     }
10403     #[cfg(not(windows))]
10404     unimplemented!("Unsupported target OS");
10405 }
10406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
10407 #[inline]
OleLoadPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpstream: Param0, lsize: i32, frunmode: Param2, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10408 pub unsafe fn OleLoadPicture<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpstream: Param0, lsize: i32, frunmode: Param2, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10409     #[cfg(windows)]
10410     {
10411         #[link(name = "windows")]
10412         extern "system" {
10413             fn OleLoadPicture(lpstream: ::windows::runtime::RawPtr, lsize: i32, frunmode: super::super::Foundation::BOOL, riid: *const ::windows::runtime::GUID, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10414         }
10415         OleLoadPicture(lpstream.into_param().abi(), ::std::mem::transmute(lsize), frunmode.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(lplpvobj)).ok()
10416     }
10417     #[cfg(not(windows))]
10418     unimplemented!("Unsupported target OS");
10419 }
10420 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))]
10421 #[inline]
OleLoadPictureEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpstream: Param0, lsize: i32, frunmode: Param2, riid: *const ::windows::runtime::GUID, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10422 pub unsafe fn OleLoadPictureEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IStream>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpstream: Param0, lsize: i32, frunmode: Param2, riid: *const ::windows::runtime::GUID, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10423     #[cfg(windows)]
10424     {
10425         #[link(name = "windows")]
10426         extern "system" {
10427             fn OleLoadPictureEx(lpstream: ::windows::runtime::RawPtr, lsize: i32, frunmode: super::super::Foundation::BOOL, riid: *const ::windows::runtime::GUID, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpvobj: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10428         }
10429         OleLoadPictureEx(lpstream.into_param().abi(), ::std::mem::transmute(lsize), frunmode.into_param().abi(), ::std::mem::transmute(riid), ::std::mem::transmute(xsizedesired), ::std::mem::transmute(ysizedesired), ::std::mem::transmute(dwflags), ::std::mem::transmute(lplpvobj)).ok()
10430     }
10431     #[cfg(not(windows))]
10432     unimplemented!("Unsupported target OS");
10433 }
10434 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
10435 #[inline]
OleLoadPictureFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(varfilename: Param0) -> ::windows::runtime::Result<Automation::IDispatch>10436 pub unsafe fn OleLoadPictureFile<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(varfilename: Param0) -> ::windows::runtime::Result<Automation::IDispatch> {
10437     #[cfg(windows)]
10438     {
10439         #[link(name = "windows")]
10440         extern "system" {
10441             fn OleLoadPictureFile(varfilename: ::std::mem::ManuallyDrop<super::Com::VARIANT>, lplpdisppicture: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10442         }
10443         let mut result__: <Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10444         OleLoadPictureFile(varfilename.into_param().abi(), &mut result__).from_abi::<Automation::IDispatch>(result__)
10445     }
10446     #[cfg(not(windows))]
10447     unimplemented!("Unsupported target OS");
10448 }
10449 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
10450 #[inline]
OleLoadPictureFileEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(varfilename: Param0, xsizedesired: u32, ysizedesired: u32, dwflags: u32) -> ::windows::runtime::Result<Automation::IDispatch>10451 pub unsafe fn OleLoadPictureFileEx<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(varfilename: Param0, xsizedesired: u32, ysizedesired: u32, dwflags: u32) -> ::windows::runtime::Result<Automation::IDispatch> {
10452     #[cfg(windows)]
10453     {
10454         #[link(name = "windows")]
10455         extern "system" {
10456             fn OleLoadPictureFileEx(varfilename: ::std::mem::ManuallyDrop<super::Com::VARIANT>, xsizedesired: u32, ysizedesired: u32, dwflags: u32, lplpdisppicture: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10457         }
10458         let mut result__: <Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10459         OleLoadPictureFileEx(varfilename.into_param().abi(), ::std::mem::transmute(xsizedesired), ::std::mem::transmute(ysizedesired), ::std::mem::transmute(dwflags), &mut result__).from_abi::<Automation::IDispatch>(result__)
10460     }
10461     #[cfg(not(windows))]
10462     unimplemented!("Unsupported target OS");
10463 }
10464 #[cfg(feature = "Win32_Foundation")]
10465 #[inline]
OleLoadPicturePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(szurlorpath: Param0, punkcaller: Param1, dwreserved: u32, clrreserved: u32, riid: *const ::windows::runtime::GUID, ppvret: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>10466 pub unsafe fn OleLoadPicturePath<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(szurlorpath: Param0, punkcaller: Param1, dwreserved: u32, clrreserved: u32, riid: *const ::windows::runtime::GUID, ppvret: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
10467     #[cfg(windows)]
10468     {
10469         #[link(name = "windows")]
10470         extern "system" {
10471             fn OleLoadPicturePath(szurlorpath: super::super::Foundation::PWSTR, punkcaller: ::windows::runtime::RawPtr, dwreserved: u32, clrreserved: u32, riid: *const ::windows::runtime::GUID, ppvret: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
10472         }
10473         OleLoadPicturePath(szurlorpath.into_param().abi(), punkcaller.into_param().abi(), ::std::mem::transmute(dwreserved), ::std::mem::transmute(clrreserved), ::std::mem::transmute(riid), ::std::mem::transmute(ppvret)).ok()
10474     }
10475     #[cfg(not(windows))]
10476     unimplemented!("Unsupported target OS");
10477 }
10478 #[cfg(feature = "Win32_Foundation")]
10479 #[inline]
OleLockRunning<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, flock: Param1, flastunlockcloses: Param2) -> ::windows::runtime::Result<()>10480 pub unsafe fn OleLockRunning<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, flock: Param1, flastunlockcloses: Param2) -> ::windows::runtime::Result<()> {
10481     #[cfg(windows)]
10482     {
10483         #[link(name = "windows")]
10484         extern "system" {
10485             fn OleLockRunning(punknown: ::windows::runtime::RawPtr, flock: super::super::Foundation::BOOL, flastunlockcloses: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
10486         }
10487         OleLockRunning(punknown.into_param().abi(), flock.into_param().abi(), flastunlockcloses.into_param().abi()).ok()
10488     }
10489     #[cfg(not(windows))]
10490     unimplemented!("Unsupported target OS");
10491 }
10492 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
10493 #[repr(C)]
10494 pub struct OleMenuGroupWidths {
10495     pub width: [i32; 6],
10496 }
10497 impl OleMenuGroupWidths {}
10498 impl ::std::default::Default for OleMenuGroupWidths {
default() -> Self10499     fn default() -> Self {
10500         unsafe { ::std::mem::zeroed() }
10501     }
10502 }
10503 impl ::std::fmt::Debug for OleMenuGroupWidths {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result10504     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
10505         fmt.debug_struct("OleMenuGroupWidths").field("width", &self.width).finish()
10506     }
10507 }
10508 impl ::std::cmp::PartialEq for OleMenuGroupWidths {
eq(&self, other: &Self) -> bool10509     fn eq(&self, other: &Self) -> bool {
10510         self.width == other.width
10511     }
10512 }
10513 impl ::std::cmp::Eq for OleMenuGroupWidths {}
10514 unsafe impl ::windows::runtime::Abi for OleMenuGroupWidths {
10515     type Abi = Self;
10516     type DefaultType = Self;
10517 }
10518 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
10519 #[inline]
OleMetafilePictFromIconAndLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HICON>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hicon: Param0, lpszlabel: Param1, lpszsourcefile: Param2, iiconindex: u32) -> isize10520 pub unsafe fn OleMetafilePictFromIconAndLabel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HICON>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hicon: Param0, lpszlabel: Param1, lpszsourcefile: Param2, iiconindex: u32) -> isize {
10521     #[cfg(windows)]
10522     {
10523         #[link(name = "windows")]
10524         extern "system" {
10525             fn OleMetafilePictFromIconAndLabel(hicon: super::super::UI::WindowsAndMessaging::HICON, lpszlabel: super::super::Foundation::PWSTR, lpszsourcefile: super::super::Foundation::PWSTR, iiconindex: u32) -> isize;
10526         }
10527         ::std::mem::transmute(OleMetafilePictFromIconAndLabel(hicon.into_param().abi(), lpszlabel.into_param().abi(), lpszsourcefile.into_param().abi(), ::std::mem::transmute(iiconindex)))
10528     }
10529     #[cfg(not(windows))]
10530     unimplemented!("Unsupported target OS");
10531 }
10532 #[cfg(feature = "Win32_Foundation")]
10533 #[inline]
OleNoteObjectVisible<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, fvisible: Param1) -> ::windows::runtime::Result<()>10534 pub unsafe fn OleNoteObjectVisible<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, fvisible: Param1) -> ::windows::runtime::Result<()> {
10535     #[cfg(windows)]
10536     {
10537         #[link(name = "windows")]
10538         extern "system" {
10539             fn OleNoteObjectVisible(punknown: ::windows::runtime::RawPtr, fvisible: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
10540         }
10541         OleNoteObjectVisible(punknown.into_param().abi(), fvisible.into_param().abi()).ok()
10542     }
10543     #[cfg(not(windows))]
10544     unimplemented!("Unsupported target OS");
10545 }
10546 #[cfg(feature = "Win32_System_Com")]
10547 #[inline]
OleQueryCreateFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(psrcdataobject: Param0) -> ::windows::runtime::Result<()>10548 pub unsafe fn OleQueryCreateFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(psrcdataobject: Param0) -> ::windows::runtime::Result<()> {
10549     #[cfg(windows)]
10550     {
10551         #[link(name = "windows")]
10552         extern "system" {
10553             fn OleQueryCreateFromData(psrcdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10554         }
10555         OleQueryCreateFromData(psrcdataobject.into_param().abi()).ok()
10556     }
10557     #[cfg(not(windows))]
10558     unimplemented!("Unsupported target OS");
10559 }
10560 #[cfg(feature = "Win32_System_Com")]
10561 #[inline]
OleQueryLinkFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(psrcdataobject: Param0) -> ::windows::runtime::Result<()>10562 pub unsafe fn OleQueryLinkFromData<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(psrcdataobject: Param0) -> ::windows::runtime::Result<()> {
10563     #[cfg(windows)]
10564     {
10565         #[link(name = "windows")]
10566         extern "system" {
10567             fn OleQueryLinkFromData(psrcdataobject: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10568         }
10569         OleQueryLinkFromData(psrcdataobject.into_param().abi()).ok()
10570     }
10571     #[cfg(not(windows))]
10572     unimplemented!("Unsupported target OS");
10573 }
10574 #[cfg(feature = "Win32_System_Com")]
10575 #[inline]
OleRegEnumFormatEtc(clsid: *const ::windows::runtime::GUID, dwdirection: u32) -> ::windows::runtime::Result<super::Com::IEnumFORMATETC>10576 pub unsafe fn OleRegEnumFormatEtc(clsid: *const ::windows::runtime::GUID, dwdirection: u32) -> ::windows::runtime::Result<super::Com::IEnumFORMATETC> {
10577     #[cfg(windows)]
10578     {
10579         #[link(name = "windows")]
10580         extern "system" {
10581             fn OleRegEnumFormatEtc(clsid: *const ::windows::runtime::GUID, dwdirection: u32, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10582         }
10583         let mut result__: <super::Com::IEnumFORMATETC as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10584         OleRegEnumFormatEtc(::std::mem::transmute(clsid), ::std::mem::transmute(dwdirection), &mut result__).from_abi::<super::Com::IEnumFORMATETC>(result__)
10585     }
10586     #[cfg(not(windows))]
10587     unimplemented!("Unsupported target OS");
10588 }
10589 #[inline]
OleRegEnumVerbs(clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<IEnumOLEVERB>10590 pub unsafe fn OleRegEnumVerbs(clsid: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<IEnumOLEVERB> {
10591     #[cfg(windows)]
10592     {
10593         #[link(name = "windows")]
10594         extern "system" {
10595             fn OleRegEnumVerbs(clsid: *const ::windows::runtime::GUID, ppenum: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10596         }
10597         let mut result__: <IEnumOLEVERB as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10598         OleRegEnumVerbs(::std::mem::transmute(clsid), &mut result__).from_abi::<IEnumOLEVERB>(result__)
10599     }
10600     #[cfg(not(windows))]
10601     unimplemented!("Unsupported target OS");
10602 }
10603 #[inline]
OleRegGetMiscStatus(clsid: *const ::windows::runtime::GUID, dwaspect: u32, pdwstatus: *mut u32) -> ::windows::runtime::Result<()>10604 pub unsafe fn OleRegGetMiscStatus(clsid: *const ::windows::runtime::GUID, dwaspect: u32, pdwstatus: *mut u32) -> ::windows::runtime::Result<()> {
10605     #[cfg(windows)]
10606     {
10607         #[link(name = "windows")]
10608         extern "system" {
10609             fn OleRegGetMiscStatus(clsid: *const ::windows::runtime::GUID, dwaspect: u32, pdwstatus: *mut u32) -> ::windows::runtime::HRESULT;
10610         }
10611         OleRegGetMiscStatus(::std::mem::transmute(clsid), ::std::mem::transmute(dwaspect), ::std::mem::transmute(pdwstatus)).ok()
10612     }
10613     #[cfg(not(windows))]
10614     unimplemented!("Unsupported target OS");
10615 }
10616 #[cfg(feature = "Win32_Foundation")]
10617 #[inline]
OleRegGetUserType(clsid: *const ::windows::runtime::GUID, dwformoftype: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>10618 pub unsafe fn OleRegGetUserType(clsid: *const ::windows::runtime::GUID, dwformoftype: u32) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
10619     #[cfg(windows)]
10620     {
10621         #[link(name = "windows")]
10622         extern "system" {
10623             fn OleRegGetUserType(clsid: *const ::windows::runtime::GUID, dwformoftype: u32, pszusertype: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
10624         }
10625         let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
10626         OleRegGetUserType(::std::mem::transmute(clsid), ::std::mem::transmute(dwformoftype), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
10627     }
10628     #[cfg(not(windows))]
10629     unimplemented!("Unsupported target OS");
10630 }
10631 #[inline]
OleRun<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(punknown: Param0) -> ::windows::runtime::Result<()>10632 pub unsafe fn OleRun<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>>(punknown: Param0) -> ::windows::runtime::Result<()> {
10633     #[cfg(windows)]
10634     {
10635         #[link(name = "windows")]
10636         extern "system" {
10637             fn OleRun(punknown: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10638         }
10639         OleRun(punknown.into_param().abi()).ok()
10640     }
10641     #[cfg(not(windows))]
10642     unimplemented!("Unsupported target OS");
10643 }
10644 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com_StructuredStorage"))]
10645 #[inline]
OleSave<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IPersistStorage>, Param1: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(pps: Param0, pstg: Param1, fsameasload: Param2) -> ::windows::runtime::Result<()>10646 pub unsafe fn OleSave<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IPersistStorage>, Param1: ::windows::runtime::IntoParam<'a, super::Com::StructuredStorage::IStorage>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(pps: Param0, pstg: Param1, fsameasload: Param2) -> ::windows::runtime::Result<()> {
10647     #[cfg(windows)]
10648     {
10649         #[link(name = "windows")]
10650         extern "system" {
10651             fn OleSave(pps: ::windows::runtime::RawPtr, pstg: ::windows::runtime::RawPtr, fsameasload: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
10652         }
10653         OleSave(pps.into_param().abi(), pstg.into_param().abi(), fsameasload.into_param().abi()).ok()
10654     }
10655     #[cfg(not(windows))]
10656     unimplemented!("Unsupported target OS");
10657 }
10658 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Ole_Automation"))]
10659 #[inline]
OleSavePictureFile<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(lpdisppicture: Param0, bstrfilename: Param1) -> ::windows::runtime::Result<()>10660 pub unsafe fn OleSavePictureFile<'a, Param0: ::windows::runtime::IntoParam<'a, Automation::IDispatch>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(lpdisppicture: Param0, bstrfilename: Param1) -> ::windows::runtime::Result<()> {
10661     #[cfg(windows)]
10662     {
10663         #[link(name = "windows")]
10664         extern "system" {
10665             fn OleSavePictureFile(lpdisppicture: ::windows::runtime::RawPtr, bstrfilename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT;
10666         }
10667         OleSavePictureFile(lpdisppicture.into_param().abi(), bstrfilename.into_param().abi()).ok()
10668     }
10669     #[cfg(not(windows))]
10670     unimplemented!("Unsupported target OS");
10671 }
10672 #[cfg(feature = "Win32_System_Com")]
10673 #[inline]
OleSaveToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IPersistStream>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(ppstm: Param0, pstm: Param1) -> ::windows::runtime::Result<()>10674 pub unsafe fn OleSaveToStream<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IPersistStream>, Param1: ::windows::runtime::IntoParam<'a, super::Com::IStream>>(ppstm: Param0, pstm: Param1) -> ::windows::runtime::Result<()> {
10675     #[cfg(windows)]
10676     {
10677         #[link(name = "windows")]
10678         extern "system" {
10679             fn OleSaveToStream(ppstm: ::windows::runtime::RawPtr, pstm: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10680         }
10681         OleSaveToStream(ppstm.into_param().abi(), pstm.into_param().abi()).ok()
10682     }
10683     #[cfg(not(windows))]
10684     unimplemented!("Unsupported target OS");
10685 }
10686 #[inline]
OleSetAutoConvert(clsidold: *const ::windows::runtime::GUID, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()>10687 pub unsafe fn OleSetAutoConvert(clsidold: *const ::windows::runtime::GUID, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::Result<()> {
10688     #[cfg(windows)]
10689     {
10690         #[link(name = "windows")]
10691         extern "system" {
10692             fn OleSetAutoConvert(clsidold: *const ::windows::runtime::GUID, clsidnew: *const ::windows::runtime::GUID) -> ::windows::runtime::HRESULT;
10693         }
10694         OleSetAutoConvert(::std::mem::transmute(clsidold), ::std::mem::transmute(clsidnew)).ok()
10695     }
10696     #[cfg(not(windows))]
10697     unimplemented!("Unsupported target OS");
10698 }
10699 #[cfg(feature = "Win32_System_Com")]
10700 #[inline]
OleSetClipboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(pdataobj: Param0) -> ::windows::runtime::Result<()>10701 pub unsafe fn OleSetClipboard<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::IDataObject>>(pdataobj: Param0) -> ::windows::runtime::Result<()> {
10702     #[cfg(windows)]
10703     {
10704         #[link(name = "windows")]
10705         extern "system" {
10706             fn OleSetClipboard(pdataobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10707         }
10708         OleSetClipboard(pdataobj.into_param().abi()).ok()
10709     }
10710     #[cfg(not(windows))]
10711     unimplemented!("Unsupported target OS");
10712 }
10713 #[cfg(feature = "Win32_Foundation")]
10714 #[inline]
OleSetContainedObject<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, fcontained: Param1) -> ::windows::runtime::Result<()>10715 pub unsafe fn OleSetContainedObject<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(punknown: Param0, fcontained: Param1) -> ::windows::runtime::Result<()> {
10716     #[cfg(windows)]
10717     {
10718         #[link(name = "windows")]
10719         extern "system" {
10720             fn OleSetContainedObject(punknown: ::windows::runtime::RawPtr, fcontained: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
10721         }
10722         OleSetContainedObject(punknown.into_param().abi(), fcontained.into_param().abi()).ok()
10723     }
10724     #[cfg(not(windows))]
10725     unimplemented!("Unsupported target OS");
10726 }
10727 #[cfg(feature = "Win32_Foundation")]
10728 #[inline]
OleSetMenuDescriptor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, IOleInPlaceFrame>, Param4: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>>(holemenu: isize, hwndframe: Param1, hwndactiveobject: Param2, lpframe: Param3, lpactiveobj: Param4) -> ::windows::runtime::Result<()>10729 pub unsafe fn OleSetMenuDescriptor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param3: ::windows::runtime::IntoParam<'a, IOleInPlaceFrame>, Param4: ::windows::runtime::IntoParam<'a, IOleInPlaceActiveObject>>(holemenu: isize, hwndframe: Param1, hwndactiveobject: Param2, lpframe: Param3, lpactiveobj: Param4) -> ::windows::runtime::Result<()> {
10730     #[cfg(windows)]
10731     {
10732         #[link(name = "windows")]
10733         extern "system" {
10734             fn OleSetMenuDescriptor(holemenu: isize, hwndframe: super::super::Foundation::HWND, hwndactiveobject: super::super::Foundation::HWND, lpframe: ::windows::runtime::RawPtr, lpactiveobj: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
10735         }
10736         OleSetMenuDescriptor(::std::mem::transmute(holemenu), hwndframe.into_param().abi(), hwndactiveobject.into_param().abi(), lpframe.into_param().abi(), lpactiveobj.into_param().abi()).ok()
10737     }
10738     #[cfg(not(windows))]
10739     unimplemented!("Unsupported target OS");
10740 }
10741 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
10742 #[inline]
OleTranslateAccelerator<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceFrame>>(lpframe: Param0, lpframeinfo: *mut OIFI, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()>10743 pub unsafe fn OleTranslateAccelerator<'a, Param0: ::windows::runtime::IntoParam<'a, IOleInPlaceFrame>>(lpframe: Param0, lpframeinfo: *mut OIFI, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::Result<()> {
10744     #[cfg(windows)]
10745     {
10746         #[link(name = "windows")]
10747         extern "system" {
10748             fn OleTranslateAccelerator(lpframe: ::windows::runtime::RawPtr, lpframeinfo: *mut OIFI, lpmsg: *mut super::super::UI::WindowsAndMessaging::MSG) -> ::windows::runtime::HRESULT;
10749         }
10750         OleTranslateAccelerator(lpframe.into_param().abi(), ::std::mem::transmute(lpframeinfo), ::std::mem::transmute(lpmsg)).ok()
10751     }
10752     #[cfg(not(windows))]
10753     unimplemented!("Unsupported target OS");
10754 }
10755 #[cfg(feature = "Win32_Graphics_Gdi")]
10756 #[inline]
OleTranslateColor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HPALETTE>>(clr: u32, hpal: Param1, lpcolorref: *mut u32) -> ::windows::runtime::Result<()>10757 pub unsafe fn OleTranslateColor<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HPALETTE>>(clr: u32, hpal: Param1, lpcolorref: *mut u32) -> ::windows::runtime::Result<()> {
10758     #[cfg(windows)]
10759     {
10760         #[link(name = "windows")]
10761         extern "system" {
10762             fn OleTranslateColor(clr: u32, hpal: super::super::Graphics::Gdi::HPALETTE, lpcolorref: *mut u32) -> ::windows::runtime::HRESULT;
10763         }
10764         OleTranslateColor(::std::mem::transmute(clr), hpal.into_param().abi(), ::std::mem::transmute(lpcolorref)).ok()
10765     }
10766     #[cfg(not(windows))]
10767     unimplemented!("Unsupported target OS");
10768 }
10769 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
10770 #[inline]
OleUIAddVerbMenuA<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( lpoleobj: Param0, lpszshorttype: Param1, hmenu: Param2, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: Param6, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU, ) -> super::super::Foundation::BOOL10771 pub unsafe fn OleUIAddVerbMenuA<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
10772     lpoleobj: Param0,
10773     lpszshorttype: Param1,
10774     hmenu: Param2,
10775     upos: u32,
10776     uidverbmin: u32,
10777     uidverbmax: u32,
10778     baddconvert: Param6,
10779     idconvert: u32,
10780     lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU,
10781 ) -> super::super::Foundation::BOOL {
10782     #[cfg(windows)]
10783     {
10784         #[link(name = "windows")]
10785         extern "system" {
10786             fn OleUIAddVerbMenuA(lpoleobj: ::windows::runtime::RawPtr, lpszshorttype: super::super::Foundation::PSTR, hmenu: super::super::UI::WindowsAndMessaging::HMENU, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: super::super::Foundation::BOOL, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> super::super::Foundation::BOOL;
10787         }
10788         ::std::mem::transmute(OleUIAddVerbMenuA(
10789             lpoleobj.into_param().abi(),
10790             lpszshorttype.into_param().abi(),
10791             hmenu.into_param().abi(),
10792             ::std::mem::transmute(upos),
10793             ::std::mem::transmute(uidverbmin),
10794             ::std::mem::transmute(uidverbmax),
10795             baddconvert.into_param().abi(),
10796             ::std::mem::transmute(idconvert),
10797             ::std::mem::transmute(lphmenu),
10798         ))
10799     }
10800     #[cfg(not(windows))]
10801     unimplemented!("Unsupported target OS");
10802 }
10803 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
10804 #[inline]
OleUIAddVerbMenuW<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( lpoleobj: Param0, lpszshorttype: Param1, hmenu: Param2, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: Param6, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU, ) -> super::super::Foundation::BOOL10805 pub unsafe fn OleUIAddVerbMenuW<'a, Param0: ::windows::runtime::IntoParam<'a, IOleObject>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::UI::WindowsAndMessaging::HMENU>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
10806     lpoleobj: Param0,
10807     lpszshorttype: Param1,
10808     hmenu: Param2,
10809     upos: u32,
10810     uidverbmin: u32,
10811     uidverbmax: u32,
10812     baddconvert: Param6,
10813     idconvert: u32,
10814     lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU,
10815 ) -> super::super::Foundation::BOOL {
10816     #[cfg(windows)]
10817     {
10818         #[link(name = "windows")]
10819         extern "system" {
10820             fn OleUIAddVerbMenuW(lpoleobj: ::windows::runtime::RawPtr, lpszshorttype: super::super::Foundation::PWSTR, hmenu: super::super::UI::WindowsAndMessaging::HMENU, upos: u32, uidverbmin: u32, uidverbmax: u32, baddconvert: super::super::Foundation::BOOL, idconvert: u32, lphmenu: *mut super::super::UI::WindowsAndMessaging::HMENU) -> super::super::Foundation::BOOL;
10821         }
10822         ::std::mem::transmute(OleUIAddVerbMenuW(
10823             lpoleobj.into_param().abi(),
10824             lpszshorttype.into_param().abi(),
10825             hmenu.into_param().abi(),
10826             ::std::mem::transmute(upos),
10827             ::std::mem::transmute(uidverbmin),
10828             ::std::mem::transmute(uidverbmax),
10829             baddconvert.into_param().abi(),
10830             ::std::mem::transmute(idconvert),
10831             ::std::mem::transmute(lphmenu),
10832         ))
10833     }
10834     #[cfg(not(windows))]
10835     unimplemented!("Unsupported target OS");
10836 }
10837 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
10838 #[inline]
OleUIBusyA(param0: *const OLEUIBUSYA) -> u3210839 pub unsafe fn OleUIBusyA(param0: *const OLEUIBUSYA) -> u32 {
10840     #[cfg(windows)]
10841     {
10842         #[link(name = "windows")]
10843         extern "system" {
10844             fn OleUIBusyA(param0: *const ::std::mem::ManuallyDrop<OLEUIBUSYA>) -> u32;
10845         }
10846         ::std::mem::transmute(OleUIBusyA(::std::mem::transmute(param0)))
10847     }
10848     #[cfg(not(windows))]
10849     unimplemented!("Unsupported target OS");
10850 }
10851 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Media_Audio_CoreAudio", feature = "Win32_System_LibraryLoader"))]
10852 #[inline]
OleUIBusyW(param0: *const OLEUIBUSYW) -> u3210853 pub unsafe fn OleUIBusyW(param0: *const OLEUIBUSYW) -> u32 {
10854     #[cfg(windows)]
10855     {
10856         #[link(name = "windows")]
10857         extern "system" {
10858             fn OleUIBusyW(param0: *const ::std::mem::ManuallyDrop<OLEUIBUSYW>) -> u32;
10859         }
10860         ::std::mem::transmute(OleUIBusyW(::std::mem::transmute(param0)))
10861     }
10862     #[cfg(not(windows))]
10863     unimplemented!("Unsupported target OS");
10864 }
10865 #[cfg(feature = "Win32_Foundation")]
10866 #[inline]
OleUICanConvertOrActivateAs<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(rclsid: *const ::windows::runtime::GUID, fislinkedobject: Param1, wformat: u16) -> super::super::Foundation::BOOL10867 pub unsafe fn OleUICanConvertOrActivateAs<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(rclsid: *const ::windows::runtime::GUID, fislinkedobject: Param1, wformat: u16) -> super::super::Foundation::BOOL {
10868     #[cfg(windows)]
10869     {
10870         #[link(name = "windows")]
10871         extern "system" {
10872             fn OleUICanConvertOrActivateAs(rclsid: *const ::windows::runtime::GUID, fislinkedobject: super::super::Foundation::BOOL, wformat: u16) -> super::super::Foundation::BOOL;
10873         }
10874         ::std::mem::transmute(OleUICanConvertOrActivateAs(::std::mem::transmute(rclsid), fislinkedobject.into_param().abi(), ::std::mem::transmute(wformat)))
10875     }
10876     #[cfg(not(windows))]
10877     unimplemented!("Unsupported target OS");
10878 }
10879 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10880 #[inline]
OleUIChangeIconA(param0: *const OLEUICHANGEICONA) -> u3210881 pub unsafe fn OleUIChangeIconA(param0: *const OLEUICHANGEICONA) -> u32 {
10882     #[cfg(windows)]
10883     {
10884         #[link(name = "windows")]
10885         extern "system" {
10886             fn OleUIChangeIconA(param0: *const ::std::mem::ManuallyDrop<OLEUICHANGEICONA>) -> u32;
10887         }
10888         ::std::mem::transmute(OleUIChangeIconA(::std::mem::transmute(param0)))
10889     }
10890     #[cfg(not(windows))]
10891     unimplemented!("Unsupported target OS");
10892 }
10893 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10894 #[inline]
OleUIChangeIconW(param0: *const OLEUICHANGEICONW) -> u3210895 pub unsafe fn OleUIChangeIconW(param0: *const OLEUICHANGEICONW) -> u32 {
10896     #[cfg(windows)]
10897     {
10898         #[link(name = "windows")]
10899         extern "system" {
10900             fn OleUIChangeIconW(param0: *const ::std::mem::ManuallyDrop<OLEUICHANGEICONW>) -> u32;
10901         }
10902         ::std::mem::transmute(OleUIChangeIconW(::std::mem::transmute(param0)))
10903     }
10904     #[cfg(not(windows))]
10905     unimplemented!("Unsupported target OS");
10906 }
10907 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
10908 #[inline]
OleUIChangeSourceA(param0: *const OLEUICHANGESOURCEA) -> u3210909 pub unsafe fn OleUIChangeSourceA(param0: *const OLEUICHANGESOURCEA) -> u32 {
10910     #[cfg(windows)]
10911     {
10912         #[link(name = "windows")]
10913         extern "system" {
10914             fn OleUIChangeSourceA(param0: *const ::std::mem::ManuallyDrop<OLEUICHANGESOURCEA>) -> u32;
10915         }
10916         ::std::mem::transmute(OleUIChangeSourceA(::std::mem::transmute(param0)))
10917     }
10918     #[cfg(not(windows))]
10919     unimplemented!("Unsupported target OS");
10920 }
10921 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader", feature = "Win32_UI_Controls_Dialogs"))]
10922 #[inline]
OleUIChangeSourceW(param0: *const OLEUICHANGESOURCEW) -> u3210923 pub unsafe fn OleUIChangeSourceW(param0: *const OLEUICHANGESOURCEW) -> u32 {
10924     #[cfg(windows)]
10925     {
10926         #[link(name = "windows")]
10927         extern "system" {
10928             fn OleUIChangeSourceW(param0: *const ::std::mem::ManuallyDrop<OLEUICHANGESOURCEW>) -> u32;
10929         }
10930         ::std::mem::transmute(OleUIChangeSourceW(::std::mem::transmute(param0)))
10931     }
10932     #[cfg(not(windows))]
10933     unimplemented!("Unsupported target OS");
10934 }
10935 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10936 #[inline]
OleUIConvertA(param0: *const OLEUICONVERTA) -> u3210937 pub unsafe fn OleUIConvertA(param0: *const OLEUICONVERTA) -> u32 {
10938     #[cfg(windows)]
10939     {
10940         #[link(name = "windows")]
10941         extern "system" {
10942             fn OleUIConvertA(param0: *const ::std::mem::ManuallyDrop<OLEUICONVERTA>) -> u32;
10943         }
10944         ::std::mem::transmute(OleUIConvertA(::std::mem::transmute(param0)))
10945     }
10946     #[cfg(not(windows))]
10947     unimplemented!("Unsupported target OS");
10948 }
10949 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10950 #[inline]
OleUIConvertW(param0: *const OLEUICONVERTW) -> u3210951 pub unsafe fn OleUIConvertW(param0: *const OLEUICONVERTW) -> u32 {
10952     #[cfg(windows)]
10953     {
10954         #[link(name = "windows")]
10955         extern "system" {
10956             fn OleUIConvertW(param0: *const ::std::mem::ManuallyDrop<OLEUICONVERTW>) -> u32;
10957         }
10958         ::std::mem::transmute(OleUIConvertW(::std::mem::transmute(param0)))
10959     }
10960     #[cfg(not(windows))]
10961     unimplemented!("Unsupported target OS");
10962 }
10963 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10964 #[inline]
OleUIEditLinksA(param0: *const OLEUIEDITLINKSA) -> u3210965 pub unsafe fn OleUIEditLinksA(param0: *const OLEUIEDITLINKSA) -> u32 {
10966     #[cfg(windows)]
10967     {
10968         #[link(name = "windows")]
10969         extern "system" {
10970             fn OleUIEditLinksA(param0: *const ::std::mem::ManuallyDrop<OLEUIEDITLINKSA>) -> u32;
10971         }
10972         ::std::mem::transmute(OleUIEditLinksA(::std::mem::transmute(param0)))
10973     }
10974     #[cfg(not(windows))]
10975     unimplemented!("Unsupported target OS");
10976 }
10977 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_LibraryLoader"))]
10978 #[inline]
OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u3210979 pub unsafe fn OleUIEditLinksW(param0: *const OLEUIEDITLINKSW) -> u32 {
10980     #[cfg(windows)]
10981     {
10982         #[link(name = "windows")]
10983         extern "system" {
10984             fn OleUIEditLinksW(param0: *const ::std::mem::ManuallyDrop<OLEUIEDITLINKSW>) -> u32;
10985         }
10986         ::std::mem::transmute(OleUIEditLinksW(::std::mem::transmute(param0)))
10987     }
10988     #[cfg(not(windows))]
10989     unimplemented!("Unsupported target OS");
10990 }
10991 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
10992 #[inline]
OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u3210993 pub unsafe fn OleUIInsertObjectA(param0: *const OLEUIINSERTOBJECTA) -> u32 {
10994     #[cfg(windows)]
10995     {
10996         #[link(name = "windows")]
10997         extern "system" {
10998             fn OleUIInsertObjectA(param0: *const ::std::mem::ManuallyDrop<OLEUIINSERTOBJECTA>) -> u32;
10999         }
11000         ::std::mem::transmute(OleUIInsertObjectA(::std::mem::transmute(param0)))
11001     }
11002     #[cfg(not(windows))]
11003     unimplemented!("Unsupported target OS");
11004 }
11005 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_LibraryLoader"))]
11006 #[inline]
OleUIInsertObjectW(param0: *const OLEUIINSERTOBJECTW) -> u3211007 pub unsafe fn OleUIInsertObjectW(param0: *const OLEUIINSERTOBJECTW) -> u32 {
11008     #[cfg(windows)]
11009     {
11010         #[link(name = "windows")]
11011         extern "system" {
11012             fn OleUIInsertObjectW(param0: *const ::std::mem::ManuallyDrop<OLEUIINSERTOBJECTW>) -> u32;
11013         }
11014         ::std::mem::transmute(OleUIInsertObjectW(::std::mem::transmute(param0)))
11015     }
11016     #[cfg(not(windows))]
11017     unimplemented!("Unsupported target OS");
11018 }
11019 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
11020 #[inline]
OleUIObjectPropertiesA(param0: *const OLEUIOBJECTPROPSA) -> u3211021 pub unsafe fn OleUIObjectPropertiesA(param0: *const OLEUIOBJECTPROPSA) -> u32 {
11022     #[cfg(windows)]
11023     {
11024         #[link(name = "windows")]
11025         extern "system" {
11026             fn OleUIObjectPropertiesA(param0: *const ::std::mem::ManuallyDrop<OLEUIOBJECTPROPSA>) -> u32;
11027         }
11028         ::std::mem::transmute(OleUIObjectPropertiesA(::std::mem::transmute(param0)))
11029     }
11030     #[cfg(not(windows))]
11031     unimplemented!("Unsupported target OS");
11032 }
11033 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
11034 #[inline]
OleUIObjectPropertiesW(param0: *const OLEUIOBJECTPROPSW) -> u3211035 pub unsafe fn OleUIObjectPropertiesW(param0: *const OLEUIOBJECTPROPSW) -> u32 {
11036     #[cfg(windows)]
11037     {
11038         #[link(name = "windows")]
11039         extern "system" {
11040             fn OleUIObjectPropertiesW(param0: *const ::std::mem::ManuallyDrop<OLEUIOBJECTPROPSW>) -> u32;
11041         }
11042         ::std::mem::transmute(OleUIObjectPropertiesW(::std::mem::transmute(param0)))
11043     }
11044     #[cfg(not(windows))]
11045     unimplemented!("Unsupported target OS");
11046 }
11047 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
11048 #[inline]
OleUIPasteSpecialA(param0: *const OLEUIPASTESPECIALA) -> u3211049 pub unsafe fn OleUIPasteSpecialA(param0: *const OLEUIPASTESPECIALA) -> u32 {
11050     #[cfg(windows)]
11051     {
11052         #[link(name = "windows")]
11053         extern "system" {
11054             fn OleUIPasteSpecialA(param0: *const ::std::mem::ManuallyDrop<OLEUIPASTESPECIALA>) -> u32;
11055         }
11056         ::std::mem::transmute(OleUIPasteSpecialA(::std::mem::transmute(param0)))
11057     }
11058     #[cfg(not(windows))]
11059     unimplemented!("Unsupported target OS");
11060 }
11061 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_LibraryLoader"))]
11062 #[inline]
OleUIPasteSpecialW(param0: *const OLEUIPASTESPECIALW) -> u3211063 pub unsafe fn OleUIPasteSpecialW(param0: *const OLEUIPASTESPECIALW) -> u32 {
11064     #[cfg(windows)]
11065     {
11066         #[link(name = "windows")]
11067         extern "system" {
11068             fn OleUIPasteSpecialW(param0: *const ::std::mem::ManuallyDrop<OLEUIPASTESPECIALW>) -> u32;
11069         }
11070         ::std::mem::transmute(OleUIPasteSpecialW(::std::mem::transmute(param0)))
11071     }
11072     #[cfg(not(windows))]
11073     unimplemented!("Unsupported target OS");
11074 }
11075 #[cfg(feature = "Win32_Foundation")]
11076 #[inline]
OleUIPromptUserA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(ntemplate: i32, hwndparent: Param1) -> i3211077 pub unsafe fn OleUIPromptUserA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(ntemplate: i32, hwndparent: Param1) -> i32 {
11078     #[cfg(windows)]
11079     {
11080         #[link(name = "windows")]
11081         extern "system" {
11082             fn OleUIPromptUserA(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32;
11083         }
11084         ::std::mem::transmute(OleUIPromptUserA(::std::mem::transmute(ntemplate), hwndparent.into_param().abi()))
11085     }
11086     #[cfg(not(windows))]
11087     unimplemented!("Unsupported target OS");
11088 }
11089 #[cfg(feature = "Win32_Foundation")]
11090 #[inline]
OleUIPromptUserW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(ntemplate: i32, hwndparent: Param1) -> i3211091 pub unsafe fn OleUIPromptUserW<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(ntemplate: i32, hwndparent: Param1) -> i32 {
11092     #[cfg(windows)]
11093     {
11094         #[link(name = "windows")]
11095         extern "system" {
11096             fn OleUIPromptUserW(ntemplate: i32, hwndparent: super::super::Foundation::HWND) -> i32;
11097         }
11098         ::std::mem::transmute(OleUIPromptUserW(::std::mem::transmute(ntemplate), hwndparent.into_param().abi()))
11099     }
11100     #[cfg(not(windows))]
11101     unimplemented!("Unsupported target OS");
11102 }
11103 #[cfg(feature = "Win32_Foundation")]
11104 #[inline]
OleUIUpdateLinksA<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUILinkContainerA>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpoleuilinkcntr: Param0, hwndparent: Param1, lpsztitle: Param2, clinks: i32) -> super::super::Foundation::BOOL11105 pub unsafe fn OleUIUpdateLinksA<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUILinkContainerA>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpoleuilinkcntr: Param0, hwndparent: Param1, lpsztitle: Param2, clinks: i32) -> super::super::Foundation::BOOL {
11106     #[cfg(windows)]
11107     {
11108         #[link(name = "windows")]
11109         extern "system" {
11110             fn OleUIUpdateLinksA(lpoleuilinkcntr: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, lpsztitle: super::super::Foundation::PSTR, clinks: i32) -> super::super::Foundation::BOOL;
11111         }
11112         ::std::mem::transmute(OleUIUpdateLinksA(lpoleuilinkcntr.into_param().abi(), hwndparent.into_param().abi(), lpsztitle.into_param().abi(), ::std::mem::transmute(clinks)))
11113     }
11114     #[cfg(not(windows))]
11115     unimplemented!("Unsupported target OS");
11116 }
11117 #[cfg(feature = "Win32_Foundation")]
11118 #[inline]
OleUIUpdateLinksW<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUILinkContainerW>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpoleuilinkcntr: Param0, hwndparent: Param1, lpsztitle: Param2, clinks: i32) -> super::super::Foundation::BOOL11119 pub unsafe fn OleUIUpdateLinksW<'a, Param0: ::windows::runtime::IntoParam<'a, IOleUILinkContainerW>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpoleuilinkcntr: Param0, hwndparent: Param1, lpsztitle: Param2, clinks: i32) -> super::super::Foundation::BOOL {
11120     #[cfg(windows)]
11121     {
11122         #[link(name = "windows")]
11123         extern "system" {
11124             fn OleUIUpdateLinksW(lpoleuilinkcntr: ::windows::runtime::RawPtr, hwndparent: super::super::Foundation::HWND, lpsztitle: super::super::Foundation::PWSTR, clinks: i32) -> super::super::Foundation::BOOL;
11125         }
11126         ::std::mem::transmute(OleUIUpdateLinksW(lpoleuilinkcntr.into_param().abi(), hwndparent.into_param().abi(), lpsztitle.into_param().abi(), ::std::mem::transmute(clinks)))
11127     }
11128     #[cfg(not(windows))]
11129     unimplemented!("Unsupported target OS");
11130 }
11131 #[inline]
OleUninitialize()11132 pub unsafe fn OleUninitialize() {
11133     #[cfg(windows)]
11134     {
11135         #[link(name = "windows")]
11136         extern "system" {
11137             fn OleUninitialize();
11138         }
11139         ::std::mem::transmute(OleUninitialize())
11140     }
11141     #[cfg(not(windows))]
11142     unimplemented!("Unsupported target OS");
11143 }
11144 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11145 #[repr(transparent)]
11146 pub struct PAGEACTION_UI(pub i32);
11147 pub const PAGEACTION_UI_DEFAULT: PAGEACTION_UI = PAGEACTION_UI(0i32);
11148 pub const PAGEACTION_UI_MODAL: PAGEACTION_UI = PAGEACTION_UI(1i32);
11149 pub const PAGEACTION_UI_MODELESS: PAGEACTION_UI = PAGEACTION_UI(2i32);
11150 pub const PAGEACTION_UI_SILENT: PAGEACTION_UI = PAGEACTION_UI(3i32);
11151 impl ::std::convert::From<i32> for PAGEACTION_UI {
from(value: i32) -> Self11152     fn from(value: i32) -> Self {
11153         Self(value)
11154     }
11155 }
11156 unsafe impl ::windows::runtime::Abi for PAGEACTION_UI {
11157     type Abi = Self;
11158     type DefaultType = Self;
11159 }
11160 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11161 #[repr(C)]
11162 pub struct PAGERANGE {
11163     pub nFromPage: i32,
11164     pub nToPage: i32,
11165 }
11166 impl PAGERANGE {}
11167 impl ::std::default::Default for PAGERANGE {
default() -> Self11168     fn default() -> Self {
11169         unsafe { ::std::mem::zeroed() }
11170     }
11171 }
11172 impl ::std::fmt::Debug for PAGERANGE {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11173     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11174         fmt.debug_struct("PAGERANGE").field("nFromPage", &self.nFromPage).field("nToPage", &self.nToPage).finish()
11175     }
11176 }
11177 impl ::std::cmp::PartialEq for PAGERANGE {
eq(&self, other: &Self) -> bool11178     fn eq(&self, other: &Self) -> bool {
11179         self.nFromPage == other.nFromPage && self.nToPage == other.nToPage
11180     }
11181 }
11182 impl ::std::cmp::Eq for PAGERANGE {}
11183 unsafe impl ::windows::runtime::Abi for PAGERANGE {
11184     type Abi = Self;
11185     type DefaultType = Self;
11186 }
11187 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11188 #[repr(C)]
11189 #[cfg(feature = "Win32_Foundation")]
11190 pub struct PAGESET {
11191     pub cbStruct: u32,
11192     pub fOddPages: super::super::Foundation::BOOL,
11193     pub fEvenPages: super::super::Foundation::BOOL,
11194     pub cPageRange: u32,
11195     pub rgPages: [PAGERANGE; 1],
11196 }
11197 #[cfg(feature = "Win32_Foundation")]
11198 impl PAGESET {}
11199 #[cfg(feature = "Win32_Foundation")]
11200 impl ::std::default::Default for PAGESET {
default() -> Self11201     fn default() -> Self {
11202         unsafe { ::std::mem::zeroed() }
11203     }
11204 }
11205 #[cfg(feature = "Win32_Foundation")]
11206 impl ::std::fmt::Debug for PAGESET {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11207     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11208         fmt.debug_struct("PAGESET").field("cbStruct", &self.cbStruct).field("fOddPages", &self.fOddPages).field("fEvenPages", &self.fEvenPages).field("cPageRange", &self.cPageRange).field("rgPages", &self.rgPages).finish()
11209     }
11210 }
11211 #[cfg(feature = "Win32_Foundation")]
11212 impl ::std::cmp::PartialEq for PAGESET {
eq(&self, other: &Self) -> bool11213     fn eq(&self, other: &Self) -> bool {
11214         self.cbStruct == other.cbStruct && self.fOddPages == other.fOddPages && self.fEvenPages == other.fEvenPages && self.cPageRange == other.cPageRange && self.rgPages == other.rgPages
11215     }
11216 }
11217 #[cfg(feature = "Win32_Foundation")]
11218 impl ::std::cmp::Eq for PAGESET {}
11219 #[cfg(feature = "Win32_Foundation")]
11220 unsafe impl ::windows::runtime::Abi for PAGESET {
11221     type Abi = Self;
11222     type DefaultType = Self;
11223 }
11224 pub const PERPROP_E_FIRST: i32 = -2147220992i32;
11225 pub const PERPROP_E_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220977i32 as _);
11226 pub const PERPROP_E_NOPAGEAVAILABLE: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220992i32 as _);
11227 pub const PERPROP_S_FIRST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262656i32 as _);
11228 pub const PERPROP_S_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262671i32 as _);
11229 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11230 #[repr(C)]
11231 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11232 pub struct PICTDESC {
11233     pub cbSizeofstruct: u32,
11234     pub picType: u32,
11235     pub Anonymous: PICTDESC_0,
11236 }
11237 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11238 impl PICTDESC {}
11239 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11240 impl ::std::default::Default for PICTDESC {
default() -> Self11241     fn default() -> Self {
11242         unsafe { ::std::mem::zeroed() }
11243     }
11244 }
11245 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11246 impl ::std::cmp::PartialEq for PICTDESC {
eq(&self, _other: &Self) -> bool11247     fn eq(&self, _other: &Self) -> bool {
11248         unimplemented!()
11249     }
11250 }
11251 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11252 impl ::std::cmp::Eq for PICTDESC {}
11253 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11254 unsafe impl ::windows::runtime::Abi for PICTDESC {
11255     type Abi = Self;
11256     type DefaultType = Self;
11257 }
11258 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11259 #[repr(C)]
11260 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11261 pub union PICTDESC_0 {
11262     pub bmp: PICTDESC_0_0,
11263     pub wmf: PICTDESC_0_3,
11264     pub icon: PICTDESC_0_2,
11265     pub emf: PICTDESC_0_1,
11266 }
11267 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11268 impl PICTDESC_0 {}
11269 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11270 impl ::std::default::Default for PICTDESC_0 {
default() -> Self11271     fn default() -> Self {
11272         unsafe { ::std::mem::zeroed() }
11273     }
11274 }
11275 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11276 impl ::std::cmp::PartialEq for PICTDESC_0 {
eq(&self, _other: &Self) -> bool11277     fn eq(&self, _other: &Self) -> bool {
11278         unimplemented!()
11279     }
11280 }
11281 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11282 impl ::std::cmp::Eq for PICTDESC_0 {}
11283 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))]
11284 unsafe impl ::windows::runtime::Abi for PICTDESC_0 {
11285     type Abi = Self;
11286     type DefaultType = Self;
11287 }
11288 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11289 #[repr(C)]
11290 #[cfg(feature = "Win32_Graphics_Gdi")]
11291 pub struct PICTDESC_0_0 {
11292     pub hbitmap: super::super::Graphics::Gdi::HBITMAP,
11293     pub hpal: super::super::Graphics::Gdi::HPALETTE,
11294 }
11295 #[cfg(feature = "Win32_Graphics_Gdi")]
11296 impl PICTDESC_0_0 {}
11297 #[cfg(feature = "Win32_Graphics_Gdi")]
11298 impl ::std::default::Default for PICTDESC_0_0 {
default() -> Self11299     fn default() -> Self {
11300         unsafe { ::std::mem::zeroed() }
11301     }
11302 }
11303 #[cfg(feature = "Win32_Graphics_Gdi")]
11304 impl ::std::fmt::Debug for PICTDESC_0_0 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11305     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11306         fmt.debug_struct("_bmp_e__Struct").field("hbitmap", &self.hbitmap).field("hpal", &self.hpal).finish()
11307     }
11308 }
11309 #[cfg(feature = "Win32_Graphics_Gdi")]
11310 impl ::std::cmp::PartialEq for PICTDESC_0_0 {
eq(&self, other: &Self) -> bool11311     fn eq(&self, other: &Self) -> bool {
11312         self.hbitmap == other.hbitmap && self.hpal == other.hpal
11313     }
11314 }
11315 #[cfg(feature = "Win32_Graphics_Gdi")]
11316 impl ::std::cmp::Eq for PICTDESC_0_0 {}
11317 #[cfg(feature = "Win32_Graphics_Gdi")]
11318 unsafe impl ::windows::runtime::Abi for PICTDESC_0_0 {
11319     type Abi = Self;
11320     type DefaultType = Self;
11321 }
11322 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11323 #[repr(C)]
11324 #[cfg(feature = "Win32_Graphics_Gdi")]
11325 pub struct PICTDESC_0_1 {
11326     pub hemf: super::super::Graphics::Gdi::HENHMETAFILE,
11327 }
11328 #[cfg(feature = "Win32_Graphics_Gdi")]
11329 impl PICTDESC_0_1 {}
11330 #[cfg(feature = "Win32_Graphics_Gdi")]
11331 impl ::std::default::Default for PICTDESC_0_1 {
default() -> Self11332     fn default() -> Self {
11333         unsafe { ::std::mem::zeroed() }
11334     }
11335 }
11336 #[cfg(feature = "Win32_Graphics_Gdi")]
11337 impl ::std::fmt::Debug for PICTDESC_0_1 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11338     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11339         fmt.debug_struct("_emf_e__Struct").field("hemf", &self.hemf).finish()
11340     }
11341 }
11342 #[cfg(feature = "Win32_Graphics_Gdi")]
11343 impl ::std::cmp::PartialEq for PICTDESC_0_1 {
eq(&self, other: &Self) -> bool11344     fn eq(&self, other: &Self) -> bool {
11345         self.hemf == other.hemf
11346     }
11347 }
11348 #[cfg(feature = "Win32_Graphics_Gdi")]
11349 impl ::std::cmp::Eq for PICTDESC_0_1 {}
11350 #[cfg(feature = "Win32_Graphics_Gdi")]
11351 unsafe impl ::windows::runtime::Abi for PICTDESC_0_1 {
11352     type Abi = Self;
11353     type DefaultType = Self;
11354 }
11355 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11356 #[repr(C)]
11357 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11358 pub struct PICTDESC_0_2 {
11359     pub hicon: super::super::UI::WindowsAndMessaging::HICON,
11360 }
11361 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11362 impl PICTDESC_0_2 {}
11363 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11364 impl ::std::default::Default for PICTDESC_0_2 {
default() -> Self11365     fn default() -> Self {
11366         unsafe { ::std::mem::zeroed() }
11367     }
11368 }
11369 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11370 impl ::std::fmt::Debug for PICTDESC_0_2 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11371     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11372         fmt.debug_struct("_icon_e__Struct").field("hicon", &self.hicon).finish()
11373     }
11374 }
11375 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11376 impl ::std::cmp::PartialEq for PICTDESC_0_2 {
eq(&self, other: &Self) -> bool11377     fn eq(&self, other: &Self) -> bool {
11378         self.hicon == other.hicon
11379     }
11380 }
11381 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11382 impl ::std::cmp::Eq for PICTDESC_0_2 {}
11383 #[cfg(feature = "Win32_UI_WindowsAndMessaging")]
11384 unsafe impl ::windows::runtime::Abi for PICTDESC_0_2 {
11385     type Abi = Self;
11386     type DefaultType = Self;
11387 }
11388 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11389 #[repr(C)]
11390 #[cfg(feature = "Win32_Graphics_Gdi")]
11391 pub struct PICTDESC_0_3 {
11392     pub hmeta: super::super::Graphics::Gdi::HMETAFILE,
11393     pub xExt: i32,
11394     pub yExt: i32,
11395 }
11396 #[cfg(feature = "Win32_Graphics_Gdi")]
11397 impl PICTDESC_0_3 {}
11398 #[cfg(feature = "Win32_Graphics_Gdi")]
11399 impl ::std::default::Default for PICTDESC_0_3 {
default() -> Self11400     fn default() -> Self {
11401         unsafe { ::std::mem::zeroed() }
11402     }
11403 }
11404 #[cfg(feature = "Win32_Graphics_Gdi")]
11405 impl ::std::fmt::Debug for PICTDESC_0_3 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11406     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11407         fmt.debug_struct("_wmf_e__Struct").field("hmeta", &self.hmeta).field("xExt", &self.xExt).field("yExt", &self.yExt).finish()
11408     }
11409 }
11410 #[cfg(feature = "Win32_Graphics_Gdi")]
11411 impl ::std::cmp::PartialEq for PICTDESC_0_3 {
eq(&self, other: &Self) -> bool11412     fn eq(&self, other: &Self) -> bool {
11413         self.hmeta == other.hmeta && self.xExt == other.xExt && self.yExt == other.yExt
11414     }
11415 }
11416 #[cfg(feature = "Win32_Graphics_Gdi")]
11417 impl ::std::cmp::Eq for PICTDESC_0_3 {}
11418 #[cfg(feature = "Win32_Graphics_Gdi")]
11419 unsafe impl ::windows::runtime::Abi for PICTDESC_0_3 {
11420     type Abi = Self;
11421     type DefaultType = Self;
11422 }
11423 pub const PICTYPE_BITMAP: u32 = 1u32;
11424 pub const PICTYPE_ENHMETAFILE: u32 = 4u32;
11425 pub const PICTYPE_ICON: u32 = 3u32;
11426 pub const PICTYPE_METAFILE: u32 = 2u32;
11427 pub const PICTYPE_NONE: u32 = 0u32;
11428 pub const PICTYPE_UNINITIALIZED: i32 = -1i32;
11429 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11430 #[repr(transparent)]
11431 pub struct POINTERINACTIVE(pub i32);
11432 pub const POINTERINACTIVE_ACTIVATEONENTRY: POINTERINACTIVE = POINTERINACTIVE(1i32);
11433 pub const POINTERINACTIVE_DEACTIVATEONLEAVE: POINTERINACTIVE = POINTERINACTIVE(2i32);
11434 pub const POINTERINACTIVE_ACTIVATEONDRAG: POINTERINACTIVE = POINTERINACTIVE(4i32);
11435 impl ::std::convert::From<i32> for POINTERINACTIVE {
from(value: i32) -> Self11436     fn from(value: i32) -> Self {
11437         Self(value)
11438     }
11439 }
11440 unsafe impl ::windows::runtime::Abi for POINTERINACTIVE {
11441     type Abi = Self;
11442     type DefaultType = Self;
11443 }
11444 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11445 #[repr(C)]
11446 pub struct POINTF {
11447     pub x: f32,
11448     pub y: f32,
11449 }
11450 impl POINTF {}
11451 impl ::std::default::Default for POINTF {
default() -> Self11452     fn default() -> Self {
11453         unsafe { ::std::mem::zeroed() }
11454     }
11455 }
11456 impl ::std::fmt::Debug for POINTF {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11457     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11458         fmt.debug_struct("POINTF").field("x", &self.x).field("y", &self.y).finish()
11459     }
11460 }
11461 impl ::std::cmp::PartialEq for POINTF {
eq(&self, other: &Self) -> bool11462     fn eq(&self, other: &Self) -> bool {
11463         self.x == other.x && self.y == other.y
11464     }
11465 }
11466 impl ::std::cmp::Eq for POINTF {}
11467 unsafe impl ::windows::runtime::Abi for POINTF {
11468     type Abi = Self;
11469     type DefaultType = Self;
11470 }
11471 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11472 #[repr(transparent)]
11473 pub struct PRINTFLAG(pub u32);
11474 pub const PRINTFLAG_MAYBOTHERUSER: PRINTFLAG = PRINTFLAG(1u32);
11475 pub const PRINTFLAG_PROMPTUSER: PRINTFLAG = PRINTFLAG(2u32);
11476 pub const PRINTFLAG_USERMAYCHANGEPRINTER: PRINTFLAG = PRINTFLAG(4u32);
11477 pub const PRINTFLAG_RECOMPOSETODEVICE: PRINTFLAG = PRINTFLAG(8u32);
11478 pub const PRINTFLAG_DONTACTUALLYPRINT: PRINTFLAG = PRINTFLAG(16u32);
11479 pub const PRINTFLAG_FORCEPROPERTIES: PRINTFLAG = PRINTFLAG(32u32);
11480 pub const PRINTFLAG_PRINTTOFILE: PRINTFLAG = PRINTFLAG(64u32);
11481 impl ::std::convert::From<u32> for PRINTFLAG {
from(value: u32) -> Self11482     fn from(value: u32) -> Self {
11483         Self(value)
11484     }
11485 }
11486 unsafe impl ::windows::runtime::Abi for PRINTFLAG {
11487     type Abi = Self;
11488     type DefaultType = Self;
11489 }
11490 impl ::std::ops::BitOr for PRINTFLAG {
11491     type Output = Self;
bitor(self, rhs: Self) -> Self11492     fn bitor(self, rhs: Self) -> Self {
11493         Self(self.0 | rhs.0)
11494     }
11495 }
11496 impl ::std::ops::BitAnd for PRINTFLAG {
11497     type Output = Self;
bitand(self, rhs: Self) -> Self11498     fn bitand(self, rhs: Self) -> Self {
11499         Self(self.0 & rhs.0)
11500     }
11501 }
11502 impl ::std::ops::BitOrAssign for PRINTFLAG {
bitor_assign(&mut self, rhs: Self)11503     fn bitor_assign(&mut self, rhs: Self) {
11504         self.0.bitor_assign(rhs.0)
11505     }
11506 }
11507 impl ::std::ops::BitAndAssign for PRINTFLAG {
bitand_assign(&mut self, rhs: Self)11508     fn bitand_assign(&mut self, rhs: Self) {
11509         self.0.bitand_assign(rhs.0)
11510     }
11511 }
11512 impl ::std::ops::Not for PRINTFLAG {
11513     type Output = Self;
not(self) -> Self11514     fn not(self) -> Self {
11515         Self(self.0.not())
11516     }
11517 }
11518 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11519 #[repr(C)]
11520 #[cfg(feature = "Win32_Foundation")]
11521 pub struct PROPBAG2 {
11522     pub dwType: u32,
11523     pub vt: u16,
11524     pub cfType: u16,
11525     pub dwHint: u32,
11526     pub pstrName: super::super::Foundation::PWSTR,
11527     pub clsid: ::windows::runtime::GUID,
11528 }
11529 #[cfg(feature = "Win32_Foundation")]
11530 impl PROPBAG2 {}
11531 #[cfg(feature = "Win32_Foundation")]
11532 impl ::std::default::Default for PROPBAG2 {
default() -> Self11533     fn default() -> Self {
11534         unsafe { ::std::mem::zeroed() }
11535     }
11536 }
11537 #[cfg(feature = "Win32_Foundation")]
11538 impl ::std::fmt::Debug for PROPBAG2 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11539     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11540         fmt.debug_struct("PROPBAG2").field("dwType", &self.dwType).field("vt", &self.vt).field("cfType", &self.cfType).field("dwHint", &self.dwHint).field("pstrName", &self.pstrName).field("clsid", &self.clsid).finish()
11541     }
11542 }
11543 #[cfg(feature = "Win32_Foundation")]
11544 impl ::std::cmp::PartialEq for PROPBAG2 {
eq(&self, other: &Self) -> bool11545     fn eq(&self, other: &Self) -> bool {
11546         self.dwType == other.dwType && self.vt == other.vt && self.cfType == other.cfType && self.dwHint == other.dwHint && self.pstrName == other.pstrName && self.clsid == other.clsid
11547     }
11548 }
11549 #[cfg(feature = "Win32_Foundation")]
11550 impl ::std::cmp::Eq for PROPBAG2 {}
11551 #[cfg(feature = "Win32_Foundation")]
11552 unsafe impl ::windows::runtime::Abi for PROPBAG2 {
11553     type Abi = Self;
11554     type DefaultType = Self;
11555 }
11556 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11557 #[repr(transparent)]
11558 pub struct PROPBAG2_TYPE(pub i32);
11559 pub const PROPBAG2_TYPE_UNDEFINED: PROPBAG2_TYPE = PROPBAG2_TYPE(0i32);
11560 pub const PROPBAG2_TYPE_DATA: PROPBAG2_TYPE = PROPBAG2_TYPE(1i32);
11561 pub const PROPBAG2_TYPE_URL: PROPBAG2_TYPE = PROPBAG2_TYPE(2i32);
11562 pub const PROPBAG2_TYPE_OBJECT: PROPBAG2_TYPE = PROPBAG2_TYPE(3i32);
11563 pub const PROPBAG2_TYPE_STREAM: PROPBAG2_TYPE = PROPBAG2_TYPE(4i32);
11564 pub const PROPBAG2_TYPE_STORAGE: PROPBAG2_TYPE = PROPBAG2_TYPE(5i32);
11565 pub const PROPBAG2_TYPE_MONIKER: PROPBAG2_TYPE = PROPBAG2_TYPE(6i32);
11566 impl ::std::convert::From<i32> for PROPBAG2_TYPE {
from(value: i32) -> Self11567     fn from(value: i32) -> Self {
11568         Self(value)
11569     }
11570 }
11571 unsafe impl ::windows::runtime::Abi for PROPBAG2_TYPE {
11572     type Abi = Self;
11573     type DefaultType = Self;
11574 }
11575 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11576 #[repr(C)]
11577 #[cfg(feature = "Win32_Foundation")]
11578 pub struct PROPPAGEINFO {
11579     pub cb: u32,
11580     pub pszTitle: super::super::Foundation::PWSTR,
11581     pub size: super::super::Foundation::SIZE,
11582     pub pszDocString: super::super::Foundation::PWSTR,
11583     pub pszHelpFile: super::super::Foundation::PWSTR,
11584     pub dwHelpContext: u32,
11585 }
11586 #[cfg(feature = "Win32_Foundation")]
11587 impl PROPPAGEINFO {}
11588 #[cfg(feature = "Win32_Foundation")]
11589 impl ::std::default::Default for PROPPAGEINFO {
default() -> Self11590     fn default() -> Self {
11591         unsafe { ::std::mem::zeroed() }
11592     }
11593 }
11594 #[cfg(feature = "Win32_Foundation")]
11595 impl ::std::fmt::Debug for PROPPAGEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11596     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11597         fmt.debug_struct("PROPPAGEINFO").field("cb", &self.cb).field("pszTitle", &self.pszTitle).field("size", &self.size).field("pszDocString", &self.pszDocString).field("pszHelpFile", &self.pszHelpFile).field("dwHelpContext", &self.dwHelpContext).finish()
11598     }
11599 }
11600 #[cfg(feature = "Win32_Foundation")]
11601 impl ::std::cmp::PartialEq for PROPPAGEINFO {
eq(&self, other: &Self) -> bool11602     fn eq(&self, other: &Self) -> bool {
11603         self.cb == other.cb && self.pszTitle == other.pszTitle && self.size == other.size && self.pszDocString == other.pszDocString && self.pszHelpFile == other.pszHelpFile && self.dwHelpContext == other.dwHelpContext
11604     }
11605 }
11606 #[cfg(feature = "Win32_Foundation")]
11607 impl ::std::cmp::Eq for PROPPAGEINFO {}
11608 #[cfg(feature = "Win32_Foundation")]
11609 unsafe impl ::windows::runtime::Abi for PROPPAGEINFO {
11610     type Abi = Self;
11611     type DefaultType = Self;
11612 }
11613 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11614 #[repr(transparent)]
11615 pub struct PROPPAGESTATUS(pub i32);
11616 pub const PROPPAGESTATUS_DIRTY: PROPPAGESTATUS = PROPPAGESTATUS(1i32);
11617 pub const PROPPAGESTATUS_VALIDATE: PROPPAGESTATUS = PROPPAGESTATUS(2i32);
11618 pub const PROPPAGESTATUS_CLEAN: PROPPAGESTATUS = PROPPAGESTATUS(4i32);
11619 impl ::std::convert::From<i32> for PROPPAGESTATUS {
from(value: i32) -> Self11620     fn from(value: i32) -> Self {
11621         Self(value)
11622     }
11623 }
11624 unsafe impl ::windows::runtime::Abi for PROPPAGESTATUS {
11625     type Abi = Self;
11626     type DefaultType = Self;
11627 }
11628 pub const PSF_CHECKDISPLAYASICON: i32 = 8i32;
11629 pub const PSF_DISABLEDISPLAYASICON: i32 = 16i32;
11630 pub const PSF_HIDECHANGEICON: i32 = 32i32;
11631 pub const PSF_NOREFRESHDATAOBJECT: i32 = 128i32;
11632 pub const PSF_SELECTPASTE: i32 = 2i32;
11633 pub const PSF_SELECTPASTELINK: i32 = 4i32;
11634 pub const PSF_SHOWHELP: i32 = 1i32;
11635 pub const PSF_STAYONCLIPBOARDCHANGE: i32 = 64i32;
11636 pub const PS_MAXLINKTYPES: u32 = 8u32;
11637 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11638 #[repr(transparent)]
11639 pub struct PictureAttributes(pub i32);
11640 pub const PICTURE_SCALABLE: PictureAttributes = PictureAttributes(1i32);
11641 pub const PICTURE_TRANSPARENT: PictureAttributes = PictureAttributes(2i32);
11642 impl ::std::convert::From<i32> for PictureAttributes {
from(value: i32) -> Self11643     fn from(value: i32) -> Self {
11644         Self(value)
11645     }
11646 }
11647 unsafe impl ::windows::runtime::Abi for PictureAttributes {
11648     type Abi = Self;
11649     type DefaultType = Self;
11650 }
11651 #[derive(:: std :: clone :: Clone)]
11652 #[repr(C)]
11653 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11654 pub struct QACONTAINER {
11655     pub cbSize: u32,
11656     pub pClientSite: ::std::option::Option<IOleClientSite>,
11657     pub pAdviseSink: ::std::option::Option<IAdviseSinkEx>,
11658     pub pPropertyNotifySink: ::std::option::Option<IPropertyNotifySink>,
11659     pub pUnkEventSink: ::std::option::Option<::windows::runtime::IUnknown>,
11660     pub dwAmbientFlags: u32,
11661     pub colorFore: u32,
11662     pub colorBack: u32,
11663     pub pFont: ::std::option::Option<IFont>,
11664     pub pUndoMgr: ::std::option::Option<IOleUndoManager>,
11665     pub dwAppearance: u32,
11666     pub lcid: i32,
11667     pub hpal: super::super::Graphics::Gdi::HPALETTE,
11668     pub pBindHost: ::std::option::Option<super::Com::IBindHost>,
11669     pub pOleControlSite: ::std::option::Option<IOleControlSite>,
11670     pub pServiceProvider: ::std::option::Option<super::Com::IServiceProvider>,
11671 }
11672 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11673 impl QACONTAINER {}
11674 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11675 impl ::std::default::Default for QACONTAINER {
default() -> Self11676     fn default() -> Self {
11677         unsafe { ::std::mem::zeroed() }
11678     }
11679 }
11680 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11681 impl ::std::fmt::Debug for QACONTAINER {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11682     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11683         fmt.debug_struct("QACONTAINER")
11684             .field("cbSize", &self.cbSize)
11685             .field("pClientSite", &self.pClientSite)
11686             .field("pAdviseSink", &self.pAdviseSink)
11687             .field("pPropertyNotifySink", &self.pPropertyNotifySink)
11688             .field("pUnkEventSink", &self.pUnkEventSink)
11689             .field("dwAmbientFlags", &self.dwAmbientFlags)
11690             .field("colorFore", &self.colorFore)
11691             .field("colorBack", &self.colorBack)
11692             .field("pFont", &self.pFont)
11693             .field("pUndoMgr", &self.pUndoMgr)
11694             .field("dwAppearance", &self.dwAppearance)
11695             .field("lcid", &self.lcid)
11696             .field("hpal", &self.hpal)
11697             .field("pBindHost", &self.pBindHost)
11698             .field("pOleControlSite", &self.pOleControlSite)
11699             .field("pServiceProvider", &self.pServiceProvider)
11700             .finish()
11701     }
11702 }
11703 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11704 impl ::std::cmp::PartialEq for QACONTAINER {
eq(&self, other: &Self) -> bool11705     fn eq(&self, other: &Self) -> bool {
11706         self.cbSize == other.cbSize
11707             && self.pClientSite == other.pClientSite
11708             && self.pAdviseSink == other.pAdviseSink
11709             && self.pPropertyNotifySink == other.pPropertyNotifySink
11710             && self.pUnkEventSink == other.pUnkEventSink
11711             && self.dwAmbientFlags == other.dwAmbientFlags
11712             && self.colorFore == other.colorFore
11713             && self.colorBack == other.colorBack
11714             && self.pFont == other.pFont
11715             && self.pUndoMgr == other.pUndoMgr
11716             && self.dwAppearance == other.dwAppearance
11717             && self.lcid == other.lcid
11718             && self.hpal == other.hpal
11719             && self.pBindHost == other.pBindHost
11720             && self.pOleControlSite == other.pOleControlSite
11721             && self.pServiceProvider == other.pServiceProvider
11722     }
11723 }
11724 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11725 impl ::std::cmp::Eq for QACONTAINER {}
11726 #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))]
11727 unsafe impl ::windows::runtime::Abi for QACONTAINER {
11728     type Abi = ::std::mem::ManuallyDrop<Self>;
11729     type DefaultType = Self;
11730 }
11731 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11732 #[repr(transparent)]
11733 pub struct QACONTAINERFLAGS(pub i32);
11734 pub const QACONTAINER_SHOWHATCHING: QACONTAINERFLAGS = QACONTAINERFLAGS(1i32);
11735 pub const QACONTAINER_SHOWGRABHANDLES: QACONTAINERFLAGS = QACONTAINERFLAGS(2i32);
11736 pub const QACONTAINER_USERMODE: QACONTAINERFLAGS = QACONTAINERFLAGS(4i32);
11737 pub const QACONTAINER_DISPLAYASDEFAULT: QACONTAINERFLAGS = QACONTAINERFLAGS(8i32);
11738 pub const QACONTAINER_UIDEAD: QACONTAINERFLAGS = QACONTAINERFLAGS(16i32);
11739 pub const QACONTAINER_AUTOCLIP: QACONTAINERFLAGS = QACONTAINERFLAGS(32i32);
11740 pub const QACONTAINER_MESSAGEREFLECT: QACONTAINERFLAGS = QACONTAINERFLAGS(64i32);
11741 pub const QACONTAINER_SUPPORTSMNEMONICS: QACONTAINERFLAGS = QACONTAINERFLAGS(128i32);
11742 impl ::std::convert::From<i32> for QACONTAINERFLAGS {
from(value: i32) -> Self11743     fn from(value: i32) -> Self {
11744         Self(value)
11745     }
11746 }
11747 unsafe impl ::windows::runtime::Abi for QACONTAINERFLAGS {
11748     type Abi = Self;
11749     type DefaultType = Self;
11750 }
11751 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
11752 #[repr(C)]
11753 pub struct QACONTROL {
11754     pub cbSize: u32,
11755     pub dwMiscStatus: u32,
11756     pub dwViewStatus: u32,
11757     pub dwEventCookie: u32,
11758     pub dwPropNotifyCookie: u32,
11759     pub dwPointerActivationPolicy: u32,
11760 }
11761 impl QACONTROL {}
11762 impl ::std::default::Default for QACONTROL {
default() -> Self11763     fn default() -> Self {
11764         unsafe { ::std::mem::zeroed() }
11765     }
11766 }
11767 impl ::std::fmt::Debug for QACONTROL {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result11768     fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
11769         fmt.debug_struct("QACONTROL")
11770             .field("cbSize", &self.cbSize)
11771             .field("dwMiscStatus", &self.dwMiscStatus)
11772             .field("dwViewStatus", &self.dwViewStatus)
11773             .field("dwEventCookie", &self.dwEventCookie)
11774             .field("dwPropNotifyCookie", &self.dwPropNotifyCookie)
11775             .field("dwPointerActivationPolicy", &self.dwPointerActivationPolicy)
11776             .finish()
11777     }
11778 }
11779 impl ::std::cmp::PartialEq for QACONTROL {
eq(&self, other: &Self) -> bool11780     fn eq(&self, other: &Self) -> bool {
11781         self.cbSize == other.cbSize && self.dwMiscStatus == other.dwMiscStatus && self.dwViewStatus == other.dwViewStatus && self.dwEventCookie == other.dwEventCookie && self.dwPropNotifyCookie == other.dwPropNotifyCookie && self.dwPointerActivationPolicy == other.dwPointerActivationPolicy
11782     }
11783 }
11784 impl ::std::cmp::Eq for QACONTROL {}
11785 unsafe impl ::windows::runtime::Abi for QACONTROL {
11786     type Abi = Self;
11787     type DefaultType = Self;
11788 }
11789 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11790 #[repr(transparent)]
11791 pub struct READYSTATE(pub i32);
11792 pub const READYSTATE_UNINITIALIZED: READYSTATE = READYSTATE(0i32);
11793 pub const READYSTATE_LOADING: READYSTATE = READYSTATE(1i32);
11794 pub const READYSTATE_LOADED: READYSTATE = READYSTATE(2i32);
11795 pub const READYSTATE_INTERACTIVE: READYSTATE = READYSTATE(3i32);
11796 pub const READYSTATE_COMPLETE: READYSTATE = READYSTATE(4i32);
11797 impl ::std::convert::From<i32> for READYSTATE {
from(value: i32) -> Self11798     fn from(value: i32) -> Self {
11799         Self(value)
11800     }
11801 }
11802 unsafe impl ::windows::runtime::Abi for READYSTATE {
11803     type Abi = Self;
11804     type DefaultType = Self;
11805 }
11806 #[cfg(feature = "Win32_Foundation")]
11807 #[inline]
RegisterDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, IDropTarget>>(hwnd: Param0, pdroptarget: Param1) -> ::windows::runtime::Result<()>11808 pub unsafe fn RegisterDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, IDropTarget>>(hwnd: Param0, pdroptarget: Param1) -> ::windows::runtime::Result<()> {
11809     #[cfg(windows)]
11810     {
11811         #[link(name = "windows")]
11812         extern "system" {
11813             fn RegisterDragDrop(hwnd: super::super::Foundation::HWND, pdroptarget: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT;
11814         }
11815         RegisterDragDrop(hwnd.into_param().abi(), pdroptarget.into_param().abi()).ok()
11816     }
11817     #[cfg(not(windows))]
11818     unimplemented!("Unsupported target OS");
11819 }
11820 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com", feature = "Win32_System_Com_StructuredStorage"))]
11821 #[inline]
ReleaseStgMedium(param0: *mut super::Com::STGMEDIUM)11822 pub unsafe fn ReleaseStgMedium(param0: *mut super::Com::STGMEDIUM) {
11823     #[cfg(windows)]
11824     {
11825         #[link(name = "windows")]
11826         extern "system" {
11827             fn ReleaseStgMedium(param0: *mut ::std::mem::ManuallyDrop<super::Com::STGMEDIUM>);
11828         }
11829         ::std::mem::transmute(ReleaseStgMedium(::std::mem::transmute(param0)))
11830     }
11831     #[cfg(not(windows))]
11832     unimplemented!("Unsupported target OS");
11833 }
11834 #[cfg(feature = "Win32_Foundation")]
11835 #[inline]
RevokeDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0) -> ::windows::runtime::Result<()>11836 pub unsafe fn RevokeDragDrop<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0) -> ::windows::runtime::Result<()> {
11837     #[cfg(windows)]
11838     {
11839         #[link(name = "windows")]
11840         extern "system" {
11841             fn RevokeDragDrop(hwnd: super::super::Foundation::HWND) -> ::windows::runtime::HRESULT;
11842         }
11843         RevokeDragDrop(hwnd.into_param().abi()).ok()
11844     }
11845     #[cfg(not(windows))]
11846     unimplemented!("Unsupported target OS");
11847 }
11848 pub const SELFREG_E_CLASS: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220991i32 as _);
11849 pub const SELFREG_E_FIRST: i32 = -2147220992i32;
11850 pub const SELFREG_E_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220977i32 as _);
11851 pub const SELFREG_E_TYPELIB: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(-2147220992i32 as _);
11852 pub const SELFREG_S_FIRST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262656i32 as _);
11853 pub const SELFREG_S_LAST: ::windows::runtime::HRESULT = ::windows::runtime::HRESULT(262671i32 as _);
11854 pub const TIFLAGS_EXTENDDISPATCHONLY: u32 = 1u32;
11855 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11856 #[repr(transparent)]
11857 pub struct UASFLAGS(pub i32);
11858 pub const UAS_NORMAL: UASFLAGS = UASFLAGS(0i32);
11859 pub const UAS_BLOCKED: UASFLAGS = UASFLAGS(1i32);
11860 pub const UAS_NOPARENTENABLE: UASFLAGS = UASFLAGS(2i32);
11861 pub const UAS_MASK: UASFLAGS = UASFLAGS(3i32);
11862 impl ::std::convert::From<i32> for UASFLAGS {
from(value: i32) -> Self11863     fn from(value: i32) -> Self {
11864         Self(value)
11865     }
11866 }
11867 unsafe impl ::windows::runtime::Abi for UASFLAGS {
11868     type Abi = Self;
11869     type DefaultType = Self;
11870 }
11871 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11872 #[repr(transparent)]
11873 pub struct UPDFCACHE_FLAGS(pub u32);
11874 pub const UPDFCACHE_ALL: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(2147483647u32);
11875 pub const UPDFCACHE_ALLBUTNODATACACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(2147483646u32);
11876 pub const UPDFCACHE_NORMALCACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(8u32);
11877 pub const UPDFCACHE_IFBLANK: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(16u32);
11878 pub const UPDFCACHE_ONLYIFBLANK: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(2147483648u32);
11879 pub const UPDFCACHE_NODATACACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(1u32);
11880 pub const UPDFCACHE_ONSAVECACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(2u32);
11881 pub const UPDFCACHE_ONSTOPCACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(4u32);
11882 pub const UPDFCACHE_IFBLANKORONSAVECACHE: UPDFCACHE_FLAGS = UPDFCACHE_FLAGS(18u32);
11883 impl ::std::convert::From<u32> for UPDFCACHE_FLAGS {
from(value: u32) -> Self11884     fn from(value: u32) -> Self {
11885         Self(value)
11886     }
11887 }
11888 unsafe impl ::windows::runtime::Abi for UPDFCACHE_FLAGS {
11889     type Abi = Self;
11890     type DefaultType = Self;
11891 }
11892 impl ::std::ops::BitOr for UPDFCACHE_FLAGS {
11893     type Output = Self;
bitor(self, rhs: Self) -> Self11894     fn bitor(self, rhs: Self) -> Self {
11895         Self(self.0 | rhs.0)
11896     }
11897 }
11898 impl ::std::ops::BitAnd for UPDFCACHE_FLAGS {
11899     type Output = Self;
bitand(self, rhs: Self) -> Self11900     fn bitand(self, rhs: Self) -> Self {
11901         Self(self.0 & rhs.0)
11902     }
11903 }
11904 impl ::std::ops::BitOrAssign for UPDFCACHE_FLAGS {
bitor_assign(&mut self, rhs: Self)11905     fn bitor_assign(&mut self, rhs: Self) {
11906         self.0.bitor_assign(rhs.0)
11907     }
11908 }
11909 impl ::std::ops::BitAndAssign for UPDFCACHE_FLAGS {
bitand_assign(&mut self, rhs: Self)11910     fn bitand_assign(&mut self, rhs: Self) {
11911         self.0.bitand_assign(rhs.0)
11912     }
11913 }
11914 impl ::std::ops::Not for UPDFCACHE_FLAGS {
11915     type Output = Self;
not(self) -> Self11916     fn not(self) -> Self {
11917         Self(self.0.not())
11918     }
11919 }
11920 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11921 #[repr(transparent)]
11922 pub struct USERCLASSTYPE(pub i32);
11923 pub const USERCLASSTYPE_FULL: USERCLASSTYPE = USERCLASSTYPE(1i32);
11924 pub const USERCLASSTYPE_SHORT: USERCLASSTYPE = USERCLASSTYPE(2i32);
11925 pub const USERCLASSTYPE_APPNAME: USERCLASSTYPE = USERCLASSTYPE(3i32);
11926 impl ::std::convert::From<i32> for USERCLASSTYPE {
from(value: i32) -> Self11927     fn from(value: i32) -> Self {
11928         Self(value)
11929     }
11930 }
11931 unsafe impl ::windows::runtime::Abi for USERCLASSTYPE {
11932     type Abi = Self;
11933     type DefaultType = Self;
11934 }
11935 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11936 #[repr(transparent)]
11937 pub struct VIEWSTATUS(pub i32);
11938 pub const VIEWSTATUS_OPAQUE: VIEWSTATUS = VIEWSTATUS(1i32);
11939 pub const VIEWSTATUS_SOLIDBKGND: VIEWSTATUS = VIEWSTATUS(2i32);
11940 pub const VIEWSTATUS_DVASPECTOPAQUE: VIEWSTATUS = VIEWSTATUS(4i32);
11941 pub const VIEWSTATUS_DVASPECTTRANSPARENT: VIEWSTATUS = VIEWSTATUS(8i32);
11942 pub const VIEWSTATUS_SURFACE: VIEWSTATUS = VIEWSTATUS(16i32);
11943 pub const VIEWSTATUS_3DSURFACE: VIEWSTATUS = VIEWSTATUS(32i32);
11944 impl ::std::convert::From<i32> for VIEWSTATUS {
from(value: i32) -> Self11945     fn from(value: i32) -> Self {
11946         Self(value)
11947     }
11948 }
11949 unsafe impl ::windows::runtime::Abi for VIEWSTATUS {
11950     type Abi = Self;
11951     type DefaultType = Self;
11952 }
11953 pub const VPF_DISABLERELATIVE: i32 = 2i32;
11954 pub const VPF_DISABLESCALE: i32 = 4i32;
11955 pub const VPF_SELECTRELATIVE: i32 = 1i32;
11956 pub const VT_BLOB_PROPSET: u32 = 75u32;
11957 pub const VT_STORED_PROPSET: u32 = 74u32;
11958 pub const VT_STREAMED_PROPSET: u32 = 73u32;
11959 pub const VT_VERBOSE_ENUM: u32 = 76u32;
11960 pub const WIN32: u32 = 100u32;
11961 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11962 #[repr(transparent)]
11963 pub struct WPCSETTING(pub i32);
11964 pub const WPCSETTING_LOGGING_ENABLED: WPCSETTING = WPCSETTING(1i32);
11965 pub const WPCSETTING_FILEDOWNLOAD_BLOCKED: WPCSETTING = WPCSETTING(2i32);
11966 impl ::std::convert::From<i32> for WPCSETTING {
from(value: i32) -> Self11967     fn from(value: i32) -> Self {
11968         Self(value)
11969     }
11970 }
11971 unsafe impl ::windows::runtime::Abi for WPCSETTING {
11972     type Abi = Self;
11973     type DefaultType = Self;
11974 }
11975 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
11976 #[repr(transparent)]
11977 pub struct XFORMCOORDS(pub i32);
11978 pub const XFORMCOORDS_POSITION: XFORMCOORDS = XFORMCOORDS(1i32);
11979 pub const XFORMCOORDS_SIZE: XFORMCOORDS = XFORMCOORDS(2i32);
11980 pub const XFORMCOORDS_HIMETRICTOCONTAINER: XFORMCOORDS = XFORMCOORDS(4i32);
11981 pub const XFORMCOORDS_CONTAINERTOHIMETRIC: XFORMCOORDS = XFORMCOORDS(8i32);
11982 pub const XFORMCOORDS_EVENTCOMPAT: XFORMCOORDS = XFORMCOORDS(16i32);
11983 impl ::std::convert::From<i32> for XFORMCOORDS {
from(value: i32) -> Self11984     fn from(value: i32) -> Self {
11985         Self(value)
11986     }
11987 }
11988 unsafe impl ::windows::runtime::Abi for XFORMCOORDS {
11989     type Abi = Self;
11990     type DefaultType = Self;
11991 }
11992