1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 pub const AADBE_ADD_ENTRY: u32 = 1u32;
3 pub const AADBE_DEL_ENTRY: u32 = 2u32;
4 pub const ACTCTX_FLAG_APPLICATION_NAME_VALID: u32 = 32u32;
5 pub const ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID: u32 = 4u32;
6 pub const ACTCTX_FLAG_HMODULE_VALID: u32 = 128u32;
7 pub const ACTCTX_FLAG_LANGID_VALID: u32 = 2u32;
8 pub const ACTCTX_FLAG_PROCESSOR_ARCHITECTURE_VALID: u32 = 1u32;
9 pub const ACTCTX_FLAG_RESOURCE_NAME_VALID: u32 = 8u32;
10 pub const ACTCTX_FLAG_SET_PROCESS_DEFAULT: u32 = 16u32;
11 pub const ACTCTX_FLAG_SOURCE_IS_ASSEMBLYREF: u32 = 64u32;
12 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
13 #[repr(C)]
14 #[cfg(feature = "Win32_Foundation")]
15 pub struct ACTCTX_SECTION_KEYED_DATA_2600 {
16 pub cbSize: u32,
17 pub ulDataFormatVersion: u32,
18 pub lpData: *mut ::std::ffi::c_void,
19 pub ulLength: u32,
20 pub lpSectionGlobalData: *mut ::std::ffi::c_void,
21 pub ulSectionGlobalDataLength: u32,
22 pub lpSectionBase: *mut ::std::ffi::c_void,
23 pub ulSectionTotalLength: u32,
24 pub hActCtx: super::super::Foundation::HANDLE,
25 pub ulAssemblyRosterIndex: u32,
26 }
27 #[cfg(feature = "Win32_Foundation")]
28 impl ACTCTX_SECTION_KEYED_DATA_2600 {}
29 #[cfg(feature = "Win32_Foundation")]
30 impl ::std::default::Default for ACTCTX_SECTION_KEYED_DATA_2600 {
default() -> Self31 fn default() -> Self {
32 unsafe { ::std::mem::zeroed() }
33 }
34 }
35 #[cfg(feature = "Win32_Foundation")]
36 impl ::std::fmt::Debug for ACTCTX_SECTION_KEYED_DATA_2600 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result37 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
38 fmt.debug_struct("ACTCTX_SECTION_KEYED_DATA_2600")
39 .field("cbSize", &self.cbSize)
40 .field("ulDataFormatVersion", &self.ulDataFormatVersion)
41 .field("lpData", &self.lpData)
42 .field("ulLength", &self.ulLength)
43 .field("lpSectionGlobalData", &self.lpSectionGlobalData)
44 .field("ulSectionGlobalDataLength", &self.ulSectionGlobalDataLength)
45 .field("lpSectionBase", &self.lpSectionBase)
46 .field("ulSectionTotalLength", &self.ulSectionTotalLength)
47 .field("hActCtx", &self.hActCtx)
48 .field("ulAssemblyRosterIndex", &self.ulAssemblyRosterIndex)
49 .finish()
50 }
51 }
52 #[cfg(feature = "Win32_Foundation")]
53 impl ::std::cmp::PartialEq for ACTCTX_SECTION_KEYED_DATA_2600 {
eq(&self, other: &Self) -> bool54 fn eq(&self, other: &Self) -> bool {
55 self.cbSize == other.cbSize && self.ulDataFormatVersion == other.ulDataFormatVersion && self.lpData == other.lpData && self.ulLength == other.ulLength && self.lpSectionGlobalData == other.lpSectionGlobalData && self.ulSectionGlobalDataLength == other.ulSectionGlobalDataLength && self.lpSectionBase == other.lpSectionBase && self.ulSectionTotalLength == other.ulSectionTotalLength && self.hActCtx == other.hActCtx && self.ulAssemblyRosterIndex == other.ulAssemblyRosterIndex
56 }
57 }
58 #[cfg(feature = "Win32_Foundation")]
59 impl ::std::cmp::Eq for ACTCTX_SECTION_KEYED_DATA_2600 {}
60 #[cfg(feature = "Win32_Foundation")]
61 unsafe impl ::windows::runtime::Abi for ACTCTX_SECTION_KEYED_DATA_2600 {
62 type Abi = Self;
63 type DefaultType = Self;
64 }
65 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
66 #[repr(C)]
67 pub struct ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
68 pub lpInformation: *mut ::std::ffi::c_void,
69 pub lpSectionBase: *mut ::std::ffi::c_void,
70 pub ulSectionLength: u32,
71 pub lpSectionGlobalDataBase: *mut ::std::ffi::c_void,
72 pub ulSectionGlobalDataLength: u32,
73 }
74 impl ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {}
75 impl ::std::default::Default for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
default() -> Self76 fn default() -> Self {
77 unsafe { ::std::mem::zeroed() }
78 }
79 }
80 impl ::std::fmt::Debug for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result81 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
82 fmt.debug_struct("ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA")
83 .field("lpInformation", &self.lpInformation)
84 .field("lpSectionBase", &self.lpSectionBase)
85 .field("ulSectionLength", &self.ulSectionLength)
86 .field("lpSectionGlobalDataBase", &self.lpSectionGlobalDataBase)
87 .field("ulSectionGlobalDataLength", &self.ulSectionGlobalDataLength)
88 .finish()
89 }
90 }
91 impl ::std::cmp::PartialEq for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
eq(&self, other: &Self) -> bool92 fn eq(&self, other: &Self) -> bool {
93 self.lpInformation == other.lpInformation && self.lpSectionBase == other.lpSectionBase && self.ulSectionLength == other.ulSectionLength && self.lpSectionGlobalDataBase == other.lpSectionGlobalDataBase && self.ulSectionGlobalDataLength == other.ulSectionGlobalDataLength
94 }
95 }
96 impl ::std::cmp::Eq for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {}
97 unsafe impl ::windows::runtime::Abi for ACTCTX_SECTION_KEYED_DATA_ASSEMBLY_METADATA {
98 type Abi = Self;
99 type DefaultType = Self;
100 }
101 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
102 #[repr(C)]
103 #[cfg(feature = "Win32_Foundation")]
104 pub struct ACTIVATION_CONTEXT_BASIC_INFORMATION {
105 pub hActCtx: super::super::Foundation::HANDLE,
106 pub dwFlags: u32,
107 }
108 #[cfg(feature = "Win32_Foundation")]
109 impl ACTIVATION_CONTEXT_BASIC_INFORMATION {}
110 #[cfg(feature = "Win32_Foundation")]
111 impl ::std::default::Default for ACTIVATION_CONTEXT_BASIC_INFORMATION {
default() -> Self112 fn default() -> Self {
113 unsafe { ::std::mem::zeroed() }
114 }
115 }
116 #[cfg(feature = "Win32_Foundation")]
117 impl ::std::fmt::Debug for ACTIVATION_CONTEXT_BASIC_INFORMATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result118 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
119 fmt.debug_struct("ACTIVATION_CONTEXT_BASIC_INFORMATION").field("hActCtx", &self.hActCtx).field("dwFlags", &self.dwFlags).finish()
120 }
121 }
122 #[cfg(feature = "Win32_Foundation")]
123 impl ::std::cmp::PartialEq for ACTIVATION_CONTEXT_BASIC_INFORMATION {
eq(&self, other: &Self) -> bool124 fn eq(&self, other: &Self) -> bool {
125 self.hActCtx == other.hActCtx && self.dwFlags == other.dwFlags
126 }
127 }
128 #[cfg(feature = "Win32_Foundation")]
129 impl ::std::cmp::Eq for ACTIVATION_CONTEXT_BASIC_INFORMATION {}
130 #[cfg(feature = "Win32_Foundation")]
131 unsafe impl ::windows::runtime::Abi for ACTIVATION_CONTEXT_BASIC_INFORMATION {
132 type Abi = Self;
133 type DefaultType = Self;
134 }
135 pub const ACTIVATION_CONTEXT_BASIC_INFORMATION_DEFINED: u32 = 1u32;
136 pub const AC_LINE_BACKUP_POWER: u32 = 2u32;
137 pub const AC_LINE_OFFLINE: u32 = 0u32;
138 pub const AC_LINE_ONLINE: u32 = 1u32;
139 pub const AC_LINE_UNKNOWN: u32 = 255u32;
140 pub const ADN_DEL_IF_EMPTY: u32 = 1u32;
141 pub const ADN_DEL_UNC_PATHS: u32 = 8u32;
142 pub const ADN_DONT_DEL_DIR: u32 = 4u32;
143 pub const ADN_DONT_DEL_SUBDIRS: u32 = 2u32;
144 pub const AFSR_BACKNEW: u32 = 2u32;
145 pub const AFSR_EXTRAINCREFCNT: u32 = 2048u32;
146 pub const AFSR_NODELETENEW: u32 = 4u32;
147 pub const AFSR_NOMESSAGES: u32 = 8u32;
148 pub const AFSR_NOPROGRESS: u32 = 16u32;
149 pub const AFSR_RESTORE: u32 = 1u32;
150 pub const AFSR_UPDREFCNT: u32 = 512u32;
151 pub const AFSR_USEREFCNT: u32 = 1024u32;
152 pub const AIF_FORCE_FILE_IN_USE: u32 = 8u32;
153 pub const AIF_NOLANGUAGECHECK: u32 = 268435456u32;
154 pub const AIF_NOOVERWRITE: u32 = 16u32;
155 pub const AIF_NOSKIP: u32 = 2u32;
156 pub const AIF_NOVERSIONCHECK: u32 = 4u32;
157 pub const AIF_NO_VERSION_DIALOG: u32 = 32u32;
158 pub const AIF_QUIET: u32 = 536870912u32;
159 pub const AIF_REPLACEONLY: u32 = 1024u32;
160 pub const AIF_WARNIFSKIP: u32 = 1u32;
161 pub const ALINF_BKINSTALL: u32 = 32u32;
162 pub const ALINF_CHECKBKDATA: u32 = 128u32;
163 pub const ALINF_DELAYREGISTEROCX: u32 = 512u32;
164 pub const ALINF_NGCONV: u32 = 8u32;
165 pub const ALINF_QUIET: u32 = 4u32;
166 pub const ALINF_ROLLBACK: u32 = 64u32;
167 pub const ALINF_ROLLBKDOALL: u32 = 256u32;
168 pub const ALINF_UPDHLPDLLS: u32 = 16u32;
169 pub type APPLICATION_RECOVERY_CALLBACK = unsafe extern "system" fn(pvparameter: *mut ::std::ffi::c_void) -> u32;
170 pub const ARSR_NOMESSAGES: u32 = 8u32;
171 pub const ARSR_REGSECTION: u32 = 128u32;
172 pub const ARSR_REMOVREGBKDATA: u32 = 4096u32;
173 pub const ARSR_RESTORE: u32 = 1u32;
174 pub const ATOM_FLAG_GLOBAL: u32 = 2u32;
175 pub const AT_ARP: u32 = 640u32;
176 pub const AT_NULL: u32 = 642u32;
177 #[cfg(feature = "Win32_Foundation")]
178 #[inline]
AddDelBackupEntryA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpcszfilelist: Param0, lpcszbackupdir: Param1, lpcszbasename: Param2, dwflags: u32) -> ::windows::runtime::Result<()>179 pub unsafe fn AddDelBackupEntryA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpcszfilelist: Param0, lpcszbackupdir: Param1, lpcszbasename: Param2, dwflags: u32) -> ::windows::runtime::Result<()> {
180 #[cfg(windows)]
181 {
182 #[link(name = "windows")]
183 extern "system" {
184 fn AddDelBackupEntryA(lpcszfilelist: super::super::Foundation::PSTR, lpcszbackupdir: super::super::Foundation::PSTR, lpcszbasename: super::super::Foundation::PSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
185 }
186 AddDelBackupEntryA(lpcszfilelist.into_param().abi(), lpcszbackupdir.into_param().abi(), lpcszbasename.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
187 }
188 #[cfg(not(windows))]
189 unimplemented!("Unsupported target OS");
190 }
191 #[cfg(feature = "Win32_Foundation")]
192 #[inline]
AddDelBackupEntryW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpcszfilelist: Param0, lpcszbackupdir: Param1, lpcszbasename: Param2, dwflags: u32) -> ::windows::runtime::Result<()>193 pub unsafe fn AddDelBackupEntryW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpcszfilelist: Param0, lpcszbackupdir: Param1, lpcszbasename: Param2, dwflags: u32) -> ::windows::runtime::Result<()> {
194 #[cfg(windows)]
195 {
196 #[link(name = "windows")]
197 extern "system" {
198 fn AddDelBackupEntryW(lpcszfilelist: super::super::Foundation::PWSTR, lpcszbackupdir: super::super::Foundation::PWSTR, lpcszbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
199 }
200 AddDelBackupEntryW(lpcszfilelist.into_param().abi(), lpcszbackupdir.into_param().abi(), lpcszbasename.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
201 }
202 #[cfg(not(windows))]
203 unimplemented!("Unsupported target OS");
204 }
205 #[cfg(feature = "Win32_Foundation")]
206 #[inline]
AdvInstallFileA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>( hwnd: Param0, lpszsourcedir: Param1, lpszsourcefile: Param2, lpszdestdir: Param3, lpszdestfile: Param4, dwflags: u32, dwreserved: u32, ) -> ::windows::runtime::Result<()>207 pub unsafe fn AdvInstallFileA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(
208 hwnd: Param0,
209 lpszsourcedir: Param1,
210 lpszsourcefile: Param2,
211 lpszdestdir: Param3,
212 lpszdestfile: Param4,
213 dwflags: u32,
214 dwreserved: u32,
215 ) -> ::windows::runtime::Result<()> {
216 #[cfg(windows)]
217 {
218 #[link(name = "windows")]
219 extern "system" {
220 fn AdvInstallFileA(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PSTR, lpszsourcefile: super::super::Foundation::PSTR, lpszdestdir: super::super::Foundation::PSTR, lpszdestfile: super::super::Foundation::PSTR, dwflags: u32, dwreserved: u32) -> ::windows::runtime::HRESULT;
221 }
222 AdvInstallFileA(hwnd.into_param().abi(), lpszsourcedir.into_param().abi(), lpszsourcefile.into_param().abi(), lpszdestdir.into_param().abi(), lpszdestfile.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwreserved)).ok()
223 }
224 #[cfg(not(windows))]
225 unimplemented!("Unsupported target OS");
226 }
227 #[cfg(feature = "Win32_Foundation")]
228 #[inline]
AdvInstallFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( hwnd: Param0, lpszsourcedir: Param1, lpszsourcefile: Param2, lpszdestdir: Param3, lpszdestfile: Param4, dwflags: u32, dwreserved: u32, ) -> ::windows::runtime::Result<()>229 pub unsafe fn AdvInstallFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
230 hwnd: Param0,
231 lpszsourcedir: Param1,
232 lpszsourcefile: Param2,
233 lpszdestdir: Param3,
234 lpszdestfile: Param4,
235 dwflags: u32,
236 dwreserved: u32,
237 ) -> ::windows::runtime::Result<()> {
238 #[cfg(windows)]
239 {
240 #[link(name = "windows")]
241 extern "system" {
242 fn AdvInstallFileW(hwnd: super::super::Foundation::HWND, lpszsourcedir: super::super::Foundation::PWSTR, lpszsourcefile: super::super::Foundation::PWSTR, lpszdestdir: super::super::Foundation::PWSTR, lpszdestfile: super::super::Foundation::PWSTR, dwflags: u32, dwreserved: u32) -> ::windows::runtime::HRESULT;
243 }
244 AdvInstallFileW(hwnd.into_param().abi(), lpszsourcedir.into_param().abi(), lpszsourcefile.into_param().abi(), lpszdestdir.into_param().abi(), lpszdestfile.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwreserved)).ok()
245 }
246 #[cfg(not(windows))]
247 unimplemented!("Unsupported target OS");
248 }
249 #[cfg(feature = "Win32_Foundation")]
250 #[inline]
ApphelpCheckShellObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(objectclsid: *const ::windows::runtime::GUID, bshimifnecessary: Param1, pullflags: *mut u64) -> super::super::Foundation::BOOL251 pub unsafe fn ApphelpCheckShellObject<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(objectclsid: *const ::windows::runtime::GUID, bshimifnecessary: Param1, pullflags: *mut u64) -> super::super::Foundation::BOOL {
252 #[cfg(windows)]
253 {
254 #[link(name = "windows")]
255 extern "system" {
256 fn ApphelpCheckShellObject(objectclsid: *const ::windows::runtime::GUID, bshimifnecessary: super::super::Foundation::BOOL, pullflags: *mut u64) -> super::super::Foundation::BOOL;
257 }
258 ::std::mem::transmute(ApphelpCheckShellObject(::std::mem::transmute(objectclsid), bshimifnecessary.into_param().abi(), ::std::mem::transmute(pullflags)))
259 }
260 #[cfg(not(windows))]
261 unimplemented!("Unsupported target OS");
262 }
263 pub const BACKUP_GHOSTED_FILE_EXTENTS: u32 = 11u32;
264 pub const BACKUP_INVALID: u32 = 0u32;
265 pub const BASE_SEARCH_PATH_DISABLE_SAFE_SEARCHMODE: u32 = 65536u32;
266 pub const BASE_SEARCH_PATH_ENABLE_SAFE_SEARCHMODE: u32 = 1u32;
267 pub const BASE_SEARCH_PATH_PERMANENT: u32 = 32768u32;
268 pub const BATTERY_FLAG_CHARGING: u32 = 8u32;
269 pub const BATTERY_FLAG_CRITICAL: u32 = 4u32;
270 pub const BATTERY_FLAG_HIGH: u32 = 1u32;
271 pub const BATTERY_FLAG_LOW: u32 = 2u32;
272 pub const BATTERY_FLAG_NO_BATTERY: u32 = 128u32;
273 pub const BATTERY_FLAG_UNKNOWN: u32 = 255u32;
274 pub const BATTERY_LIFE_UNKNOWN: u32 = 4294967295u32;
275 pub const BATTERY_PERCENTAGE_UNKNOWN: u32 = 255u32;
276 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
277 #[repr(transparent)]
278 pub struct BrowserNavConstants(pub i32);
279 pub const navOpenInNewWindow: BrowserNavConstants = BrowserNavConstants(1i32);
280 pub const navNoHistory: BrowserNavConstants = BrowserNavConstants(2i32);
281 pub const navNoReadFromCache: BrowserNavConstants = BrowserNavConstants(4i32);
282 pub const navNoWriteToCache: BrowserNavConstants = BrowserNavConstants(8i32);
283 pub const navAllowAutosearch: BrowserNavConstants = BrowserNavConstants(16i32);
284 pub const navBrowserBar: BrowserNavConstants = BrowserNavConstants(32i32);
285 pub const navHyperlink: BrowserNavConstants = BrowserNavConstants(64i32);
286 pub const navEnforceRestricted: BrowserNavConstants = BrowserNavConstants(128i32);
287 pub const navNewWindowsManaged: BrowserNavConstants = BrowserNavConstants(256i32);
288 pub const navUntrustedForDownload: BrowserNavConstants = BrowserNavConstants(512i32);
289 pub const navTrustedForActiveX: BrowserNavConstants = BrowserNavConstants(1024i32);
290 pub const navOpenInNewTab: BrowserNavConstants = BrowserNavConstants(2048i32);
291 pub const navOpenInBackgroundTab: BrowserNavConstants = BrowserNavConstants(4096i32);
292 pub const navKeepWordWheelText: BrowserNavConstants = BrowserNavConstants(8192i32);
293 pub const navVirtualTab: BrowserNavConstants = BrowserNavConstants(16384i32);
294 pub const navBlockRedirectsXDomain: BrowserNavConstants = BrowserNavConstants(32768i32);
295 pub const navOpenNewForegroundTab: BrowserNavConstants = BrowserNavConstants(65536i32);
296 pub const navTravelLogScreenshot: BrowserNavConstants = BrowserNavConstants(131072i32);
297 pub const navDeferUnload: BrowserNavConstants = BrowserNavConstants(262144i32);
298 pub const navSpeculative: BrowserNavConstants = BrowserNavConstants(524288i32);
299 pub const navSuggestNewWindow: BrowserNavConstants = BrowserNavConstants(1048576i32);
300 pub const navSuggestNewTab: BrowserNavConstants = BrowserNavConstants(2097152i32);
301 pub const navReserved1: BrowserNavConstants = BrowserNavConstants(4194304i32);
302 pub const navHomepageNavigate: BrowserNavConstants = BrowserNavConstants(8388608i32);
303 pub const navRefresh: BrowserNavConstants = BrowserNavConstants(16777216i32);
304 pub const navHostNavigation: BrowserNavConstants = BrowserNavConstants(33554432i32);
305 pub const navReserved2: BrowserNavConstants = BrowserNavConstants(67108864i32);
306 pub const navReserved3: BrowserNavConstants = BrowserNavConstants(134217728i32);
307 pub const navReserved4: BrowserNavConstants = BrowserNavConstants(268435456i32);
308 pub const navReserved5: BrowserNavConstants = BrowserNavConstants(536870912i32);
309 pub const navReserved6: BrowserNavConstants = BrowserNavConstants(1073741824i32);
310 pub const navReserved7: BrowserNavConstants = BrowserNavConstants(-2147483648i32);
311 impl ::std::convert::From<i32> for BrowserNavConstants {
from(value: i32) -> Self312 fn from(value: i32) -> Self {
313 Self(value)
314 }
315 }
316 unsafe impl ::windows::runtime::Abi for BrowserNavConstants {
317 type Abi = Self;
318 type DefaultType = Self;
319 }
320 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
321 #[repr(C)]
322 #[cfg(feature = "Win32_Foundation")]
323 pub struct CABINFOA {
324 pub pszCab: super::super::Foundation::PSTR,
325 pub pszInf: super::super::Foundation::PSTR,
326 pub pszSection: super::super::Foundation::PSTR,
327 pub szSrcPath: [super::super::Foundation::CHAR; 260],
328 pub dwFlags: u32,
329 }
330 #[cfg(feature = "Win32_Foundation")]
331 impl CABINFOA {}
332 #[cfg(feature = "Win32_Foundation")]
333 impl ::std::default::Default for CABINFOA {
default() -> Self334 fn default() -> Self {
335 unsafe { ::std::mem::zeroed() }
336 }
337 }
338 #[cfg(feature = "Win32_Foundation")]
339 impl ::std::fmt::Debug for CABINFOA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result340 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
341 fmt.debug_struct("CABINFOA").field("pszCab", &self.pszCab).field("pszInf", &self.pszInf).field("pszSection", &self.pszSection).field("szSrcPath", &self.szSrcPath).field("dwFlags", &self.dwFlags).finish()
342 }
343 }
344 #[cfg(feature = "Win32_Foundation")]
345 impl ::std::cmp::PartialEq for CABINFOA {
eq(&self, other: &Self) -> bool346 fn eq(&self, other: &Self) -> bool {
347 self.pszCab == other.pszCab && self.pszInf == other.pszInf && self.pszSection == other.pszSection && self.szSrcPath == other.szSrcPath && self.dwFlags == other.dwFlags
348 }
349 }
350 #[cfg(feature = "Win32_Foundation")]
351 impl ::std::cmp::Eq for CABINFOA {}
352 #[cfg(feature = "Win32_Foundation")]
353 unsafe impl ::windows::runtime::Abi for CABINFOA {
354 type Abi = Self;
355 type DefaultType = Self;
356 }
357 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
358 #[repr(C)]
359 #[cfg(feature = "Win32_Foundation")]
360 pub struct CABINFOW {
361 pub pszCab: super::super::Foundation::PWSTR,
362 pub pszInf: super::super::Foundation::PWSTR,
363 pub pszSection: super::super::Foundation::PWSTR,
364 pub szSrcPath: [u16; 260],
365 pub dwFlags: u32,
366 }
367 #[cfg(feature = "Win32_Foundation")]
368 impl CABINFOW {}
369 #[cfg(feature = "Win32_Foundation")]
370 impl ::std::default::Default for CABINFOW {
default() -> Self371 fn default() -> Self {
372 unsafe { ::std::mem::zeroed() }
373 }
374 }
375 #[cfg(feature = "Win32_Foundation")]
376 impl ::std::fmt::Debug for CABINFOW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result377 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
378 fmt.debug_struct("CABINFOW").field("pszCab", &self.pszCab).field("pszInf", &self.pszInf).field("pszSection", &self.pszSection).field("szSrcPath", &self.szSrcPath).field("dwFlags", &self.dwFlags).finish()
379 }
380 }
381 #[cfg(feature = "Win32_Foundation")]
382 impl ::std::cmp::PartialEq for CABINFOW {
eq(&self, other: &Self) -> bool383 fn eq(&self, other: &Self) -> bool {
384 self.pszCab == other.pszCab && self.pszInf == other.pszInf && self.pszSection == other.pszSection && self.szSrcPath == other.szSrcPath && self.dwFlags == other.dwFlags
385 }
386 }
387 #[cfg(feature = "Win32_Foundation")]
388 impl ::std::cmp::Eq for CABINFOW {}
389 #[cfg(feature = "Win32_Foundation")]
390 unsafe impl ::windows::runtime::Abi for CABINFOW {
391 type Abi = Self;
392 type DefaultType = Self;
393 }
394 pub const CATID_DeleteBrowsingHistory: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(835385060, 54954, 16528, [160, 80, 165, 172, 137, 114, 233, 239]);
395 pub const CBR_110: u32 = 110u32;
396 pub const CBR_115200: u32 = 115200u32;
397 pub const CBR_1200: u32 = 1200u32;
398 pub const CBR_128000: u32 = 128000u32;
399 pub const CBR_14400: u32 = 14400u32;
400 pub const CBR_19200: u32 = 19200u32;
401 pub const CBR_2400: u32 = 2400u32;
402 pub const CBR_256000: u32 = 256000u32;
403 pub const CBR_300: u32 = 300u32;
404 pub const CBR_38400: u32 = 38400u32;
405 pub const CBR_4800: u32 = 4800u32;
406 pub const CBR_56000: u32 = 56000u32;
407 pub const CBR_57600: u32 = 57600u32;
408 pub const CBR_600: u32 = 600u32;
409 pub const CBR_9600: u32 = 9600u32;
410 pub const CE_DNS: u32 = 2048u32;
411 pub const CE_IOE: u32 = 1024u32;
412 pub const CE_MODE: u32 = 32768u32;
413 pub const CE_OOP: u32 = 4096u32;
414 pub const CE_PTO: u32 = 512u32;
415 pub const CE_TXFULL: u32 = 256u32;
416 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
417 #[repr(C)]
418 #[cfg(feature = "Win32_Foundation")]
419 pub struct CLIENT_ID {
420 pub UniqueProcess: super::super::Foundation::HANDLE,
421 pub UniqueThread: super::super::Foundation::HANDLE,
422 }
423 #[cfg(feature = "Win32_Foundation")]
424 impl CLIENT_ID {}
425 #[cfg(feature = "Win32_Foundation")]
426 impl ::std::default::Default for CLIENT_ID {
default() -> Self427 fn default() -> Self {
428 unsafe { ::std::mem::zeroed() }
429 }
430 }
431 #[cfg(feature = "Win32_Foundation")]
432 impl ::std::fmt::Debug for CLIENT_ID {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result433 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
434 fmt.debug_struct("CLIENT_ID").field("UniqueProcess", &self.UniqueProcess).field("UniqueThread", &self.UniqueThread).finish()
435 }
436 }
437 #[cfg(feature = "Win32_Foundation")]
438 impl ::std::cmp::PartialEq for CLIENT_ID {
eq(&self, other: &Self) -> bool439 fn eq(&self, other: &Self) -> bool {
440 self.UniqueProcess == other.UniqueProcess && self.UniqueThread == other.UniqueThread
441 }
442 }
443 #[cfg(feature = "Win32_Foundation")]
444 impl ::std::cmp::Eq for CLIENT_ID {}
445 #[cfg(feature = "Win32_Foundation")]
446 unsafe impl ::windows::runtime::Abi for CLIENT_ID {
447 type Abi = Self;
448 type DefaultType = Self;
449 }
450 pub const CL_NL_IP: u32 = 771u32;
451 pub const CL_NL_IPX: u32 = 769u32;
452 pub const CL_TL_NBF: u32 = 1025u32;
453 pub const CL_TL_UDP: u32 = 1027u32;
454 pub const CODEINTEGRITY_OPTION_DEBUGMODE_ENABLED: u32 = 128u32;
455 pub const CODEINTEGRITY_OPTION_ENABLED: u32 = 1u32;
456 pub const CODEINTEGRITY_OPTION_FLIGHTING_ENABLED: u32 = 512u32;
457 pub const CODEINTEGRITY_OPTION_FLIGHT_BUILD: u32 = 256u32;
458 pub const CODEINTEGRITY_OPTION_HVCI_IUM_ENABLED: u32 = 8192u32;
459 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_AUDITMODE_ENABLED: u32 = 2048u32;
460 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_ENABLED: u32 = 1024u32;
461 pub const CODEINTEGRITY_OPTION_HVCI_KMCI_STRICTMODE_ENABLED: u32 = 4096u32;
462 pub const CODEINTEGRITY_OPTION_PREPRODUCTION_BUILD: u32 = 64u32;
463 pub const CODEINTEGRITY_OPTION_TESTSIGN: u32 = 2u32;
464 pub const CODEINTEGRITY_OPTION_TEST_BUILD: u32 = 32u32;
465 pub const CODEINTEGRITY_OPTION_UMCI_AUDITMODE_ENABLED: u32 = 8u32;
466 pub const CODEINTEGRITY_OPTION_UMCI_ENABLED: u32 = 4u32;
467 pub const CODEINTEGRITY_OPTION_UMCI_EXCLUSIONPATHS_ENABLED: u32 = 16u32;
468 pub const CONTEXT_SIZE: u32 = 16u32;
469 #[derive(:: std :: clone :: Clone)]
470 #[repr(C)]
471 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
472 pub struct COPYFILE2_EXTENDED_PARAMETERS_V2 {
473 pub dwSize: u32,
474 pub dwCopyFlags: u32,
475 pub pfCancel: *mut super::super::Foundation::BOOL,
476 pub pProgressRoutine: ::std::option::Option<super::super::Storage::FileSystem::PCOPYFILE2_PROGRESS_ROUTINE>,
477 pub pvCallbackContext: *mut ::std::ffi::c_void,
478 pub dwCopyFlagsV2: u32,
479 pub ioDesiredSize: u32,
480 pub ioDesiredRate: u32,
481 pub reserved: [*mut ::std::ffi::c_void; 8],
482 }
483 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
484 impl COPYFILE2_EXTENDED_PARAMETERS_V2 {}
485 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
486 impl ::std::default::Default for COPYFILE2_EXTENDED_PARAMETERS_V2 {
default() -> Self487 fn default() -> Self {
488 unsafe { ::std::mem::zeroed() }
489 }
490 }
491 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
492 impl ::std::fmt::Debug for COPYFILE2_EXTENDED_PARAMETERS_V2 {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result493 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
494 fmt.debug_struct("COPYFILE2_EXTENDED_PARAMETERS_V2")
495 .field("dwSize", &self.dwSize)
496 .field("dwCopyFlags", &self.dwCopyFlags)
497 .field("pfCancel", &self.pfCancel)
498 .field("pvCallbackContext", &self.pvCallbackContext)
499 .field("dwCopyFlagsV2", &self.dwCopyFlagsV2)
500 .field("ioDesiredSize", &self.ioDesiredSize)
501 .field("ioDesiredRate", &self.ioDesiredRate)
502 .field("reserved", &self.reserved)
503 .finish()
504 }
505 }
506 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
507 impl ::std::cmp::PartialEq for COPYFILE2_EXTENDED_PARAMETERS_V2 {
eq(&self, other: &Self) -> bool508 fn eq(&self, other: &Self) -> bool {
509 self.dwSize == other.dwSize && self.dwCopyFlags == other.dwCopyFlags && self.pfCancel == other.pfCancel && self.pProgressRoutine.map(|f| f as usize) == other.pProgressRoutine.map(|f| f as usize) && self.pvCallbackContext == other.pvCallbackContext && self.dwCopyFlagsV2 == other.dwCopyFlagsV2 && self.ioDesiredSize == other.ioDesiredSize && self.ioDesiredRate == other.ioDesiredRate && self.reserved == other.reserved
510 }
511 }
512 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
513 impl ::std::cmp::Eq for COPYFILE2_EXTENDED_PARAMETERS_V2 {}
514 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
515 unsafe impl ::windows::runtime::Abi for COPYFILE2_EXTENDED_PARAMETERS_V2 {
516 type Abi = ::std::mem::ManuallyDrop<Self>;
517 type DefaultType = Self;
518 }
519 pub const COPYFILE2_IO_CYCLE_SIZE_MAX: u32 = 1073741824u32;
520 pub const COPYFILE2_IO_CYCLE_SIZE_MIN: u32 = 4096u32;
521 pub const COPYFILE2_IO_RATE_MIN: u32 = 512u32;
522 pub const COPYFILE2_MESSAGE_COPY_OFFLOAD: i32 = 1i32;
523 pub const COPY_FILE_ALLOW_DECRYPTED_DESTINATION: u32 = 8u32;
524 pub const COPY_FILE_COPY_SYMLINK: u32 = 2048u32;
525 pub const COPY_FILE_DIRECTORY: u32 = 128u32;
526 pub const COPY_FILE_DISABLE_PRE_ALLOCATION: u32 = 67108864u32;
527 pub const COPY_FILE_DONT_REQUEST_DEST_WRITE_DAC: u32 = 33554432u32;
528 pub const COPY_FILE_ENABLE_LOW_FREE_SPACE_MODE: u32 = 134217728u32;
529 pub const COPY_FILE_FAIL_IF_EXISTS: u32 = 1u32;
530 pub const COPY_FILE_IGNORE_EDP_BLOCK: u32 = 4194304u32;
531 pub const COPY_FILE_IGNORE_SOURCE_ENCRYPTION: u32 = 8388608u32;
532 pub const COPY_FILE_NO_BUFFERING: u32 = 4096u32;
533 pub const COPY_FILE_NO_OFFLOAD: u32 = 262144u32;
534 pub const COPY_FILE_OPEN_AND_COPY_REPARSE_POINT: u32 = 2097152u32;
535 pub const COPY_FILE_OPEN_SOURCE_FOR_WRITE: u32 = 4u32;
536 pub const COPY_FILE_REQUEST_COMPRESSED_TRAFFIC: u32 = 268435456u32;
537 pub const COPY_FILE_REQUEST_SECURITY_PRIVILEGES: u32 = 8192u32;
538 pub const COPY_FILE_RESTARTABLE: u32 = 2u32;
539 pub const COPY_FILE_RESUME_FROM_PAUSE: u32 = 16384u32;
540 pub const COPY_FILE_SKIP_ALTERNATE_STREAMS: u32 = 32768u32;
541 pub const CO_TL_NBF: u32 = 1024u32;
542 pub const CO_TL_SPP: u32 = 1030u32;
543 pub const CO_TL_SPX: u32 = 1026u32;
544 pub const CO_TL_TCP: u32 = 1028u32;
545 pub const CP_DIRECT: u32 = 2u32;
546 pub const CP_HWND: u32 = 0u32;
547 pub const CP_LEVEL: u32 = 3u32;
548 pub const CP_OPEN: u32 = 1u32;
549 pub const CREATE_FOR_DIR: u32 = 2u32;
550 pub const CREATE_FOR_IMPORT: u32 = 1u32;
551 pub const CRITICAL_SECTION_NO_DEBUG_INFO: u32 = 16777216u32;
552 pub const CScriptErrorList: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4023390976, 5647, 4562, [187, 46, 0, 128, 95, 247, 239, 202]);
553 pub const CameraUIControl: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(383099582, 45509, 18355, [142, 174, 204, 188, 244, 82, 199, 232]);
554 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
555 #[repr(transparent)]
556 pub struct CameraUIControlCaptureMode(pub i32);
557 impl CameraUIControlCaptureMode {
558 pub const PhotoOrVideo: CameraUIControlCaptureMode = CameraUIControlCaptureMode(0i32);
559 pub const Photo: CameraUIControlCaptureMode = CameraUIControlCaptureMode(1i32);
560 pub const Video: CameraUIControlCaptureMode = CameraUIControlCaptureMode(2i32);
561 }
562 impl ::std::convert::From<i32> for CameraUIControlCaptureMode {
from(value: i32) -> Self563 fn from(value: i32) -> Self {
564 Self(value)
565 }
566 }
567 unsafe impl ::windows::runtime::Abi for CameraUIControlCaptureMode {
568 type Abi = Self;
569 type DefaultType = Self;
570 }
571 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
572 #[repr(transparent)]
573 pub struct CameraUIControlLinearSelectionMode(pub i32);
574 impl CameraUIControlLinearSelectionMode {
575 pub const Single: CameraUIControlLinearSelectionMode = CameraUIControlLinearSelectionMode(0i32);
576 pub const Multiple: CameraUIControlLinearSelectionMode = CameraUIControlLinearSelectionMode(1i32);
577 }
578 impl ::std::convert::From<i32> for CameraUIControlLinearSelectionMode {
from(value: i32) -> Self579 fn from(value: i32) -> Self {
580 Self(value)
581 }
582 }
583 unsafe impl ::windows::runtime::Abi for CameraUIControlLinearSelectionMode {
584 type Abi = Self;
585 type DefaultType = Self;
586 }
587 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
588 #[repr(transparent)]
589 pub struct CameraUIControlMode(pub i32);
590 impl CameraUIControlMode {
591 pub const Browse: CameraUIControlMode = CameraUIControlMode(0i32);
592 pub const Linear: CameraUIControlMode = CameraUIControlMode(1i32);
593 }
594 impl ::std::convert::From<i32> for CameraUIControlMode {
from(value: i32) -> Self595 fn from(value: i32) -> Self {
596 Self(value)
597 }
598 }
599 unsafe impl ::windows::runtime::Abi for CameraUIControlMode {
600 type Abi = Self;
601 type DefaultType = Self;
602 }
603 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
604 #[repr(transparent)]
605 pub struct CameraUIControlPhotoFormat(pub i32);
606 impl CameraUIControlPhotoFormat {
607 pub const Jpeg: CameraUIControlPhotoFormat = CameraUIControlPhotoFormat(0i32);
608 pub const Png: CameraUIControlPhotoFormat = CameraUIControlPhotoFormat(1i32);
609 pub const JpegXR: CameraUIControlPhotoFormat = CameraUIControlPhotoFormat(2i32);
610 }
611 impl ::std::convert::From<i32> for CameraUIControlPhotoFormat {
from(value: i32) -> Self612 fn from(value: i32) -> Self {
613 Self(value)
614 }
615 }
616 unsafe impl ::windows::runtime::Abi for CameraUIControlPhotoFormat {
617 type Abi = Self;
618 type DefaultType = Self;
619 }
620 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
621 #[repr(transparent)]
622 pub struct CameraUIControlVideoFormat(pub i32);
623 impl CameraUIControlVideoFormat {
624 pub const Mp4: CameraUIControlVideoFormat = CameraUIControlVideoFormat(0i32);
625 pub const Wmv: CameraUIControlVideoFormat = CameraUIControlVideoFormat(1i32);
626 }
627 impl ::std::convert::From<i32> for CameraUIControlVideoFormat {
from(value: i32) -> Self628 fn from(value: i32) -> Self {
629 Self(value)
630 }
631 }
632 unsafe impl ::windows::runtime::Abi for CameraUIControlVideoFormat {
633 type Abi = Self;
634 type DefaultType = Self;
635 }
636 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
637 #[repr(transparent)]
638 pub struct CameraUIControlViewType(pub i32);
639 impl CameraUIControlViewType {
640 pub const SingleItem: CameraUIControlViewType = CameraUIControlViewType(0i32);
641 pub const ItemList: CameraUIControlViewType = CameraUIControlViewType(1i32);
642 }
643 impl ::std::convert::From<i32> for CameraUIControlViewType {
from(value: i32) -> Self644 fn from(value: i32) -> Self {
645 Self(value)
646 }
647 }
648 unsafe impl ::windows::runtime::Abi for CameraUIControlViewType {
649 type Abi = Self;
650 type DefaultType = Self;
651 }
652 #[cfg(feature = "Win32_Foundation")]
653 #[inline]
CancelDeviceWakeupRequest<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hdevice: Param0) -> super::super::Foundation::BOOL654 pub unsafe fn CancelDeviceWakeupRequest<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(hdevice: Param0) -> super::super::Foundation::BOOL {
655 #[cfg(windows)]
656 {
657 #[link(name = "windows")]
658 extern "system" {
659 fn CancelDeviceWakeupRequest(hdevice: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
660 }
661 ::std::mem::transmute(CancelDeviceWakeupRequest(hdevice.into_param().abi()))
662 }
663 #[cfg(not(windows))]
664 unimplemented!("Unsupported target OS");
665 }
666 #[cfg(feature = "Win32_Foundation")]
667 #[inline]
CancelTimerQueueTimer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(timerqueue: Param0, timer: Param1) -> super::super::Foundation::BOOL668 pub unsafe fn CancelTimerQueueTimer<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HANDLE>>(timerqueue: Param0, timer: Param1) -> super::super::Foundation::BOOL {
669 #[cfg(windows)]
670 {
671 #[link(name = "windows")]
672 extern "system" {
673 fn CancelTimerQueueTimer(timerqueue: super::super::Foundation::HANDLE, timer: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
674 }
675 ::std::mem::transmute(CancelTimerQueueTimer(timerqueue.into_param().abi(), timer.into_param().abi()))
676 }
677 #[cfg(not(windows))]
678 unimplemented!("Unsupported target OS");
679 }
680 #[inline]
CloseINFEngine(hinf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>681 pub unsafe fn CloseINFEngine(hinf: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
682 #[cfg(windows)]
683 {
684 #[link(name = "windows")]
685 extern "system" {
686 fn CloseINFEngine(hinf: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
687 }
688 CloseINFEngine(::std::mem::transmute(hinf)).ok()
689 }
690 #[cfg(not(windows))]
691 unimplemented!("Unsupported target OS");
692 }
693 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
694 #[repr(transparent)]
695 pub struct CommandStateChangeConstants(pub i32);
696 pub const CSC_UPDATECOMMANDS: CommandStateChangeConstants = CommandStateChangeConstants(-1i32);
697 pub const CSC_NAVIGATEFORWARD: CommandStateChangeConstants = CommandStateChangeConstants(1i32);
698 pub const CSC_NAVIGATEBACK: CommandStateChangeConstants = CommandStateChangeConstants(2i32);
699 impl ::std::convert::From<i32> for CommandStateChangeConstants {
from(value: i32) -> Self700 fn from(value: i32) -> Self {
701 Self(value)
702 }
703 }
704 unsafe impl ::windows::runtime::Abi for CommandStateChangeConstants {
705 type Abi = Self;
706 type DefaultType = Self;
707 }
708 #[inline]
ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::Result<()>709 pub unsafe fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::Result<()> {
710 #[cfg(windows)]
711 {
712 #[link(name = "windows")]
713 extern "system" {
714 fn ConvertAuxiliaryCounterToPerformanceCounter(ullauxiliarycountervalue: u64, lpperformancecountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::HRESULT;
715 }
716 ConvertAuxiliaryCounterToPerformanceCounter(::std::mem::transmute(ullauxiliarycountervalue), ::std::mem::transmute(lpperformancecountervalue), ::std::mem::transmute(lpconversionerror)).ok()
717 }
718 #[cfg(not(windows))]
719 unimplemented!("Unsupported target OS");
720 }
721 #[inline]
ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::Result<()>722 pub unsafe fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::Result<()> {
723 #[cfg(windows)]
724 {
725 #[link(name = "windows")]
726 extern "system" {
727 fn ConvertPerformanceCounterToAuxiliaryCounter(ullperformancecountervalue: u64, lpauxiliarycountervalue: *mut u64, lpconversionerror: *mut u64) -> ::windows::runtime::HRESULT;
728 }
729 ConvertPerformanceCounterToAuxiliaryCounter(::std::mem::transmute(ullperformancecountervalue), ::std::mem::transmute(lpauxiliarycountervalue), ::std::mem::transmute(lpconversionerror)).ok()
730 }
731 #[cfg(not(windows))]
732 unimplemented!("Unsupported target OS");
733 }
734 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
735 #[inline]
CreateJobSet(numjob: u32, userjobset: *const super::SystemServices::JOB_SET_ARRAY, flags: u32) -> super::super::Foundation::BOOL736 pub unsafe fn CreateJobSet(numjob: u32, userjobset: *const super::SystemServices::JOB_SET_ARRAY, flags: u32) -> super::super::Foundation::BOOL {
737 #[cfg(windows)]
738 {
739 #[link(name = "windows")]
740 extern "system" {
741 fn CreateJobSet(numjob: u32, userjobset: *const super::SystemServices::JOB_SET_ARRAY, flags: u32) -> super::super::Foundation::BOOL;
742 }
743 ::std::mem::transmute(CreateJobSet(::std::mem::transmute(numjob), ::std::mem::transmute(userjobset), ::std::mem::transmute(flags)))
744 }
745 #[cfg(not(windows))]
746 unimplemented!("Unsupported target OS");
747 }
748 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
749 #[inline]
CreateWaitableTimerA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: Param1, lptimername: Param2) -> super::super::Foundation::HANDLE750 pub unsafe fn CreateWaitableTimerA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: Param1, lptimername: Param2) -> super::super::Foundation::HANDLE {
751 #[cfg(windows)]
752 {
753 #[link(name = "windows")]
754 extern "system" {
755 fn CreateWaitableTimerA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, bmanualreset: super::super::Foundation::BOOL, lptimername: super::super::Foundation::PSTR) -> super::super::Foundation::HANDLE;
756 }
757 ::std::mem::transmute(CreateWaitableTimerA(::std::mem::transmute(lptimerattributes), bmanualreset.into_param().abi(), lptimername.into_param().abi()))
758 }
759 #[cfg(not(windows))]
760 unimplemented!("Unsupported target OS");
761 }
762 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
763 #[inline]
CreateWaitableTimerExA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: Param1, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE764 pub unsafe fn CreateWaitableTimerExA<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: Param1, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE {
765 #[cfg(windows)]
766 {
767 #[link(name = "windows")]
768 extern "system" {
769 fn CreateWaitableTimerExA(lptimerattributes: *const super::super::Security::SECURITY_ATTRIBUTES, lptimername: super::super::Foundation::PSTR, dwflags: u32, dwdesiredaccess: u32) -> super::super::Foundation::HANDLE;
770 }
771 ::std::mem::transmute(CreateWaitableTimerExA(::std::mem::transmute(lptimerattributes), lptimername.into_param().abi(), ::std::mem::transmute(dwflags), ::std::mem::transmute(dwdesiredaccess)))
772 }
773 #[cfg(not(windows))]
774 unimplemented!("Unsupported target OS");
775 }
776 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
777 #[repr(C)]
778 pub struct DATETIME {
779 pub year: u16,
780 pub month: u16,
781 pub day: u16,
782 pub hour: u16,
783 pub min: u16,
784 pub sec: u16,
785 }
786 impl DATETIME {}
787 impl ::std::default::Default for DATETIME {
default() -> Self788 fn default() -> Self {
789 unsafe { ::std::mem::zeroed() }
790 }
791 }
792 impl ::std::fmt::Debug for DATETIME {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result793 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
794 fmt.debug_struct("DATETIME").field("year", &self.year).field("month", &self.month).field("day", &self.day).field("hour", &self.hour).field("min", &self.min).field("sec", &self.sec).finish()
795 }
796 }
797 impl ::std::cmp::PartialEq for DATETIME {
eq(&self, other: &Self) -> bool798 fn eq(&self, other: &Self) -> bool {
799 self.year == other.year && self.month == other.month && self.day == other.day && self.hour == other.hour && self.min == other.min && self.sec == other.sec
800 }
801 }
802 impl ::std::cmp::Eq for DATETIME {}
803 unsafe impl ::windows::runtime::Abi for DATETIME {
804 type Abi = Self;
805 type DefaultType = Self;
806 }
807 #[inline]
DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32808 pub unsafe fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32 {
809 #[cfg(windows)]
810 {
811 #[link(name = "windows")]
812 extern "system" {
813 fn DCIBeginAccess(pdci: *mut DCISURFACEINFO, x: i32, y: i32, dx: i32, dy: i32) -> i32;
814 }
815 ::std::mem::transmute(DCIBeginAccess(::std::mem::transmute(pdci), ::std::mem::transmute(x), ::std::mem::transmute(y), ::std::mem::transmute(dx), ::std::mem::transmute(dy)))
816 }
817 #[cfg(not(windows))]
818 unimplemented!("Unsupported target OS");
819 }
820 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
821 #[repr(C)]
822 pub struct DCICMD {
823 pub dwCommand: u32,
824 pub dwParam1: u32,
825 pub dwParam2: u32,
826 pub dwVersion: u32,
827 pub dwReserved: u32,
828 }
829 impl DCICMD {}
830 impl ::std::default::Default for DCICMD {
default() -> Self831 fn default() -> Self {
832 unsafe { ::std::mem::zeroed() }
833 }
834 }
835 impl ::std::fmt::Debug for DCICMD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result836 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
837 fmt.debug_struct("DCICMD").field("dwCommand", &self.dwCommand).field("dwParam1", &self.dwParam1).field("dwParam2", &self.dwParam2).field("dwVersion", &self.dwVersion).field("dwReserved", &self.dwReserved).finish()
838 }
839 }
840 impl ::std::cmp::PartialEq for DCICMD {
eq(&self, other: &Self) -> bool841 fn eq(&self, other: &Self) -> bool {
842 self.dwCommand == other.dwCommand && self.dwParam1 == other.dwParam1 && self.dwParam2 == other.dwParam2 && self.dwVersion == other.dwVersion && self.dwReserved == other.dwReserved
843 }
844 }
845 impl ::std::cmp::Eq for DCICMD {}
846 unsafe impl ::windows::runtime::Abi for DCICMD {
847 type Abi = Self;
848 type DefaultType = Self;
849 }
850 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
851 #[repr(C)]
852 pub struct DCICREATEINPUT {
853 pub cmd: DCICMD,
854 pub dwCompression: u32,
855 pub dwMask: [u32; 3],
856 pub dwWidth: u32,
857 pub dwHeight: u32,
858 pub dwDCICaps: u32,
859 pub dwBitCount: u32,
860 pub lpSurface: *mut ::std::ffi::c_void,
861 }
862 impl DCICREATEINPUT {}
863 impl ::std::default::Default for DCICREATEINPUT {
default() -> Self864 fn default() -> Self {
865 unsafe { ::std::mem::zeroed() }
866 }
867 }
868 impl ::std::fmt::Debug for DCICREATEINPUT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result869 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
870 fmt.debug_struct("DCICREATEINPUT")
871 .field("cmd", &self.cmd)
872 .field("dwCompression", &self.dwCompression)
873 .field("dwMask", &self.dwMask)
874 .field("dwWidth", &self.dwWidth)
875 .field("dwHeight", &self.dwHeight)
876 .field("dwDCICaps", &self.dwDCICaps)
877 .field("dwBitCount", &self.dwBitCount)
878 .field("lpSurface", &self.lpSurface)
879 .finish()
880 }
881 }
882 impl ::std::cmp::PartialEq for DCICREATEINPUT {
eq(&self, other: &Self) -> bool883 fn eq(&self, other: &Self) -> bool {
884 self.cmd == other.cmd && self.dwCompression == other.dwCompression && self.dwMask == other.dwMask && self.dwWidth == other.dwWidth && self.dwHeight == other.dwHeight && self.dwDCICaps == other.dwDCICaps && self.dwBitCount == other.dwBitCount && self.lpSurface == other.lpSurface
885 }
886 }
887 impl ::std::cmp::Eq for DCICREATEINPUT {}
888 unsafe impl ::windows::runtime::Abi for DCICREATEINPUT {
889 type Abi = Self;
890 type DefaultType = Self;
891 }
892 pub const DCICREATEOFFSCREENSURFACE: u32 = 2u32;
893 pub const DCICREATEOVERLAYSURFACE: u32 = 3u32;
894 pub const DCICREATEPRIMARYSURFACE: u32 = 1u32;
895 #[cfg(feature = "Win32_Graphics_Gdi")]
896 #[inline]
DCICloseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0)897 pub unsafe fn DCICloseProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0) {
898 #[cfg(windows)]
899 {
900 #[link(name = "windows")]
901 extern "system" {
902 fn DCICloseProvider(hdc: super::super::Graphics::Gdi::HDC);
903 }
904 ::std::mem::transmute(DCICloseProvider(hdc.into_param().abi()))
905 }
906 #[cfg(not(windows))]
907 unimplemented!("Unsupported target OS");
908 }
909 #[cfg(feature = "Win32_Graphics_Gdi")]
910 #[inline]
DCICreateOffscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i32911 pub unsafe fn DCICreateOffscreen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i32 {
912 #[cfg(windows)]
913 {
914 #[link(name = "windows")]
915 extern "system" {
916 fn DCICreateOffscreen(hdc: super::super::Graphics::Gdi::HDC, dwcompression: u32, dwredmask: u32, dwgreenmask: u32, dwbluemask: u32, dwwidth: u32, dwheight: u32, dwdcicaps: u32, dwbitcount: u32, lplpsurface: *mut *mut DCIOFFSCREEN) -> i32;
917 }
918 ::std::mem::transmute(DCICreateOffscreen(
919 hdc.into_param().abi(),
920 ::std::mem::transmute(dwcompression),
921 ::std::mem::transmute(dwredmask),
922 ::std::mem::transmute(dwgreenmask),
923 ::std::mem::transmute(dwbluemask),
924 ::std::mem::transmute(dwwidth),
925 ::std::mem::transmute(dwheight),
926 ::std::mem::transmute(dwdcicaps),
927 ::std::mem::transmute(dwbitcount),
928 ::std::mem::transmute(lplpsurface),
929 ))
930 }
931 #[cfg(not(windows))]
932 unimplemented!("Unsupported target OS");
933 }
934 #[cfg(feature = "Win32_Graphics_Gdi")]
935 #[inline]
DCICreateOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpoffscreensurf: *mut ::std::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32936 pub unsafe fn DCICreateOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lpoffscreensurf: *mut ::std::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32 {
937 #[cfg(windows)]
938 {
939 #[link(name = "windows")]
940 extern "system" {
941 fn DCICreateOverlay(hdc: super::super::Graphics::Gdi::HDC, lpoffscreensurf: *mut ::std::ffi::c_void, lplpsurface: *mut *mut DCIOVERLAY) -> i32;
942 }
943 ::std::mem::transmute(DCICreateOverlay(hdc.into_param().abi(), ::std::mem::transmute(lpoffscreensurf), ::std::mem::transmute(lplpsurface)))
944 }
945 #[cfg(not(windows))]
946 unimplemented!("Unsupported target OS");
947 }
948 #[cfg(feature = "Win32_Graphics_Gdi")]
949 #[inline]
DCICreatePrimary<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lplpsurface: *mut *mut DCISURFACEINFO) -> i32950 pub unsafe fn DCICreatePrimary<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lplpsurface: *mut *mut DCISURFACEINFO) -> i32 {
951 #[cfg(windows)]
952 {
953 #[link(name = "windows")]
954 extern "system" {
955 fn DCICreatePrimary(hdc: super::super::Graphics::Gdi::HDC, lplpsurface: *mut *mut DCISURFACEINFO) -> i32;
956 }
957 ::std::mem::transmute(DCICreatePrimary(hdc.into_param().abi(), ::std::mem::transmute(lplpsurface)))
958 }
959 #[cfg(not(windows))]
960 unimplemented!("Unsupported target OS");
961 }
962 #[inline]
DCIDestroy(pdci: *mut DCISURFACEINFO)963 pub unsafe fn DCIDestroy(pdci: *mut DCISURFACEINFO) {
964 #[cfg(windows)]
965 {
966 #[link(name = "windows")]
967 extern "system" {
968 fn DCIDestroy(pdci: *mut DCISURFACEINFO);
969 }
970 ::std::mem::transmute(DCIDestroy(::std::mem::transmute(pdci)))
971 }
972 #[cfg(not(windows))]
973 unimplemented!("Unsupported target OS");
974 }
975 #[inline]
DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32976 pub unsafe fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32 {
977 #[cfg(windows)]
978 {
979 #[link(name = "windows")]
980 extern "system" {
981 fn DCIDraw(pdci: *mut DCIOFFSCREEN) -> i32;
982 }
983 ::std::mem::transmute(DCIDraw(::std::mem::transmute(pdci)))
984 }
985 #[cfg(not(windows))]
986 unimplemented!("Unsupported target OS");
987 }
988 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
989 #[repr(C)]
990 #[cfg(feature = "Win32_Foundation")]
991 pub struct DCIENUMINPUT {
992 pub cmd: DCICMD,
993 pub rSrc: super::super::Foundation::RECT,
994 pub rDst: super::super::Foundation::RECT,
995 pub EnumCallback: isize,
996 pub lpContext: *mut ::std::ffi::c_void,
997 }
998 #[cfg(feature = "Win32_Foundation")]
999 impl DCIENUMINPUT {}
1000 #[cfg(feature = "Win32_Foundation")]
1001 impl ::std::default::Default for DCIENUMINPUT {
default() -> Self1002 fn default() -> Self {
1003 unsafe { ::std::mem::zeroed() }
1004 }
1005 }
1006 #[cfg(feature = "Win32_Foundation")]
1007 impl ::std::fmt::Debug for DCIENUMINPUT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1008 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1009 fmt.debug_struct("DCIENUMINPUT").field("cmd", &self.cmd).field("rSrc", &self.rSrc).field("rDst", &self.rDst).field("EnumCallback", &self.EnumCallback).field("lpContext", &self.lpContext).finish()
1010 }
1011 }
1012 #[cfg(feature = "Win32_Foundation")]
1013 impl ::std::cmp::PartialEq for DCIENUMINPUT {
eq(&self, other: &Self) -> bool1014 fn eq(&self, other: &Self) -> bool {
1015 self.cmd == other.cmd && self.rSrc == other.rSrc && self.rDst == other.rDst && self.EnumCallback == other.EnumCallback && self.lpContext == other.lpContext
1016 }
1017 }
1018 #[cfg(feature = "Win32_Foundation")]
1019 impl ::std::cmp::Eq for DCIENUMINPUT {}
1020 #[cfg(feature = "Win32_Foundation")]
1021 unsafe impl ::windows::runtime::Abi for DCIENUMINPUT {
1022 type Abi = Self;
1023 type DefaultType = Self;
1024 }
1025 pub const DCIENUMSURFACE: u32 = 4u32;
1026 pub const DCIESCAPE: u32 = 5u32;
1027 #[inline]
DCIEndAccess(pdci: *mut DCISURFACEINFO)1028 pub unsafe fn DCIEndAccess(pdci: *mut DCISURFACEINFO) {
1029 #[cfg(windows)]
1030 {
1031 #[link(name = "windows")]
1032 extern "system" {
1033 fn DCIEndAccess(pdci: *mut DCISURFACEINFO);
1034 }
1035 ::std::mem::transmute(DCIEndAccess(::std::mem::transmute(pdci)))
1036 }
1037 #[cfg(not(windows))]
1038 unimplemented!("Unsupported target OS");
1039 }
1040 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1041 #[inline]
DCIEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::std::ffi::c_void, lpcontext: *mut ::std::ffi::c_void) -> i321042 pub unsafe fn DCIEnum<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::std::ffi::c_void, lpcontext: *mut ::std::ffi::c_void) -> i32 {
1043 #[cfg(windows)]
1044 {
1045 #[link(name = "windows")]
1046 extern "system" {
1047 fn DCIEnum(hdc: super::super::Graphics::Gdi::HDC, lprdst: *mut super::super::Foundation::RECT, lprsrc: *mut super::super::Foundation::RECT, lpfncallback: *mut ::std::ffi::c_void, lpcontext: *mut ::std::ffi::c_void) -> i32;
1048 }
1049 ::std::mem::transmute(DCIEnum(hdc.into_param().abi(), ::std::mem::transmute(lprdst), ::std::mem::transmute(lprsrc), ::std::mem::transmute(lpfncallback), ::std::mem::transmute(lpcontext)))
1050 }
1051 #[cfg(not(windows))]
1052 unimplemented!("Unsupported target OS");
1053 }
1054 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1055 #[repr(C)]
1056 pub struct DCIOFFSCREEN {
1057 pub dciInfo: DCISURFACEINFO,
1058 pub Draw: isize,
1059 pub SetClipList: isize,
1060 pub SetDestination: isize,
1061 }
1062 impl DCIOFFSCREEN {}
1063 impl ::std::default::Default for DCIOFFSCREEN {
default() -> Self1064 fn default() -> Self {
1065 unsafe { ::std::mem::zeroed() }
1066 }
1067 }
1068 impl ::std::fmt::Debug for DCIOFFSCREEN {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1069 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1070 fmt.debug_struct("DCIOFFSCREEN").field("dciInfo", &self.dciInfo).field("Draw", &self.Draw).field("SetClipList", &self.SetClipList).field("SetDestination", &self.SetDestination).finish()
1071 }
1072 }
1073 impl ::std::cmp::PartialEq for DCIOFFSCREEN {
eq(&self, other: &Self) -> bool1074 fn eq(&self, other: &Self) -> bool {
1075 self.dciInfo == other.dciInfo && self.Draw == other.Draw && self.SetClipList == other.SetClipList && self.SetDestination == other.SetDestination
1076 }
1077 }
1078 impl ::std::cmp::Eq for DCIOFFSCREEN {}
1079 unsafe impl ::windows::runtime::Abi for DCIOFFSCREEN {
1080 type Abi = Self;
1081 type DefaultType = Self;
1082 }
1083 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1084 #[repr(C)]
1085 pub struct DCIOVERLAY {
1086 pub dciInfo: DCISURFACEINFO,
1087 pub dwChromakeyValue: u32,
1088 pub dwChromakeyMask: u32,
1089 }
1090 impl DCIOVERLAY {}
1091 impl ::std::default::Default for DCIOVERLAY {
default() -> Self1092 fn default() -> Self {
1093 unsafe { ::std::mem::zeroed() }
1094 }
1095 }
1096 impl ::std::fmt::Debug for DCIOVERLAY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1097 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1098 fmt.debug_struct("DCIOVERLAY").field("dciInfo", &self.dciInfo).field("dwChromakeyValue", &self.dwChromakeyValue).field("dwChromakeyMask", &self.dwChromakeyMask).finish()
1099 }
1100 }
1101 impl ::std::cmp::PartialEq for DCIOVERLAY {
eq(&self, other: &Self) -> bool1102 fn eq(&self, other: &Self) -> bool {
1103 self.dciInfo == other.dciInfo && self.dwChromakeyValue == other.dwChromakeyValue && self.dwChromakeyMask == other.dwChromakeyMask
1104 }
1105 }
1106 impl ::std::cmp::Eq for DCIOVERLAY {}
1107 unsafe impl ::windows::runtime::Abi for DCIOVERLAY {
1108 type Abi = Self;
1109 type DefaultType = Self;
1110 }
1111 #[cfg(feature = "Win32_Graphics_Gdi")]
1112 #[inline]
DCIOpenProvider() -> super::super::Graphics::Gdi::HDC1113 pub unsafe fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC {
1114 #[cfg(windows)]
1115 {
1116 #[link(name = "windows")]
1117 extern "system" {
1118 fn DCIOpenProvider() -> super::super::Graphics::Gdi::HDC;
1119 }
1120 ::std::mem::transmute(DCIOpenProvider())
1121 }
1122 #[cfg(not(windows))]
1123 unimplemented!("Unsupported target OS");
1124 }
1125 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1126 #[repr(C)]
1127 pub struct DCISURFACEINFO {
1128 pub dwSize: u32,
1129 pub dwDCICaps: u32,
1130 pub dwCompression: u32,
1131 pub dwMask: [u32; 3],
1132 pub dwWidth: u32,
1133 pub dwHeight: u32,
1134 pub lStride: i32,
1135 pub dwBitCount: u32,
1136 pub dwOffSurface: usize,
1137 pub wSelSurface: u16,
1138 pub wReserved: u16,
1139 pub dwReserved1: u32,
1140 pub dwReserved2: u32,
1141 pub dwReserved3: u32,
1142 pub BeginAccess: isize,
1143 pub EndAccess: isize,
1144 pub DestroySurface: isize,
1145 }
1146 impl DCISURFACEINFO {}
1147 impl ::std::default::Default for DCISURFACEINFO {
default() -> Self1148 fn default() -> Self {
1149 unsafe { ::std::mem::zeroed() }
1150 }
1151 }
1152 impl ::std::fmt::Debug for DCISURFACEINFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1153 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1154 fmt.debug_struct("DCISURFACEINFO")
1155 .field("dwSize", &self.dwSize)
1156 .field("dwDCICaps", &self.dwDCICaps)
1157 .field("dwCompression", &self.dwCompression)
1158 .field("dwMask", &self.dwMask)
1159 .field("dwWidth", &self.dwWidth)
1160 .field("dwHeight", &self.dwHeight)
1161 .field("lStride", &self.lStride)
1162 .field("dwBitCount", &self.dwBitCount)
1163 .field("dwOffSurface", &self.dwOffSurface)
1164 .field("wSelSurface", &self.wSelSurface)
1165 .field("wReserved", &self.wReserved)
1166 .field("dwReserved1", &self.dwReserved1)
1167 .field("dwReserved2", &self.dwReserved2)
1168 .field("dwReserved3", &self.dwReserved3)
1169 .field("BeginAccess", &self.BeginAccess)
1170 .field("EndAccess", &self.EndAccess)
1171 .field("DestroySurface", &self.DestroySurface)
1172 .finish()
1173 }
1174 }
1175 impl ::std::cmp::PartialEq for DCISURFACEINFO {
eq(&self, other: &Self) -> bool1176 fn eq(&self, other: &Self) -> bool {
1177 self.dwSize == other.dwSize
1178 && self.dwDCICaps == other.dwDCICaps
1179 && self.dwCompression == other.dwCompression
1180 && self.dwMask == other.dwMask
1181 && self.dwWidth == other.dwWidth
1182 && self.dwHeight == other.dwHeight
1183 && self.lStride == other.lStride
1184 && self.dwBitCount == other.dwBitCount
1185 && self.dwOffSurface == other.dwOffSurface
1186 && self.wSelSurface == other.wSelSurface
1187 && self.wReserved == other.wReserved
1188 && self.dwReserved1 == other.dwReserved1
1189 && self.dwReserved2 == other.dwReserved2
1190 && self.dwReserved3 == other.dwReserved3
1191 && self.BeginAccess == other.BeginAccess
1192 && self.EndAccess == other.EndAccess
1193 && self.DestroySurface == other.DestroySurface
1194 }
1195 }
1196 impl ::std::cmp::Eq for DCISURFACEINFO {}
1197 unsafe impl ::windows::runtime::Abi for DCISURFACEINFO {
1198 type Abi = Self;
1199 type DefaultType = Self;
1200 }
1201 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1202 #[inline]
DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i321203 pub unsafe fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 {
1204 #[cfg(windows)]
1205 {
1206 #[link(name = "windows")]
1207 extern "system" {
1208 fn DCISetClipList(pdci: *mut DCIOFFSCREEN, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32;
1209 }
1210 ::std::mem::transmute(DCISetClipList(::std::mem::transmute(pdci), ::std::mem::transmute(prd)))
1211 }
1212 #[cfg(not(windows))]
1213 unimplemented!("Unsupported target OS");
1214 }
1215 #[cfg(feature = "Win32_Foundation")]
1216 #[inline]
DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i321217 pub unsafe fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32 {
1218 #[cfg(windows)]
1219 {
1220 #[link(name = "windows")]
1221 extern "system" {
1222 fn DCISetDestination(pdci: *mut DCIOFFSCREEN, dst: *mut super::super::Foundation::RECT, src: *mut super::super::Foundation::RECT) -> i32;
1223 }
1224 ::std::mem::transmute(DCISetDestination(::std::mem::transmute(pdci), ::std::mem::transmute(dst), ::std::mem::transmute(src)))
1225 }
1226 #[cfg(not(windows))]
1227 unimplemented!("Unsupported target OS");
1228 }
1229 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
1230 #[inline]
DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i321231 pub unsafe fn DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32 {
1232 #[cfg(windows)]
1233 {
1234 #[link(name = "windows")]
1235 extern "system" {
1236 fn DCISetSrcDestClip(pdci: *mut DCIOFFSCREEN, srcrc: *mut super::super::Foundation::RECT, destrc: *mut super::super::Foundation::RECT, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> i32;
1237 }
1238 ::std::mem::transmute(DCISetSrcDestClip(::std::mem::transmute(pdci), ::std::mem::transmute(srcrc), ::std::mem::transmute(destrc), ::std::mem::transmute(prd)))
1239 }
1240 #[cfg(not(windows))]
1241 unimplemented!("Unsupported target OS");
1242 }
1243 pub const DCI_1632_ACCESS: u32 = 64u32;
1244 pub const DCI_ASYNC: u32 = 1024u32;
1245 pub const DCI_CANOVERLAY: u32 = 65536u32;
1246 pub const DCI_CAN_STRETCHX: u32 = 4096u32;
1247 pub const DCI_CAN_STRETCHXN: u32 = 16384u32;
1248 pub const DCI_CAN_STRETCHY: u32 = 8192u32;
1249 pub const DCI_CAN_STRETCHYN: u32 = 32768u32;
1250 pub const DCI_CHROMAKEY: u32 = 32u32;
1251 pub const DCI_DWORDALIGN: u32 = 256u32;
1252 pub const DCI_DWORDSIZE: u32 = 128u32;
1253 pub const DCI_ERR_CURRENTLYNOTAVAIL: i32 = -5i32;
1254 pub const DCI_ERR_HEIGHTALIGN: i32 = -21i32;
1255 pub const DCI_ERR_INVALIDCLIPLIST: i32 = -15i32;
1256 pub const DCI_ERR_INVALIDPOSITION: i32 = -13i32;
1257 pub const DCI_ERR_INVALIDRECT: i32 = -6i32;
1258 pub const DCI_ERR_INVALIDSTRETCH: i32 = -14i32;
1259 pub const DCI_ERR_OUTOFMEMORY: i32 = -12i32;
1260 pub const DCI_ERR_SURFACEISOBSCURED: i32 = -16i32;
1261 pub const DCI_ERR_TOOBIGHEIGHT: i32 = -9i32;
1262 pub const DCI_ERR_TOOBIGSIZE: i32 = -11i32;
1263 pub const DCI_ERR_TOOBIGWIDTH: i32 = -10i32;
1264 pub const DCI_ERR_UNSUPPORTEDFORMAT: i32 = -7i32;
1265 pub const DCI_ERR_UNSUPPORTEDMASK: i32 = -8i32;
1266 pub const DCI_ERR_WIDTHALIGN: i32 = -20i32;
1267 pub const DCI_ERR_XALIGN: i32 = -17i32;
1268 pub const DCI_ERR_XYALIGN: i32 = -19i32;
1269 pub const DCI_ERR_YALIGN: i32 = -18i32;
1270 pub const DCI_FAIL_GENERIC: i32 = -1i32;
1271 pub const DCI_FAIL_INVALIDSURFACE: i32 = -3i32;
1272 pub const DCI_FAIL_UNSUPPORTED: i32 = -4i32;
1273 pub const DCI_FAIL_UNSUPPORTEDVERSION: i32 = -2i32;
1274 pub const DCI_OFFSCREEN: u32 = 1u32;
1275 pub const DCI_OK: u32 = 0u32;
1276 pub const DCI_OVERLAY: u32 = 2u32;
1277 pub const DCI_PRIMARY: u32 = 0u32;
1278 pub const DCI_STATUS_CHROMAKEYCHANGED: u32 = 16u32;
1279 pub const DCI_STATUS_FORMATCHANGED: u32 = 4u32;
1280 pub const DCI_STATUS_POINTERCHANGED: u32 = 1u32;
1281 pub const DCI_STATUS_STRIDECHANGED: u32 = 2u32;
1282 pub const DCI_STATUS_SURFACEINFOCHANGED: u32 = 8u32;
1283 pub const DCI_STATUS_WASSTILLDRAWING: u32 = 32u32;
1284 pub const DCI_SURFACE_TYPE: u32 = 15u32;
1285 pub const DCI_VERSION: u32 = 256u32;
1286 pub const DCI_VISIBLE: u32 = 16u32;
1287 pub const DCI_WRITEONLY: u32 = 512u32;
1288 pub const DDIRQ_RESERVED1: i32 = 2i32;
1289 pub const DDKERNELCAPS_AUTOFLIP: i32 = 2i32;
1290 pub const DDKERNELCAPS_CAPTURE_INVERTED: i32 = 512i32;
1291 pub const DDKERNELCAPS_CAPTURE_NONLOCALVIDMEM: i32 = 128i32;
1292 pub const DDKERNELCAPS_CAPTURE_SYSMEM: i32 = 64i32;
1293 pub const DDKERNELCAPS_FIELDPOLARITY: i32 = 256i32;
1294 pub const DDKERNELCAPS_FLIPOVERLAY: i32 = 32i32;
1295 pub const DDKERNELCAPS_FLIPVIDEOPORT: i32 = 16i32;
1296 pub const DDKERNELCAPS_LOCK: i32 = 8i32;
1297 pub const DDKERNELCAPS_SETSTATE: i32 = 4i32;
1298 pub const DDKERNELCAPS_SKIPFIELDS: i32 = 1i32;
1299 pub const DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION: u32 = 1u32;
1300 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1301 #[repr(transparent)]
1302 pub struct DECISION_LOCATION(pub i32);
1303 pub const DECISION_LOCATION_REFRESH_GLOBAL_DATA: DECISION_LOCATION = DECISION_LOCATION(0i32);
1304 pub const DECISION_LOCATION_PARAMETER_VALIDATION: DECISION_LOCATION = DECISION_LOCATION(1i32);
1305 pub const DECISION_LOCATION_AUDIT: DECISION_LOCATION = DECISION_LOCATION(2i32);
1306 pub const DECISION_LOCATION_FAILED_CONVERT_GUID: DECISION_LOCATION = DECISION_LOCATION(3i32);
1307 pub const DECISION_LOCATION_ENTERPRISE_DEFINED_CLASS_ID: DECISION_LOCATION = DECISION_LOCATION(4i32);
1308 pub const DECISION_LOCATION_GLOBAL_BUILT_IN_LIST: DECISION_LOCATION = DECISION_LOCATION(5i32);
1309 pub const DECISION_LOCATION_PROVIDER_BUILT_IN_LIST: DECISION_LOCATION = DECISION_LOCATION(6i32);
1310 pub const DECISION_LOCATION_ENFORCE_STATE_LIST: DECISION_LOCATION = DECISION_LOCATION(7i32);
1311 pub const DECISION_LOCATION_NOT_FOUND: DECISION_LOCATION = DECISION_LOCATION(8i32);
1312 pub const DECISION_LOCATION_UNKNOWN: DECISION_LOCATION = DECISION_LOCATION(9i32);
1313 impl ::std::convert::From<i32> for DECISION_LOCATION {
from(value: i32) -> Self1314 fn from(value: i32) -> Self {
1315 Self(value)
1316 }
1317 }
1318 unsafe impl ::windows::runtime::Abi for DECISION_LOCATION {
1319 type Abi = Self;
1320 type DefaultType = Self;
1321 }
1322 pub const DELAYLOAD_GPA_FAILURE: u32 = 4u32;
1323 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1324 #[repr(C)]
1325 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1326 pub struct DELAYLOAD_INFO {
1327 pub Size: u32,
1328 pub DelayloadDescriptor: *mut super::SystemServices::IMAGE_DELAYLOAD_DESCRIPTOR,
1329 pub ThunkAddress: *mut super::SystemServices::IMAGE_THUNK_DATA64,
1330 pub TargetDllName: super::super::Foundation::PSTR,
1331 pub TargetApiDescriptor: DELAYLOAD_PROC_DESCRIPTOR,
1332 pub TargetModuleBase: *mut ::std::ffi::c_void,
1333 pub Unused: *mut ::std::ffi::c_void,
1334 pub LastError: u32,
1335 }
1336 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1337 impl DELAYLOAD_INFO {}
1338 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1339 impl ::std::default::Default for DELAYLOAD_INFO {
default() -> Self1340 fn default() -> Self {
1341 unsafe { ::std::mem::zeroed() }
1342 }
1343 }
1344 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1345 impl ::std::cmp::PartialEq for DELAYLOAD_INFO {
eq(&self, _other: &Self) -> bool1346 fn eq(&self, _other: &Self) -> bool {
1347 unimplemented!()
1348 }
1349 }
1350 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1351 impl ::std::cmp::Eq for DELAYLOAD_INFO {}
1352 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
1353 unsafe impl ::windows::runtime::Abi for DELAYLOAD_INFO {
1354 type Abi = Self;
1355 type DefaultType = Self;
1356 }
1357 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1358 #[repr(C)]
1359 #[cfg(feature = "Win32_Foundation")]
1360 pub struct DELAYLOAD_PROC_DESCRIPTOR {
1361 pub ImportDescribedByName: u32,
1362 pub Description: DELAYLOAD_PROC_DESCRIPTOR_0,
1363 }
1364 #[cfg(feature = "Win32_Foundation")]
1365 impl DELAYLOAD_PROC_DESCRIPTOR {}
1366 #[cfg(feature = "Win32_Foundation")]
1367 impl ::std::default::Default for DELAYLOAD_PROC_DESCRIPTOR {
default() -> Self1368 fn default() -> Self {
1369 unsafe { ::std::mem::zeroed() }
1370 }
1371 }
1372 #[cfg(feature = "Win32_Foundation")]
1373 impl ::std::cmp::PartialEq for DELAYLOAD_PROC_DESCRIPTOR {
eq(&self, _other: &Self) -> bool1374 fn eq(&self, _other: &Self) -> bool {
1375 unimplemented!()
1376 }
1377 }
1378 #[cfg(feature = "Win32_Foundation")]
1379 impl ::std::cmp::Eq for DELAYLOAD_PROC_DESCRIPTOR {}
1380 #[cfg(feature = "Win32_Foundation")]
1381 unsafe impl ::windows::runtime::Abi for DELAYLOAD_PROC_DESCRIPTOR {
1382 type Abi = Self;
1383 type DefaultType = Self;
1384 }
1385 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1386 #[repr(C)]
1387 #[cfg(feature = "Win32_Foundation")]
1388 pub union DELAYLOAD_PROC_DESCRIPTOR_0 {
1389 pub Name: super::super::Foundation::PSTR,
1390 pub Ordinal: u32,
1391 }
1392 #[cfg(feature = "Win32_Foundation")]
1393 impl DELAYLOAD_PROC_DESCRIPTOR_0 {}
1394 #[cfg(feature = "Win32_Foundation")]
1395 impl ::std::default::Default for DELAYLOAD_PROC_DESCRIPTOR_0 {
default() -> Self1396 fn default() -> Self {
1397 unsafe { ::std::mem::zeroed() }
1398 }
1399 }
1400 #[cfg(feature = "Win32_Foundation")]
1401 impl ::std::cmp::PartialEq for DELAYLOAD_PROC_DESCRIPTOR_0 {
eq(&self, _other: &Self) -> bool1402 fn eq(&self, _other: &Self) -> bool {
1403 unimplemented!()
1404 }
1405 }
1406 #[cfg(feature = "Win32_Foundation")]
1407 impl ::std::cmp::Eq for DELAYLOAD_PROC_DESCRIPTOR_0 {}
1408 #[cfg(feature = "Win32_Foundation")]
1409 unsafe impl ::windows::runtime::Abi for DELAYLOAD_PROC_DESCRIPTOR_0 {
1410 type Abi = Self;
1411 type DefaultType = Self;
1412 }
1413 pub const DELETE_BROWSING_HISTORY_COOKIES: u32 = 2u32;
1414 pub const DELETE_BROWSING_HISTORY_DOWNLOADHISTORY: u32 = 64u32;
1415 pub const DELETE_BROWSING_HISTORY_FORMDATA: u32 = 8u32;
1416 pub const DELETE_BROWSING_HISTORY_HISTORY: u32 = 1u32;
1417 pub const DELETE_BROWSING_HISTORY_PASSWORDS: u32 = 16u32;
1418 pub const DELETE_BROWSING_HISTORY_PRESERVEFAVORITES: u32 = 32u32;
1419 pub const DELETE_BROWSING_HISTORY_TIF: u32 = 4u32;
1420 pub const DOCKINFO_DOCKED: u32 = 2u32;
1421 pub const DOCKINFO_UNDOCKED: u32 = 1u32;
1422 pub const DOCKINFO_USER_SUPPLIED: u32 = 4u32;
1423 pub const DRIVE_CDROM: u32 = 5u32;
1424 pub const DRIVE_FIXED: u32 = 3u32;
1425 pub const DRIVE_NO_ROOT_DIR: u32 = 1u32;
1426 pub const DRIVE_RAMDISK: u32 = 6u32;
1427 pub const DRIVE_REMOTE: u32 = 4u32;
1428 pub const DRIVE_REMOVABLE: u32 = 2u32;
1429 pub const DRIVE_UNKNOWN: u32 = 0u32;
1430 #[repr(transparent)]
1431 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1432 pub struct DShellNameSpaceEvents(::windows::runtime::IUnknown);
1433 impl DShellNameSpaceEvents {}
1434 unsafe impl ::windows::runtime::Interface for DShellNameSpaceEvents {
1435 type Vtable = DShellNameSpaceEvents_abi;
1436 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1427335174, 45790, 4561, [185, 242, 0, 160, 201, 139, 197, 71]);
1437 }
1438 impl ::std::convert::From<DShellNameSpaceEvents> for ::windows::runtime::IUnknown {
from(value: DShellNameSpaceEvents) -> Self1439 fn from(value: DShellNameSpaceEvents) -> Self {
1440 unsafe { ::std::mem::transmute(value) }
1441 }
1442 }
1443 impl ::std::convert::From<&DShellNameSpaceEvents> for ::windows::runtime::IUnknown {
from(value: &DShellNameSpaceEvents) -> Self1444 fn from(value: &DShellNameSpaceEvents) -> Self {
1445 ::std::convert::From::from(::std::clone::Clone::clone(value))
1446 }
1447 }
1448 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DShellNameSpaceEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1449 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1450 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1451 }
1452 }
1453 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DShellNameSpaceEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1454 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1455 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1456 }
1457 }
1458 #[cfg(feature = "Win32_System_Ole_Automation")]
1459 impl ::std::convert::From<DShellNameSpaceEvents> for super::Ole::Automation::IDispatch {
from(value: DShellNameSpaceEvents) -> Self1460 fn from(value: DShellNameSpaceEvents) -> Self {
1461 unsafe { ::std::mem::transmute(value) }
1462 }
1463 }
1464 #[cfg(feature = "Win32_System_Ole_Automation")]
1465 impl ::std::convert::From<&DShellNameSpaceEvents> for super::Ole::Automation::IDispatch {
from(value: &DShellNameSpaceEvents) -> Self1466 fn from(value: &DShellNameSpaceEvents) -> Self {
1467 ::std::convert::From::from(::std::clone::Clone::clone(value))
1468 }
1469 }
1470 #[cfg(feature = "Win32_System_Ole_Automation")]
1471 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DShellNameSpaceEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1472 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1473 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1474 }
1475 }
1476 #[cfg(feature = "Win32_System_Ole_Automation")]
1477 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DShellNameSpaceEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1478 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1479 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1480 }
1481 }
1482 #[repr(C)]
1483 #[doc(hidden)]
1484 pub struct DShellNameSpaceEvents_abi(
1485 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1486 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1487 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1488 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1489 #[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,
1490 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1491 #[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,
1492 #[cfg(not(feature = "Win32_Foundation"))] usize,
1493 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1494 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1495 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1496 );
1497 #[repr(transparent)]
1498 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1499 pub struct DShellWindowsEvents(::windows::runtime::IUnknown);
1500 impl DShellWindowsEvents {}
1501 unsafe impl ::windows::runtime::Interface for DShellWindowsEvents {
1502 type Vtable = DShellWindowsEvents_abi;
1503 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4265674464, 14746, 4560, [164, 140, 0, 160, 201, 10, 143, 57]);
1504 }
1505 impl ::std::convert::From<DShellWindowsEvents> for ::windows::runtime::IUnknown {
from(value: DShellWindowsEvents) -> Self1506 fn from(value: DShellWindowsEvents) -> Self {
1507 unsafe { ::std::mem::transmute(value) }
1508 }
1509 }
1510 impl ::std::convert::From<&DShellWindowsEvents> for ::windows::runtime::IUnknown {
from(value: &DShellWindowsEvents) -> Self1511 fn from(value: &DShellWindowsEvents) -> Self {
1512 ::std::convert::From::from(::std::clone::Clone::clone(value))
1513 }
1514 }
1515 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DShellWindowsEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1516 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1517 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1518 }
1519 }
1520 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DShellWindowsEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1521 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1522 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1523 }
1524 }
1525 #[cfg(feature = "Win32_System_Ole_Automation")]
1526 impl ::std::convert::From<DShellWindowsEvents> for super::Ole::Automation::IDispatch {
from(value: DShellWindowsEvents) -> Self1527 fn from(value: DShellWindowsEvents) -> Self {
1528 unsafe { ::std::mem::transmute(value) }
1529 }
1530 }
1531 #[cfg(feature = "Win32_System_Ole_Automation")]
1532 impl ::std::convert::From<&DShellWindowsEvents> for super::Ole::Automation::IDispatch {
from(value: &DShellWindowsEvents) -> Self1533 fn from(value: &DShellWindowsEvents) -> Self {
1534 ::std::convert::From::from(::std::clone::Clone::clone(value))
1535 }
1536 }
1537 #[cfg(feature = "Win32_System_Ole_Automation")]
1538 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DShellWindowsEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1539 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1540 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1541 }
1542 }
1543 #[cfg(feature = "Win32_System_Ole_Automation")]
1544 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DShellWindowsEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1545 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1546 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1547 }
1548 }
1549 #[repr(C)]
1550 #[doc(hidden)]
1551 pub struct DShellWindowsEvents_abi(
1552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1553 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1554 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1555 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1556 #[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,
1557 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1558 #[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,
1559 #[cfg(not(feature = "Win32_Foundation"))] usize,
1560 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1561 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1562 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1563 );
1564 pub const DTR_CONTROL_DISABLE: u32 = 0u32;
1565 pub const DTR_CONTROL_ENABLE: u32 = 1u32;
1566 pub const DTR_CONTROL_HANDSHAKE: u32 = 2u32;
1567 #[repr(transparent)]
1568 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1569 pub struct DWebBrowserEvents(::windows::runtime::IUnknown);
1570 impl DWebBrowserEvents {}
1571 unsafe impl ::windows::runtime::Interface for DWebBrowserEvents {
1572 type Vtable = DWebBrowserEvents_abi;
1573 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3937544898, 12481, 4559, [167, 235, 0, 0, 192, 91, 174, 11]);
1574 }
1575 impl ::std::convert::From<DWebBrowserEvents> for ::windows::runtime::IUnknown {
from(value: DWebBrowserEvents) -> Self1576 fn from(value: DWebBrowserEvents) -> Self {
1577 unsafe { ::std::mem::transmute(value) }
1578 }
1579 }
1580 impl ::std::convert::From<&DWebBrowserEvents> for ::windows::runtime::IUnknown {
from(value: &DWebBrowserEvents) -> Self1581 fn from(value: &DWebBrowserEvents) -> Self {
1582 ::std::convert::From::from(::std::clone::Clone::clone(value))
1583 }
1584 }
1585 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DWebBrowserEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1586 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1587 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1588 }
1589 }
1590 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DWebBrowserEvents {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1591 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1592 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1593 }
1594 }
1595 #[cfg(feature = "Win32_System_Ole_Automation")]
1596 impl ::std::convert::From<DWebBrowserEvents> for super::Ole::Automation::IDispatch {
from(value: DWebBrowserEvents) -> Self1597 fn from(value: DWebBrowserEvents) -> Self {
1598 unsafe { ::std::mem::transmute(value) }
1599 }
1600 }
1601 #[cfg(feature = "Win32_System_Ole_Automation")]
1602 impl ::std::convert::From<&DWebBrowserEvents> for super::Ole::Automation::IDispatch {
from(value: &DWebBrowserEvents) -> Self1603 fn from(value: &DWebBrowserEvents) -> Self {
1604 ::std::convert::From::from(::std::clone::Clone::clone(value))
1605 }
1606 }
1607 #[cfg(feature = "Win32_System_Ole_Automation")]
1608 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DWebBrowserEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1609 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1610 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1611 }
1612 }
1613 #[cfg(feature = "Win32_System_Ole_Automation")]
1614 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DWebBrowserEvents {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1615 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1616 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1617 }
1618 }
1619 #[repr(C)]
1620 #[doc(hidden)]
1621 pub struct DWebBrowserEvents_abi(
1622 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1623 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1624 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1626 #[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,
1627 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1628 #[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,
1629 #[cfg(not(feature = "Win32_Foundation"))] usize,
1630 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1631 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1632 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1633 );
1634 #[repr(transparent)]
1635 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1636 pub struct DWebBrowserEvents2(::windows::runtime::IUnknown);
1637 impl DWebBrowserEvents2 {}
1638 unsafe impl ::windows::runtime::Interface for DWebBrowserEvents2 {
1639 type Vtable = DWebBrowserEvents2_abi;
1640 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(883365280, 25991, 4560, [146, 74, 0, 32, 175, 199, 172, 77]);
1641 }
1642 impl ::std::convert::From<DWebBrowserEvents2> for ::windows::runtime::IUnknown {
from(value: DWebBrowserEvents2) -> Self1643 fn from(value: DWebBrowserEvents2) -> Self {
1644 unsafe { ::std::mem::transmute(value) }
1645 }
1646 }
1647 impl ::std::convert::From<&DWebBrowserEvents2> for ::windows::runtime::IUnknown {
from(value: &DWebBrowserEvents2) -> Self1648 fn from(value: &DWebBrowserEvents2) -> Self {
1649 ::std::convert::From::from(::std::clone::Clone::clone(value))
1650 }
1651 }
1652 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for DWebBrowserEvents2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1653 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1654 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1655 }
1656 }
1657 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &DWebBrowserEvents2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1658 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1659 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1660 }
1661 }
1662 #[cfg(feature = "Win32_System_Ole_Automation")]
1663 impl ::std::convert::From<DWebBrowserEvents2> for super::Ole::Automation::IDispatch {
from(value: DWebBrowserEvents2) -> Self1664 fn from(value: DWebBrowserEvents2) -> Self {
1665 unsafe { ::std::mem::transmute(value) }
1666 }
1667 }
1668 #[cfg(feature = "Win32_System_Ole_Automation")]
1669 impl ::std::convert::From<&DWebBrowserEvents2> for super::Ole::Automation::IDispatch {
from(value: &DWebBrowserEvents2) -> Self1670 fn from(value: &DWebBrowserEvents2) -> Self {
1671 ::std::convert::From::from(::std::clone::Clone::clone(value))
1672 }
1673 }
1674 #[cfg(feature = "Win32_System_Ole_Automation")]
1675 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for DWebBrowserEvents2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1676 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1677 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
1678 }
1679 }
1680 #[cfg(feature = "Win32_System_Ole_Automation")]
1681 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &DWebBrowserEvents2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>1682 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
1683 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
1684 }
1685 }
1686 #[repr(C)]
1687 #[doc(hidden)]
1688 pub struct DWebBrowserEvents2_abi(
1689 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1690 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1691 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1692 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
1693 #[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,
1694 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
1695 #[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,
1696 #[cfg(not(feature = "Win32_Foundation"))] usize,
1697 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
1698 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
1699 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
1700 );
1701 pub const DefaultBrowserSyncSettings: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(986199075, 12562, 19110, [155, 91, 31, 235, 35, 208, 197, 249]);
1702 #[cfg(feature = "Win32_Foundation")]
1703 #[inline]
DelNodeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pszfileordirname: Param0, dwflags: u32) -> ::windows::runtime::Result<()>1704 pub unsafe fn DelNodeA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pszfileordirname: Param0, dwflags: u32) -> ::windows::runtime::Result<()> {
1705 #[cfg(windows)]
1706 {
1707 #[link(name = "windows")]
1708 extern "system" {
1709 fn DelNodeA(pszfileordirname: super::super::Foundation::PSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
1710 }
1711 DelNodeA(pszfileordirname.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
1712 }
1713 #[cfg(not(windows))]
1714 unimplemented!("Unsupported target OS");
1715 }
1716 #[cfg(feature = "Win32_Foundation")]
1717 #[inline]
DelNodeRunDLL32W<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HINSTANCE>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwnd: Param0, hinstance: Param1, pszparms: Param2, nshow: i32) -> ::windows::runtime::Result<()>1718 pub unsafe fn DelNodeRunDLL32W<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::HINSTANCE>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hwnd: Param0, hinstance: Param1, pszparms: Param2, nshow: i32) -> ::windows::runtime::Result<()> {
1719 #[cfg(windows)]
1720 {
1721 #[link(name = "windows")]
1722 extern "system" {
1723 fn DelNodeRunDLL32W(hwnd: super::super::Foundation::HWND, hinstance: super::super::Foundation::HINSTANCE, pszparms: super::super::Foundation::PWSTR, nshow: i32) -> ::windows::runtime::HRESULT;
1724 }
1725 DelNodeRunDLL32W(hwnd.into_param().abi(), hinstance.into_param().abi(), pszparms.into_param().abi(), ::std::mem::transmute(nshow)).ok()
1726 }
1727 #[cfg(not(windows))]
1728 unimplemented!("Unsupported target OS");
1729 }
1730 #[cfg(feature = "Win32_Foundation")]
1731 #[inline]
DelNodeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pszfileordirname: Param0, dwflags: u32) -> ::windows::runtime::Result<()>1732 pub unsafe fn DelNodeW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pszfileordirname: Param0, dwflags: u32) -> ::windows::runtime::Result<()> {
1733 #[cfg(windows)]
1734 {
1735 #[link(name = "windows")]
1736 extern "system" {
1737 fn DelNodeW(pszfileordirname: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
1738 }
1739 DelNodeW(pszfileordirname.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
1740 }
1741 #[cfg(not(windows))]
1742 unimplemented!("Unsupported target OS");
1743 }
1744 #[cfg(feature = "Win32_Foundation")]
1745 #[inline]
DnsHostnameToComputerNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hostname: Param0, computername: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL1746 pub unsafe fn DnsHostnameToComputerNameA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(hostname: Param0, computername: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
1747 #[cfg(windows)]
1748 {
1749 #[link(name = "windows")]
1750 extern "system" {
1751 fn DnsHostnameToComputerNameA(hostname: super::super::Foundation::PSTR, computername: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL;
1752 }
1753 ::std::mem::transmute(DnsHostnameToComputerNameA(hostname.into_param().abi(), ::std::mem::transmute(computername), ::std::mem::transmute(nsize)))
1754 }
1755 #[cfg(not(windows))]
1756 unimplemented!("Unsupported target OS");
1757 }
1758 #[cfg(feature = "Win32_Foundation")]
1759 #[inline]
DnsHostnameToComputerNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hostname: Param0, computername: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL1760 pub unsafe fn DnsHostnameToComputerNameW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hostname: Param0, computername: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
1761 #[cfg(windows)]
1762 {
1763 #[link(name = "windows")]
1764 extern "system" {
1765 fn DnsHostnameToComputerNameW(hostname: super::super::Foundation::PWSTR, computername: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL;
1766 }
1767 ::std::mem::transmute(DnsHostnameToComputerNameW(hostname.into_param().abi(), ::std::mem::transmute(computername), ::std::mem::transmute(nsize)))
1768 }
1769 #[cfg(not(windows))]
1770 unimplemented!("Unsupported target OS");
1771 }
1772 #[cfg(feature = "Win32_Foundation")]
1773 #[inline]
DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL1774 pub unsafe fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL {
1775 #[cfg(windows)]
1776 {
1777 #[link(name = "windows")]
1778 extern "system" {
1779 fn DosDateTimeToFileTime(wfatdate: u16, wfattime: u16, lpfiletime: *mut super::super::Foundation::FILETIME) -> super::super::Foundation::BOOL;
1780 }
1781 ::std::mem::transmute(DosDateTimeToFileTime(::std::mem::transmute(wfatdate), ::std::mem::transmute(wfattime), ::std::mem::transmute(lpfiletime)))
1782 }
1783 #[cfg(not(windows))]
1784 unimplemented!("Unsupported target OS");
1785 }
1786 pub const EFSRPC_SECURE_ONLY: u32 = 8u32;
1787 pub const EFS_DROP_ALTERNATE_STREAMS: u32 = 16u32;
1788 pub const EFS_USE_RECOVERY_KEYS: u32 = 1u32;
1789 pub const ENTITY_LIST_ID: u32 = 0u32;
1790 pub const ENTITY_TYPE_ID: u32 = 1u32;
1791 pub type ENUM_CALLBACK = unsafe extern "system" fn(lpsurfaceinfo: *mut DCISURFACEINFO, lpcontext: *mut ::std::ffi::c_void);
1792 pub const ER_ICMP: u32 = 896u32;
1793 pub const EVENPARITY: u32 = 2u32;
1794 pub const EVENTLOG_FULL_INFO: u32 = 0u32;
1795 pub const EditionUpgradeBroker: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3290892327, 20281, 17887, [146, 136, 18, 255, 107, 133, 169, 33]);
1796 pub const EditionUpgradeHelper: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(24604147, 47535, 20048, [155, 28, 86, 233, 49, 22, 215, 4]);
1797 #[cfg(feature = "Win32_Foundation")]
1798 #[inline]
EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL1799 pub unsafe fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL {
1800 #[cfg(windows)]
1801 {
1802 #[link(name = "windows")]
1803 extern "system" {
1804 fn EnableProcessOptionalXStateFeatures(features: u64) -> super::super::Foundation::BOOL;
1805 }
1806 ::std::mem::transmute(EnableProcessOptionalXStateFeatures(::std::mem::transmute(features)))
1807 }
1808 #[cfg(not(windows))]
1809 unimplemented!("Unsupported target OS");
1810 }
1811 #[cfg(feature = "Win32_Foundation")]
1812 #[inline]
ExecuteCabA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, pcab: *mut CABINFOA, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1813 pub unsafe fn ExecuteCabA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, pcab: *mut CABINFOA, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1814 #[cfg(windows)]
1815 {
1816 #[link(name = "windows")]
1817 extern "system" {
1818 fn ExecuteCabA(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOA, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
1819 }
1820 ExecuteCabA(hwnd.into_param().abi(), ::std::mem::transmute(pcab), ::std::mem::transmute(preserved)).ok()
1821 }
1822 #[cfg(not(windows))]
1823 unimplemented!("Unsupported target OS");
1824 }
1825 #[cfg(feature = "Win32_Foundation")]
1826 #[inline]
ExecuteCabW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, pcab: *mut CABINFOW, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()>1827 pub unsafe fn ExecuteCabW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, pcab: *mut CABINFOW, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::Result<()> {
1828 #[cfg(windows)]
1829 {
1830 #[link(name = "windows")]
1831 extern "system" {
1832 fn ExecuteCabW(hwnd: super::super::Foundation::HWND, pcab: *mut CABINFOW, preserved: *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
1833 }
1834 ExecuteCabW(hwnd.into_param().abi(), ::std::mem::transmute(pcab), ::std::mem::transmute(preserved)).ok()
1835 }
1836 #[cfg(not(windows))]
1837 unimplemented!("Unsupported target OS");
1838 }
1839 #[cfg(feature = "Win32_Foundation")]
1840 #[inline]
ExtractFilesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pszcabname: Param0, pszexpanddir: Param1, dwflags: u32, pszfilelist: Param3, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()>1841 pub unsafe fn ExtractFilesA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(pszcabname: Param0, pszexpanddir: Param1, dwflags: u32, pszfilelist: Param3, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()> {
1842 #[cfg(windows)]
1843 {
1844 #[link(name = "windows")]
1845 extern "system" {
1846 fn ExtractFilesA(pszcabname: super::super::Foundation::PSTR, pszexpanddir: super::super::Foundation::PSTR, dwflags: u32, pszfilelist: super::super::Foundation::PSTR, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::HRESULT;
1847 }
1848 ExtractFilesA(pszcabname.into_param().abi(), pszexpanddir.into_param().abi(), ::std::mem::transmute(dwflags), pszfilelist.into_param().abi(), ::std::mem::transmute(lpreserved), ::std::mem::transmute(dwreserved)).ok()
1849 }
1850 #[cfg(not(windows))]
1851 unimplemented!("Unsupported target OS");
1852 }
1853 #[cfg(feature = "Win32_Foundation")]
1854 #[inline]
ExtractFilesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pszcabname: Param0, pszexpanddir: Param1, dwflags: u32, pszfilelist: Param3, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()>1855 pub unsafe fn ExtractFilesW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(pszcabname: Param0, pszexpanddir: Param1, dwflags: u32, pszfilelist: Param3, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::Result<()> {
1856 #[cfg(windows)]
1857 {
1858 #[link(name = "windows")]
1859 extern "system" {
1860 fn ExtractFilesW(pszcabname: super::super::Foundation::PWSTR, pszexpanddir: super::super::Foundation::PWSTR, dwflags: u32, pszfilelist: super::super::Foundation::PWSTR, lpreserved: *mut ::std::ffi::c_void, dwreserved: u32) -> ::windows::runtime::HRESULT;
1861 }
1862 ExtractFilesW(pszcabname.into_param().abi(), pszexpanddir.into_param().abi(), ::std::mem::transmute(dwflags), pszfilelist.into_param().abi(), ::std::mem::transmute(lpreserved), ::std::mem::transmute(dwreserved)).ok()
1863 }
1864 #[cfg(not(windows))]
1865 unimplemented!("Unsupported target OS");
1866 }
1867 pub const FAIL_FAST_GENERATE_EXCEPTION_ADDRESS: u32 = 1u32;
1868 pub const FAIL_FAST_NO_HARD_ERROR_DLG: u32 = 2u32;
1869 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1870 #[repr(transparent)]
1871 pub struct FEATURE_CHANGE_TIME(pub i32);
1872 pub const FEATURE_CHANGE_TIME_READ: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(0i32);
1873 pub const FEATURE_CHANGE_TIME_MODULE_RELOAD: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(1i32);
1874 pub const FEATURE_CHANGE_TIME_SESSION: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(2i32);
1875 pub const FEATURE_CHANGE_TIME_REBOOT: FEATURE_CHANGE_TIME = FEATURE_CHANGE_TIME(3i32);
1876 impl ::std::convert::From<i32> for FEATURE_CHANGE_TIME {
from(value: i32) -> Self1877 fn from(value: i32) -> Self {
1878 Self(value)
1879 }
1880 }
1881 unsafe impl ::windows::runtime::Abi for FEATURE_CHANGE_TIME {
1882 type Abi = Self;
1883 type DefaultType = Self;
1884 }
1885 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1886 #[repr(transparent)]
1887 pub struct FEATURE_ENABLED_STATE(pub i32);
1888 pub const FEATURE_ENABLED_STATE_DEFAULT: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(0i32);
1889 pub const FEATURE_ENABLED_STATE_DISABLED: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(1i32);
1890 pub const FEATURE_ENABLED_STATE_ENABLED: FEATURE_ENABLED_STATE = FEATURE_ENABLED_STATE(2i32);
1891 impl ::std::convert::From<i32> for FEATURE_ENABLED_STATE {
from(value: i32) -> Self1892 fn from(value: i32) -> Self {
1893 Self(value)
1894 }
1895 }
1896 unsafe impl ::windows::runtime::Abi for FEATURE_ENABLED_STATE {
1897 type Abi = Self;
1898 type DefaultType = Self;
1899 }
1900 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1901 #[repr(C)]
1902 #[cfg(feature = "Win32_Foundation")]
1903 pub struct FEATURE_ERROR {
1904 pub hr: ::windows::runtime::HRESULT,
1905 pub lineNumber: u16,
1906 pub file: super::super::Foundation::PSTR,
1907 pub process: super::super::Foundation::PSTR,
1908 pub module: super::super::Foundation::PSTR,
1909 pub callerReturnAddressOffset: u32,
1910 pub callerModule: super::super::Foundation::PSTR,
1911 pub message: super::super::Foundation::PSTR,
1912 pub originLineNumber: u16,
1913 pub originFile: super::super::Foundation::PSTR,
1914 pub originModule: super::super::Foundation::PSTR,
1915 pub originCallerReturnAddressOffset: u32,
1916 pub originCallerModule: super::super::Foundation::PSTR,
1917 pub originName: super::super::Foundation::PSTR,
1918 }
1919 #[cfg(feature = "Win32_Foundation")]
1920 impl FEATURE_ERROR {}
1921 #[cfg(feature = "Win32_Foundation")]
1922 impl ::std::default::Default for FEATURE_ERROR {
default() -> Self1923 fn default() -> Self {
1924 unsafe { ::std::mem::zeroed() }
1925 }
1926 }
1927 #[cfg(feature = "Win32_Foundation")]
1928 impl ::std::fmt::Debug for FEATURE_ERROR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1929 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1930 fmt.debug_struct("FEATURE_ERROR")
1931 .field("hr", &self.hr)
1932 .field("lineNumber", &self.lineNumber)
1933 .field("file", &self.file)
1934 .field("process", &self.process)
1935 .field("module", &self.module)
1936 .field("callerReturnAddressOffset", &self.callerReturnAddressOffset)
1937 .field("callerModule", &self.callerModule)
1938 .field("message", &self.message)
1939 .field("originLineNumber", &self.originLineNumber)
1940 .field("originFile", &self.originFile)
1941 .field("originModule", &self.originModule)
1942 .field("originCallerReturnAddressOffset", &self.originCallerReturnAddressOffset)
1943 .field("originCallerModule", &self.originCallerModule)
1944 .field("originName", &self.originName)
1945 .finish()
1946 }
1947 }
1948 #[cfg(feature = "Win32_Foundation")]
1949 impl ::std::cmp::PartialEq for FEATURE_ERROR {
eq(&self, other: &Self) -> bool1950 fn eq(&self, other: &Self) -> bool {
1951 self.hr == other.hr
1952 && self.lineNumber == other.lineNumber
1953 && self.file == other.file
1954 && self.process == other.process
1955 && self.module == other.module
1956 && self.callerReturnAddressOffset == other.callerReturnAddressOffset
1957 && self.callerModule == other.callerModule
1958 && self.message == other.message
1959 && self.originLineNumber == other.originLineNumber
1960 && self.originFile == other.originFile
1961 && self.originModule == other.originModule
1962 && self.originCallerReturnAddressOffset == other.originCallerReturnAddressOffset
1963 && self.originCallerModule == other.originCallerModule
1964 && self.originName == other.originName
1965 }
1966 }
1967 #[cfg(feature = "Win32_Foundation")]
1968 impl ::std::cmp::Eq for FEATURE_ERROR {}
1969 #[cfg(feature = "Win32_Foundation")]
1970 unsafe impl ::windows::runtime::Abi for FEATURE_ERROR {
1971 type Abi = Self;
1972 type DefaultType = Self;
1973 }
1974 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1975 #[repr(transparent)]
1976 pub struct FEATURE_STATE_CHANGE_SUBSCRIPTION(pub isize);
1977 impl ::std::default::Default for FEATURE_STATE_CHANGE_SUBSCRIPTION {
default() -> Self1978 fn default() -> Self {
1979 unsafe { ::std::mem::zeroed() }
1980 }
1981 }
1982 unsafe impl ::windows::runtime::Handle for FEATURE_STATE_CHANGE_SUBSCRIPTION {}
1983 unsafe impl ::windows::runtime::Abi for FEATURE_STATE_CHANGE_SUBSCRIPTION {
1984 type Abi = Self;
1985 type DefaultType = Self;
1986 }
1987 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
1988 #[repr(transparent)]
1989 pub struct FH_SERVICE_PIPE_HANDLE(pub isize);
1990 impl ::std::default::Default for FH_SERVICE_PIPE_HANDLE {
default() -> Self1991 fn default() -> Self {
1992 unsafe { ::std::mem::zeroed() }
1993 }
1994 }
1995 unsafe impl ::windows::runtime::Handle for FH_SERVICE_PIPE_HANDLE {}
1996 unsafe impl ::windows::runtime::Abi for FH_SERVICE_PIPE_HANDLE {
1997 type Abi = Self;
1998 type DefaultType = Self;
1999 }
2000 pub const FIBER_FLAG_FLOAT_SWITCH: u32 = 1u32;
2001 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2002 #[repr(C)]
2003 pub struct FILE_CASE_SENSITIVE_INFO {
2004 pub Flags: u32,
2005 }
2006 impl FILE_CASE_SENSITIVE_INFO {}
2007 impl ::std::default::Default for FILE_CASE_SENSITIVE_INFO {
default() -> Self2008 fn default() -> Self {
2009 unsafe { ::std::mem::zeroed() }
2010 }
2011 }
2012 impl ::std::fmt::Debug for FILE_CASE_SENSITIVE_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2013 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2014 fmt.debug_struct("FILE_CASE_SENSITIVE_INFO").field("Flags", &self.Flags).finish()
2015 }
2016 }
2017 impl ::std::cmp::PartialEq for FILE_CASE_SENSITIVE_INFO {
eq(&self, other: &Self) -> bool2018 fn eq(&self, other: &Self) -> bool {
2019 self.Flags == other.Flags
2020 }
2021 }
2022 impl ::std::cmp::Eq for FILE_CASE_SENSITIVE_INFO {}
2023 unsafe impl ::windows::runtime::Abi for FILE_CASE_SENSITIVE_INFO {
2024 type Abi = Self;
2025 type DefaultType = Self;
2026 }
2027 pub const FILE_COMPLETE_IF_OPLOCKED: u32 = 256u32;
2028 pub const FILE_CREATED: u32 = 2u32;
2029 pub const FILE_CREATE_TREE_CONNECTION: u32 = 128u32;
2030 pub const FILE_DELETE_ON_CLOSE: u32 = 4096u32;
2031 pub const FILE_DIRECTORY_FILE: u32 = 1u32;
2032 pub const FILE_DIR_DISALLOWED: u32 = 9u32;
2033 pub const FILE_DISPOSITION_FLAG_DELETE: u32 = 1u32;
2034 pub const FILE_DISPOSITION_FLAG_DO_NOT_DELETE: u32 = 0u32;
2035 pub const FILE_DISPOSITION_FLAG_FORCE_IMAGE_SECTION_CHECK: u32 = 4u32;
2036 pub const FILE_DISPOSITION_FLAG_IGNORE_READONLY_ATTRIBUTE: u32 = 16u32;
2037 pub const FILE_DISPOSITION_FLAG_ON_CLOSE: u32 = 8u32;
2038 pub const FILE_DISPOSITION_FLAG_POSIX_SEMANTICS: u32 = 2u32;
2039 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2040 #[repr(C)]
2041 pub struct FILE_DISPOSITION_INFO_EX {
2042 pub Flags: u32,
2043 }
2044 impl FILE_DISPOSITION_INFO_EX {}
2045 impl ::std::default::Default for FILE_DISPOSITION_INFO_EX {
default() -> Self2046 fn default() -> Self {
2047 unsafe { ::std::mem::zeroed() }
2048 }
2049 }
2050 impl ::std::fmt::Debug for FILE_DISPOSITION_INFO_EX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2051 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2052 fmt.debug_struct("FILE_DISPOSITION_INFO_EX").field("Flags", &self.Flags).finish()
2053 }
2054 }
2055 impl ::std::cmp::PartialEq for FILE_DISPOSITION_INFO_EX {
eq(&self, other: &Self) -> bool2056 fn eq(&self, other: &Self) -> bool {
2057 self.Flags == other.Flags
2058 }
2059 }
2060 impl ::std::cmp::Eq for FILE_DISPOSITION_INFO_EX {}
2061 unsafe impl ::windows::runtime::Abi for FILE_DISPOSITION_INFO_EX {
2062 type Abi = Self;
2063 type DefaultType = Self;
2064 }
2065 pub const FILE_DOES_NOT_EXIST: u32 = 5u32;
2066 pub const FILE_ENCRYPTABLE: u32 = 0u32;
2067 pub const FILE_EXISTS: u32 = 4u32;
2068 pub const FILE_FLAG_OPEN_REQUIRING_OPLOCK: u32 = 262144u32;
2069 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
2070 #[repr(transparent)]
2071 pub struct FILE_INFORMATION_CLASS(pub i32);
2072 pub const FileDirectoryInformation: FILE_INFORMATION_CLASS = FILE_INFORMATION_CLASS(1i32);
2073 impl ::std::convert::From<i32> for FILE_INFORMATION_CLASS {
from(value: i32) -> Self2074 fn from(value: i32) -> Self {
2075 Self(value)
2076 }
2077 }
2078 unsafe impl ::windows::runtime::Abi for FILE_INFORMATION_CLASS {
2079 type Abi = Self;
2080 type DefaultType = Self;
2081 }
2082 pub const FILE_IS_ENCRYPTED: u32 = 1u32;
2083 pub const FILE_MAXIMUM_DISPOSITION: u32 = 5u32;
2084 pub const FILE_NON_DIRECTORY_FILE: u32 = 64u32;
2085 pub const FILE_NO_COMPRESSION: u32 = 32768u32;
2086 pub const FILE_NO_EA_KNOWLEDGE: u32 = 512u32;
2087 pub const FILE_NO_INTERMEDIATE_BUFFERING: u32 = 8u32;
2088 pub const FILE_OPENED: u32 = 1u32;
2089 pub const FILE_OPEN_BY_FILE_ID: u32 = 8192u32;
2090 pub const FILE_OPEN_FOR_BACKUP_INTENT: u32 = 16384u32;
2091 pub const FILE_OPEN_FOR_FREE_SPACE_QUERY: u32 = 8388608u32;
2092 pub const FILE_OPEN_NO_RECALL: u32 = 4194304u32;
2093 pub const FILE_OPEN_REMOTE_INSTANCE: u32 = 1024u32;
2094 pub const FILE_OPEN_REPARSE_POINT: u32 = 2097152u32;
2095 pub const FILE_OPEN_REQUIRING_OPLOCK: u32 = 65536u32;
2096 pub const FILE_OVERWRITTEN: u32 = 3u32;
2097 pub const FILE_RANDOM_ACCESS: u32 = 2048u32;
2098 pub const FILE_READ_ONLY: u32 = 8u32;
2099 pub const FILE_RENAME_FLAG_POSIX_SEMANTICS: u32 = 2u32;
2100 pub const FILE_RENAME_FLAG_REPLACE_IF_EXISTS: u32 = 1u32;
2101 pub const FILE_RENAME_FLAG_SUPPRESS_PIN_STATE_INHERITANCE: u32 = 4u32;
2102 pub const FILE_RESERVE_OPFILTER: u32 = 1048576u32;
2103 pub const FILE_ROOT_DIR: u32 = 3u32;
2104 pub const FILE_SEQUENTIAL_ONLY: u32 = 4u32;
2105 pub const FILE_SKIP_COMPLETION_PORT_ON_SUCCESS: u32 = 1u32;
2106 pub const FILE_SKIP_SET_EVENT_ON_HANDLE: u32 = 2u32;
2107 pub const FILE_SUPERSEDED: u32 = 0u32;
2108 pub const FILE_SYNCHRONOUS_IO_ALERT: u32 = 16u32;
2109 pub const FILE_SYNCHRONOUS_IO_NONALERT: u32 = 32u32;
2110 pub const FILE_SYSTEM_ATTR: u32 = 2u32;
2111 pub const FILE_SYSTEM_DIR: u32 = 4u32;
2112 pub const FILE_SYSTEM_NOT_SUPPORT: u32 = 6u32;
2113 pub const FILE_TYPE_CHAR: u32 = 2u32;
2114 pub const FILE_TYPE_DISK: u32 = 1u32;
2115 pub const FILE_TYPE_PIPE: u32 = 3u32;
2116 pub const FILE_TYPE_REMOTE: u32 = 32768u32;
2117 pub const FILE_TYPE_UNKNOWN: u32 = 0u32;
2118 pub const FILE_UNKNOWN: u32 = 5u32;
2119 pub const FILE_USER_DISALLOWED: u32 = 7u32;
2120 pub const FILE_VALID_MAILSLOT_OPTION_FLAGS: u32 = 50u32;
2121 pub const FILE_VALID_OPTION_FLAGS: u32 = 16777215u32;
2122 pub const FILE_VALID_PIPE_OPTION_FLAGS: u32 = 50u32;
2123 pub const FILE_VALID_SET_FLAGS: u32 = 54u32;
2124 pub const FILE_WRITE_THROUGH: u32 = 2u32;
2125 pub const FIND_ACTCTX_SECTION_KEY_RETURN_ASSEMBLY_METADATA: u32 = 4u32;
2126 pub const FIND_ACTCTX_SECTION_KEY_RETURN_FLAGS: u32 = 2u32;
2127 pub const FIND_ACTCTX_SECTION_KEY_RETURN_HACTCTX: u32 = 1u32;
2128 pub const FORMAT_MESSAGE_MAX_WIDTH_MASK: u32 = 255u32;
2129 pub const FS_CASE_IS_PRESERVED: u32 = 2u32;
2130 pub const FS_CASE_SENSITIVE: u32 = 1u32;
2131 pub const FS_FILE_COMPRESSION: u32 = 16u32;
2132 pub const FS_FILE_ENCRYPTION: u32 = 131072u32;
2133 pub const FS_PERSISTENT_ACLS: u32 = 8u32;
2134 pub const FS_UNICODE_STORED_ON_DISK: u32 = 4u32;
2135 pub const FS_VOL_IS_COMPRESSED: u32 = 32768u32;
2136 #[cfg(feature = "Win32_Foundation")]
2137 #[inline]
FileSaveMarkNotExistA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpfilelist: Param0, lpdir: Param1, lpbasename: Param2) -> ::windows::runtime::Result<()>2138 pub unsafe fn FileSaveMarkNotExistA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpfilelist: Param0, lpdir: Param1, lpbasename: Param2) -> ::windows::runtime::Result<()> {
2139 #[cfg(windows)]
2140 {
2141 #[link(name = "windows")]
2142 extern "system" {
2143 fn FileSaveMarkNotExistA(lpfilelist: super::super::Foundation::PSTR, lpdir: super::super::Foundation::PSTR, lpbasename: super::super::Foundation::PSTR) -> ::windows::runtime::HRESULT;
2144 }
2145 FileSaveMarkNotExistA(lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi()).ok()
2146 }
2147 #[cfg(not(windows))]
2148 unimplemented!("Unsupported target OS");
2149 }
2150 #[cfg(feature = "Win32_Foundation")]
2151 #[inline]
FileSaveMarkNotExistW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfilelist: Param0, lpdir: Param1, lpbasename: Param2) -> ::windows::runtime::Result<()>2152 pub unsafe fn FileSaveMarkNotExistW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpfilelist: Param0, lpdir: Param1, lpbasename: Param2) -> ::windows::runtime::Result<()> {
2153 #[cfg(windows)]
2154 {
2155 #[link(name = "windows")]
2156 extern "system" {
2157 fn FileSaveMarkNotExistW(lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
2158 }
2159 FileSaveMarkNotExistW(lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi()).ok()
2160 }
2161 #[cfg(not(windows))]
2162 unimplemented!("Unsupported target OS");
2163 }
2164 #[cfg(feature = "Win32_Foundation")]
2165 #[inline]
FileSaveRestoreOnINFA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>( hwnd: Param0, psztitle: Param1, pszinf: Param2, pszsection: Param3, pszbackupdir: Param4, pszbasebackupfile: Param5, dwflags: u32, ) -> ::windows::runtime::Result<()>2166 pub unsafe fn FileSaveRestoreOnINFA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(
2167 hwnd: Param0,
2168 psztitle: Param1,
2169 pszinf: Param2,
2170 pszsection: Param3,
2171 pszbackupdir: Param4,
2172 pszbasebackupfile: Param5,
2173 dwflags: u32,
2174 ) -> ::windows::runtime::Result<()> {
2175 #[cfg(windows)]
2176 {
2177 #[link(name = "windows")]
2178 extern "system" {
2179 fn FileSaveRestoreOnINFA(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PSTR, pszinf: super::super::Foundation::PSTR, pszsection: super::super::Foundation::PSTR, pszbackupdir: super::super::Foundation::PSTR, pszbasebackupfile: super::super::Foundation::PSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
2180 }
2181 FileSaveRestoreOnINFA(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), pszbackupdir.into_param().abi(), pszbasebackupfile.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
2182 }
2183 #[cfg(not(windows))]
2184 unimplemented!("Unsupported target OS");
2185 }
2186 #[cfg(feature = "Win32_Foundation")]
2187 #[inline]
FileSaveRestoreOnINFW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( hwnd: Param0, psztitle: Param1, pszinf: Param2, pszsection: Param3, pszbackupdir: Param4, pszbasebackupfile: Param5, dwflags: u32, ) -> ::windows::runtime::Result<()>2188 pub unsafe fn FileSaveRestoreOnINFW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
2189 hwnd: Param0,
2190 psztitle: Param1,
2191 pszinf: Param2,
2192 pszsection: Param3,
2193 pszbackupdir: Param4,
2194 pszbasebackupfile: Param5,
2195 dwflags: u32,
2196 ) -> ::windows::runtime::Result<()> {
2197 #[cfg(windows)]
2198 {
2199 #[link(name = "windows")]
2200 extern "system" {
2201 fn FileSaveRestoreOnINFW(hwnd: super::super::Foundation::HWND, psztitle: super::super::Foundation::PWSTR, pszinf: super::super::Foundation::PWSTR, pszsection: super::super::Foundation::PWSTR, pszbackupdir: super::super::Foundation::PWSTR, pszbasebackupfile: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
2202 }
2203 FileSaveRestoreOnINFW(hwnd.into_param().abi(), psztitle.into_param().abi(), pszinf.into_param().abi(), pszsection.into_param().abi(), pszbackupdir.into_param().abi(), pszbasebackupfile.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
2204 }
2205 #[cfg(not(windows))]
2206 unimplemented!("Unsupported target OS");
2207 }
2208 #[cfg(feature = "Win32_Foundation")]
2209 #[inline]
FileSaveRestoreW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdlg: Param0, lpfilelist: Param1, lpdir: Param2, lpbasename: Param3, dwflags: u32) -> ::windows::runtime::Result<()>2210 pub unsafe fn FileSaveRestoreW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(hdlg: Param0, lpfilelist: Param1, lpdir: Param2, lpbasename: Param3, dwflags: u32) -> ::windows::runtime::Result<()> {
2211 #[cfg(windows)]
2212 {
2213 #[link(name = "windows")]
2214 extern "system" {
2215 fn FileSaveRestoreW(hdlg: super::super::Foundation::HWND, lpfilelist: super::super::Foundation::PWSTR, lpdir: super::super::Foundation::PWSTR, lpbasename: super::super::Foundation::PWSTR, dwflags: u32) -> ::windows::runtime::HRESULT;
2216 }
2217 FileSaveRestoreW(hdlg.into_param().abi(), lpfilelist.into_param().abi(), lpdir.into_param().abi(), lpbasename.into_param().abi(), ::std::mem::transmute(dwflags)).ok()
2218 }
2219 #[cfg(not(windows))]
2220 unimplemented!("Unsupported target OS");
2221 }
2222 #[cfg(feature = "Win32_Foundation")]
2223 #[inline]
FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL2224 pub unsafe fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL {
2225 #[cfg(windows)]
2226 {
2227 #[link(name = "windows")]
2228 extern "system" {
2229 fn FileTimeToDosDateTime(lpfiletime: *const super::super::Foundation::FILETIME, lpfatdate: *mut u16, lpfattime: *mut u16) -> super::super::Foundation::BOOL;
2230 }
2231 ::std::mem::transmute(FileTimeToDosDateTime(::std::mem::transmute(lpfiletime), ::std::mem::transmute(lpfatdate), ::std::mem::transmute(lpfattime)))
2232 }
2233 #[cfg(not(windows))]
2234 unimplemented!("Unsupported target OS");
2235 }
2236 pub const GMEM_DDESHARE: u32 = 8192u32;
2237 pub const GMEM_DISCARDABLE: u32 = 256u32;
2238 pub const GMEM_DISCARDED: u32 = 16384u32;
2239 pub const GMEM_INVALID_HANDLE: u32 = 32768u32;
2240 pub const GMEM_LOCKCOUNT: u32 = 255u32;
2241 pub const GMEM_LOWER: u32 = 4096u32;
2242 pub const GMEM_MODIFY: u32 = 128u32;
2243 pub const GMEM_NOCOMPACT: u32 = 16u32;
2244 pub const GMEM_NODISCARD: u32 = 32u32;
2245 pub const GMEM_NOTIFY: u32 = 16384u32;
2246 pub const GMEM_NOT_BANKED: u32 = 4096u32;
2247 pub const GMEM_SHARE: u32 = 8192u32;
2248 pub const GMEM_VALID_FLAGS: u32 = 32626u32;
2249 #[inline]
GdiEntry13() -> u322250 pub unsafe fn GdiEntry13() -> u32 {
2251 #[cfg(windows)]
2252 {
2253 #[link(name = "windows")]
2254 extern "system" {
2255 fn GdiEntry13() -> u32;
2256 }
2257 ::std::mem::transmute(GdiEntry13())
2258 }
2259 #[cfg(not(windows))]
2260 unimplemented!("Unsupported target OS");
2261 }
2262 #[cfg(feature = "Win32_Foundation")]
2263 #[inline]
GetComputerNameA(lpbuffer: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL2264 pub unsafe fn GetComputerNameA(lpbuffer: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
2265 #[cfg(windows)]
2266 {
2267 #[link(name = "windows")]
2268 extern "system" {
2269 fn GetComputerNameA(lpbuffer: super::super::Foundation::PSTR, nsize: *mut u32) -> super::super::Foundation::BOOL;
2270 }
2271 ::std::mem::transmute(GetComputerNameA(::std::mem::transmute(lpbuffer), ::std::mem::transmute(nsize)))
2272 }
2273 #[cfg(not(windows))]
2274 unimplemented!("Unsupported target OS");
2275 }
2276 #[cfg(feature = "Win32_Foundation")]
2277 #[inline]
GetComputerNameW(lpbuffer: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL2278 pub unsafe fn GetComputerNameW(lpbuffer: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL {
2279 #[cfg(windows)]
2280 {
2281 #[link(name = "windows")]
2282 extern "system" {
2283 fn GetComputerNameW(lpbuffer: super::super::Foundation::PWSTR, nsize: *mut u32) -> super::super::Foundation::BOOL;
2284 }
2285 ::std::mem::transmute(GetComputerNameW(::std::mem::transmute(lpbuffer), ::std::mem::transmute(nsize)))
2286 }
2287 #[cfg(not(windows))]
2288 unimplemented!("Unsupported target OS");
2289 }
2290 #[cfg(feature = "Win32_Foundation")]
2291 #[inline]
GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL2292 pub unsafe fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL {
2293 #[cfg(windows)]
2294 {
2295 #[link(name = "windows")]
2296 extern "system" {
2297 fn GetCurrentHwProfileA(lphwprofileinfo: *mut HW_PROFILE_INFOA) -> super::super::Foundation::BOOL;
2298 }
2299 ::std::mem::transmute(GetCurrentHwProfileA(::std::mem::transmute(lphwprofileinfo)))
2300 }
2301 #[cfg(not(windows))]
2302 unimplemented!("Unsupported target OS");
2303 }
2304 #[cfg(feature = "Win32_Foundation")]
2305 #[inline]
GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL2306 pub unsafe fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL {
2307 #[cfg(windows)]
2308 {
2309 #[link(name = "windows")]
2310 extern "system" {
2311 fn GetCurrentHwProfileW(lphwprofileinfo: *mut HW_PROFILE_INFOW) -> super::super::Foundation::BOOL;
2312 }
2313 ::std::mem::transmute(GetCurrentHwProfileW(::std::mem::transmute(lphwprofileinfo)))
2314 }
2315 #[cfg(not(windows))]
2316 unimplemented!("Unsupported target OS");
2317 }
2318 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2319 #[inline]
GetDCRegionData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u322320 pub unsafe fn GetDCRegionData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Graphics::Gdi::HDC>>(hdc: Param0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32 {
2321 #[cfg(windows)]
2322 {
2323 #[link(name = "windows")]
2324 extern "system" {
2325 fn GetDCRegionData(hdc: super::super::Graphics::Gdi::HDC, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32;
2326 }
2327 ::std::mem::transmute(GetDCRegionData(hdc.into_param().abi(), ::std::mem::transmute(size), ::std::mem::transmute(prd)))
2328 }
2329 #[cfg(not(windows))]
2330 unimplemented!("Unsupported target OS");
2331 }
2332 #[inline]
GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE2333 pub unsafe fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE {
2334 #[cfg(windows)]
2335 {
2336 #[link(name = "windows")]
2337 extern "system" {
2338 fn GetFeatureEnabledState(featureid: u32, changetime: FEATURE_CHANGE_TIME) -> FEATURE_ENABLED_STATE;
2339 }
2340 ::std::mem::transmute(GetFeatureEnabledState(::std::mem::transmute(featureid), ::std::mem::transmute(changetime)))
2341 }
2342 #[cfg(not(windows))]
2343 unimplemented!("Unsupported target OS");
2344 }
2345 #[cfg(feature = "Win32_Foundation")]
2346 #[inline]
GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u322347 pub unsafe fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32 {
2348 #[cfg(windows)]
2349 {
2350 #[link(name = "windows")]
2351 extern "system" {
2352 fn GetFeatureVariant(featureid: u32, changetime: FEATURE_CHANGE_TIME, payloadid: *mut u32, hasnotification: *mut super::super::Foundation::BOOL) -> u32;
2353 }
2354 ::std::mem::transmute(GetFeatureVariant(::std::mem::transmute(featureid), ::std::mem::transmute(changetime), ::std::mem::transmute(payloadid), ::std::mem::transmute(hasnotification)))
2355 }
2356 #[cfg(not(windows))]
2357 unimplemented!("Unsupported target OS");
2358 }
2359 #[cfg(feature = "Win32_Foundation")]
2360 #[inline]
GetFirmwareEnvironmentVariableA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u322361 pub unsafe fn GetFirmwareEnvironmentVariableA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u32 {
2362 #[cfg(windows)]
2363 {
2364 #[link(name = "windows")]
2365 extern "system" {
2366 fn GetFirmwareEnvironmentVariableA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u32;
2367 }
2368 ::std::mem::transmute(GetFirmwareEnvironmentVariableA(lpname.into_param().abi(), lpguid.into_param().abi(), ::std::mem::transmute(pbuffer), ::std::mem::transmute(nsize)))
2369 }
2370 #[cfg(not(windows))]
2371 unimplemented!("Unsupported target OS");
2372 }
2373 #[cfg(feature = "Win32_Foundation")]
2374 #[inline]
GetFirmwareEnvironmentVariableExA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u322375 pub unsafe fn GetFirmwareEnvironmentVariableExA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32 {
2376 #[cfg(windows)]
2377 {
2378 #[link(name = "windows")]
2379 extern "system" {
2380 fn GetFirmwareEnvironmentVariableExA(lpname: super::super::Foundation::PSTR, lpguid: super::super::Foundation::PSTR, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32;
2381 }
2382 ::std::mem::transmute(GetFirmwareEnvironmentVariableExA(lpname.into_param().abi(), lpguid.into_param().abi(), ::std::mem::transmute(pbuffer), ::std::mem::transmute(nsize), ::std::mem::transmute(pdwattribubutes)))
2383 }
2384 #[cfg(not(windows))]
2385 unimplemented!("Unsupported target OS");
2386 }
2387 #[cfg(feature = "Win32_Foundation")]
2388 #[inline]
GetFirmwareEnvironmentVariableExW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u322389 pub unsafe fn GetFirmwareEnvironmentVariableExW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32 {
2390 #[cfg(windows)]
2391 {
2392 #[link(name = "windows")]
2393 extern "system" {
2394 fn GetFirmwareEnvironmentVariableExW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::std::ffi::c_void, nsize: u32, pdwattribubutes: *mut u32) -> u32;
2395 }
2396 ::std::mem::transmute(GetFirmwareEnvironmentVariableExW(lpname.into_param().abi(), lpguid.into_param().abi(), ::std::mem::transmute(pbuffer), ::std::mem::transmute(nsize), ::std::mem::transmute(pdwattribubutes)))
2397 }
2398 #[cfg(not(windows))]
2399 unimplemented!("Unsupported target OS");
2400 }
2401 #[cfg(feature = "Win32_Foundation")]
2402 #[inline]
GetFirmwareEnvironmentVariableW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u322403 pub unsafe fn GetFirmwareEnvironmentVariableW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpname: Param0, lpguid: Param1, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u32 {
2404 #[cfg(windows)]
2405 {
2406 #[link(name = "windows")]
2407 extern "system" {
2408 fn GetFirmwareEnvironmentVariableW(lpname: super::super::Foundation::PWSTR, lpguid: super::super::Foundation::PWSTR, pbuffer: *mut ::std::ffi::c_void, nsize: u32) -> u32;
2409 }
2410 ::std::mem::transmute(GetFirmwareEnvironmentVariableW(lpname.into_param().abi(), lpguid.into_param().abi(), ::std::mem::transmute(pbuffer), ::std::mem::transmute(nsize)))
2411 }
2412 #[cfg(not(windows))]
2413 unimplemented!("Unsupported target OS");
2414 }
2415 #[cfg(feature = "Win32_Foundation")]
2416 #[inline]
GetPrivateProfileIntA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32, lpfilename: Param3) -> u322417 pub unsafe fn GetPrivateProfileIntA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32, lpfilename: Param3) -> u32 {
2418 #[cfg(windows)]
2419 {
2420 #[link(name = "windows")]
2421 extern "system" {
2422 fn GetPrivateProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32, lpfilename: super::super::Foundation::PSTR) -> u32;
2423 }
2424 ::std::mem::transmute(GetPrivateProfileIntA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ::std::mem::transmute(ndefault), lpfilename.into_param().abi()))
2425 }
2426 #[cfg(not(windows))]
2427 unimplemented!("Unsupported target OS");
2428 }
2429 #[cfg(feature = "Win32_Foundation")]
2430 #[inline]
GetPrivateProfileIntW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32, lpfilename: Param3) -> u322431 pub unsafe fn GetPrivateProfileIntW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32, lpfilename: Param3) -> u32 {
2432 #[cfg(windows)]
2433 {
2434 #[link(name = "windows")]
2435 extern "system" {
2436 fn GetPrivateProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32, lpfilename: super::super::Foundation::PWSTR) -> u32;
2437 }
2438 ::std::mem::transmute(GetPrivateProfileIntW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ::std::mem::transmute(ndefault), lpfilename.into_param().abi()))
2439 }
2440 #[cfg(not(windows))]
2441 unimplemented!("Unsupported target OS");
2442 }
2443 #[cfg(feature = "Win32_Foundation")]
2444 #[inline]
GetPrivateProfileSectionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param3) -> u322445 pub unsafe fn GetPrivateProfileSectionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param3) -> u32 {
2446 #[cfg(windows)]
2447 {
2448 #[link(name = "windows")]
2449 extern "system" {
2450 fn GetPrivateProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32;
2451 }
2452 ::std::mem::transmute(GetPrivateProfileSectionA(lpappname.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2453 }
2454 #[cfg(not(windows))]
2455 unimplemented!("Unsupported target OS");
2456 }
2457 #[cfg(feature = "Win32_Foundation")]
2458 #[inline]
GetPrivateProfileSectionNamesA<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpszreturnbuffer: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param2) -> u322459 pub unsafe fn GetPrivateProfileSectionNamesA<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpszreturnbuffer: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param2) -> u32 {
2460 #[cfg(windows)]
2461 {
2462 #[link(name = "windows")]
2463 extern "system" {
2464 fn GetPrivateProfileSectionNamesA(lpszreturnbuffer: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32;
2465 }
2466 ::std::mem::transmute(GetPrivateProfileSectionNamesA(::std::mem::transmute(lpszreturnbuffer), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2467 }
2468 #[cfg(not(windows))]
2469 unimplemented!("Unsupported target OS");
2470 }
2471 #[cfg(feature = "Win32_Foundation")]
2472 #[inline]
GetPrivateProfileSectionNamesW<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpszreturnbuffer: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param2) -> u322473 pub unsafe fn GetPrivateProfileSectionNamesW<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpszreturnbuffer: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param2) -> u32 {
2474 #[cfg(windows)]
2475 {
2476 #[link(name = "windows")]
2477 extern "system" {
2478 fn GetPrivateProfileSectionNamesW(lpszreturnbuffer: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32;
2479 }
2480 ::std::mem::transmute(GetPrivateProfileSectionNamesW(::std::mem::transmute(lpszreturnbuffer), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2481 }
2482 #[cfg(not(windows))]
2483 unimplemented!("Unsupported target OS");
2484 }
2485 #[cfg(feature = "Win32_Foundation")]
2486 #[inline]
GetPrivateProfileSectionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param3) -> u322487 pub unsafe fn GetPrivateProfileSectionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param3) -> u32 {
2488 #[cfg(windows)]
2489 {
2490 #[link(name = "windows")]
2491 extern "system" {
2492 fn GetPrivateProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32;
2493 }
2494 ::std::mem::transmute(GetPrivateProfileSectionW(lpappname.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2495 }
2496 #[cfg(not(windows))]
2497 unimplemented!("Unsupported target OS");
2498 }
2499 #[cfg(feature = "Win32_Foundation")]
2500 #[inline]
GetPrivateProfileStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param5) -> u322501 pub unsafe fn GetPrivateProfileStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: Param5) -> u32 {
2502 #[cfg(windows)]
2503 {
2504 #[link(name = "windows")]
2505 extern "system" {
2506 fn GetPrivateProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32, lpfilename: super::super::Foundation::PSTR) -> u32;
2507 }
2508 ::std::mem::transmute(GetPrivateProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2509 }
2510 #[cfg(not(windows))]
2511 unimplemented!("Unsupported target OS");
2512 }
2513 #[cfg(feature = "Win32_Foundation")]
2514 #[inline]
GetPrivateProfileStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param5) -> u322515 pub unsafe fn GetPrivateProfileStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: Param5) -> u32 {
2516 #[cfg(windows)]
2517 {
2518 #[link(name = "windows")]
2519 extern "system" {
2520 fn GetPrivateProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32, lpfilename: super::super::Foundation::PWSTR) -> u32;
2521 }
2522 ::std::mem::transmute(GetPrivateProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize), lpfilename.into_param().abi()))
2523 }
2524 #[cfg(not(windows))]
2525 unimplemented!("Unsupported target OS");
2526 }
2527 #[cfg(feature = "Win32_Foundation")]
2528 #[inline]
GetPrivateProfileStructA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpszsection: Param0, lpszkey: Param1, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: Param4) -> super::super::Foundation::BOOL2529 pub unsafe fn GetPrivateProfileStructA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpszsection: Param0, lpszkey: Param1, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: Param4) -> super::super::Foundation::BOOL {
2530 #[cfg(windows)]
2531 {
2532 #[link(name = "windows")]
2533 extern "system" {
2534 fn GetPrivateProfileStructA(lpszsection: super::super::Foundation::PSTR, lpszkey: super::super::Foundation::PSTR, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PSTR) -> super::super::Foundation::BOOL;
2535 }
2536 ::std::mem::transmute(GetPrivateProfileStructA(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::std::mem::transmute(lpstruct), ::std::mem::transmute(usizestruct), szfile.into_param().abi()))
2537 }
2538 #[cfg(not(windows))]
2539 unimplemented!("Unsupported target OS");
2540 }
2541 #[cfg(feature = "Win32_Foundation")]
2542 #[inline]
GetPrivateProfileStructW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpszsection: Param0, lpszkey: Param1, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: Param4) -> super::super::Foundation::BOOL2543 pub unsafe fn GetPrivateProfileStructW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpszsection: Param0, lpszkey: Param1, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: Param4) -> super::super::Foundation::BOOL {
2544 #[cfg(windows)]
2545 {
2546 #[link(name = "windows")]
2547 extern "system" {
2548 fn GetPrivateProfileStructW(lpszsection: super::super::Foundation::PWSTR, lpszkey: super::super::Foundation::PWSTR, lpstruct: *mut ::std::ffi::c_void, usizestruct: u32, szfile: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL;
2549 }
2550 ::std::mem::transmute(GetPrivateProfileStructW(lpszsection.into_param().abi(), lpszkey.into_param().abi(), ::std::mem::transmute(lpstruct), ::std::mem::transmute(usizestruct), szfile.into_param().abi()))
2551 }
2552 #[cfg(not(windows))]
2553 unimplemented!("Unsupported target OS");
2554 }
2555 #[cfg(feature = "Win32_Foundation")]
2556 #[inline]
GetProfileIntA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32) -> u322557 pub unsafe fn GetProfileIntA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32) -> u32 {
2558 #[cfg(windows)]
2559 {
2560 #[link(name = "windows")]
2561 extern "system" {
2562 fn GetProfileIntA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, ndefault: i32) -> u32;
2563 }
2564 ::std::mem::transmute(GetProfileIntA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ::std::mem::transmute(ndefault)))
2565 }
2566 #[cfg(not(windows))]
2567 unimplemented!("Unsupported target OS");
2568 }
2569 #[cfg(feature = "Win32_Foundation")]
2570 #[inline]
GetProfileIntW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32) -> u322571 pub unsafe fn GetProfileIntW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, ndefault: i32) -> u32 {
2572 #[cfg(windows)]
2573 {
2574 #[link(name = "windows")]
2575 extern "system" {
2576 fn GetProfileIntW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, ndefault: i32) -> u32;
2577 }
2578 ::std::mem::transmute(GetProfileIntW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), ::std::mem::transmute(ndefault)))
2579 }
2580 #[cfg(not(windows))]
2581 unimplemented!("Unsupported target OS");
2582 }
2583 #[cfg(feature = "Win32_Foundation")]
2584 #[inline]
GetProfileSectionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u322585 pub unsafe fn GetProfileSectionA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32 {
2586 #[cfg(windows)]
2587 {
2588 #[link(name = "windows")]
2589 extern "system" {
2590 fn GetProfileSectionA(lpappname: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32;
2591 }
2592 ::std::mem::transmute(GetProfileSectionA(lpappname.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize)))
2593 }
2594 #[cfg(not(windows))]
2595 unimplemented!("Unsupported target OS");
2596 }
2597 #[cfg(feature = "Win32_Foundation")]
2598 #[inline]
GetProfileSectionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u322599 pub unsafe fn GetProfileSectionW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32 {
2600 #[cfg(windows)]
2601 {
2602 #[link(name = "windows")]
2603 extern "system" {
2604 fn GetProfileSectionW(lpappname: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32;
2605 }
2606 ::std::mem::transmute(GetProfileSectionW(lpappname.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize)))
2607 }
2608 #[cfg(not(windows))]
2609 unimplemented!("Unsupported target OS");
2610 }
2611 #[cfg(feature = "Win32_Foundation")]
2612 #[inline]
GetProfileStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u322613 pub unsafe fn GetProfileStringA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32 {
2614 #[cfg(windows)]
2615 {
2616 #[link(name = "windows")]
2617 extern "system" {
2618 fn GetProfileStringA(lpappname: super::super::Foundation::PSTR, lpkeyname: super::super::Foundation::PSTR, lpdefault: super::super::Foundation::PSTR, lpreturnedstring: super::super::Foundation::PSTR, nsize: u32) -> u32;
2619 }
2620 ::std::mem::transmute(GetProfileStringA(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize)))
2621 }
2622 #[cfg(not(windows))]
2623 unimplemented!("Unsupported target OS");
2624 }
2625 #[cfg(feature = "Win32_Foundation")]
2626 #[inline]
GetProfileStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u322627 pub unsafe fn GetProfileStringW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(lpappname: Param0, lpkeyname: Param1, lpdefault: Param2, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32 {
2628 #[cfg(windows)]
2629 {
2630 #[link(name = "windows")]
2631 extern "system" {
2632 fn GetProfileStringW(lpappname: super::super::Foundation::PWSTR, lpkeyname: super::super::Foundation::PWSTR, lpdefault: super::super::Foundation::PWSTR, lpreturnedstring: super::super::Foundation::PWSTR, nsize: u32) -> u32;
2633 }
2634 ::std::mem::transmute(GetProfileStringW(lpappname.into_param().abi(), lpkeyname.into_param().abi(), lpdefault.into_param().abi(), ::std::mem::transmute(lpreturnedstring), ::std::mem::transmute(nsize)))
2635 }
2636 #[cfg(not(windows))]
2637 unimplemented!("Unsupported target OS");
2638 }
2639 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
2640 #[inline]
GetStartupInfoA(lpstartupinfo: *mut super::Threading::STARTUPINFOA)2641 pub unsafe fn GetStartupInfoA(lpstartupinfo: *mut super::Threading::STARTUPINFOA) {
2642 #[cfg(windows)]
2643 {
2644 #[link(name = "windows")]
2645 extern "system" {
2646 fn GetStartupInfoA(lpstartupinfo: *mut super::Threading::STARTUPINFOA);
2647 }
2648 ::std::mem::transmute(GetStartupInfoA(::std::mem::transmute(lpstartupinfo)))
2649 }
2650 #[cfg(not(windows))]
2651 unimplemented!("Unsupported target OS");
2652 }
2653 #[cfg(feature = "Win32_Foundation")]
2654 #[inline]
GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL2655 pub unsafe fn GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL {
2656 #[cfg(windows)]
2657 {
2658 #[link(name = "windows")]
2659 extern "system" {
2660 fn GetSystemRegistryQuota(pdwquotaallowed: *mut u32, pdwquotaused: *mut u32) -> super::super::Foundation::BOOL;
2661 }
2662 ::std::mem::transmute(GetSystemRegistryQuota(::std::mem::transmute(pdwquotaallowed), ::std::mem::transmute(pdwquotaused)))
2663 }
2664 #[cfg(not(windows))]
2665 unimplemented!("Unsupported target OS");
2666 }
2667 #[inline]
GetThreadEnabledXStateFeatures() -> u642668 pub unsafe fn GetThreadEnabledXStateFeatures() -> u64 {
2669 #[cfg(windows)]
2670 {
2671 #[link(name = "windows")]
2672 extern "system" {
2673 fn GetThreadEnabledXStateFeatures() -> u64;
2674 }
2675 ::std::mem::transmute(GetThreadEnabledXStateFeatures())
2676 }
2677 #[cfg(not(windows))]
2678 unimplemented!("Unsupported target OS");
2679 }
2680 #[cfg(feature = "Win32_Foundation")]
2681 #[inline]
GetUserNameA(lpbuffer: super::super::Foundation::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL2682 pub unsafe fn GetUserNameA(lpbuffer: super::super::Foundation::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL {
2683 #[cfg(windows)]
2684 {
2685 #[link(name = "windows")]
2686 extern "system" {
2687 fn GetUserNameA(lpbuffer: super::super::Foundation::PSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL;
2688 }
2689 ::std::mem::transmute(GetUserNameA(::std::mem::transmute(lpbuffer), ::std::mem::transmute(pcbbuffer)))
2690 }
2691 #[cfg(not(windows))]
2692 unimplemented!("Unsupported target OS");
2693 }
2694 #[cfg(feature = "Win32_Foundation")]
2695 #[inline]
GetUserNameW(lpbuffer: super::super::Foundation::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL2696 pub unsafe fn GetUserNameW(lpbuffer: super::super::Foundation::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL {
2697 #[cfg(windows)]
2698 {
2699 #[link(name = "windows")]
2700 extern "system" {
2701 fn GetUserNameW(lpbuffer: super::super::Foundation::PWSTR, pcbbuffer: *mut u32) -> super::super::Foundation::BOOL;
2702 }
2703 ::std::mem::transmute(GetUserNameW(::std::mem::transmute(lpbuffer), ::std::mem::transmute(pcbbuffer)))
2704 }
2705 #[cfg(not(windows))]
2706 unimplemented!("Unsupported target OS");
2707 }
2708 #[cfg(feature = "Win32_Foundation")]
2709 #[inline]
GetVersionFromFileA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()>2710 pub unsafe fn GetVersionFromFileA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()> {
2711 #[cfg(windows)]
2712 {
2713 #[link(name = "windows")]
2714 extern "system" {
2715 fn GetVersionFromFileA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
2716 }
2717 GetVersionFromFileA(lpszfilename.into_param().abi(), ::std::mem::transmute(pdwmsver), ::std::mem::transmute(pdwlsver), bversion.into_param().abi()).ok()
2718 }
2719 #[cfg(not(windows))]
2720 unimplemented!("Unsupported target OS");
2721 }
2722 #[cfg(feature = "Win32_Foundation")]
2723 #[inline]
GetVersionFromFileExA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()>2724 pub unsafe fn GetVersionFromFileExA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()> {
2725 #[cfg(windows)]
2726 {
2727 #[link(name = "windows")]
2728 extern "system" {
2729 fn GetVersionFromFileExA(lpszfilename: super::super::Foundation::PSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
2730 }
2731 GetVersionFromFileExA(lpszfilename.into_param().abi(), ::std::mem::transmute(pdwmsver), ::std::mem::transmute(pdwlsver), bversion.into_param().abi()).ok()
2732 }
2733 #[cfg(not(windows))]
2734 unimplemented!("Unsupported target OS");
2735 }
2736 #[cfg(feature = "Win32_Foundation")]
2737 #[inline]
GetVersionFromFileExW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()>2738 pub unsafe fn GetVersionFromFileExW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()> {
2739 #[cfg(windows)]
2740 {
2741 #[link(name = "windows")]
2742 extern "system" {
2743 fn GetVersionFromFileExW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
2744 }
2745 GetVersionFromFileExW(lpszfilename.into_param().abi(), ::std::mem::transmute(pdwmsver), ::std::mem::transmute(pdwlsver), bversion.into_param().abi()).ok()
2746 }
2747 #[cfg(not(windows))]
2748 unimplemented!("Unsupported target OS");
2749 }
2750 #[cfg(feature = "Win32_Foundation")]
2751 #[inline]
GetVersionFromFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()>2752 pub unsafe fn GetVersionFromFileW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(lpszfilename: Param0, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: Param3) -> ::windows::runtime::Result<()> {
2753 #[cfg(windows)]
2754 {
2755 #[link(name = "windows")]
2756 extern "system" {
2757 fn GetVersionFromFileW(lpszfilename: super::super::Foundation::PWSTR, pdwmsver: *mut u32, pdwlsver: *mut u32, bversion: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT;
2758 }
2759 GetVersionFromFileW(lpszfilename.into_param().abi(), ::std::mem::transmute(pdwmsver), ::std::mem::transmute(pdwlsver), bversion.into_param().abi()).ok()
2760 }
2761 #[cfg(not(windows))]
2762 unimplemented!("Unsupported target OS");
2763 }
2764 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
2765 #[inline]
GetWindowRegionData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u322766 pub unsafe fn GetWindowRegionData<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(hwnd: Param0, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32 {
2767 #[cfg(windows)]
2768 {
2769 #[link(name = "windows")]
2770 extern "system" {
2771 fn GetWindowRegionData(hwnd: super::super::Foundation::HWND, size: u32, prd: *mut super::super::Graphics::Gdi::RGNDATA) -> u32;
2772 }
2773 ::std::mem::transmute(GetWindowRegionData(hwnd.into_param().abi(), ::std::mem::transmute(size), ::std::mem::transmute(prd)))
2774 }
2775 #[cfg(not(windows))]
2776 unimplemented!("Unsupported target OS");
2777 }
2778 #[inline]
GlobalCompact(dwminfree: u32) -> usize2779 pub unsafe fn GlobalCompact(dwminfree: u32) -> usize {
2780 #[cfg(windows)]
2781 {
2782 #[link(name = "windows")]
2783 extern "system" {
2784 fn GlobalCompact(dwminfree: u32) -> usize;
2785 }
2786 ::std::mem::transmute(GlobalCompact(::std::mem::transmute(dwminfree)))
2787 }
2788 #[cfg(not(windows))]
2789 unimplemented!("Unsupported target OS");
2790 }
2791 #[inline]
GlobalFix(hmem: isize)2792 pub unsafe fn GlobalFix(hmem: isize) {
2793 #[cfg(windows)]
2794 {
2795 #[link(name = "windows")]
2796 extern "system" {
2797 fn GlobalFix(hmem: isize);
2798 }
2799 ::std::mem::transmute(GlobalFix(::std::mem::transmute(hmem)))
2800 }
2801 #[cfg(not(windows))]
2802 unimplemented!("Unsupported target OS");
2803 }
2804 #[cfg(feature = "Win32_Foundation")]
2805 #[inline]
GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL2806 pub unsafe fn GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL {
2807 #[cfg(windows)]
2808 {
2809 #[link(name = "windows")]
2810 extern "system" {
2811 fn GlobalUnWire(hmem: isize) -> super::super::Foundation::BOOL;
2812 }
2813 ::std::mem::transmute(GlobalUnWire(::std::mem::transmute(hmem)))
2814 }
2815 #[cfg(not(windows))]
2816 unimplemented!("Unsupported target OS");
2817 }
2818 #[inline]
GlobalUnfix(hmem: isize)2819 pub unsafe fn GlobalUnfix(hmem: isize) {
2820 #[cfg(windows)]
2821 {
2822 #[link(name = "windows")]
2823 extern "system" {
2824 fn GlobalUnfix(hmem: isize);
2825 }
2826 ::std::mem::transmute(GlobalUnfix(::std::mem::transmute(hmem)))
2827 }
2828 #[cfg(not(windows))]
2829 unimplemented!("Unsupported target OS");
2830 }
2831 #[inline]
GlobalWire(hmem: isize) -> *mut ::std::ffi::c_void2832 pub unsafe fn GlobalWire(hmem: isize) -> *mut ::std::ffi::c_void {
2833 #[cfg(windows)]
2834 {
2835 #[link(name = "windows")]
2836 extern "system" {
2837 fn GlobalWire(hmem: isize) -> *mut ::std::ffi::c_void;
2838 }
2839 ::std::mem::transmute(GlobalWire(::std::mem::transmute(hmem)))
2840 }
2841 #[cfg(not(windows))]
2842 unimplemented!("Unsupported target OS");
2843 }
2844 pub const HANJA_WINDOW: u32 = 2u32;
2845 pub const HINSTANCE_ERROR: u32 = 32u32;
2846 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq)]
2847 #[repr(transparent)]
2848 pub struct HWINWATCH(pub isize);
2849 impl ::std::default::Default for HWINWATCH {
default() -> Self2850 fn default() -> Self {
2851 unsafe { ::std::mem::zeroed() }
2852 }
2853 }
2854 unsafe impl ::windows::runtime::Handle for HWINWATCH {}
2855 unsafe impl ::windows::runtime::Abi for HWINWATCH {
2856 type Abi = Self;
2857 type DefaultType = Self;
2858 }
2859 pub const HW_PROFILE_GUIDLEN: u32 = 39u32;
2860 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2861 #[repr(C)]
2862 #[cfg(feature = "Win32_Foundation")]
2863 pub struct HW_PROFILE_INFOA {
2864 pub dwDockInfo: u32,
2865 pub szHwProfileGuid: [super::super::Foundation::CHAR; 39],
2866 pub szHwProfileName: [super::super::Foundation::CHAR; 80],
2867 }
2868 #[cfg(feature = "Win32_Foundation")]
2869 impl HW_PROFILE_INFOA {}
2870 #[cfg(feature = "Win32_Foundation")]
2871 impl ::std::default::Default for HW_PROFILE_INFOA {
default() -> Self2872 fn default() -> Self {
2873 unsafe { ::std::mem::zeroed() }
2874 }
2875 }
2876 #[cfg(feature = "Win32_Foundation")]
2877 impl ::std::fmt::Debug for HW_PROFILE_INFOA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2878 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2879 fmt.debug_struct("HW_PROFILE_INFOA").field("dwDockInfo", &self.dwDockInfo).field("szHwProfileGuid", &self.szHwProfileGuid).field("szHwProfileName", &self.szHwProfileName).finish()
2880 }
2881 }
2882 #[cfg(feature = "Win32_Foundation")]
2883 impl ::std::cmp::PartialEq for HW_PROFILE_INFOA {
eq(&self, other: &Self) -> bool2884 fn eq(&self, other: &Self) -> bool {
2885 self.dwDockInfo == other.dwDockInfo && self.szHwProfileGuid == other.szHwProfileGuid && self.szHwProfileName == other.szHwProfileName
2886 }
2887 }
2888 #[cfg(feature = "Win32_Foundation")]
2889 impl ::std::cmp::Eq for HW_PROFILE_INFOA {}
2890 #[cfg(feature = "Win32_Foundation")]
2891 unsafe impl ::windows::runtime::Abi for HW_PROFILE_INFOA {
2892 type Abi = Self;
2893 type DefaultType = Self;
2894 }
2895 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
2896 #[repr(C)]
2897 pub struct HW_PROFILE_INFOW {
2898 pub dwDockInfo: u32,
2899 pub szHwProfileGuid: [u16; 39],
2900 pub szHwProfileName: [u16; 80],
2901 }
2902 impl HW_PROFILE_INFOW {}
2903 impl ::std::default::Default for HW_PROFILE_INFOW {
default() -> Self2904 fn default() -> Self {
2905 unsafe { ::std::mem::zeroed() }
2906 }
2907 }
2908 impl ::std::fmt::Debug for HW_PROFILE_INFOW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result2909 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2910 fmt.debug_struct("HW_PROFILE_INFOW").field("dwDockInfo", &self.dwDockInfo).field("szHwProfileGuid", &self.szHwProfileGuid).field("szHwProfileName", &self.szHwProfileName).finish()
2911 }
2912 }
2913 impl ::std::cmp::PartialEq for HW_PROFILE_INFOW {
eq(&self, other: &Self) -> bool2914 fn eq(&self, other: &Self) -> bool {
2915 self.dwDockInfo == other.dwDockInfo && self.szHwProfileGuid == other.szHwProfileGuid && self.szHwProfileName == other.szHwProfileName
2916 }
2917 }
2918 impl ::std::cmp::Eq for HW_PROFILE_INFOW {}
2919 unsafe impl ::windows::runtime::Abi for HW_PROFILE_INFOW {
2920 type Abi = Self;
2921 type DefaultType = Self;
2922 }
2923 #[repr(transparent)]
2924 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2925 pub struct ICameraUIControl(::windows::runtime::IUnknown);
2926 impl ICameraUIControl {
2927 #[cfg(feature = "Win32_Foundation")]
Show<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param7: ::windows::runtime::IntoParam<'a, ICameraUIControlEventCallback>>( &self, pwindow: Param0, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: Param6, peventcallback: Param7, ) -> ::windows::runtime::Result<()>2928 pub unsafe fn Show<'a, Param0: ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown>, Param6: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>, Param7: ::windows::runtime::IntoParam<'a, ICameraUIControlEventCallback>>(
2929 &self,
2930 pwindow: Param0,
2931 mode: CameraUIControlMode,
2932 selectionmode: CameraUIControlLinearSelectionMode,
2933 capturemode: CameraUIControlCaptureMode,
2934 photoformat: CameraUIControlPhotoFormat,
2935 videoformat: CameraUIControlVideoFormat,
2936 bhasclosebutton: Param6,
2937 peventcallback: Param7,
2938 ) -> ::windows::runtime::Result<()> {
2939 (::windows::runtime::Interface::vtable(self).3)(
2940 ::std::mem::transmute_copy(self),
2941 pwindow.into_param().abi(),
2942 ::std::mem::transmute(mode),
2943 ::std::mem::transmute(selectionmode),
2944 ::std::mem::transmute(capturemode),
2945 ::std::mem::transmute(photoformat),
2946 ::std::mem::transmute(videoformat),
2947 bhasclosebutton.into_param().abi(),
2948 peventcallback.into_param().abi(),
2949 )
2950 .ok()
2951 }
Close(&self) -> ::windows::runtime::Result<()>2952 pub unsafe fn Close(&self) -> ::windows::runtime::Result<()> {
2953 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2954 }
2955 #[cfg(feature = "Win32_Foundation")]
Suspend(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2956 pub unsafe fn Suspend(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2957 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2958 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2959 }
Resume(&self) -> ::windows::runtime::Result<()>2960 pub unsafe fn Resume(&self) -> ::windows::runtime::Result<()> {
2961 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
2962 }
GetCurrentViewType(&self) -> ::windows::runtime::Result<CameraUIControlViewType>2963 pub unsafe fn GetCurrentViewType(&self) -> ::windows::runtime::Result<CameraUIControlViewType> {
2964 let mut result__: <CameraUIControlViewType as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2965 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<CameraUIControlViewType>(result__)
2966 }
2967 #[cfg(feature = "Win32_Foundation")]
GetActiveItem(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>2968 pub unsafe fn GetActiveItem(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
2969 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2970 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
2971 }
2972 #[cfg(feature = "Win32_System_Com")]
GetSelectedItems(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY>2973 pub unsafe fn GetSelectedItems(&self) -> ::windows::runtime::Result<*mut super::Com::SAFEARRAY> {
2974 let mut result__: <*mut super::Com::SAFEARRAY as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2975 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<*mut super::Com::SAFEARRAY>(result__)
2976 }
2977 #[cfg(feature = "Win32_Foundation")]
RemoveCapturedItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0) -> ::windows::runtime::Result<()>2978 pub unsafe fn RemoveCapturedItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0) -> ::windows::runtime::Result<()> {
2979 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), pszpath.into_param().abi()).ok()
2980 }
2981 }
2982 unsafe impl ::windows::runtime::Interface for ICameraUIControl {
2983 type Vtable = ICameraUIControl_abi;
2984 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3094559455, 15720, 19343, [187, 8, 226, 138, 11, 237, 3, 118]);
2985 }
2986 impl ::std::convert::From<ICameraUIControl> for ::windows::runtime::IUnknown {
from(value: ICameraUIControl) -> Self2987 fn from(value: ICameraUIControl) -> Self {
2988 unsafe { ::std::mem::transmute(value) }
2989 }
2990 }
2991 impl ::std::convert::From<&ICameraUIControl> for ::windows::runtime::IUnknown {
from(value: &ICameraUIControl) -> Self2992 fn from(value: &ICameraUIControl) -> Self {
2993 ::std::convert::From::from(::std::clone::Clone::clone(value))
2994 }
2995 }
2996 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICameraUIControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2997 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2998 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2999 }
3000 }
3001 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICameraUIControl {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3002 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3003 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3004 }
3005 }
3006 #[repr(C)]
3007 #[doc(hidden)]
3008 pub struct ICameraUIControl_abi(
3009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3010 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3011 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3012 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pwindow: ::windows::runtime::RawPtr, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: super::super::Foundation::BOOL, peventcallback: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3013 #[cfg(not(feature = "Win32_Foundation"))] usize,
3014 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3015 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbdeferralrequired: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3016 #[cfg(not(feature = "Win32_Foundation"))] usize,
3017 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3018 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pviewtype: *mut CameraUIControlViewType) -> ::windows::runtime::HRESULT,
3019 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstractiveitempath: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3020 #[cfg(not(feature = "Win32_Foundation"))] usize,
3021 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppselecteditempaths: *mut *mut super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
3022 #[cfg(not(feature = "Win32_System_Com"))] usize,
3023 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3024 #[cfg(not(feature = "Win32_Foundation"))] usize,
3025 );
3026 #[repr(transparent)]
3027 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3028 pub struct ICameraUIControlEventCallback(::windows::runtime::IUnknown);
3029 impl ICameraUIControlEventCallback {
OnStartupComplete(&self)3030 pub unsafe fn OnStartupComplete(&self) {
3031 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)))
3032 }
OnSuspendComplete(&self)3033 pub unsafe fn OnSuspendComplete(&self) {
3034 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)))
3035 }
3036 #[cfg(feature = "Win32_Foundation")]
OnItemCaptured<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0)3037 pub unsafe fn OnItemCaptured<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0) {
3038 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), pszpath.into_param().abi()))
3039 }
3040 #[cfg(feature = "Win32_Foundation")]
OnItemDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0)3041 pub unsafe fn OnItemDeleted<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpath: Param0) {
3042 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), pszpath.into_param().abi()))
3043 }
OnClosed(&self)3044 pub unsafe fn OnClosed(&self) {
3045 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)))
3046 }
3047 }
3048 unsafe impl ::windows::runtime::Interface for ICameraUIControlEventCallback {
3049 type Vtable = ICameraUIControlEventCallback_abi;
3050 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(469371948, 64461, 18294, [189, 164, 136, 191, 151, 78, 116, 244]);
3051 }
3052 impl ::std::convert::From<ICameraUIControlEventCallback> for ::windows::runtime::IUnknown {
from(value: ICameraUIControlEventCallback) -> Self3053 fn from(value: ICameraUIControlEventCallback) -> Self {
3054 unsafe { ::std::mem::transmute(value) }
3055 }
3056 }
3057 impl ::std::convert::From<&ICameraUIControlEventCallback> for ::windows::runtime::IUnknown {
from(value: &ICameraUIControlEventCallback) -> Self3058 fn from(value: &ICameraUIControlEventCallback) -> Self {
3059 ::std::convert::From::from(::std::clone::Clone::clone(value))
3060 }
3061 }
3062 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for ICameraUIControlEventCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3063 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3064 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3065 }
3066 }
3067 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &ICameraUIControlEventCallback {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3068 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3069 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3070 }
3071 }
3072 #[repr(C)]
3073 #[doc(hidden)]
3074 pub struct ICameraUIControlEventCallback_abi(
3075 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3076 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3077 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3078 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
3079 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
3080 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpath: super::super::Foundation::PWSTR),
3081 #[cfg(not(feature = "Win32_Foundation"))] usize,
3082 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpath: super::super::Foundation::PWSTR),
3083 #[cfg(not(feature = "Win32_Foundation"))] usize,
3084 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr),
3085 );
3086 #[repr(transparent)]
3087 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3088 pub struct IClipServiceNotificationHelper(::windows::runtime::IUnknown);
3089 impl IClipServiceNotificationHelper {
3090 #[cfg(feature = "Win32_Foundation")]
ShowToast<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>( &self, titletext: Param0, bodytext: Param1, packagename: Param2, appid: Param3, launchcommand: Param4, ) -> ::windows::runtime::Result<()>3091 pub unsafe fn ShowToast<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param4: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(
3092 &self,
3093 titletext: Param0,
3094 bodytext: Param1,
3095 packagename: Param2,
3096 appid: Param3,
3097 launchcommand: Param4,
3098 ) -> ::windows::runtime::Result<()> {
3099 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), titletext.into_param().abi(), bodytext.into_param().abi(), packagename.into_param().abi(), appid.into_param().abi(), launchcommand.into_param().abi()).ok()
3100 }
3101 }
3102 unsafe impl ::windows::runtime::Interface for IClipServiceNotificationHelper {
3103 type Vtable = IClipServiceNotificationHelper_abi;
3104 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3281602800, 24898, 17661, [152, 202, 225, 104, 26, 141, 104, 181]);
3105 }
3106 impl ::std::convert::From<IClipServiceNotificationHelper> for ::windows::runtime::IUnknown {
from(value: IClipServiceNotificationHelper) -> Self3107 fn from(value: IClipServiceNotificationHelper) -> Self {
3108 unsafe { ::std::mem::transmute(value) }
3109 }
3110 }
3111 impl ::std::convert::From<&IClipServiceNotificationHelper> for ::windows::runtime::IUnknown {
from(value: &IClipServiceNotificationHelper) -> Self3112 fn from(value: &IClipServiceNotificationHelper) -> Self {
3113 ::std::convert::From::from(::std::clone::Clone::clone(value))
3114 }
3115 }
3116 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IClipServiceNotificationHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3117 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3118 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3119 }
3120 }
3121 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IClipServiceNotificationHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3122 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3123 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3124 }
3125 }
3126 #[repr(C)]
3127 #[doc(hidden)]
3128 pub struct IClipServiceNotificationHelper_abi(
3129 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3130 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3131 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3132 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, titletext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bodytext: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, packagename: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, appid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, launchcommand: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3133 #[cfg(not(feature = "Win32_Foundation"))] usize,
3134 );
3135 #[repr(transparent)]
3136 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3137 pub struct IContainerActivationHelper(::windows::runtime::IUnknown);
3138 impl IContainerActivationHelper {
CanActivateClientVM(&self) -> ::windows::runtime::Result<i16>3139 pub unsafe fn CanActivateClientVM(&self) -> ::windows::runtime::Result<i16> {
3140 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3141 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3142 }
3143 }
3144 unsafe impl ::windows::runtime::Interface for IContainerActivationHelper {
3145 type Vtable = IContainerActivationHelper_abi;
3146 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3039099199, 32981, 20167, [174, 158, 214, 110, 147, 173, 225, 250]);
3147 }
3148 impl ::std::convert::From<IContainerActivationHelper> for ::windows::runtime::IUnknown {
from(value: IContainerActivationHelper) -> Self3149 fn from(value: IContainerActivationHelper) -> Self {
3150 unsafe { ::std::mem::transmute(value) }
3151 }
3152 }
3153 impl ::std::convert::From<&IContainerActivationHelper> for ::windows::runtime::IUnknown {
from(value: &IContainerActivationHelper) -> Self3154 fn from(value: &IContainerActivationHelper) -> Self {
3155 ::std::convert::From::from(::std::clone::Clone::clone(value))
3156 }
3157 }
3158 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IContainerActivationHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3159 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3160 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3161 }
3162 }
3163 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IContainerActivationHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3164 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3165 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3166 }
3167 }
3168 #[repr(C)]
3169 #[doc(hidden)]
3170 pub struct IContainerActivationHelper_abi(
3171 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3172 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3173 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3174 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isallowed: *mut i16) -> ::windows::runtime::HRESULT,
3175 );
3176 #[repr(transparent)]
3177 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3178 pub struct IDefaultBrowserSyncSettings(::windows::runtime::IUnknown);
3179 impl IDefaultBrowserSyncSettings {
3180 #[cfg(feature = "Win32_Foundation")]
IsEnabled(&self) -> super::super::Foundation::BOOL3181 pub unsafe fn IsEnabled(&self) -> super::super::Foundation::BOOL {
3182 ::std::mem::transmute((::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)))
3183 }
3184 }
3185 unsafe impl ::windows::runtime::Interface for IDefaultBrowserSyncSettings {
3186 type Vtable = IDefaultBrowserSyncSettings_abi;
3187 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2049440429, 23270, 16981, [144, 48, 197, 48, 147, 98, 146, 227]);
3188 }
3189 impl ::std::convert::From<IDefaultBrowserSyncSettings> for ::windows::runtime::IUnknown {
from(value: IDefaultBrowserSyncSettings) -> Self3190 fn from(value: IDefaultBrowserSyncSettings) -> Self {
3191 unsafe { ::std::mem::transmute(value) }
3192 }
3193 }
3194 impl ::std::convert::From<&IDefaultBrowserSyncSettings> for ::windows::runtime::IUnknown {
from(value: &IDefaultBrowserSyncSettings) -> Self3195 fn from(value: &IDefaultBrowserSyncSettings) -> Self {
3196 ::std::convert::From::from(::std::clone::Clone::clone(value))
3197 }
3198 }
3199 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDefaultBrowserSyncSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3200 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3201 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3202 }
3203 }
3204 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDefaultBrowserSyncSettings {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3205 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3206 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3207 }
3208 }
3209 #[repr(C)]
3210 #[doc(hidden)]
3211 pub struct IDefaultBrowserSyncSettings_abi(
3212 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3213 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3214 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3215 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> super::super::Foundation::BOOL,
3216 #[cfg(not(feature = "Win32_Foundation"))] usize,
3217 );
3218 #[repr(transparent)]
3219 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3220 pub struct IDeleteBrowsingHistory(::windows::runtime::IUnknown);
3221 impl IDeleteBrowsingHistory {
DeleteBrowsingHistory(&self, dwflags: u32) -> ::windows::runtime::Result<()>3222 pub unsafe fn DeleteBrowsingHistory(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
3223 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
3224 }
3225 }
3226 unsafe impl ::windows::runtime::Interface for IDeleteBrowsingHistory {
3227 type Vtable = IDeleteBrowsingHistory_abi;
3228 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3476614475, 11239, 17505, [139, 94, 154, 70, 109, 200, 42, 227]);
3229 }
3230 impl ::std::convert::From<IDeleteBrowsingHistory> for ::windows::runtime::IUnknown {
from(value: IDeleteBrowsingHistory) -> Self3231 fn from(value: IDeleteBrowsingHistory) -> Self {
3232 unsafe { ::std::mem::transmute(value) }
3233 }
3234 }
3235 impl ::std::convert::From<&IDeleteBrowsingHistory> for ::windows::runtime::IUnknown {
from(value: &IDeleteBrowsingHistory) -> Self3236 fn from(value: &IDeleteBrowsingHistory) -> Self {
3237 ::std::convert::From::from(::std::clone::Clone::clone(value))
3238 }
3239 }
3240 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IDeleteBrowsingHistory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3241 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3242 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3243 }
3244 }
3245 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IDeleteBrowsingHistory {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3246 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3247 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3248 }
3249 }
3250 #[repr(C)]
3251 #[doc(hidden)]
3252 pub struct IDeleteBrowsingHistory_abi(
3253 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3254 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
3257 );
3258 pub const IE4_BACKNEW: u32 = 2u32;
3259 pub const IE4_EXTRAINCREFCNT: u32 = 2048u32;
3260 pub const IE4_FRDOALL: u32 = 256u32;
3261 pub const IE4_NODELETENEW: u32 = 4u32;
3262 pub const IE4_NOENUMKEY: u32 = 32u32;
3263 pub const IE4_NOMESSAGES: u32 = 8u32;
3264 pub const IE4_NOPROGRESS: u32 = 16u32;
3265 pub const IE4_NO_CRC_MAPPING: u32 = 64u32;
3266 pub const IE4_REGSECTION: u32 = 128u32;
3267 pub const IE4_REMOVREGBKDATA: u32 = 4096u32;
3268 pub const IE4_RESTORE: u32 = 1u32;
3269 pub const IE4_UPDREFCNT: u32 = 512u32;
3270 pub const IE4_USEREFCNT: u32 = 1024u32;
3271 pub const IE_BADID: i32 = -1i32;
3272 pub const IE_BAUDRATE: i32 = -12i32;
3273 pub const IE_BYTESIZE: i32 = -11i32;
3274 pub const IE_DEFAULT: i32 = -5i32;
3275 pub const IE_HARDWARE: i32 = -10i32;
3276 pub const IE_MEMORY: i32 = -4i32;
3277 pub const IE_NOPEN: i32 = -3i32;
3278 pub const IE_OPEN: i32 = -2i32;
3279 #[repr(transparent)]
3280 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3281 pub struct IEditionUpgradeBroker(::windows::runtime::IUnknown);
3282 impl IEditionUpgradeBroker {
InitializeParentWindow(&self, parenthandle: u32) -> ::windows::runtime::Result<()>3283 pub unsafe fn InitializeParentWindow(&self, parenthandle: u32) -> ::windows::runtime::Result<()> {
3284 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(parenthandle)).ok()
3285 }
3286 #[cfg(feature = "Win32_Foundation")]
UpdateOperatingSystem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, parameter: Param0) -> ::windows::runtime::Result<()>3287 pub unsafe fn UpdateOperatingSystem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, parameter: Param0) -> ::windows::runtime::Result<()> {
3288 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), parameter.into_param().abi()).ok()
3289 }
ShowProductKeyUI(&self) -> ::windows::runtime::Result<()>3290 pub unsafe fn ShowProductKeyUI(&self) -> ::windows::runtime::Result<()> {
3291 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3292 }
CanUpgrade(&self) -> ::windows::runtime::Result<()>3293 pub unsafe fn CanUpgrade(&self) -> ::windows::runtime::Result<()> {
3294 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
3295 }
3296 }
3297 unsafe impl ::windows::runtime::Interface for IEditionUpgradeBroker {
3298 type Vtable = IEditionUpgradeBroker_abi;
3299 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4279880655, 37973, 18743, [184, 114, 107, 121, 41, 164, 96, 175]);
3300 }
3301 impl ::std::convert::From<IEditionUpgradeBroker> for ::windows::runtime::IUnknown {
from(value: IEditionUpgradeBroker) -> Self3302 fn from(value: IEditionUpgradeBroker) -> Self {
3303 unsafe { ::std::mem::transmute(value) }
3304 }
3305 }
3306 impl ::std::convert::From<&IEditionUpgradeBroker> for ::windows::runtime::IUnknown {
from(value: &IEditionUpgradeBroker) -> Self3307 fn from(value: &IEditionUpgradeBroker) -> Self {
3308 ::std::convert::From::from(::std::clone::Clone::clone(value))
3309 }
3310 }
3311 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEditionUpgradeBroker {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3312 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3313 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3314 }
3315 }
3316 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEditionUpgradeBroker {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3317 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3318 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3319 }
3320 }
3321 #[repr(C)]
3322 #[doc(hidden)]
3323 pub struct IEditionUpgradeBroker_abi(
3324 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3325 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3326 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3327 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parenthandle: u32) -> ::windows::runtime::HRESULT,
3328 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, parameter: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3329 #[cfg(not(feature = "Win32_Foundation"))] usize,
3330 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3331 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3332 );
3333 #[repr(transparent)]
3334 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3335 pub struct IEditionUpgradeHelper(::windows::runtime::IUnknown);
3336 impl IEditionUpgradeHelper {
3337 #[cfg(feature = "Win32_Foundation")]
CanUpgrade(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3338 pub unsafe fn CanUpgrade(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3339 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3340 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3341 }
3342 #[cfg(feature = "Win32_Foundation")]
UpdateOperatingSystem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contentid: Param0) -> ::windows::runtime::Result<()>3343 pub unsafe fn UpdateOperatingSystem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, contentid: Param0) -> ::windows::runtime::Result<()> {
3344 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), contentid.into_param().abi()).ok()
3345 }
ShowProductKeyUI(&self) -> ::windows::runtime::Result<()>3346 pub unsafe fn ShowProductKeyUI(&self) -> ::windows::runtime::Result<()> {
3347 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
3348 }
3349 #[cfg(feature = "Win32_Foundation")]
GetOsProductContentId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>3350 pub unsafe fn GetOsProductContentId(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
3351 let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3352 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
3353 }
3354 #[cfg(feature = "Win32_Foundation")]
GetGenuineLocalStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3355 pub unsafe fn GetGenuineLocalStatus(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3356 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3357 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3358 }
3359 }
3360 unsafe impl ::windows::runtime::Interface for IEditionUpgradeHelper {
3361 type Vtable = IEditionUpgradeHelper_abi;
3362 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3555320642, 24043, 17334, [132, 158, 105, 19, 184, 93, 80, 58]);
3363 }
3364 impl ::std::convert::From<IEditionUpgradeHelper> for ::windows::runtime::IUnknown {
from(value: IEditionUpgradeHelper) -> Self3365 fn from(value: IEditionUpgradeHelper) -> Self {
3366 unsafe { ::std::mem::transmute(value) }
3367 }
3368 }
3369 impl ::std::convert::From<&IEditionUpgradeHelper> for ::windows::runtime::IUnknown {
from(value: &IEditionUpgradeHelper) -> Self3370 fn from(value: &IEditionUpgradeHelper) -> Self {
3371 ::std::convert::From::from(::std::clone::Clone::clone(value))
3372 }
3373 }
3374 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IEditionUpgradeHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3375 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3376 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3377 }
3378 }
3379 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IEditionUpgradeHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3380 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3381 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3382 }
3383 }
3384 #[repr(C)]
3385 #[doc(hidden)]
3386 pub struct IEditionUpgradeHelper_abi(
3387 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3388 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3389 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3390 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isallowed: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3391 #[cfg(not(feature = "Win32_Foundation"))] usize,
3392 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentid: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3393 #[cfg(not(feature = "Win32_Foundation"))] usize,
3394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3395 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, contentid: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3396 #[cfg(not(feature = "Win32_Foundation"))] usize,
3397 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, isgenuine: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3398 #[cfg(not(feature = "Win32_Foundation"))] usize,
3399 );
3400 pub const IF_GENERIC: u32 = 512u32;
3401 pub const IF_MIB: u32 = 514u32;
3402 pub const IGNORE: u32 = 0u32;
3403 pub const IMEA_INIT: u32 = 1u32;
3404 pub const IMEA_NEXT: u32 = 2u32;
3405 pub const IMEA_PREV: u32 = 3u32;
3406 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3407 #[repr(C)]
3408 #[cfg(feature = "Win32_Foundation")]
3409 pub struct IMEPROA {
3410 pub hWnd: super::super::Foundation::HWND,
3411 pub InstDate: DATETIME,
3412 pub wVersion: u32,
3413 pub szDescription: [u8; 50],
3414 pub szName: [u8; 80],
3415 pub szOptions: [u8; 30],
3416 }
3417 #[cfg(feature = "Win32_Foundation")]
3418 impl IMEPROA {}
3419 #[cfg(feature = "Win32_Foundation")]
3420 impl ::std::default::Default for IMEPROA {
default() -> Self3421 fn default() -> Self {
3422 unsafe { ::std::mem::zeroed() }
3423 }
3424 }
3425 #[cfg(feature = "Win32_Foundation")]
3426 impl ::std::fmt::Debug for IMEPROA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3427 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3428 fmt.debug_struct("IMEPROA").field("hWnd", &self.hWnd).field("InstDate", &self.InstDate).field("wVersion", &self.wVersion).field("szDescription", &self.szDescription).field("szName", &self.szName).field("szOptions", &self.szOptions).finish()
3429 }
3430 }
3431 #[cfg(feature = "Win32_Foundation")]
3432 impl ::std::cmp::PartialEq for IMEPROA {
eq(&self, other: &Self) -> bool3433 fn eq(&self, other: &Self) -> bool {
3434 self.hWnd == other.hWnd && self.InstDate == other.InstDate && self.wVersion == other.wVersion && self.szDescription == other.szDescription && self.szName == other.szName && self.szOptions == other.szOptions
3435 }
3436 }
3437 #[cfg(feature = "Win32_Foundation")]
3438 impl ::std::cmp::Eq for IMEPROA {}
3439 #[cfg(feature = "Win32_Foundation")]
3440 unsafe impl ::windows::runtime::Abi for IMEPROA {
3441 type Abi = Self;
3442 type DefaultType = Self;
3443 }
3444 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3445 #[repr(C)]
3446 #[cfg(feature = "Win32_Foundation")]
3447 pub struct IMEPROW {
3448 pub hWnd: super::super::Foundation::HWND,
3449 pub InstDate: DATETIME,
3450 pub wVersion: u32,
3451 pub szDescription: [u16; 50],
3452 pub szName: [u16; 80],
3453 pub szOptions: [u16; 30],
3454 }
3455 #[cfg(feature = "Win32_Foundation")]
3456 impl IMEPROW {}
3457 #[cfg(feature = "Win32_Foundation")]
3458 impl ::std::default::Default for IMEPROW {
default() -> Self3459 fn default() -> Self {
3460 unsafe { ::std::mem::zeroed() }
3461 }
3462 }
3463 #[cfg(feature = "Win32_Foundation")]
3464 impl ::std::fmt::Debug for IMEPROW {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3465 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3466 fmt.debug_struct("IMEPROW").field("hWnd", &self.hWnd).field("InstDate", &self.InstDate).field("wVersion", &self.wVersion).field("szDescription", &self.szDescription).field("szName", &self.szName).field("szOptions", &self.szOptions).finish()
3467 }
3468 }
3469 #[cfg(feature = "Win32_Foundation")]
3470 impl ::std::cmp::PartialEq for IMEPROW {
eq(&self, other: &Self) -> bool3471 fn eq(&self, other: &Self) -> bool {
3472 self.hWnd == other.hWnd && self.InstDate == other.InstDate && self.wVersion == other.wVersion && self.szDescription == other.szDescription && self.szName == other.szName && self.szOptions == other.szOptions
3473 }
3474 }
3475 #[cfg(feature = "Win32_Foundation")]
3476 impl ::std::cmp::Eq for IMEPROW {}
3477 #[cfg(feature = "Win32_Foundation")]
3478 unsafe impl ::windows::runtime::Abi for IMEPROW {
3479 type Abi = Self;
3480 type DefaultType = Self;
3481 }
3482 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3483 #[repr(C)]
3484 #[cfg(feature = "Win32_Foundation")]
3485 pub struct IMESTRUCT {
3486 pub fnc: u32,
3487 pub wParam: super::super::Foundation::WPARAM,
3488 pub wCount: u32,
3489 pub dchSource: u32,
3490 pub dchDest: u32,
3491 pub lParam1: super::super::Foundation::LPARAM,
3492 pub lParam2: super::super::Foundation::LPARAM,
3493 pub lParam3: super::super::Foundation::LPARAM,
3494 }
3495 #[cfg(feature = "Win32_Foundation")]
3496 impl IMESTRUCT {}
3497 #[cfg(feature = "Win32_Foundation")]
3498 impl ::std::default::Default for IMESTRUCT {
default() -> Self3499 fn default() -> Self {
3500 unsafe { ::std::mem::zeroed() }
3501 }
3502 }
3503 #[cfg(feature = "Win32_Foundation")]
3504 impl ::std::fmt::Debug for IMESTRUCT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3505 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3506 fmt.debug_struct("IMESTRUCT").field("fnc", &self.fnc).field("wParam", &self.wParam).field("wCount", &self.wCount).field("dchSource", &self.dchSource).field("dchDest", &self.dchDest).field("lParam1", &self.lParam1).field("lParam2", &self.lParam2).field("lParam3", &self.lParam3).finish()
3507 }
3508 }
3509 #[cfg(feature = "Win32_Foundation")]
3510 impl ::std::cmp::PartialEq for IMESTRUCT {
eq(&self, other: &Self) -> bool3511 fn eq(&self, other: &Self) -> bool {
3512 self.fnc == other.fnc && self.wParam == other.wParam && self.wCount == other.wCount && self.dchSource == other.dchSource && self.dchDest == other.dchDest && self.lParam1 == other.lParam1 && self.lParam2 == other.lParam2 && self.lParam3 == other.lParam3
3513 }
3514 }
3515 #[cfg(feature = "Win32_Foundation")]
3516 impl ::std::cmp::Eq for IMESTRUCT {}
3517 #[cfg(feature = "Win32_Foundation")]
3518 unsafe impl ::windows::runtime::Abi for IMESTRUCT {
3519 type Abi = Self;
3520 type DefaultType = Self;
3521 }
3522 pub const IME_BANJAtoJUNJA: u32 = 19u32;
3523 pub const IME_ENABLE_CONVERT: u32 = 2u32;
3524 pub const IME_ENTERWORDREGISTERMODE: u32 = 24u32;
3525 pub const IME_GETCONVERSIONMODE: u32 = 17u32;
3526 pub const IME_GETIMECAPS: u32 = 3u32;
3527 pub const IME_GETOPEN: u32 = 5u32;
3528 pub const IME_GETVERSION: u32 = 7u32;
3529 pub const IME_JOHABtoKS: u32 = 21u32;
3530 pub const IME_JUNJAtoBANJA: u32 = 20u32;
3531 pub const IME_KStoJOHAB: u32 = 22u32;
3532 pub const IME_MAXPROCESS: u32 = 32u32;
3533 pub const IME_MODE_ALPHANUMERIC: u32 = 1u32;
3534 pub const IME_MODE_CODEINPUT: u32 = 128u32;
3535 pub const IME_MODE_DBCSCHAR: u32 = 16u32;
3536 pub const IME_MODE_HANJACONVERT: u32 = 4u32;
3537 pub const IME_MODE_HIRAGANA: u32 = 4u32;
3538 pub const IME_MODE_KATAKANA: u32 = 2u32;
3539 pub const IME_MODE_NOCODEINPUT: u32 = 256u32;
3540 pub const IME_MODE_NOROMAN: u32 = 64u32;
3541 pub const IME_MODE_ROMAN: u32 = 32u32;
3542 pub const IME_MODE_SBCSCHAR: u32 = 2u32;
3543 pub const IME_MOVEIMEWINDOW: u32 = 8u32;
3544 pub const IME_REQUEST_CONVERT: u32 = 1u32;
3545 pub const IME_RS_DISKERROR: u32 = 14u32;
3546 pub const IME_RS_ERROR: u32 = 1u32;
3547 pub const IME_RS_ILLEGAL: u32 = 6u32;
3548 pub const IME_RS_INVALID: u32 = 17u32;
3549 pub const IME_RS_NEST: u32 = 18u32;
3550 pub const IME_RS_NOIME: u32 = 2u32;
3551 pub const IME_RS_NOROOM: u32 = 10u32;
3552 pub const IME_RS_NOTFOUND: u32 = 7u32;
3553 pub const IME_RS_SYSTEMMODAL: u32 = 19u32;
3554 pub const IME_RS_TOOLONG: u32 = 5u32;
3555 pub const IME_SENDVKEY: u32 = 19u32;
3556 pub const IME_SETCONVERSIONFONTEX: u32 = 25u32;
3557 pub const IME_SETCONVERSIONMODE: u32 = 16u32;
3558 pub const IME_SETCONVERSIONWINDOW: u32 = 8u32;
3559 pub const IME_SETOPEN: u32 = 4u32;
3560 pub const IME_SET_MODE: u32 = 18u32;
3561 #[cfg(feature = "Win32_Foundation")]
3562 #[inline]
IMPGetIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL3563 pub unsafe fn IMPGetIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL {
3564 #[cfg(windows)]
3565 {
3566 #[link(name = "windows")]
3567 extern "system" {
3568 fn IMPGetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL;
3569 }
3570 ::std::mem::transmute(IMPGetIMEA(param0.into_param().abi(), ::std::mem::transmute(param1)))
3571 }
3572 #[cfg(not(windows))]
3573 unimplemented!("Unsupported target OS");
3574 }
3575 #[cfg(feature = "Win32_Foundation")]
3576 #[inline]
IMPGetIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL3577 pub unsafe fn IMPGetIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL {
3578 #[cfg(windows)]
3579 {
3580 #[link(name = "windows")]
3581 extern "system" {
3582 fn IMPGetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL;
3583 }
3584 ::std::mem::transmute(IMPGetIMEW(param0.into_param().abi(), ::std::mem::transmute(param1)))
3585 }
3586 #[cfg(not(windows))]
3587 unimplemented!("Unsupported target OS");
3588 }
3589 #[cfg(feature = "Win32_Foundation")]
3590 #[inline]
IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL3591 pub unsafe fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL {
3592 #[cfg(windows)]
3593 {
3594 #[link(name = "windows")]
3595 extern "system" {
3596 fn IMPQueryIMEA(param0: *mut IMEPROA) -> super::super::Foundation::BOOL;
3597 }
3598 ::std::mem::transmute(IMPQueryIMEA(::std::mem::transmute(param0)))
3599 }
3600 #[cfg(not(windows))]
3601 unimplemented!("Unsupported target OS");
3602 }
3603 #[cfg(feature = "Win32_Foundation")]
3604 #[inline]
IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL3605 pub unsafe fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL {
3606 #[cfg(windows)]
3607 {
3608 #[link(name = "windows")]
3609 extern "system" {
3610 fn IMPQueryIMEW(param0: *mut IMEPROW) -> super::super::Foundation::BOOL;
3611 }
3612 ::std::mem::transmute(IMPQueryIMEW(::std::mem::transmute(param0)))
3613 }
3614 #[cfg(not(windows))]
3615 unimplemented!("Unsupported target OS");
3616 }
3617 #[cfg(feature = "Win32_Foundation")]
3618 #[inline]
IMPSetIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL3619 pub unsafe fn IMPSetIMEA<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROA) -> super::super::Foundation::BOOL {
3620 #[cfg(windows)]
3621 {
3622 #[link(name = "windows")]
3623 extern "system" {
3624 fn IMPSetIMEA(param0: super::super::Foundation::HWND, param1: *mut IMEPROA) -> super::super::Foundation::BOOL;
3625 }
3626 ::std::mem::transmute(IMPSetIMEA(param0.into_param().abi(), ::std::mem::transmute(param1)))
3627 }
3628 #[cfg(not(windows))]
3629 unimplemented!("Unsupported target OS");
3630 }
3631 #[cfg(feature = "Win32_Foundation")]
3632 #[inline]
IMPSetIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL3633 pub unsafe fn IMPSetIMEW<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::HWND>>(param0: Param0, param1: *mut IMEPROW) -> super::super::Foundation::BOOL {
3634 #[cfg(windows)]
3635 {
3636 #[link(name = "windows")]
3637 extern "system" {
3638 fn IMPSetIMEW(param0: super::super::Foundation::HWND, param1: *mut IMEPROW) -> super::super::Foundation::BOOL;
3639 }
3640 ::std::mem::transmute(IMPSetIMEW(param0.into_param().abi(), ::std::mem::transmute(param1)))
3641 }
3642 #[cfg(not(windows))]
3643 unimplemented!("Unsupported target OS");
3644 }
3645 pub const INFINITE: u32 = 4294967295u32;
3646 pub const INFO_CLASS_GENERIC: u32 = 256u32;
3647 pub const INFO_CLASS_IMPLEMENTATION: u32 = 768u32;
3648 pub const INFO_CLASS_PROTOCOL: u32 = 512u32;
3649 pub const INFO_TYPE_ADDRESS_OBJECT: u32 = 512u32;
3650 pub const INFO_TYPE_CONNECTION: u32 = 768u32;
3651 pub const INFO_TYPE_PROVIDER: u32 = 256u32;
3652 pub const INTERIM_WINDOW: u32 = 0u32;
3653 pub const INVALID_ENTITY_INSTANCE: i32 = -1i32;
3654 pub const IOCTL_TDI_TL_IO_CONTROL_ENDPOINT: u32 = 2162744u32;
3655 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3656 #[repr(C)]
3657 #[cfg(feature = "Win32_Foundation")]
3658 pub struct IO_STATUS_BLOCK {
3659 pub Anonymous: IO_STATUS_BLOCK_0,
3660 pub Information: usize,
3661 }
3662 #[cfg(feature = "Win32_Foundation")]
3663 impl IO_STATUS_BLOCK {}
3664 #[cfg(feature = "Win32_Foundation")]
3665 impl ::std::default::Default for IO_STATUS_BLOCK {
default() -> Self3666 fn default() -> Self {
3667 unsafe { ::std::mem::zeroed() }
3668 }
3669 }
3670 #[cfg(feature = "Win32_Foundation")]
3671 impl ::std::cmp::PartialEq for IO_STATUS_BLOCK {
eq(&self, _other: &Self) -> bool3672 fn eq(&self, _other: &Self) -> bool {
3673 unimplemented!()
3674 }
3675 }
3676 #[cfg(feature = "Win32_Foundation")]
3677 impl ::std::cmp::Eq for IO_STATUS_BLOCK {}
3678 #[cfg(feature = "Win32_Foundation")]
3679 unsafe impl ::windows::runtime::Abi for IO_STATUS_BLOCK {
3680 type Abi = Self;
3681 type DefaultType = Self;
3682 }
3683 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3684 #[repr(C)]
3685 #[cfg(feature = "Win32_Foundation")]
3686 pub union IO_STATUS_BLOCK_0 {
3687 pub Status: super::super::Foundation::NTSTATUS,
3688 pub Pointer: *mut ::std::ffi::c_void,
3689 }
3690 #[cfg(feature = "Win32_Foundation")]
3691 impl IO_STATUS_BLOCK_0 {}
3692 #[cfg(feature = "Win32_Foundation")]
3693 impl ::std::default::Default for IO_STATUS_BLOCK_0 {
default() -> Self3694 fn default() -> Self {
3695 unsafe { ::std::mem::zeroed() }
3696 }
3697 }
3698 #[cfg(feature = "Win32_Foundation")]
3699 impl ::std::cmp::PartialEq for IO_STATUS_BLOCK_0 {
eq(&self, _other: &Self) -> bool3700 fn eq(&self, _other: &Self) -> bool {
3701 unimplemented!()
3702 }
3703 }
3704 #[cfg(feature = "Win32_Foundation")]
3705 impl ::std::cmp::Eq for IO_STATUS_BLOCK_0 {}
3706 #[cfg(feature = "Win32_Foundation")]
3707 unsafe impl ::windows::runtime::Abi for IO_STATUS_BLOCK_0 {
3708 type Abi = Self;
3709 type DefaultType = Self;
3710 }
3711 pub const IR_CHANGECONVERT: u32 = 289u32;
3712 pub const IR_CLOSECONVERT: u32 = 290u32;
3713 pub const IR_DBCSCHAR: u32 = 352u32;
3714 pub const IR_FULLCONVERT: u32 = 291u32;
3715 pub const IR_IMESELECT: u32 = 304u32;
3716 pub const IR_MODEINFO: u32 = 400u32;
3717 pub const IR_OPENCONVERT: u32 = 288u32;
3718 pub const IR_STRING: u32 = 320u32;
3719 pub const IR_STRINGEND: u32 = 257u32;
3720 pub const IR_STRINGEX: u32 = 384u32;
3721 pub const IR_STRINGSTART: u32 = 256u32;
3722 pub const IR_UNDETERMINE: u32 = 368u32;
3723 #[repr(transparent)]
3724 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3725 pub struct IScriptErrorList(::windows::runtime::IUnknown);
3726 impl IScriptErrorList {
advanceError(&self) -> ::windows::runtime::Result<()>3727 pub unsafe fn advanceError(&self) -> ::windows::runtime::Result<()> {
3728 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3729 }
retreatError(&self) -> ::windows::runtime::Result<()>3730 pub unsafe fn retreatError(&self) -> ::windows::runtime::Result<()> {
3731 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
3732 }
3733 #[cfg(feature = "Win32_Foundation")]
canAdvanceError(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3734 pub unsafe fn canAdvanceError(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3735 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3736 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3737 }
3738 #[cfg(feature = "Win32_Foundation")]
canRetreatError(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3739 pub unsafe fn canRetreatError(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3740 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3741 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3742 }
getErrorLine(&self) -> ::windows::runtime::Result<i32>3743 pub unsafe fn getErrorLine(&self) -> ::windows::runtime::Result<i32> {
3744 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3745 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3746 }
getErrorChar(&self) -> ::windows::runtime::Result<i32>3747 pub unsafe fn getErrorChar(&self) -> ::windows::runtime::Result<i32> {
3748 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3749 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3750 }
getErrorCode(&self) -> ::windows::runtime::Result<i32>3751 pub unsafe fn getErrorCode(&self) -> ::windows::runtime::Result<i32> {
3752 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3753 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
3754 }
3755 #[cfg(feature = "Win32_Foundation")]
getErrorMsg(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3756 pub unsafe fn getErrorMsg(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3757 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3758 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3759 }
3760 #[cfg(feature = "Win32_Foundation")]
getErrorUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>3761 pub unsafe fn getErrorUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
3762 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3763 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
3764 }
3765 #[cfg(feature = "Win32_Foundation")]
getAlwaysShowLockState(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3766 pub unsafe fn getAlwaysShowLockState(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3767 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3768 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3769 }
3770 #[cfg(feature = "Win32_Foundation")]
getDetailsPaneOpen(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3771 pub unsafe fn getDetailsPaneOpen(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3772 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3773 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3774 }
3775 #[cfg(feature = "Win32_Foundation")]
setDetailsPaneOpen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fdetailspaneopen: Param0) -> ::windows::runtime::Result<()>3776 pub unsafe fn setDetailsPaneOpen<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fdetailspaneopen: Param0) -> ::windows::runtime::Result<()> {
3777 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), fdetailspaneopen.into_param().abi()).ok()
3778 }
3779 #[cfg(feature = "Win32_Foundation")]
getPerErrorDisplay(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>3780 pub unsafe fn getPerErrorDisplay(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
3781 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3782 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
3783 }
3784 #[cfg(feature = "Win32_Foundation")]
setPerErrorDisplay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fpererrordisplay: Param0) -> ::windows::runtime::Result<()>3785 pub unsafe fn setPerErrorDisplay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, fpererrordisplay: Param0) -> ::windows::runtime::Result<()> {
3786 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), fpererrordisplay.into_param().abi()).ok()
3787 }
3788 }
3789 unsafe impl ::windows::runtime::Interface for IScriptErrorList {
3790 type Vtable = IScriptErrorList_abi;
3791 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4081520420, 5629, 4562, [187, 46, 0, 128, 95, 247, 239, 202]);
3792 }
3793 impl ::std::convert::From<IScriptErrorList> for ::windows::runtime::IUnknown {
from(value: IScriptErrorList) -> Self3794 fn from(value: IScriptErrorList) -> Self {
3795 unsafe { ::std::mem::transmute(value) }
3796 }
3797 }
3798 impl ::std::convert::From<&IScriptErrorList> for ::windows::runtime::IUnknown {
from(value: &IScriptErrorList) -> Self3799 fn from(value: &IScriptErrorList) -> Self {
3800 ::std::convert::From::from(::std::clone::Clone::clone(value))
3801 }
3802 }
3803 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IScriptErrorList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3804 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3805 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3806 }
3807 }
3808 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IScriptErrorList {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3809 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3810 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3811 }
3812 }
3813 #[cfg(feature = "Win32_System_Ole_Automation")]
3814 impl ::std::convert::From<IScriptErrorList> for super::Ole::Automation::IDispatch {
from(value: IScriptErrorList) -> Self3815 fn from(value: IScriptErrorList) -> Self {
3816 unsafe { ::std::mem::transmute(value) }
3817 }
3818 }
3819 #[cfg(feature = "Win32_System_Ole_Automation")]
3820 impl ::std::convert::From<&IScriptErrorList> for super::Ole::Automation::IDispatch {
from(value: &IScriptErrorList) -> Self3821 fn from(value: &IScriptErrorList) -> Self {
3822 ::std::convert::From::from(::std::clone::Clone::clone(value))
3823 }
3824 }
3825 #[cfg(feature = "Win32_System_Ole_Automation")]
3826 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IScriptErrorList {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3827 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3828 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3829 }
3830 }
3831 #[cfg(feature = "Win32_System_Ole_Automation")]
3832 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IScriptErrorList {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3833 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3834 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3835 }
3836 }
3837 #[repr(C)]
3838 #[doc(hidden)]
3839 pub struct IScriptErrorList_abi(
3840 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3841 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3842 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3843 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3844 #[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,
3845 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3846 #[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,
3847 #[cfg(not(feature = "Win32_Foundation"))] usize,
3848 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3849 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3850 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3851 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3852 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3853 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfcanadvance: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3854 #[cfg(not(feature = "Win32_Foundation"))] usize,
3855 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfcanretreat: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3856 #[cfg(not(feature = "Win32_Foundation"))] usize,
3857 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plline: *mut i32) -> ::windows::runtime::HRESULT,
3858 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plchar: *mut i32) -> ::windows::runtime::HRESULT,
3859 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, plcode: *mut i32) -> ::windows::runtime::HRESULT,
3860 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3861 #[cfg(not(feature = "Win32_Foundation"))] usize,
3862 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pstr: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3863 #[cfg(not(feature = "Win32_Foundation"))] usize,
3864 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfalwaysshowlocked: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3865 #[cfg(not(feature = "Win32_Foundation"))] usize,
3866 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfdetailspaneopen: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3867 #[cfg(not(feature = "Win32_Foundation"))] usize,
3868 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fdetailspaneopen: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3869 #[cfg(not(feature = "Win32_Foundation"))] usize,
3870 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfpererrordisplay: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3871 #[cfg(not(feature = "Win32_Foundation"))] usize,
3872 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fpererrordisplay: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3873 #[cfg(not(feature = "Win32_Foundation"))] usize,
3874 );
3875 #[repr(transparent)]
3876 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3877 pub struct IShellFavoritesNameSpace(::windows::runtime::IUnknown);
3878 impl IShellFavoritesNameSpace {
MoveSelectionUp(&self) -> ::windows::runtime::Result<()>3879 pub unsafe fn MoveSelectionUp(&self) -> ::windows::runtime::Result<()> {
3880 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
3881 }
MoveSelectionDown(&self) -> ::windows::runtime::Result<()>3882 pub unsafe fn MoveSelectionDown(&self) -> ::windows::runtime::Result<()> {
3883 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
3884 }
ResetSort(&self) -> ::windows::runtime::Result<()>3885 pub unsafe fn ResetSort(&self) -> ::windows::runtime::Result<()> {
3886 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
3887 }
NewFolder(&self) -> ::windows::runtime::Result<()>3888 pub unsafe fn NewFolder(&self) -> ::windows::runtime::Result<()> {
3889 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
3890 }
Synchronize(&self) -> ::windows::runtime::Result<()>3891 pub unsafe fn Synchronize(&self) -> ::windows::runtime::Result<()> {
3892 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
3893 }
Import(&self) -> ::windows::runtime::Result<()>3894 pub unsafe fn Import(&self) -> ::windows::runtime::Result<()> {
3895 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
3896 }
Export(&self) -> ::windows::runtime::Result<()>3897 pub unsafe fn Export(&self) -> ::windows::runtime::Result<()> {
3898 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
3899 }
3900 #[cfg(feature = "Win32_Foundation")]
InvokeContextMenuCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strcommand: Param0) -> ::windows::runtime::Result<()>3901 pub unsafe fn InvokeContextMenuCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strcommand: Param0) -> ::windows::runtime::Result<()> {
3902 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), strcommand.into_param().abi()).ok()
3903 }
MoveSelectionTo(&self) -> ::windows::runtime::Result<()>3904 pub unsafe fn MoveSelectionTo(&self) -> ::windows::runtime::Result<()> {
3905 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
3906 }
SubscriptionsEnabled(&self) -> ::windows::runtime::Result<i16>3907 pub unsafe fn SubscriptionsEnabled(&self) -> ::windows::runtime::Result<i16> {
3908 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3909 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3910 }
CreateSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16>3911 pub unsafe fn CreateSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16> {
3912 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3913 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3914 }
DeleteSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16>3915 pub unsafe fn DeleteSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16> {
3916 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3917 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
3918 }
3919 #[cfg(feature = "Win32_Foundation")]
SetRoot<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfullpath: Param0) -> ::windows::runtime::Result<()>3920 pub unsafe fn SetRoot<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfullpath: Param0) -> ::windows::runtime::Result<()> {
3921 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrfullpath.into_param().abi()).ok()
3922 }
3923 }
3924 unsafe impl ::windows::runtime::Interface for IShellFavoritesNameSpace {
3925 type Vtable = IShellFavoritesNameSpace_abi;
3926 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1427335172, 45790, 4561, [185, 242, 0, 160, 201, 139, 197, 71]);
3927 }
3928 impl ::std::convert::From<IShellFavoritesNameSpace> for ::windows::runtime::IUnknown {
from(value: IShellFavoritesNameSpace) -> Self3929 fn from(value: IShellFavoritesNameSpace) -> Self {
3930 unsafe { ::std::mem::transmute(value) }
3931 }
3932 }
3933 impl ::std::convert::From<&IShellFavoritesNameSpace> for ::windows::runtime::IUnknown {
from(value: &IShellFavoritesNameSpace) -> Self3934 fn from(value: &IShellFavoritesNameSpace) -> Self {
3935 ::std::convert::From::from(::std::clone::Clone::clone(value))
3936 }
3937 }
3938 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellFavoritesNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3939 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3940 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3941 }
3942 }
3943 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellFavoritesNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3944 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3945 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3946 }
3947 }
3948 #[cfg(feature = "Win32_System_Ole_Automation")]
3949 impl ::std::convert::From<IShellFavoritesNameSpace> for super::Ole::Automation::IDispatch {
from(value: IShellFavoritesNameSpace) -> Self3950 fn from(value: IShellFavoritesNameSpace) -> Self {
3951 unsafe { ::std::mem::transmute(value) }
3952 }
3953 }
3954 #[cfg(feature = "Win32_System_Ole_Automation")]
3955 impl ::std::convert::From<&IShellFavoritesNameSpace> for super::Ole::Automation::IDispatch {
from(value: &IShellFavoritesNameSpace) -> Self3956 fn from(value: &IShellFavoritesNameSpace) -> Self {
3957 ::std::convert::From::from(::std::clone::Clone::clone(value))
3958 }
3959 }
3960 #[cfg(feature = "Win32_System_Ole_Automation")]
3961 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellFavoritesNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3962 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3963 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
3964 }
3965 }
3966 #[cfg(feature = "Win32_System_Ole_Automation")]
3967 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellFavoritesNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>3968 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
3969 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
3970 }
3971 }
3972 #[repr(C)]
3973 #[doc(hidden)]
3974 pub struct IShellFavoritesNameSpace_abi(
3975 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3976 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3977 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3978 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
3979 #[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,
3980 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
3981 #[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,
3982 #[cfg(not(feature = "Win32_Foundation"))] usize,
3983 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
3984 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
3985 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
3986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3987 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3988 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3989 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3990 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3991 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3992 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3993 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strcommand: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
3994 #[cfg(not(feature = "Win32_Foundation"))] usize,
3995 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
3997 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
3998 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
3999 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfullpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4000 #[cfg(not(feature = "Win32_Foundation"))] usize,
4001 );
4002 #[repr(transparent)]
4003 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4004 pub struct IShellNameSpace(::windows::runtime::IUnknown);
4005 impl IShellNameSpace {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4006 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4007 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4008 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4009 }
4010 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>4011 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
4012 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4013 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
4014 }
4015 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4016 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
4017 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
4018 }
4019 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4020 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
4021 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
4022 }
MoveSelectionUp(&self) -> ::windows::runtime::Result<()>4023 pub unsafe fn MoveSelectionUp(&self) -> ::windows::runtime::Result<()> {
4024 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4025 }
MoveSelectionDown(&self) -> ::windows::runtime::Result<()>4026 pub unsafe fn MoveSelectionDown(&self) -> ::windows::runtime::Result<()> {
4027 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
4028 }
ResetSort(&self) -> ::windows::runtime::Result<()>4029 pub unsafe fn ResetSort(&self) -> ::windows::runtime::Result<()> {
4030 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
4031 }
NewFolder(&self) -> ::windows::runtime::Result<()>4032 pub unsafe fn NewFolder(&self) -> ::windows::runtime::Result<()> {
4033 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self)).ok()
4034 }
Synchronize(&self) -> ::windows::runtime::Result<()>4035 pub unsafe fn Synchronize(&self) -> ::windows::runtime::Result<()> {
4036 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self)).ok()
4037 }
Import(&self) -> ::windows::runtime::Result<()>4038 pub unsafe fn Import(&self) -> ::windows::runtime::Result<()> {
4039 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self)).ok()
4040 }
Export(&self) -> ::windows::runtime::Result<()>4041 pub unsafe fn Export(&self) -> ::windows::runtime::Result<()> {
4042 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self)).ok()
4043 }
4044 #[cfg(feature = "Win32_Foundation")]
InvokeContextMenuCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strcommand: Param0) -> ::windows::runtime::Result<()>4045 pub unsafe fn InvokeContextMenuCommand<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strcommand: Param0) -> ::windows::runtime::Result<()> {
4046 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), strcommand.into_param().abi()).ok()
4047 }
MoveSelectionTo(&self) -> ::windows::runtime::Result<()>4048 pub unsafe fn MoveSelectionTo(&self) -> ::windows::runtime::Result<()> {
4049 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self)).ok()
4050 }
SubscriptionsEnabled(&self) -> ::windows::runtime::Result<i16>4051 pub unsafe fn SubscriptionsEnabled(&self) -> ::windows::runtime::Result<i16> {
4052 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4053 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4054 }
CreateSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16>4055 pub unsafe fn CreateSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16> {
4056 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4057 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4058 }
DeleteSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16>4059 pub unsafe fn DeleteSubscriptionForSelection(&self) -> ::windows::runtime::Result<i16> {
4060 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4061 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4062 }
4063 #[cfg(feature = "Win32_Foundation")]
SetRoot<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfullpath: Param0) -> ::windows::runtime::Result<()>4064 pub unsafe fn SetRoot<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrfullpath: Param0) -> ::windows::runtime::Result<()> {
4065 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrfullpath.into_param().abi()).ok()
4066 }
EnumOptions(&self) -> ::windows::runtime::Result<i32>4067 pub unsafe fn EnumOptions(&self) -> ::windows::runtime::Result<i32> {
4068 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4069 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4070 }
SetEnumOptions(&self, lval: i32) -> ::windows::runtime::Result<()>4071 pub unsafe fn SetEnumOptions(&self, lval: i32) -> ::windows::runtime::Result<()> {
4072 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(lval)).ok()
4073 }
4074 #[cfg(feature = "Win32_System_Ole_Automation")]
SelectedItem(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>4075 pub unsafe fn SelectedItem(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
4076 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4077 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
4078 }
4079 #[cfg(feature = "Win32_System_Ole_Automation")]
SetSelectedItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pitem: Param0) -> ::windows::runtime::Result<()>4080 pub unsafe fn SetSelectedItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch>>(&self, pitem: Param0) -> ::windows::runtime::Result<()> {
4081 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), pitem.into_param().abi()).ok()
4082 }
4083 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Root(&self) -> ::windows::runtime::Result<super::Com::VARIANT>4084 pub unsafe fn Root(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
4085 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4086 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
4087 }
4088 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
SetRoot2<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, var: Param0) -> ::windows::runtime::Result<()>4089 pub unsafe fn SetRoot2<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, var: Param0) -> ::windows::runtime::Result<()> {
4090 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), var.into_param().abi()).ok()
4091 }
Depth(&self) -> ::windows::runtime::Result<i32>4092 pub unsafe fn Depth(&self) -> ::windows::runtime::Result<i32> {
4093 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4094 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4095 }
SetDepth(&self, idepth: i32) -> ::windows::runtime::Result<()>4096 pub unsafe fn SetDepth(&self, idepth: i32) -> ::windows::runtime::Result<()> {
4097 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self), ::std::mem::transmute(idepth)).ok()
4098 }
Mode(&self) -> ::windows::runtime::Result<u32>4099 pub unsafe fn Mode(&self) -> ::windows::runtime::Result<u32> {
4100 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4101 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4102 }
SetMode(&self, umode: u32) -> ::windows::runtime::Result<()>4103 pub unsafe fn SetMode(&self, umode: u32) -> ::windows::runtime::Result<()> {
4104 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(umode)).ok()
4105 }
Flags(&self) -> ::windows::runtime::Result<u32>4106 pub unsafe fn Flags(&self) -> ::windows::runtime::Result<u32> {
4107 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4108 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4109 }
SetFlags(&self, dwflags: u32) -> ::windows::runtime::Result<()>4110 pub unsafe fn SetFlags(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
4111 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
4112 }
SetTVFlags(&self, dwflags: u32) -> ::windows::runtime::Result<()>4113 pub unsafe fn SetTVFlags(&self, dwflags: u32) -> ::windows::runtime::Result<()> {
4114 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwflags)).ok()
4115 }
TVFlags(&self) -> ::windows::runtime::Result<u32>4116 pub unsafe fn TVFlags(&self) -> ::windows::runtime::Result<u32> {
4117 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4118 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4119 }
4120 #[cfg(feature = "Win32_Foundation")]
Columns(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4121 pub unsafe fn Columns(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4122 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4123 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4124 }
4125 #[cfg(feature = "Win32_Foundation")]
SetColumns<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcolumns: Param0) -> ::windows::runtime::Result<()>4126 pub unsafe fn SetColumns<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrcolumns: Param0) -> ::windows::runtime::Result<()> {
4127 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), bstrcolumns.into_param().abi()).ok()
4128 }
CountViewTypes(&self) -> ::windows::runtime::Result<i32>4129 pub unsafe fn CountViewTypes(&self) -> ::windows::runtime::Result<i32> {
4130 let mut result__: <i32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4131 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i32>(result__)
4132 }
SetViewType(&self, itype: i32) -> ::windows::runtime::Result<()>4133 pub unsafe fn SetViewType(&self, itype: i32) -> ::windows::runtime::Result<()> {
4134 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), ::std::mem::transmute(itype)).ok()
4135 }
4136 #[cfg(feature = "Win32_System_Ole_Automation")]
SelectedItems(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch>4137 pub unsafe fn SelectedItems(&self) -> ::windows::runtime::Result<super::Ole::Automation::IDispatch> {
4138 let mut result__: <super::Ole::Automation::IDispatch as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4139 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Ole::Automation::IDispatch>(result__)
4140 }
4141 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Expand<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, var: Param0, idepth: i32) -> ::windows::runtime::Result<()>4142 pub unsafe fn Expand<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, var: Param0, idepth: i32) -> ::windows::runtime::Result<()> {
4143 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), var.into_param().abi(), ::std::mem::transmute(idepth)).ok()
4144 }
UnselectAll(&self) -> ::windows::runtime::Result<()>4145 pub unsafe fn UnselectAll(&self) -> ::windows::runtime::Result<()> {
4146 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
4147 }
4148 }
4149 unsafe impl ::windows::runtime::Interface for IShellNameSpace {
4150 type Vtable = IShellNameSpace_abi;
4151 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3849507785, 14270, 19170, [130, 93, 213, 33, 118, 62, 49, 8]);
4152 }
4153 impl ::std::convert::From<IShellNameSpace> for ::windows::runtime::IUnknown {
from(value: IShellNameSpace) -> Self4154 fn from(value: IShellNameSpace) -> Self {
4155 unsafe { ::std::mem::transmute(value) }
4156 }
4157 }
4158 impl ::std::convert::From<&IShellNameSpace> for ::windows::runtime::IUnknown {
from(value: &IShellNameSpace) -> Self4159 fn from(value: &IShellNameSpace) -> Self {
4160 ::std::convert::From::from(::std::clone::Clone::clone(value))
4161 }
4162 }
4163 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4164 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4165 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4166 }
4167 }
4168 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4169 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4170 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4171 }
4172 }
4173 impl ::std::convert::From<IShellNameSpace> for IShellFavoritesNameSpace {
from(value: IShellNameSpace) -> Self4174 fn from(value: IShellNameSpace) -> Self {
4175 unsafe { ::std::mem::transmute(value) }
4176 }
4177 }
4178 impl ::std::convert::From<&IShellNameSpace> for IShellFavoritesNameSpace {
from(value: &IShellNameSpace) -> Self4179 fn from(value: &IShellNameSpace) -> Self {
4180 ::std::convert::From::from(::std::clone::Clone::clone(value))
4181 }
4182 }
4183 impl<'a> ::windows::runtime::IntoParam<'a, IShellFavoritesNameSpace> for IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, IShellFavoritesNameSpace>4184 fn into_param(self) -> ::windows::runtime::Param<'a, IShellFavoritesNameSpace> {
4185 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellFavoritesNameSpace>::into(self))
4186 }
4187 }
4188 impl<'a> ::windows::runtime::IntoParam<'a, IShellFavoritesNameSpace> for &IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, IShellFavoritesNameSpace>4189 fn into_param(self) -> ::windows::runtime::Param<'a, IShellFavoritesNameSpace> {
4190 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellFavoritesNameSpace>::into(::std::clone::Clone::clone(self)))
4191 }
4192 }
4193 #[cfg(feature = "Win32_System_Ole_Automation")]
4194 impl ::std::convert::From<IShellNameSpace> for super::Ole::Automation::IDispatch {
from(value: IShellNameSpace) -> Self4195 fn from(value: IShellNameSpace) -> Self {
4196 unsafe { ::std::mem::transmute(value) }
4197 }
4198 }
4199 #[cfg(feature = "Win32_System_Ole_Automation")]
4200 impl ::std::convert::From<&IShellNameSpace> for super::Ole::Automation::IDispatch {
from(value: &IShellNameSpace) -> Self4201 fn from(value: &IShellNameSpace) -> Self {
4202 ::std::convert::From::from(::std::clone::Clone::clone(value))
4203 }
4204 }
4205 #[cfg(feature = "Win32_System_Ole_Automation")]
4206 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4207 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4208 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4209 }
4210 }
4211 #[cfg(feature = "Win32_System_Ole_Automation")]
4212 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellNameSpace {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4213 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4214 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4215 }
4216 }
4217 #[repr(C)]
4218 #[doc(hidden)]
4219 pub struct IShellNameSpace_abi(
4220 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4224 #[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,
4225 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4226 #[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,
4227 #[cfg(not(feature = "Win32_Foundation"))] usize,
4228 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4230 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4231 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4232 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4233 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4234 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4235 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4236 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4237 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4238 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strcommand: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4239 #[cfg(not(feature = "Win32_Foundation"))] usize,
4240 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4241 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4244 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrfullpath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4245 #[cfg(not(feature = "Win32_Foundation"))] usize,
4246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pgrfenumflags: *mut i32) -> ::windows::runtime::HRESULT,
4247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, lval: i32) -> ::windows::runtime::HRESULT,
4248 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitem: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4249 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4250 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitem: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4251 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4252 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvar: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4253 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, var: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4255 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pidepth: *mut i32) -> ::windows::runtime::HRESULT,
4257 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, idepth: i32) -> ::windows::runtime::HRESULT,
4258 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pumode: *mut u32) -> ::windows::runtime::HRESULT,
4259 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, umode: u32) -> ::windows::runtime::HRESULT,
4260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwflags: *mut u32) -> ::windows::runtime::HRESULT,
4261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
4262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: u32) -> ::windows::runtime::HRESULT,
4263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwflags: *mut u32) -> ::windows::runtime::HRESULT,
4264 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrcolumns: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4265 #[cfg(not(feature = "Win32_Foundation"))] usize,
4266 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrcolumns: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4267 #[cfg(not(feature = "Win32_Foundation"))] usize,
4268 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pitypes: *mut i32) -> ::windows::runtime::HRESULT,
4269 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, itype: i32) -> ::windows::runtime::HRESULT,
4270 #[cfg(feature = "Win32_System_Ole_Automation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppid: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4271 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4272 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, var: ::std::mem::ManuallyDrop<super::Com::VARIANT>, idepth: i32) -> ::windows::runtime::HRESULT,
4273 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4274 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4275 );
4276 #[repr(transparent)]
4277 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4278 pub struct IShellUIHelper(::windows::runtime::IUnknown);
4279 impl IShellUIHelper {
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>4280 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
4281 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4282 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>4283 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
4284 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
4285 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>4286 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
4287 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
4288 }
4289 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4290 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4291 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
4292 }
4293 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4294 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4295 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4296 }
4297 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4298 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4299 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
4300 }
4301 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>4302 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
4303 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4304 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
4305 }
4306 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4307 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4308 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
4309 }
4310 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>4311 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
4312 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
4313 }
4314 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4315 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4316 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
4317 }
4318 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4319 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4320 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
4321 }
4322 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4323 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4324 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
4325 }
4326 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>4327 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
4328 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4329 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
4330 }
4331 }
4332 unsafe impl ::windows::runtime::Interface for IShellUIHelper {
4333 type Vtable = IShellUIHelper_abi;
4334 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1923080952, 7848, 4561, [143, 133, 0, 192, 79, 194, 251, 225]);
4335 }
4336 impl ::std::convert::From<IShellUIHelper> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper) -> Self4337 fn from(value: IShellUIHelper) -> Self {
4338 unsafe { ::std::mem::transmute(value) }
4339 }
4340 }
4341 impl ::std::convert::From<&IShellUIHelper> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper) -> Self4342 fn from(value: &IShellUIHelper) -> Self {
4343 ::std::convert::From::from(::std::clone::Clone::clone(value))
4344 }
4345 }
4346 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4347 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4348 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4349 }
4350 }
4351 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4352 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4353 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4354 }
4355 }
4356 #[cfg(feature = "Win32_System_Ole_Automation")]
4357 impl ::std::convert::From<IShellUIHelper> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper) -> Self4358 fn from(value: IShellUIHelper) -> Self {
4359 unsafe { ::std::mem::transmute(value) }
4360 }
4361 }
4362 #[cfg(feature = "Win32_System_Ole_Automation")]
4363 impl ::std::convert::From<&IShellUIHelper> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper) -> Self4364 fn from(value: &IShellUIHelper) -> Self {
4365 ::std::convert::From::from(::std::clone::Clone::clone(value))
4366 }
4367 }
4368 #[cfg(feature = "Win32_System_Ole_Automation")]
4369 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4370 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4371 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4372 }
4373 }
4374 #[cfg(feature = "Win32_System_Ole_Automation")]
4375 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4376 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4377 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4378 }
4379 }
4380 #[repr(C)]
4381 #[doc(hidden)]
4382 pub struct IShellUIHelper_abi(
4383 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4384 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4385 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4386 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4387 #[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,
4388 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4389 #[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,
4390 #[cfg(not(feature = "Win32_Foundation"))] usize,
4391 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4392 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4393 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4397 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4398 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4399 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4400 #[cfg(not(feature = "Win32_Foundation"))] usize,
4401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4403 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4404 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4405 #[cfg(not(feature = "Win32_Foundation"))] usize,
4406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4407 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4408 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4409 #[cfg(not(feature = "Win32_Foundation"))] usize,
4410 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4411 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4412 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4413 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4414 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4415 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4416 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4417 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4418 );
4419 #[repr(transparent)]
4420 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4421 pub struct IShellUIHelper2(::windows::runtime::IUnknown);
4422 impl IShellUIHelper2 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4423 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4424 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4425 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4426 }
4427 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>4428 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
4429 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4430 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
4431 }
4432 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4433 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
4434 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
4435 }
4436 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4437 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
4438 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
4439 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>4440 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
4441 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4442 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>4443 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
4444 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
4445 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>4446 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
4447 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
4448 }
4449 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4450 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4451 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
4452 }
4453 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4454 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4455 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4456 }
4457 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4458 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4459 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
4460 }
4461 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>4462 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
4463 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4464 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
4465 }
4466 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4467 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4468 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
4469 }
4470 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>4471 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
4472 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
4473 }
4474 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4475 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4476 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
4477 }
4478 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4479 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4480 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
4481 }
4482 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4483 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4484 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
4485 }
4486 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>4487 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
4488 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4489 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
4490 }
4491 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4492 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4493 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4494 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>4495 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
4496 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
4497 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>4498 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
4499 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
4500 }
4501 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>4502 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
4503 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
4504 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>4505 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
4506 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4507 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4508 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>4509 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
4510 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4511 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4512 }
4513 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4514 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4515 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4516 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4517 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>4518 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
4519 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
4520 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>4521 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
4522 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
4523 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>4524 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
4525 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
4526 }
4527 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>4528 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
4529 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4530 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
4531 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>4532 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
4533 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4534 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4535 }
4536 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4537 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4538 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4539 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4540 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>4541 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
4542 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
4543 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>4544 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
4545 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4546 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4547 }
4548 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4549 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4550 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4551 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4552 }
4553 }
4554 unsafe impl ::windows::runtime::Interface for IShellUIHelper2 {
4555 type Vtable = IShellUIHelper2_abi;
4556 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2818469594, 6450, 17025, [184, 129, 135, 179, 27, 139, 197, 44]);
4557 }
4558 impl ::std::convert::From<IShellUIHelper2> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper2) -> Self4559 fn from(value: IShellUIHelper2) -> Self {
4560 unsafe { ::std::mem::transmute(value) }
4561 }
4562 }
4563 impl ::std::convert::From<&IShellUIHelper2> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper2) -> Self4564 fn from(value: &IShellUIHelper2) -> Self {
4565 ::std::convert::From::from(::std::clone::Clone::clone(value))
4566 }
4567 }
4568 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4569 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4570 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4571 }
4572 }
4573 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4574 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4575 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4576 }
4577 }
4578 impl ::std::convert::From<IShellUIHelper2> for IShellUIHelper {
from(value: IShellUIHelper2) -> Self4579 fn from(value: IShellUIHelper2) -> Self {
4580 unsafe { ::std::mem::transmute(value) }
4581 }
4582 }
4583 impl ::std::convert::From<&IShellUIHelper2> for IShellUIHelper {
from(value: &IShellUIHelper2) -> Self4584 fn from(value: &IShellUIHelper2) -> Self {
4585 ::std::convert::From::from(::std::clone::Clone::clone(value))
4586 }
4587 }
4588 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>4589 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
4590 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
4591 }
4592 }
4593 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>4594 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
4595 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
4596 }
4597 }
4598 #[cfg(feature = "Win32_System_Ole_Automation")]
4599 impl ::std::convert::From<IShellUIHelper2> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper2) -> Self4600 fn from(value: IShellUIHelper2) -> Self {
4601 unsafe { ::std::mem::transmute(value) }
4602 }
4603 }
4604 #[cfg(feature = "Win32_System_Ole_Automation")]
4605 impl ::std::convert::From<&IShellUIHelper2> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper2) -> Self4606 fn from(value: &IShellUIHelper2) -> Self {
4607 ::std::convert::From::from(::std::clone::Clone::clone(value))
4608 }
4609 }
4610 #[cfg(feature = "Win32_System_Ole_Automation")]
4611 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4612 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4613 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4614 }
4615 }
4616 #[cfg(feature = "Win32_System_Ole_Automation")]
4617 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper2 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4618 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4619 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4620 }
4621 }
4622 #[repr(C)]
4623 #[doc(hidden)]
4624 pub struct IShellUIHelper2_abi(
4625 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4626 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4627 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4628 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4629 #[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,
4630 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4631 #[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,
4632 #[cfg(not(feature = "Win32_Foundation"))] usize,
4633 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4634 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4635 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4636 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4637 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4638 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4639 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4640 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4641 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4642 #[cfg(not(feature = "Win32_Foundation"))] usize,
4643 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4644 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4645 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4646 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4647 #[cfg(not(feature = "Win32_Foundation"))] usize,
4648 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4649 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4650 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4651 #[cfg(not(feature = "Win32_Foundation"))] usize,
4652 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4653 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4654 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4655 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4656 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4657 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4658 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4659 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4660 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4661 #[cfg(not(feature = "Win32_Foundation"))] usize,
4662 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4663 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4664 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4665 #[cfg(not(feature = "Win32_Foundation"))] usize,
4666 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
4667 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
4668 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4669 #[cfg(not(feature = "Win32_Foundation"))] usize,
4670 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4671 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4672 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
4673 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
4674 #[cfg(not(feature = "Win32_Foundation"))] usize,
4675 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
4676 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4677 #[cfg(not(feature = "Win32_Foundation"))] usize,
4678 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
4679 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
4680 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4681 #[cfg(not(feature = "Win32_Foundation"))] usize,
4682 );
4683 #[repr(transparent)]
4684 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
4685 pub struct IShellUIHelper3(::windows::runtime::IUnknown);
4686 impl IShellUIHelper3 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>4687 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
4688 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4689 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
4690 }
4691 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>4692 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
4693 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4694 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
4695 }
4696 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>4697 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
4698 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
4699 }
4700 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>4701 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
4702 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
4703 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>4704 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
4705 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
4706 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>4707 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
4708 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
4709 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>4710 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
4711 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
4712 }
4713 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4714 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4715 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
4716 }
4717 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4718 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4719 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4720 }
4721 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4722 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4723 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
4724 }
4725 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>4726 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
4727 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4728 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
4729 }
4730 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4731 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4732 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
4733 }
4734 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>4735 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
4736 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
4737 }
4738 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4739 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4740 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
4741 }
4742 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4743 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4744 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
4745 }
4746 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4747 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4748 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
4749 }
4750 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>4751 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
4752 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4753 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
4754 }
4755 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4756 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4757 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4758 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>4759 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
4760 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
4761 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>4762 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
4763 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
4764 }
4765 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>4766 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
4767 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
4768 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>4769 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
4770 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4771 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4772 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>4773 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
4774 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4775 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4776 }
4777 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4778 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4779 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4780 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4781 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>4782 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
4783 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
4784 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>4785 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
4786 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
4787 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>4788 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
4789 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
4790 }
4791 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>4792 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
4793 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4794 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
4795 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>4796 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
4797 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4798 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4799 }
4800 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4801 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4802 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4803 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4804 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>4805 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
4806 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
4807 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>4808 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
4809 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4810 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4811 }
4812 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>4813 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
4814 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4815 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
4816 }
4817 #[cfg(feature = "Win32_Foundation")]
AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>4818 pub unsafe fn AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
4819 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
4820 }
4821 #[cfg(feature = "Win32_Foundation")]
IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32>4822 pub unsafe fn IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32> {
4823 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4824 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), url.into_param().abi(), verb.into_param().abi(), &mut result__).from_abi::<u32>(result__)
4825 }
InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16>4826 pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
4827 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4828 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4829 }
4830 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>4831 pub unsafe fn AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
4832 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), url.into_param().abi(), title.into_param().abi(), ::std::mem::transmute(r#type)).ok()
4833 }
BuildNewTabPage(&self) -> ::windows::runtime::Result<()>4834 pub unsafe fn BuildNewTabPage(&self) -> ::windows::runtime::Result<()> {
4835 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
4836 }
SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>4837 pub unsafe fn SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
4838 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
4839 }
SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>4840 pub unsafe fn SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
4841 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
4842 }
ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()>4843 pub unsafe fn ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()> {
4844 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
4845 }
IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16>4846 pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16> {
4847 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
4848 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
4849 }
EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()>4850 pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()> {
4851 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenable)).ok()
4852 }
4853 #[cfg(feature = "Win32_Foundation")]
NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()>4854 pub unsafe fn NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()> {
4855 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstrrelativeurl.into_param().abi()).ok()
4856 }
ShowTabsHelp(&self) -> ::windows::runtime::Result<()>4857 pub unsafe fn ShowTabsHelp(&self) -> ::windows::runtime::Result<()> {
4858 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
4859 }
ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()>4860 pub unsafe fn ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()> {
4861 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)).ok()
4862 }
4863 }
4864 unsafe impl ::windows::runtime::Interface for IShellUIHelper3 {
4865 type Vtable = IShellUIHelper3_abi;
4866 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1385034476, 54297, 16572, [155, 109, 220, 219, 249, 193, 178, 93]);
4867 }
4868 impl ::std::convert::From<IShellUIHelper3> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper3) -> Self4869 fn from(value: IShellUIHelper3) -> Self {
4870 unsafe { ::std::mem::transmute(value) }
4871 }
4872 }
4873 impl ::std::convert::From<&IShellUIHelper3> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper3) -> Self4874 fn from(value: &IShellUIHelper3) -> Self {
4875 ::std::convert::From::from(::std::clone::Clone::clone(value))
4876 }
4877 }
4878 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4879 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4880 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
4881 }
4882 }
4883 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>4884 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
4885 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
4886 }
4887 }
4888 impl ::std::convert::From<IShellUIHelper3> for IShellUIHelper2 {
from(value: IShellUIHelper3) -> Self4889 fn from(value: IShellUIHelper3) -> Self {
4890 unsafe { ::std::mem::transmute(value) }
4891 }
4892 }
4893 impl ::std::convert::From<&IShellUIHelper3> for IShellUIHelper2 {
from(value: &IShellUIHelper3) -> Self4894 fn from(value: &IShellUIHelper3) -> Self {
4895 ::std::convert::From::from(::std::clone::Clone::clone(value))
4896 }
4897 }
4898 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>4899 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
4900 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(self))
4901 }
4902 }
4903 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for &IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>4904 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
4905 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(::std::clone::Clone::clone(self)))
4906 }
4907 }
4908 impl ::std::convert::From<IShellUIHelper3> for IShellUIHelper {
from(value: IShellUIHelper3) -> Self4909 fn from(value: IShellUIHelper3) -> Self {
4910 unsafe { ::std::mem::transmute(value) }
4911 }
4912 }
4913 impl ::std::convert::From<&IShellUIHelper3> for IShellUIHelper {
from(value: &IShellUIHelper3) -> Self4914 fn from(value: &IShellUIHelper3) -> Self {
4915 ::std::convert::From::from(::std::clone::Clone::clone(value))
4916 }
4917 }
4918 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>4919 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
4920 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
4921 }
4922 }
4923 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>4924 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
4925 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
4926 }
4927 }
4928 #[cfg(feature = "Win32_System_Ole_Automation")]
4929 impl ::std::convert::From<IShellUIHelper3> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper3) -> Self4930 fn from(value: IShellUIHelper3) -> Self {
4931 unsafe { ::std::mem::transmute(value) }
4932 }
4933 }
4934 #[cfg(feature = "Win32_System_Ole_Automation")]
4935 impl ::std::convert::From<&IShellUIHelper3> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper3) -> Self4936 fn from(value: &IShellUIHelper3) -> Self {
4937 ::std::convert::From::from(::std::clone::Clone::clone(value))
4938 }
4939 }
4940 #[cfg(feature = "Win32_System_Ole_Automation")]
4941 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4942 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4943 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
4944 }
4945 }
4946 #[cfg(feature = "Win32_System_Ole_Automation")]
4947 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper3 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>4948 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
4949 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
4950 }
4951 }
4952 #[repr(C)]
4953 #[doc(hidden)]
4954 pub struct IShellUIHelper3_abi(
4955 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4956 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4957 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
4958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
4959 #[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,
4960 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
4961 #[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,
4962 #[cfg(not(feature = "Win32_Foundation"))] usize,
4963 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
4965 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4968 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4969 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4970 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4971 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4972 #[cfg(not(feature = "Win32_Foundation"))] usize,
4973 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
4974 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4975 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4976 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
4977 #[cfg(not(feature = "Win32_Foundation"))] usize,
4978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4979 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4980 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4981 #[cfg(not(feature = "Win32_Foundation"))] usize,
4982 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4983 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4984 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4985 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4986 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4987 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4988 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
4989 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
4990 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4991 #[cfg(not(feature = "Win32_Foundation"))] usize,
4992 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4993 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
4994 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4995 #[cfg(not(feature = "Win32_Foundation"))] usize,
4996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
4997 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
4998 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
4999 #[cfg(not(feature = "Win32_Foundation"))] usize,
5000 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5001 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
5003 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5004 #[cfg(not(feature = "Win32_Foundation"))] usize,
5005 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
5006 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5007 #[cfg(not(feature = "Win32_Foundation"))] usize,
5008 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
5009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
5010 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5011 #[cfg(not(feature = "Win32_Foundation"))] usize,
5012 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5013 #[cfg(not(feature = "Win32_Foundation"))] usize,
5014 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, verb: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5015 #[cfg(not(feature = "Win32_Foundation"))] usize,
5016 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5017 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5018 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5019 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5020 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5021 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5022 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5023 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5024 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: i16) -> ::windows::runtime::HRESULT,
5025 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrrelativeurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5026 #[cfg(not(feature = "Win32_Foundation"))] usize,
5027 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5028 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5029 );
5030 #[repr(transparent)]
5031 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5032 pub struct IShellUIHelper4(::windows::runtime::IUnknown);
5033 impl IShellUIHelper4 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>5034 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
5035 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5036 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5037 }
5038 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>5039 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
5040 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5041 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
5042 }
5043 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>5044 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
5045 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
5046 }
5047 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>5048 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
5049 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
5050 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>5051 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
5052 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
5053 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>5054 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
5055 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
5056 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>5057 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
5058 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
5059 }
5060 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5061 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5062 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
5063 }
5064 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5065 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5066 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5067 }
5068 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5069 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5070 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
5071 }
5072 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>5073 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
5074 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5075 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
5076 }
5077 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5078 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5079 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
5080 }
5081 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>5082 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
5083 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
5084 }
5085 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5086 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5087 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
5088 }
5089 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5090 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5091 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
5092 }
5093 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5094 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5095 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
5096 }
5097 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>5098 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
5099 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5100 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5101 }
5102 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5103 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5104 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5105 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>5106 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
5107 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
5108 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>5109 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
5110 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
5111 }
5112 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>5113 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
5114 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
5115 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>5116 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
5117 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5118 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5119 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>5120 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
5121 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5122 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5123 }
5124 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5125 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5126 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5127 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5128 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>5129 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
5130 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
5131 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>5132 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
5133 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
5134 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>5135 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
5136 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
5137 }
5138 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>5139 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
5140 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5141 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
5142 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>5143 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
5144 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5145 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5146 }
5147 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5148 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5149 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5150 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5151 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>5152 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
5153 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
5154 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>5155 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
5156 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5157 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5158 }
5159 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5160 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5161 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5162 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5163 }
5164 #[cfg(feature = "Win32_Foundation")]
AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5165 pub unsafe fn AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5166 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5167 }
5168 #[cfg(feature = "Win32_Foundation")]
IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32>5169 pub unsafe fn IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32> {
5170 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5171 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), url.into_param().abi(), verb.into_param().abi(), &mut result__).from_abi::<u32>(result__)
5172 }
InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16>5173 pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
5174 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5175 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5176 }
5177 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5178 pub unsafe fn AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5179 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), url.into_param().abi(), title.into_param().abi(), ::std::mem::transmute(r#type)).ok()
5180 }
BuildNewTabPage(&self) -> ::windows::runtime::Result<()>5181 pub unsafe fn BuildNewTabPage(&self) -> ::windows::runtime::Result<()> {
5182 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
5183 }
SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>5184 pub unsafe fn SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
5185 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
5186 }
SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>5187 pub unsafe fn SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
5188 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
5189 }
ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()>5190 pub unsafe fn ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()> {
5191 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
5192 }
IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16>5193 pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16> {
5194 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5195 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5196 }
EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()>5197 pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()> {
5198 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenable)).ok()
5199 }
5200 #[cfg(feature = "Win32_Foundation")]
NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()>5201 pub unsafe fn NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()> {
5202 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstrrelativeurl.into_param().abi()).ok()
5203 }
ShowTabsHelp(&self) -> ::windows::runtime::Result<()>5204 pub unsafe fn ShowTabsHelp(&self) -> ::windows::runtime::Result<()> {
5205 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
5206 }
ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()>5207 pub unsafe fn ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()> {
5208 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)).ok()
5209 }
msIsSiteMode(&self) -> ::windows::runtime::Result<i16>5210 pub unsafe fn msIsSiteMode(&self) -> ::windows::runtime::Result<i16> {
5211 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5212 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5213 }
msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()>5214 pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()> {
5215 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self)).ok()
5216 }
5217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT>5218 pub unsafe fn msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT> {
5219 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5220 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5221 }
5222 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()>5223 pub unsafe fn msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()> {
5224 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), buttonid.into_param().abi(), ::std::mem::transmute(fenabled), ::std::mem::transmute(fvisible)).ok()
5225 }
5226 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5227 pub unsafe fn msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5228 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), iconurl.into_param().abi(), ::std::mem::transmute(pvardescription)).ok()
5229 }
msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()>5230 pub unsafe fn msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()> {
5231 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self)).ok()
5232 }
msAddSiteMode(&self) -> ::windows::runtime::Result<()>5233 pub unsafe fn msAddSiteMode(&self) -> ::windows::runtime::Result<()> {
5234 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok()
5235 }
5236 #[cfg(feature = "Win32_Foundation")]
msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()>5237 pub unsafe fn msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()> {
5238 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), bstrheader.into_param().abi()).ok()
5239 }
5240 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5241 pub unsafe fn msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5242 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstractionuri.into_param().abi(), bstriconuri.into_param().abi(), ::std::mem::transmute(pvarwindowtype)).ok()
5243 }
msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()>5244 pub unsafe fn msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()> {
5245 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self)).ok()
5246 }
msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()>5247 pub unsafe fn msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()> {
5248 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self)).ok()
5249 }
5250 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT>5251 pub unsafe fn msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT> {
5252 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5253 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5254 }
5255 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()>5256 pub unsafe fn msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()> {
5257 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), uistyleid.into_param().abi()).ok()
5258 }
msSiteModeActivate(&self) -> ::windows::runtime::Result<()>5259 pub unsafe fn msSiteModeActivate(&self) -> ::windows::runtime::Result<()> {
5260 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
5261 }
5262 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT>5263 pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT> {
5264 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5265 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(fpreservestate), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5266 }
5267 #[cfg(feature = "Win32_Foundation")]
msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()>5268 pub unsafe fn msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()> {
5269 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), url.into_param().abi(), bstrfiltername.into_param().abi()).ok()
5270 }
msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16>5271 pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16> {
5272 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5273 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5274 }
msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16>5275 pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
5276 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5277 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5278 }
5279 }
5280 unsafe impl ::windows::runtime::Interface for IShellUIHelper4 {
5281 type Vtable = IShellUIHelper4_abi;
5282 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3010357843, 32883, 18846, [130, 76, 215, 118, 51, 10, 51, 62]);
5283 }
5284 impl ::std::convert::From<IShellUIHelper4> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper4) -> Self5285 fn from(value: IShellUIHelper4) -> Self {
5286 unsafe { ::std::mem::transmute(value) }
5287 }
5288 }
5289 impl ::std::convert::From<&IShellUIHelper4> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper4) -> Self5290 fn from(value: &IShellUIHelper4) -> Self {
5291 ::std::convert::From::from(::std::clone::Clone::clone(value))
5292 }
5293 }
5294 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5295 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5296 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5297 }
5298 }
5299 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5300 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5301 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5302 }
5303 }
5304 impl ::std::convert::From<IShellUIHelper4> for IShellUIHelper3 {
from(value: IShellUIHelper4) -> Self5305 fn from(value: IShellUIHelper4) -> Self {
5306 unsafe { ::std::mem::transmute(value) }
5307 }
5308 }
5309 impl ::std::convert::From<&IShellUIHelper4> for IShellUIHelper3 {
from(value: &IShellUIHelper4) -> Self5310 fn from(value: &IShellUIHelper4) -> Self {
5311 ::std::convert::From::from(::std::clone::Clone::clone(value))
5312 }
5313 }
5314 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>5315 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
5316 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(self))
5317 }
5318 }
5319 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for &IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>5320 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
5321 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(::std::clone::Clone::clone(self)))
5322 }
5323 }
5324 impl ::std::convert::From<IShellUIHelper4> for IShellUIHelper2 {
from(value: IShellUIHelper4) -> Self5325 fn from(value: IShellUIHelper4) -> Self {
5326 unsafe { ::std::mem::transmute(value) }
5327 }
5328 }
5329 impl ::std::convert::From<&IShellUIHelper4> for IShellUIHelper2 {
from(value: &IShellUIHelper4) -> Self5330 fn from(value: &IShellUIHelper4) -> Self {
5331 ::std::convert::From::from(::std::clone::Clone::clone(value))
5332 }
5333 }
5334 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>5335 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
5336 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(self))
5337 }
5338 }
5339 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for &IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>5340 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
5341 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(::std::clone::Clone::clone(self)))
5342 }
5343 }
5344 impl ::std::convert::From<IShellUIHelper4> for IShellUIHelper {
from(value: IShellUIHelper4) -> Self5345 fn from(value: IShellUIHelper4) -> Self {
5346 unsafe { ::std::mem::transmute(value) }
5347 }
5348 }
5349 impl ::std::convert::From<&IShellUIHelper4> for IShellUIHelper {
from(value: &IShellUIHelper4) -> Self5350 fn from(value: &IShellUIHelper4) -> Self {
5351 ::std::convert::From::from(::std::clone::Clone::clone(value))
5352 }
5353 }
5354 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>5355 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
5356 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
5357 }
5358 }
5359 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>5360 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
5361 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
5362 }
5363 }
5364 #[cfg(feature = "Win32_System_Ole_Automation")]
5365 impl ::std::convert::From<IShellUIHelper4> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper4) -> Self5366 fn from(value: IShellUIHelper4) -> Self {
5367 unsafe { ::std::mem::transmute(value) }
5368 }
5369 }
5370 #[cfg(feature = "Win32_System_Ole_Automation")]
5371 impl ::std::convert::From<&IShellUIHelper4> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper4) -> Self5372 fn from(value: &IShellUIHelper4) -> Self {
5373 ::std::convert::From::from(::std::clone::Clone::clone(value))
5374 }
5375 }
5376 #[cfg(feature = "Win32_System_Ole_Automation")]
5377 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5378 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5379 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5380 }
5381 }
5382 #[cfg(feature = "Win32_System_Ole_Automation")]
5383 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper4 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5384 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5385 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5386 }
5387 }
5388 #[repr(C)]
5389 #[doc(hidden)]
5390 pub struct IShellUIHelper4_abi(
5391 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5392 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5393 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5394 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5395 #[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,
5396 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5397 #[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,
5398 #[cfg(not(feature = "Win32_Foundation"))] usize,
5399 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5400 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5401 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5402 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5403 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5404 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5405 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5406 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5407 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5408 #[cfg(not(feature = "Win32_Foundation"))] usize,
5409 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5410 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5411 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5412 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
5413 #[cfg(not(feature = "Win32_Foundation"))] usize,
5414 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5415 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5416 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5417 #[cfg(not(feature = "Win32_Foundation"))] usize,
5418 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5419 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5420 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5421 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5422 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5423 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5424 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5425 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5426 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5427 #[cfg(not(feature = "Win32_Foundation"))] usize,
5428 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5429 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5430 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5431 #[cfg(not(feature = "Win32_Foundation"))] usize,
5432 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5433 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5434 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5435 #[cfg(not(feature = "Win32_Foundation"))] usize,
5436 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5437 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5438 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
5439 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5440 #[cfg(not(feature = "Win32_Foundation"))] usize,
5441 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
5442 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5443 #[cfg(not(feature = "Win32_Foundation"))] usize,
5444 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
5445 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
5446 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5447 #[cfg(not(feature = "Win32_Foundation"))] usize,
5448 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5449 #[cfg(not(feature = "Win32_Foundation"))] usize,
5450 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, verb: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5451 #[cfg(not(feature = "Win32_Foundation"))] usize,
5452 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5454 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5455 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5456 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5457 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5458 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5459 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5460 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: i16) -> ::windows::runtime::HRESULT,
5461 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrrelativeurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5462 #[cfg(not(feature = "Win32_Foundation"))] usize,
5463 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5464 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5465 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfsitemode: *mut i16) -> ::windows::runtime::HRESULT,
5466 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5467 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarbuttonid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5468 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5469 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, fenabled: i16, fvisible: i16) -> ::windows::runtime::HRESULT,
5470 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5471 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvardescription: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5472 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5473 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5474 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5475 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5476 #[cfg(not(feature = "Win32_Foundation"))] usize,
5477 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstractionuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstriconuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarwindowtype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5478 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5479 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5480 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5481 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarstyleid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5482 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5483 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uistyleid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5484 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5485 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5486 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fpreservestate: i16, puifirstrun: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5487 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5488 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrfiltername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5489 #[cfg(not(feature = "Win32_Foundation"))] usize,
5490 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5491 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5492 );
5493 #[repr(transparent)]
5494 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
5495 pub struct IShellUIHelper5(::windows::runtime::IUnknown);
5496 impl IShellUIHelper5 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>5497 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
5498 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5499 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
5500 }
5501 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>5502 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
5503 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5504 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
5505 }
5506 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>5507 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
5508 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
5509 }
5510 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>5511 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
5512 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
5513 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>5514 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
5515 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
5516 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>5517 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
5518 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
5519 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>5520 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
5521 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
5522 }
5523 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5524 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5525 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
5526 }
5527 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5528 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5529 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5530 }
5531 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5532 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5533 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
5534 }
5535 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>5536 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
5537 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5538 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
5539 }
5540 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5541 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5542 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
5543 }
5544 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>5545 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
5546 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
5547 }
5548 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5549 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5550 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
5551 }
5552 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5553 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5554 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
5555 }
5556 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5557 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5558 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
5559 }
5560 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>5561 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
5562 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5563 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5564 }
5565 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5566 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5567 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5568 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>5569 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
5570 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
5571 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>5572 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
5573 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
5574 }
5575 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>5576 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
5577 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
5578 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>5579 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
5580 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5581 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5582 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>5583 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
5584 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5585 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5586 }
5587 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5588 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5589 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5590 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5591 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>5592 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
5593 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
5594 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>5595 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
5596 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
5597 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>5598 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
5599 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
5600 }
5601 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>5602 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
5603 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5604 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
5605 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>5606 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
5607 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5608 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5609 }
5610 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5611 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5612 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5613 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5614 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>5615 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
5616 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
5617 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>5618 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
5619 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5620 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5621 }
5622 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>5623 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
5624 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5625 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
5626 }
5627 #[cfg(feature = "Win32_Foundation")]
AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>5628 pub unsafe fn AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
5629 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
5630 }
5631 #[cfg(feature = "Win32_Foundation")]
IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32>5632 pub unsafe fn IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32> {
5633 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5634 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), url.into_param().abi(), verb.into_param().abi(), &mut result__).from_abi::<u32>(result__)
5635 }
InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16>5636 pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
5637 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5638 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5639 }
5640 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5641 pub unsafe fn AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5642 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), url.into_param().abi(), title.into_param().abi(), ::std::mem::transmute(r#type)).ok()
5643 }
BuildNewTabPage(&self) -> ::windows::runtime::Result<()>5644 pub unsafe fn BuildNewTabPage(&self) -> ::windows::runtime::Result<()> {
5645 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
5646 }
SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>5647 pub unsafe fn SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
5648 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
5649 }
SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>5650 pub unsafe fn SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
5651 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
5652 }
ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()>5653 pub unsafe fn ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()> {
5654 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
5655 }
IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16>5656 pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16> {
5657 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5658 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5659 }
EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()>5660 pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()> {
5661 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenable)).ok()
5662 }
5663 #[cfg(feature = "Win32_Foundation")]
NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()>5664 pub unsafe fn NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()> {
5665 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstrrelativeurl.into_param().abi()).ok()
5666 }
ShowTabsHelp(&self) -> ::windows::runtime::Result<()>5667 pub unsafe fn ShowTabsHelp(&self) -> ::windows::runtime::Result<()> {
5668 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
5669 }
ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()>5670 pub unsafe fn ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()> {
5671 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)).ok()
5672 }
msIsSiteMode(&self) -> ::windows::runtime::Result<i16>5673 pub unsafe fn msIsSiteMode(&self) -> ::windows::runtime::Result<i16> {
5674 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5675 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5676 }
msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()>5677 pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()> {
5678 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self)).ok()
5679 }
5680 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT>5681 pub unsafe fn msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT> {
5682 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5683 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5684 }
5685 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()>5686 pub unsafe fn msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()> {
5687 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), buttonid.into_param().abi(), ::std::mem::transmute(fenabled), ::std::mem::transmute(fvisible)).ok()
5688 }
5689 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5690 pub unsafe fn msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5691 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), iconurl.into_param().abi(), ::std::mem::transmute(pvardescription)).ok()
5692 }
msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()>5693 pub unsafe fn msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()> {
5694 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self)).ok()
5695 }
msAddSiteMode(&self) -> ::windows::runtime::Result<()>5696 pub unsafe fn msAddSiteMode(&self) -> ::windows::runtime::Result<()> {
5697 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok()
5698 }
5699 #[cfg(feature = "Win32_Foundation")]
msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()>5700 pub unsafe fn msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()> {
5701 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), bstrheader.into_param().abi()).ok()
5702 }
5703 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>5704 pub unsafe fn msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
5705 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstractionuri.into_param().abi(), bstriconuri.into_param().abi(), ::std::mem::transmute(pvarwindowtype)).ok()
5706 }
msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()>5707 pub unsafe fn msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()> {
5708 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self)).ok()
5709 }
msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()>5710 pub unsafe fn msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()> {
5711 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self)).ok()
5712 }
5713 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT>5714 pub unsafe fn msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT> {
5715 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5716 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5717 }
5718 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()>5719 pub unsafe fn msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()> {
5720 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), uistyleid.into_param().abi()).ok()
5721 }
msSiteModeActivate(&self) -> ::windows::runtime::Result<()>5722 pub unsafe fn msSiteModeActivate(&self) -> ::windows::runtime::Result<()> {
5723 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
5724 }
5725 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT>5726 pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT> {
5727 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5728 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(fpreservestate), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5729 }
5730 #[cfg(feature = "Win32_Foundation")]
msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()>5731 pub unsafe fn msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()> {
5732 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), url.into_param().abi(), bstrfiltername.into_param().abi()).ok()
5733 }
msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16>5734 pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16> {
5735 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5736 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5737 }
msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16>5738 pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
5739 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5740 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
5741 }
5742 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT>5743 pub unsafe fn msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT> {
5744 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
5745 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstrprovisioningxml.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
5746 }
msReportSafeUrl(&self) -> ::windows::runtime::Result<()>5747 pub unsafe fn msReportSafeUrl(&self) -> ::windows::runtime::Result<()> {
5748 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self)).ok()
5749 }
msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()>5750 pub unsafe fn msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()> {
5751 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self)).ok()
5752 }
msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()>5753 pub unsafe fn msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()> {
5754 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self)).ok()
5755 }
msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()>5756 pub unsafe fn msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()> {
5757 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self)).ok()
5758 }
msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()>5759 pub unsafe fn msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()> {
5760 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self)).ok()
5761 }
msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()>5762 pub unsafe fn msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()> {
5763 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
5764 }
5765 }
5766 unsafe impl ::windows::runtime::Interface for IShellUIHelper5 {
5767 type Vtable = IShellUIHelper5_abi;
5768 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2728430345, 4157, 19775, [185, 28, 234, 69, 92, 168, 46, 250]);
5769 }
5770 impl ::std::convert::From<IShellUIHelper5> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper5) -> Self5771 fn from(value: IShellUIHelper5) -> Self {
5772 unsafe { ::std::mem::transmute(value) }
5773 }
5774 }
5775 impl ::std::convert::From<&IShellUIHelper5> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper5) -> Self5776 fn from(value: &IShellUIHelper5) -> Self {
5777 ::std::convert::From::from(::std::clone::Clone::clone(value))
5778 }
5779 }
5780 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5781 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5782 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
5783 }
5784 }
5785 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>5786 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
5787 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
5788 }
5789 }
5790 impl ::std::convert::From<IShellUIHelper5> for IShellUIHelper4 {
from(value: IShellUIHelper5) -> Self5791 fn from(value: IShellUIHelper5) -> Self {
5792 unsafe { ::std::mem::transmute(value) }
5793 }
5794 }
5795 impl ::std::convert::From<&IShellUIHelper5> for IShellUIHelper4 {
from(value: &IShellUIHelper5) -> Self5796 fn from(value: &IShellUIHelper5) -> Self {
5797 ::std::convert::From::from(::std::clone::Clone::clone(value))
5798 }
5799 }
5800 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>5801 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
5802 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(self))
5803 }
5804 }
5805 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>5806 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
5807 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(::std::clone::Clone::clone(self)))
5808 }
5809 }
5810 impl ::std::convert::From<IShellUIHelper5> for IShellUIHelper3 {
from(value: IShellUIHelper5) -> Self5811 fn from(value: IShellUIHelper5) -> Self {
5812 unsafe { ::std::mem::transmute(value) }
5813 }
5814 }
5815 impl ::std::convert::From<&IShellUIHelper5> for IShellUIHelper3 {
from(value: &IShellUIHelper5) -> Self5816 fn from(value: &IShellUIHelper5) -> Self {
5817 ::std::convert::From::from(::std::clone::Clone::clone(value))
5818 }
5819 }
5820 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>5821 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
5822 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(self))
5823 }
5824 }
5825 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>5826 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
5827 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(::std::clone::Clone::clone(self)))
5828 }
5829 }
5830 impl ::std::convert::From<IShellUIHelper5> for IShellUIHelper2 {
from(value: IShellUIHelper5) -> Self5831 fn from(value: IShellUIHelper5) -> Self {
5832 unsafe { ::std::mem::transmute(value) }
5833 }
5834 }
5835 impl ::std::convert::From<&IShellUIHelper5> for IShellUIHelper2 {
from(value: &IShellUIHelper5) -> Self5836 fn from(value: &IShellUIHelper5) -> Self {
5837 ::std::convert::From::from(::std::clone::Clone::clone(value))
5838 }
5839 }
5840 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>5841 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
5842 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(self))
5843 }
5844 }
5845 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>5846 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
5847 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(::std::clone::Clone::clone(self)))
5848 }
5849 }
5850 impl ::std::convert::From<IShellUIHelper5> for IShellUIHelper {
from(value: IShellUIHelper5) -> Self5851 fn from(value: IShellUIHelper5) -> Self {
5852 unsafe { ::std::mem::transmute(value) }
5853 }
5854 }
5855 impl ::std::convert::From<&IShellUIHelper5> for IShellUIHelper {
from(value: &IShellUIHelper5) -> Self5856 fn from(value: &IShellUIHelper5) -> Self {
5857 ::std::convert::From::from(::std::clone::Clone::clone(value))
5858 }
5859 }
5860 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>5861 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
5862 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
5863 }
5864 }
5865 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>5866 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
5867 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
5868 }
5869 }
5870 #[cfg(feature = "Win32_System_Ole_Automation")]
5871 impl ::std::convert::From<IShellUIHelper5> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper5) -> Self5872 fn from(value: IShellUIHelper5) -> Self {
5873 unsafe { ::std::mem::transmute(value) }
5874 }
5875 }
5876 #[cfg(feature = "Win32_System_Ole_Automation")]
5877 impl ::std::convert::From<&IShellUIHelper5> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper5) -> Self5878 fn from(value: &IShellUIHelper5) -> Self {
5879 ::std::convert::From::from(::std::clone::Clone::clone(value))
5880 }
5881 }
5882 #[cfg(feature = "Win32_System_Ole_Automation")]
5883 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5884 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5885 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
5886 }
5887 }
5888 #[cfg(feature = "Win32_System_Ole_Automation")]
5889 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper5 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>5890 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
5891 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
5892 }
5893 }
5894 #[repr(C)]
5895 #[doc(hidden)]
5896 pub struct IShellUIHelper5_abi(
5897 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5898 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5899 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
5900 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
5901 #[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,
5902 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
5903 #[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,
5904 #[cfg(not(feature = "Win32_Foundation"))] usize,
5905 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5906 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
5907 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5908 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5909 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5910 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5911 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5912 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5913 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5914 #[cfg(not(feature = "Win32_Foundation"))] usize,
5915 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
5916 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5917 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5918 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
5919 #[cfg(not(feature = "Win32_Foundation"))] usize,
5920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5921 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5922 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5923 #[cfg(not(feature = "Win32_Foundation"))] usize,
5924 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5925 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5926 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5927 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::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, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::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 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5933 #[cfg(not(feature = "Win32_Foundation"))] usize,
5934 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5935 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5936 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5937 #[cfg(not(feature = "Win32_Foundation"))] usize,
5938 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5939 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5940 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5941 #[cfg(not(feature = "Win32_Foundation"))] usize,
5942 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5943 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5944 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
5945 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5946 #[cfg(not(feature = "Win32_Foundation"))] usize,
5947 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
5948 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5949 #[cfg(not(feature = "Win32_Foundation"))] usize,
5950 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
5951 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
5952 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5953 #[cfg(not(feature = "Win32_Foundation"))] usize,
5954 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5955 #[cfg(not(feature = "Win32_Foundation"))] usize,
5956 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, verb: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
5957 #[cfg(not(feature = "Win32_Foundation"))] usize,
5958 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5959 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5960 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5961 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5962 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5963 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
5964 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: i16) -> ::windows::runtime::HRESULT,
5967 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrrelativeurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5968 #[cfg(not(feature = "Win32_Foundation"))] usize,
5969 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5970 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5971 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfsitemode: *mut i16) -> ::windows::runtime::HRESULT,
5972 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5973 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarbuttonid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5974 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5975 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, fenabled: i16, fvisible: i16) -> ::windows::runtime::HRESULT,
5976 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5977 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvardescription: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5978 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5979 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5980 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5981 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5982 #[cfg(not(feature = "Win32_Foundation"))] usize,
5983 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstractionuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstriconuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarwindowtype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5984 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5985 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5986 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5987 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarstyleid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5988 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5989 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uistyleid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5990 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5991 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
5992 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fpreservestate: i16, puifirstrun: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5993 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
5994 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrfiltername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
5995 #[cfg(not(feature = "Win32_Foundation"))] usize,
5996 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5997 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
5998 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrprovisioningxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, puiresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
5999 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6000 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6001 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6002 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6003 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6004 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6005 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6006 );
6007 #[repr(transparent)]
6008 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6009 pub struct IShellUIHelper6(::windows::runtime::IUnknown);
6010 impl IShellUIHelper6 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>6011 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
6012 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6013 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6014 }
6015 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>6016 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
6017 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6018 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
6019 }
6020 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>6021 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
6022 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
6023 }
6024 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>6025 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
6026 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
6027 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>6028 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
6029 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
6030 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>6031 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
6032 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
6033 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>6034 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
6035 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
6036 }
6037 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6038 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6039 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
6040 }
6041 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6042 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6043 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6044 }
6045 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6046 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6047 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
6048 }
6049 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>6050 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
6051 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6052 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6053 }
6054 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6055 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6056 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
6057 }
6058 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>6059 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
6060 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
6061 }
6062 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6063 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6064 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
6065 }
6066 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6067 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6068 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
6069 }
6070 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6071 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6072 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
6073 }
6074 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>6075 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
6076 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6077 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6078 }
6079 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6080 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6081 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6082 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>6083 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
6084 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
6085 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>6086 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
6087 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
6088 }
6089 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>6090 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
6091 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
6092 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>6093 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
6094 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6095 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6096 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>6097 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
6098 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6099 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6100 }
6101 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6102 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6103 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6104 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6105 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>6106 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
6107 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
6108 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>6109 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
6110 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
6111 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>6112 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
6113 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
6114 }
6115 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>6116 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
6117 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6118 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
6119 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>6120 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
6121 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6122 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6123 }
6124 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6125 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6126 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6127 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6128 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>6129 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
6130 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
6131 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>6132 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
6133 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6134 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6135 }
6136 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6137 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6138 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6139 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6140 }
6141 #[cfg(feature = "Win32_Foundation")]
AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6142 pub unsafe fn AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6143 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6144 }
6145 #[cfg(feature = "Win32_Foundation")]
IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32>6146 pub unsafe fn IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32> {
6147 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6148 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), url.into_param().abi(), verb.into_param().abi(), &mut result__).from_abi::<u32>(result__)
6149 }
InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16>6150 pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
6151 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6152 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6153 }
6154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6155 pub unsafe fn AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6156 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), url.into_param().abi(), title.into_param().abi(), ::std::mem::transmute(r#type)).ok()
6157 }
BuildNewTabPage(&self) -> ::windows::runtime::Result<()>6158 pub unsafe fn BuildNewTabPage(&self) -> ::windows::runtime::Result<()> {
6159 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
6160 }
SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>6161 pub unsafe fn SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
6162 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
6163 }
SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>6164 pub unsafe fn SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
6165 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
6166 }
ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()>6167 pub unsafe fn ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()> {
6168 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
6169 }
IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16>6170 pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16> {
6171 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6172 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6173 }
EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()>6174 pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()> {
6175 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenable)).ok()
6176 }
6177 #[cfg(feature = "Win32_Foundation")]
NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()>6178 pub unsafe fn NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()> {
6179 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstrrelativeurl.into_param().abi()).ok()
6180 }
ShowTabsHelp(&self) -> ::windows::runtime::Result<()>6181 pub unsafe fn ShowTabsHelp(&self) -> ::windows::runtime::Result<()> {
6182 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
6183 }
ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()>6184 pub unsafe fn ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()> {
6185 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)).ok()
6186 }
msIsSiteMode(&self) -> ::windows::runtime::Result<i16>6187 pub unsafe fn msIsSiteMode(&self) -> ::windows::runtime::Result<i16> {
6188 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6189 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6190 }
msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()>6191 pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()> {
6192 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self)).ok()
6193 }
6194 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT>6195 pub unsafe fn msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT> {
6196 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6197 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6198 }
6199 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()>6200 pub unsafe fn msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()> {
6201 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), buttonid.into_param().abi(), ::std::mem::transmute(fenabled), ::std::mem::transmute(fvisible)).ok()
6202 }
6203 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6204 pub unsafe fn msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6205 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), iconurl.into_param().abi(), ::std::mem::transmute(pvardescription)).ok()
6206 }
msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()>6207 pub unsafe fn msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()> {
6208 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self)).ok()
6209 }
msAddSiteMode(&self) -> ::windows::runtime::Result<()>6210 pub unsafe fn msAddSiteMode(&self) -> ::windows::runtime::Result<()> {
6211 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok()
6212 }
6213 #[cfg(feature = "Win32_Foundation")]
msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()>6214 pub unsafe fn msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()> {
6215 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), bstrheader.into_param().abi()).ok()
6216 }
6217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6218 pub unsafe fn msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6219 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstractionuri.into_param().abi(), bstriconuri.into_param().abi(), ::std::mem::transmute(pvarwindowtype)).ok()
6220 }
msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()>6221 pub unsafe fn msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()> {
6222 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self)).ok()
6223 }
msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()>6224 pub unsafe fn msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()> {
6225 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self)).ok()
6226 }
6227 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT>6228 pub unsafe fn msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT> {
6229 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6230 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6231 }
6232 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()>6233 pub unsafe fn msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()> {
6234 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), uistyleid.into_param().abi()).ok()
6235 }
msSiteModeActivate(&self) -> ::windows::runtime::Result<()>6236 pub unsafe fn msSiteModeActivate(&self) -> ::windows::runtime::Result<()> {
6237 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
6238 }
6239 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT>6240 pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT> {
6241 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6242 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(fpreservestate), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6243 }
6244 #[cfg(feature = "Win32_Foundation")]
msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()>6245 pub unsafe fn msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()> {
6246 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), url.into_param().abi(), bstrfiltername.into_param().abi()).ok()
6247 }
msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16>6248 pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16> {
6249 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6250 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6251 }
msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16>6252 pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
6253 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6254 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6255 }
6256 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT>6257 pub unsafe fn msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT> {
6258 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6259 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstrprovisioningxml.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6260 }
msReportSafeUrl(&self) -> ::windows::runtime::Result<()>6261 pub unsafe fn msReportSafeUrl(&self) -> ::windows::runtime::Result<()> {
6262 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self)).ok()
6263 }
msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()>6264 pub unsafe fn msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()> {
6265 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self)).ok()
6266 }
msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()>6267 pub unsafe fn msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()> {
6268 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self)).ok()
6269 }
msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()>6270 pub unsafe fn msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()> {
6271 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self)).ok()
6272 }
msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()>6273 pub unsafe fn msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()> {
6274 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self)).ok()
6275 }
msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()>6276 pub unsafe fn msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6277 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6278 }
msStopPeriodicTileUpdate(&self) -> ::windows::runtime::Result<()>6279 pub unsafe fn msStopPeriodicTileUpdate(&self) -> ::windows::runtime::Result<()> {
6280 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self)).ok()
6281 }
6282 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicTileUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6283 pub unsafe fn msStartPeriodicTileUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6284 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), pollinguris.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6285 }
6286 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicTileUpdateBatch<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6287 pub unsafe fn msStartPeriodicTileUpdateBatch<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6288 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), pollinguris.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6289 }
msClearTile(&self) -> ::windows::runtime::Result<()>6290 pub unsafe fn msClearTile(&self) -> ::windows::runtime::Result<()> {
6291 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self)).ok()
6292 }
msEnableTileNotificationQueue(&self, fchange: i16) -> ::windows::runtime::Result<()>6293 pub unsafe fn msEnableTileNotificationQueue(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6294 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6295 }
6296 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msPinnedSiteState(&self) -> ::windows::runtime::Result<super::Com::VARIANT>6297 pub unsafe fn msPinnedSiteState(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
6298 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6299 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6300 }
msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::runtime::Result<()>6301 pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6302 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6303 }
msEnableTileNotificationQueueForWide310x150(&self, fchange: i16) -> ::windows::runtime::Result<()>6304 pub unsafe fn msEnableTileNotificationQueueForWide310x150(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6305 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6306 }
msEnableTileNotificationQueueForSquare310x310(&self, fchange: i16) -> ::windows::runtime::Result<()>6307 pub unsafe fn msEnableTileNotificationQueueForSquare310x310(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6308 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6309 }
6310 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param4: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>( &self, bstrnotificationxml: Param0, bstrnotificationid: Param1, bstrnotificationtag: Param2, starttime: Param3, expirationtime: Param4, ) -> ::windows::runtime::Result<()>6311 pub unsafe fn msScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param4: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(
6312 &self,
6313 bstrnotificationxml: Param0,
6314 bstrnotificationid: Param1,
6315 bstrnotificationtag: Param2,
6316 starttime: Param3,
6317 expirationtime: Param4,
6318 ) -> ::windows::runtime::Result<()> {
6319 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), bstrnotificationxml.into_param().abi(), bstrnotificationid.into_param().abi(), bstrnotificationtag.into_param().abi(), starttime.into_param().abi(), expirationtime.into_param().abi()).ok()
6320 }
6321 #[cfg(feature = "Win32_Foundation")]
msRemoveScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrnotificationid: Param0) -> ::windows::runtime::Result<()>6322 pub unsafe fn msRemoveScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrnotificationid: Param0) -> ::windows::runtime::Result<()> {
6323 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), bstrnotificationid.into_param().abi()).ok()
6324 }
6325 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicBadgeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguri: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6326 pub unsafe fn msStartPeriodicBadgeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguri: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6327 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), pollinguri.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6328 }
msStopPeriodicBadgeUpdate(&self) -> ::windows::runtime::Result<()>6329 pub unsafe fn msStopPeriodicBadgeUpdate(&self) -> ::windows::runtime::Result<()> {
6330 (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self)).ok()
6331 }
msLaunchInternetOptions(&self) -> ::windows::runtime::Result<()>6332 pub unsafe fn msLaunchInternetOptions(&self) -> ::windows::runtime::Result<()> {
6333 (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self)).ok()
6334 }
6335 }
6336 unsafe impl ::windows::runtime::Interface for IShellUIHelper6 {
6337 type Vtable = IShellUIHelper6_abi;
6338 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2558154558, 18158, 20105, [150, 171, 221, 247, 248, 253, 201, 140]);
6339 }
6340 impl ::std::convert::From<IShellUIHelper6> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper6) -> Self6341 fn from(value: IShellUIHelper6) -> Self {
6342 unsafe { ::std::mem::transmute(value) }
6343 }
6344 }
6345 impl ::std::convert::From<&IShellUIHelper6> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper6) -> Self6346 fn from(value: &IShellUIHelper6) -> Self {
6347 ::std::convert::From::from(::std::clone::Clone::clone(value))
6348 }
6349 }
6350 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6351 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6352 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
6353 }
6354 }
6355 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>6356 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
6357 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
6358 }
6359 }
6360 impl ::std::convert::From<IShellUIHelper6> for IShellUIHelper5 {
from(value: IShellUIHelper6) -> Self6361 fn from(value: IShellUIHelper6) -> Self {
6362 unsafe { ::std::mem::transmute(value) }
6363 }
6364 }
6365 impl ::std::convert::From<&IShellUIHelper6> for IShellUIHelper5 {
from(value: &IShellUIHelper6) -> Self6366 fn from(value: &IShellUIHelper6) -> Self {
6367 ::std::convert::From::from(::std::clone::Clone::clone(value))
6368 }
6369 }
6370 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper5> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5>6371 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5> {
6372 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper5>::into(self))
6373 }
6374 }
6375 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper5> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5>6376 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5> {
6377 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper5>::into(::std::clone::Clone::clone(self)))
6378 }
6379 }
6380 impl ::std::convert::From<IShellUIHelper6> for IShellUIHelper4 {
from(value: IShellUIHelper6) -> Self6381 fn from(value: IShellUIHelper6) -> Self {
6382 unsafe { ::std::mem::transmute(value) }
6383 }
6384 }
6385 impl ::std::convert::From<&IShellUIHelper6> for IShellUIHelper4 {
from(value: &IShellUIHelper6) -> Self6386 fn from(value: &IShellUIHelper6) -> Self {
6387 ::std::convert::From::from(::std::clone::Clone::clone(value))
6388 }
6389 }
6390 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>6391 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
6392 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(self))
6393 }
6394 }
6395 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>6396 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
6397 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(::std::clone::Clone::clone(self)))
6398 }
6399 }
6400 impl ::std::convert::From<IShellUIHelper6> for IShellUIHelper3 {
from(value: IShellUIHelper6) -> Self6401 fn from(value: IShellUIHelper6) -> Self {
6402 unsafe { ::std::mem::transmute(value) }
6403 }
6404 }
6405 impl ::std::convert::From<&IShellUIHelper6> for IShellUIHelper3 {
from(value: &IShellUIHelper6) -> Self6406 fn from(value: &IShellUIHelper6) -> Self {
6407 ::std::convert::From::from(::std::clone::Clone::clone(value))
6408 }
6409 }
6410 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>6411 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
6412 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(self))
6413 }
6414 }
6415 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>6416 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
6417 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(::std::clone::Clone::clone(self)))
6418 }
6419 }
6420 impl ::std::convert::From<IShellUIHelper6> for IShellUIHelper2 {
from(value: IShellUIHelper6) -> Self6421 fn from(value: IShellUIHelper6) -> Self {
6422 unsafe { ::std::mem::transmute(value) }
6423 }
6424 }
6425 impl ::std::convert::From<&IShellUIHelper6> for IShellUIHelper2 {
from(value: &IShellUIHelper6) -> Self6426 fn from(value: &IShellUIHelper6) -> Self {
6427 ::std::convert::From::from(::std::clone::Clone::clone(value))
6428 }
6429 }
6430 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>6431 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
6432 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(self))
6433 }
6434 }
6435 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>6436 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
6437 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(::std::clone::Clone::clone(self)))
6438 }
6439 }
6440 impl ::std::convert::From<IShellUIHelper6> for IShellUIHelper {
from(value: IShellUIHelper6) -> Self6441 fn from(value: IShellUIHelper6) -> Self {
6442 unsafe { ::std::mem::transmute(value) }
6443 }
6444 }
6445 impl ::std::convert::From<&IShellUIHelper6> for IShellUIHelper {
from(value: &IShellUIHelper6) -> Self6446 fn from(value: &IShellUIHelper6) -> Self {
6447 ::std::convert::From::from(::std::clone::Clone::clone(value))
6448 }
6449 }
6450 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>6451 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
6452 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
6453 }
6454 }
6455 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>6456 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
6457 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
6458 }
6459 }
6460 #[cfg(feature = "Win32_System_Ole_Automation")]
6461 impl ::std::convert::From<IShellUIHelper6> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper6) -> Self6462 fn from(value: IShellUIHelper6) -> Self {
6463 unsafe { ::std::mem::transmute(value) }
6464 }
6465 }
6466 #[cfg(feature = "Win32_System_Ole_Automation")]
6467 impl ::std::convert::From<&IShellUIHelper6> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper6) -> Self6468 fn from(value: &IShellUIHelper6) -> Self {
6469 ::std::convert::From::from(::std::clone::Clone::clone(value))
6470 }
6471 }
6472 #[cfg(feature = "Win32_System_Ole_Automation")]
6473 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>6474 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
6475 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
6476 }
6477 }
6478 #[cfg(feature = "Win32_System_Ole_Automation")]
6479 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper6 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>6480 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
6481 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
6482 }
6483 }
6484 #[repr(C)]
6485 #[doc(hidden)]
6486 pub struct IShellUIHelper6_abi(
6487 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6488 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6489 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
6490 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
6491 #[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,
6492 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
6493 #[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,
6494 #[cfg(not(feature = "Win32_Foundation"))] usize,
6495 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6496 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
6497 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6498 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6499 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6500 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6501 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6502 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6503 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6504 #[cfg(not(feature = "Win32_Foundation"))] usize,
6505 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6506 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6507 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6508 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
6509 #[cfg(not(feature = "Win32_Foundation"))] usize,
6510 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6511 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6512 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6513 #[cfg(not(feature = "Win32_Foundation"))] usize,
6514 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6515 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6516 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6517 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6518 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6519 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6520 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6521 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6522 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6523 #[cfg(not(feature = "Win32_Foundation"))] usize,
6524 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6525 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6526 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6527 #[cfg(not(feature = "Win32_Foundation"))] usize,
6528 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6529 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6530 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6531 #[cfg(not(feature = "Win32_Foundation"))] usize,
6532 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6533 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6534 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
6535 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
6536 #[cfg(not(feature = "Win32_Foundation"))] usize,
6537 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
6538 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6539 #[cfg(not(feature = "Win32_Foundation"))] usize,
6540 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
6541 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
6542 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6543 #[cfg(not(feature = "Win32_Foundation"))] usize,
6544 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6545 #[cfg(not(feature = "Win32_Foundation"))] usize,
6546 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, verb: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
6547 #[cfg(not(feature = "Win32_Foundation"))] usize,
6548 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6549 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6550 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6551 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6552 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
6553 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
6554 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6555 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6556 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: i16) -> ::windows::runtime::HRESULT,
6557 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrrelativeurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6558 #[cfg(not(feature = "Win32_Foundation"))] usize,
6559 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6560 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6561 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfsitemode: *mut i16) -> ::windows::runtime::HRESULT,
6562 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6563 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarbuttonid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6564 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6565 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, fenabled: i16, fvisible: i16) -> ::windows::runtime::HRESULT,
6566 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6567 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvardescription: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6568 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6569 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6570 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6571 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6572 #[cfg(not(feature = "Win32_Foundation"))] usize,
6573 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstractionuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstriconuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarwindowtype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6574 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6575 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6576 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6577 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarstyleid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6578 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6579 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uistyleid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6580 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6581 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6582 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fpreservestate: i16, puifirstrun: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6583 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6584 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrfiltername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6585 #[cfg(not(feature = "Win32_Foundation"))] usize,
6586 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6587 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
6588 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrprovisioningxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, puiresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6589 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6590 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6591 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6592 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6595 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6596 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6597 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguris: ::std::mem::ManuallyDrop<super::Com::VARIANT>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6598 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6599 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguris: ::std::mem::ManuallyDrop<super::Com::VARIANT>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6600 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6601 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6602 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6603 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsitestate: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6604 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6605 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6606 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6607 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
6608 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
6609 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrnotificationxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrnotificationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrnotificationtag: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, expirationtime: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6610 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6611 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrnotificationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
6612 #[cfg(not(feature = "Win32_Foundation"))] usize,
6613 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
6614 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
6615 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6616 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
6617 );
6618 #[repr(transparent)]
6619 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
6620 pub struct IShellUIHelper7(::windows::runtime::IUnknown);
6621 impl IShellUIHelper7 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>6622 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
6623 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6624 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
6625 }
6626 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>6627 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
6628 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6629 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
6630 }
6631 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>6632 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
6633 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
6634 }
6635 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>6636 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
6637 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
6638 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>6639 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
6640 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
6641 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>6642 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
6643 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
6644 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>6645 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
6646 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
6647 }
6648 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6649 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6650 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
6651 }
6652 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6653 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6654 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6655 }
6656 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6657 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6658 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
6659 }
6660 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>6661 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
6662 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6663 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6664 }
6665 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6666 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6667 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
6668 }
6669 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>6670 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
6671 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
6672 }
6673 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6674 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6675 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
6676 }
6677 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6678 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6679 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
6680 }
6681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6682 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6683 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
6684 }
6685 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>6686 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
6687 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6688 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6689 }
6690 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6691 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6692 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6693 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>6694 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
6695 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
6696 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>6697 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
6698 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
6699 }
6700 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>6701 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
6702 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
6703 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>6704 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
6705 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6706 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6707 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>6708 pub unsafe fn PhishingEnabled(&self) -> ::windows::runtime::Result<i16> {
6709 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6710 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6711 }
6712 #[cfg(feature = "Win32_Foundation")]
BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6713 pub unsafe fn BrandImageUri(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6714 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6715 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6716 }
SkipTabsWelcome(&self) -> ::windows::runtime::Result<()>6717 pub unsafe fn SkipTabsWelcome(&self) -> ::windows::runtime::Result<()> {
6718 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
6719 }
DiagnoseConnection(&self) -> ::windows::runtime::Result<()>6720 pub unsafe fn DiagnoseConnection(&self) -> ::windows::runtime::Result<()> {
6721 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self)).ok()
6722 }
CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()>6723 pub unsafe fn CustomizeClearType(&self, fset: i16) -> ::windows::runtime::Result<()> {
6724 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), ::std::mem::transmute(fset)).ok()
6725 }
6726 #[cfg(feature = "Win32_Foundation")]
IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32>6727 pub unsafe fn IsSearchProviderInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<u32> {
6728 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6729 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<u32>(result__)
6730 }
IsSearchMigrated(&self) -> ::windows::runtime::Result<i16>6731 pub unsafe fn IsSearchMigrated(&self) -> ::windows::runtime::Result<i16> {
6732 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6733 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6734 }
6735 #[cfg(feature = "Win32_Foundation")]
DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6736 pub unsafe fn DefaultSearchProvider(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6737 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6738 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6739 }
RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()>6740 pub unsafe fn RunOnceRequiredSettingsComplete(&self, fcomplete: i16) -> ::windows::runtime::Result<()> {
6741 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self), ::std::mem::transmute(fcomplete)).ok()
6742 }
RunOnceHasShown(&self) -> ::windows::runtime::Result<i16>6743 pub unsafe fn RunOnceHasShown(&self) -> ::windows::runtime::Result<i16> {
6744 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6745 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6746 }
6747 #[cfg(feature = "Win32_Foundation")]
SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR>6748 pub unsafe fn SearchGuideUrl(&self) -> ::windows::runtime::Result<super::super::Foundation::BSTR> {
6749 let mut result__: <super::super::Foundation::BSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6750 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BSTR>(result__)
6751 }
6752 #[cfg(feature = "Win32_Foundation")]
AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>6753 pub unsafe fn AddService<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
6754 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
6755 }
6756 #[cfg(feature = "Win32_Foundation")]
IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32>6757 pub unsafe fn IsServiceInstalled<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, verb: Param1) -> ::windows::runtime::Result<u32> {
6758 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6759 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), url.into_param().abi(), verb.into_param().abi(), &mut result__).from_abi::<u32>(result__)
6760 }
InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16>6761 pub unsafe fn InPrivateFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
6762 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6763 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6764 }
6765 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6766 pub unsafe fn AddToFavoritesBar<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: Param1, r#type: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6767 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), url.into_param().abi(), title.into_param().abi(), ::std::mem::transmute(r#type)).ok()
6768 }
BuildNewTabPage(&self) -> ::windows::runtime::Result<()>6769 pub unsafe fn BuildNewTabPage(&self) -> ::windows::runtime::Result<()> {
6770 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self)).ok()
6771 }
SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>6772 pub unsafe fn SetRecentlyClosedVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
6773 (::windows::runtime::Interface::vtable(self).41)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
6774 }
SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()>6775 pub unsafe fn SetActivitiesVisible(&self, fvisible: i16) -> ::windows::runtime::Result<()> {
6776 (::windows::runtime::Interface::vtable(self).42)(::std::mem::transmute_copy(self), ::std::mem::transmute(fvisible)).ok()
6777 }
ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()>6778 pub unsafe fn ContentDiscoveryReset(&self) -> ::windows::runtime::Result<()> {
6779 (::windows::runtime::Interface::vtable(self).43)(::std::mem::transmute_copy(self)).ok()
6780 }
IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16>6781 pub unsafe fn IsSuggestedSitesEnabled(&self) -> ::windows::runtime::Result<i16> {
6782 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6783 (::windows::runtime::Interface::vtable(self).44)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6784 }
EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()>6785 pub unsafe fn EnableSuggestedSites(&self, fenable: i16) -> ::windows::runtime::Result<()> {
6786 (::windows::runtime::Interface::vtable(self).45)(::std::mem::transmute_copy(self), ::std::mem::transmute(fenable)).ok()
6787 }
6788 #[cfg(feature = "Win32_Foundation")]
NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()>6789 pub unsafe fn NavigateToSuggestedSites<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrrelativeurl: Param0) -> ::windows::runtime::Result<()> {
6790 (::windows::runtime::Interface::vtable(self).46)(::std::mem::transmute_copy(self), bstrrelativeurl.into_param().abi()).ok()
6791 }
ShowTabsHelp(&self) -> ::windows::runtime::Result<()>6792 pub unsafe fn ShowTabsHelp(&self) -> ::windows::runtime::Result<()> {
6793 (::windows::runtime::Interface::vtable(self).47)(::std::mem::transmute_copy(self)).ok()
6794 }
ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()>6795 pub unsafe fn ShowInPrivateHelp(&self) -> ::windows::runtime::Result<()> {
6796 (::windows::runtime::Interface::vtable(self).48)(::std::mem::transmute_copy(self)).ok()
6797 }
msIsSiteMode(&self) -> ::windows::runtime::Result<i16>6798 pub unsafe fn msIsSiteMode(&self) -> ::windows::runtime::Result<i16> {
6799 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6800 (::windows::runtime::Interface::vtable(self).49)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6801 }
msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()>6802 pub unsafe fn msSiteModeShowThumbBar(&self) -> ::windows::runtime::Result<()> {
6803 (::windows::runtime::Interface::vtable(self).50)(::std::mem::transmute_copy(self)).ok()
6804 }
6805 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT>6806 pub unsafe fn msSiteModeAddThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstriconurl: Param0, bstrtooltip: Param1) -> ::windows::runtime::Result<super::Com::VARIANT> {
6807 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6808 (::windows::runtime::Interface::vtable(self).51)(::std::mem::transmute_copy(self), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6809 }
6810 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()>6811 pub unsafe fn msSiteModeUpdateThumbBarButton<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, buttonid: Param0, fenabled: i16, fvisible: i16) -> ::windows::runtime::Result<()> {
6812 (::windows::runtime::Interface::vtable(self).52)(::std::mem::transmute_copy(self), buttonid.into_param().abi(), ::std::mem::transmute(fenabled), ::std::mem::transmute(fvisible)).ok()
6813 }
6814 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6815 pub unsafe fn msSiteModeSetIconOverlay<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, iconurl: Param0, pvardescription: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6816 (::windows::runtime::Interface::vtable(self).53)(::std::mem::transmute_copy(self), iconurl.into_param().abi(), ::std::mem::transmute(pvardescription)).ok()
6817 }
msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()>6818 pub unsafe fn msSiteModeClearIconOverlay(&self) -> ::windows::runtime::Result<()> {
6819 (::windows::runtime::Interface::vtable(self).54)(::std::mem::transmute_copy(self)).ok()
6820 }
msAddSiteMode(&self) -> ::windows::runtime::Result<()>6821 pub unsafe fn msAddSiteMode(&self) -> ::windows::runtime::Result<()> {
6822 (::windows::runtime::Interface::vtable(self).55)(::std::mem::transmute_copy(self)).ok()
6823 }
6824 #[cfg(feature = "Win32_Foundation")]
msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()>6825 pub unsafe fn msSiteModeCreateJumpList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrheader: Param0) -> ::windows::runtime::Result<()> {
6826 (::windows::runtime::Interface::vtable(self).56)(::std::mem::transmute_copy(self), bstrheader.into_param().abi()).ok()
6827 }
6828 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>6829 pub unsafe fn msSiteModeAddJumpListItem<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, bstractionuri: Param1, bstriconuri: Param2, pvarwindowtype: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
6830 (::windows::runtime::Interface::vtable(self).57)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), bstractionuri.into_param().abi(), bstriconuri.into_param().abi(), ::std::mem::transmute(pvarwindowtype)).ok()
6831 }
msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()>6832 pub unsafe fn msSiteModeClearJumpList(&self) -> ::windows::runtime::Result<()> {
6833 (::windows::runtime::Interface::vtable(self).58)(::std::mem::transmute_copy(self)).ok()
6834 }
msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()>6835 pub unsafe fn msSiteModeShowJumpList(&self) -> ::windows::runtime::Result<()> {
6836 (::windows::runtime::Interface::vtable(self).59)(::std::mem::transmute_copy(self)).ok()
6837 }
6838 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT>6839 pub unsafe fn msSiteModeAddButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, uibuttonid: Param0, bstriconurl: Param1, bstrtooltip: Param2) -> ::windows::runtime::Result<super::Com::VARIANT> {
6840 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6841 (::windows::runtime::Interface::vtable(self).60)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), bstriconurl.into_param().abi(), bstrtooltip.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6842 }
6843 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()>6844 pub unsafe fn msSiteModeShowButtonStyle<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, uibuttonid: Param0, uistyleid: Param1) -> ::windows::runtime::Result<()> {
6845 (::windows::runtime::Interface::vtable(self).61)(::std::mem::transmute_copy(self), uibuttonid.into_param().abi(), uistyleid.into_param().abi()).ok()
6846 }
msSiteModeActivate(&self) -> ::windows::runtime::Result<()>6847 pub unsafe fn msSiteModeActivate(&self) -> ::windows::runtime::Result<()> {
6848 (::windows::runtime::Interface::vtable(self).62)(::std::mem::transmute_copy(self)).ok()
6849 }
6850 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT>6851 pub unsafe fn msIsSiteModeFirstRun(&self, fpreservestate: i16) -> ::windows::runtime::Result<super::Com::VARIANT> {
6852 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6853 (::windows::runtime::Interface::vtable(self).63)(::std::mem::transmute_copy(self), ::std::mem::transmute(fpreservestate), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6854 }
6855 #[cfg(feature = "Win32_Foundation")]
msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()>6856 pub unsafe fn msAddTrackingProtectionList<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, bstrfiltername: Param1) -> ::windows::runtime::Result<()> {
6857 (::windows::runtime::Interface::vtable(self).64)(::std::mem::transmute_copy(self), url.into_param().abi(), bstrfiltername.into_param().abi()).ok()
6858 }
msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16>6859 pub unsafe fn msTrackingProtectionEnabled(&self) -> ::windows::runtime::Result<i16> {
6860 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6861 (::windows::runtime::Interface::vtable(self).65)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6862 }
msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16>6863 pub unsafe fn msActiveXFilteringEnabled(&self) -> ::windows::runtime::Result<i16> {
6864 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6865 (::windows::runtime::Interface::vtable(self).66)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
6866 }
6867 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT>6868 pub unsafe fn msProvisionNetworks<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrprovisioningxml: Param0) -> ::windows::runtime::Result<super::Com::VARIANT> {
6869 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6870 (::windows::runtime::Interface::vtable(self).67)(::std::mem::transmute_copy(self), bstrprovisioningxml.into_param().abi(), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6871 }
msReportSafeUrl(&self) -> ::windows::runtime::Result<()>6872 pub unsafe fn msReportSafeUrl(&self) -> ::windows::runtime::Result<()> {
6873 (::windows::runtime::Interface::vtable(self).68)(::std::mem::transmute_copy(self)).ok()
6874 }
msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()>6875 pub unsafe fn msSiteModeRefreshBadge(&self) -> ::windows::runtime::Result<()> {
6876 (::windows::runtime::Interface::vtable(self).69)(::std::mem::transmute_copy(self)).ok()
6877 }
msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()>6878 pub unsafe fn msSiteModeClearBadge(&self) -> ::windows::runtime::Result<()> {
6879 (::windows::runtime::Interface::vtable(self).70)(::std::mem::transmute_copy(self)).ok()
6880 }
msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()>6881 pub unsafe fn msDiagnoseConnectionUILess(&self) -> ::windows::runtime::Result<()> {
6882 (::windows::runtime::Interface::vtable(self).71)(::std::mem::transmute_copy(self)).ok()
6883 }
msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()>6884 pub unsafe fn msLaunchNetworkClientHelp(&self) -> ::windows::runtime::Result<()> {
6885 (::windows::runtime::Interface::vtable(self).72)(::std::mem::transmute_copy(self)).ok()
6886 }
msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()>6887 pub unsafe fn msChangeDefaultBrowser(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6888 (::windows::runtime::Interface::vtable(self).73)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6889 }
msStopPeriodicTileUpdate(&self) -> ::windows::runtime::Result<()>6890 pub unsafe fn msStopPeriodicTileUpdate(&self) -> ::windows::runtime::Result<()> {
6891 (::windows::runtime::Interface::vtable(self).74)(::std::mem::transmute_copy(self)).ok()
6892 }
6893 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicTileUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6894 pub unsafe fn msStartPeriodicTileUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6895 (::windows::runtime::Interface::vtable(self).75)(::std::mem::transmute_copy(self), pollinguris.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6896 }
6897 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicTileUpdateBatch<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6898 pub unsafe fn msStartPeriodicTileUpdateBatch<'a, Param0: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguris: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6899 (::windows::runtime::Interface::vtable(self).76)(::std::mem::transmute_copy(self), pollinguris.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6900 }
msClearTile(&self) -> ::windows::runtime::Result<()>6901 pub unsafe fn msClearTile(&self) -> ::windows::runtime::Result<()> {
6902 (::windows::runtime::Interface::vtable(self).77)(::std::mem::transmute_copy(self)).ok()
6903 }
msEnableTileNotificationQueue(&self, fchange: i16) -> ::windows::runtime::Result<()>6904 pub unsafe fn msEnableTileNotificationQueue(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6905 (::windows::runtime::Interface::vtable(self).78)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6906 }
6907 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msPinnedSiteState(&self) -> ::windows::runtime::Result<super::Com::VARIANT>6908 pub unsafe fn msPinnedSiteState(&self) -> ::windows::runtime::Result<super::Com::VARIANT> {
6909 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6910 (::windows::runtime::Interface::vtable(self).79)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::Com::VARIANT>(result__)
6911 }
msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::runtime::Result<()>6912 pub unsafe fn msEnableTileNotificationQueueForSquare150x150(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6913 (::windows::runtime::Interface::vtable(self).80)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6914 }
msEnableTileNotificationQueueForWide310x150(&self, fchange: i16) -> ::windows::runtime::Result<()>6915 pub unsafe fn msEnableTileNotificationQueueForWide310x150(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6916 (::windows::runtime::Interface::vtable(self).81)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6917 }
msEnableTileNotificationQueueForSquare310x310(&self, fchange: i16) -> ::windows::runtime::Result<()>6918 pub unsafe fn msEnableTileNotificationQueueForSquare310x310(&self, fchange: i16) -> ::windows::runtime::Result<()> {
6919 (::windows::runtime::Interface::vtable(self).82)(::std::mem::transmute_copy(self), ::std::mem::transmute(fchange)).ok()
6920 }
6921 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param4: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>( &self, bstrnotificationxml: Param0, bstrnotificationid: Param1, bstrnotificationtag: Param2, starttime: Param3, expirationtime: Param4, ) -> ::windows::runtime::Result<()>6922 pub unsafe fn msScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param3: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param4: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(
6923 &self,
6924 bstrnotificationxml: Param0,
6925 bstrnotificationid: Param1,
6926 bstrnotificationtag: Param2,
6927 starttime: Param3,
6928 expirationtime: Param4,
6929 ) -> ::windows::runtime::Result<()> {
6930 (::windows::runtime::Interface::vtable(self).83)(::std::mem::transmute_copy(self), bstrnotificationxml.into_param().abi(), bstrnotificationid.into_param().abi(), bstrnotificationtag.into_param().abi(), starttime.into_param().abi(), expirationtime.into_param().abi()).ok()
6931 }
6932 #[cfg(feature = "Win32_Foundation")]
msRemoveScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrnotificationid: Param0) -> ::windows::runtime::Result<()>6933 pub unsafe fn msRemoveScheduledTileNotification<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrnotificationid: Param0) -> ::windows::runtime::Result<()> {
6934 (::windows::runtime::Interface::vtable(self).84)(::std::mem::transmute_copy(self), bstrnotificationid.into_param().abi()).ok()
6935 }
6936 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
msStartPeriodicBadgeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguri: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()>6937 pub unsafe fn msStartPeriodicBadgeUpdate<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>, Param2: ::windows::runtime::IntoParam<'a, super::Com::VARIANT>>(&self, pollinguri: Param0, starttime: Param1, uiupdaterecurrence: Param2) -> ::windows::runtime::Result<()> {
6938 (::windows::runtime::Interface::vtable(self).85)(::std::mem::transmute_copy(self), pollinguri.into_param().abi(), starttime.into_param().abi(), uiupdaterecurrence.into_param().abi()).ok()
6939 }
msStopPeriodicBadgeUpdate(&self) -> ::windows::runtime::Result<()>6940 pub unsafe fn msStopPeriodicBadgeUpdate(&self) -> ::windows::runtime::Result<()> {
6941 (::windows::runtime::Interface::vtable(self).86)(::std::mem::transmute_copy(self)).ok()
6942 }
msLaunchInternetOptions(&self) -> ::windows::runtime::Result<()>6943 pub unsafe fn msLaunchInternetOptions(&self) -> ::windows::runtime::Result<()> {
6944 (::windows::runtime::Interface::vtable(self).87)(::std::mem::transmute_copy(self)).ok()
6945 }
6946 #[cfg(feature = "Win32_Foundation")]
SetExperimentalFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrflagstring: Param0, vfflag: i16) -> ::windows::runtime::Result<()>6947 pub unsafe fn SetExperimentalFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrflagstring: Param0, vfflag: i16) -> ::windows::runtime::Result<()> {
6948 (::windows::runtime::Interface::vtable(self).88)(::std::mem::transmute_copy(self), bstrflagstring.into_param().abi(), ::std::mem::transmute(vfflag)).ok()
6949 }
6950 #[cfg(feature = "Win32_Foundation")]
GetExperimentalFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrflagstring: Param0) -> ::windows::runtime::Result<i16>6951 pub unsafe fn GetExperimentalFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrflagstring: Param0) -> ::windows::runtime::Result<i16> {
6952 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6953 (::windows::runtime::Interface::vtable(self).89)(::std::mem::transmute_copy(self), bstrflagstring.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6954 }
6955 #[cfg(feature = "Win32_Foundation")]
SetExperimentalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrvaluestring: Param0, dwvalue: u32) -> ::windows::runtime::Result<()>6956 pub unsafe fn SetExperimentalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrvaluestring: Param0, dwvalue: u32) -> ::windows::runtime::Result<()> {
6957 (::windows::runtime::Interface::vtable(self).90)(::std::mem::transmute_copy(self), bstrvaluestring.into_param().abi(), ::std::mem::transmute(dwvalue)).ok()
6958 }
6959 #[cfg(feature = "Win32_Foundation")]
GetExperimentalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrvaluestring: Param0) -> ::windows::runtime::Result<u32>6960 pub unsafe fn GetExperimentalValue<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrvaluestring: Param0) -> ::windows::runtime::Result<u32> {
6961 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6962 (::windows::runtime::Interface::vtable(self).91)(::std::mem::transmute_copy(self), bstrvaluestring.into_param().abi(), &mut result__).from_abi::<u32>(result__)
6963 }
ResetAllExperimentalFlagsAndValues(&self) -> ::windows::runtime::Result<()>6964 pub unsafe fn ResetAllExperimentalFlagsAndValues(&self) -> ::windows::runtime::Result<()> {
6965 (::windows::runtime::Interface::vtable(self).92)(::std::mem::transmute_copy(self)).ok()
6966 }
6967 #[cfg(feature = "Win32_Foundation")]
GetNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<i16>6968 pub unsafe fn GetNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<i16> {
6969 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6970 (::windows::runtime::Interface::vtable(self).93)(::std::mem::transmute_copy(self), bstrurl.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6971 }
6972 #[cfg(feature = "Win32_Foundation")]
SetNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0, flag: i16) -> ::windows::runtime::Result<()>6973 pub unsafe fn SetNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0, flag: i16) -> ::windows::runtime::Result<()> {
6974 (::windows::runtime::Interface::vtable(self).94)(::std::mem::transmute_copy(self), bstrurl.into_param().abi(), ::std::mem::transmute(flag)).ok()
6975 }
6976 #[cfg(feature = "Win32_Foundation")]
HasNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<i16>6977 pub unsafe fn HasNeedIEAutoLaunchFlag<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0) -> ::windows::runtime::Result<i16> {
6978 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
6979 (::windows::runtime::Interface::vtable(self).95)(::std::mem::transmute_copy(self), bstrurl.into_param().abi(), &mut result__).from_abi::<i16>(result__)
6980 }
6981 #[cfg(feature = "Win32_Foundation")]
LaunchIE<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0, automated: i16) -> ::windows::runtime::Result<()>6982 pub unsafe fn LaunchIE<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrurl: Param0, automated: i16) -> ::windows::runtime::Result<()> {
6983 (::windows::runtime::Interface::vtable(self).96)(::std::mem::transmute_copy(self), bstrurl.into_param().abi(), ::std::mem::transmute(automated)).ok()
6984 }
6985 }
6986 unsafe impl ::windows::runtime::Interface for IShellUIHelper7 {
6987 type Vtable = IShellUIHelper7_abi;
6988 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1625647048, 38259, 19122, [162, 100, 99, 124, 108, 22, 28, 177]);
6989 }
6990 impl ::std::convert::From<IShellUIHelper7> for ::windows::runtime::IUnknown {
from(value: IShellUIHelper7) -> Self6991 fn from(value: IShellUIHelper7) -> Self {
6992 unsafe { ::std::mem::transmute(value) }
6993 }
6994 }
6995 impl ::std::convert::From<&IShellUIHelper7> for ::windows::runtime::IUnknown {
from(value: &IShellUIHelper7) -> Self6996 fn from(value: &IShellUIHelper7) -> Self {
6997 ::std::convert::From::from(::std::clone::Clone::clone(value))
6998 }
6999 }
7000 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7001 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7002 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
7003 }
7004 }
7005 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>7006 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
7007 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
7008 }
7009 }
7010 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper6 {
from(value: IShellUIHelper7) -> Self7011 fn from(value: IShellUIHelper7) -> Self {
7012 unsafe { ::std::mem::transmute(value) }
7013 }
7014 }
7015 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper6 {
from(value: &IShellUIHelper7) -> Self7016 fn from(value: &IShellUIHelper7) -> Self {
7017 ::std::convert::From::from(::std::clone::Clone::clone(value))
7018 }
7019 }
7020 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper6> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper6>7021 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper6> {
7022 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper6>::into(self))
7023 }
7024 }
7025 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper6> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper6>7026 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper6> {
7027 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper6>::into(::std::clone::Clone::clone(self)))
7028 }
7029 }
7030 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper5 {
from(value: IShellUIHelper7) -> Self7031 fn from(value: IShellUIHelper7) -> Self {
7032 unsafe { ::std::mem::transmute(value) }
7033 }
7034 }
7035 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper5 {
from(value: &IShellUIHelper7) -> Self7036 fn from(value: &IShellUIHelper7) -> Self {
7037 ::std::convert::From::from(::std::clone::Clone::clone(value))
7038 }
7039 }
7040 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper5> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5>7041 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5> {
7042 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper5>::into(self))
7043 }
7044 }
7045 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper5> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5>7046 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper5> {
7047 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper5>::into(::std::clone::Clone::clone(self)))
7048 }
7049 }
7050 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper4 {
from(value: IShellUIHelper7) -> Self7051 fn from(value: IShellUIHelper7) -> Self {
7052 unsafe { ::std::mem::transmute(value) }
7053 }
7054 }
7055 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper4 {
from(value: &IShellUIHelper7) -> Self7056 fn from(value: &IShellUIHelper7) -> Self {
7057 ::std::convert::From::from(::std::clone::Clone::clone(value))
7058 }
7059 }
7060 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>7061 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
7062 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(self))
7063 }
7064 }
7065 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper4> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4>7066 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper4> {
7067 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper4>::into(::std::clone::Clone::clone(self)))
7068 }
7069 }
7070 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper3 {
from(value: IShellUIHelper7) -> Self7071 fn from(value: IShellUIHelper7) -> Self {
7072 unsafe { ::std::mem::transmute(value) }
7073 }
7074 }
7075 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper3 {
from(value: &IShellUIHelper7) -> Self7076 fn from(value: &IShellUIHelper7) -> Self {
7077 ::std::convert::From::from(::std::clone::Clone::clone(value))
7078 }
7079 }
7080 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>7081 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
7082 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(self))
7083 }
7084 }
7085 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper3> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3>7086 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper3> {
7087 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper3>::into(::std::clone::Clone::clone(self)))
7088 }
7089 }
7090 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper2 {
from(value: IShellUIHelper7) -> Self7091 fn from(value: IShellUIHelper7) -> Self {
7092 unsafe { ::std::mem::transmute(value) }
7093 }
7094 }
7095 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper2 {
from(value: &IShellUIHelper7) -> Self7096 fn from(value: &IShellUIHelper7) -> Self {
7097 ::std::convert::From::from(::std::clone::Clone::clone(value))
7098 }
7099 }
7100 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>7101 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
7102 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(self))
7103 }
7104 }
7105 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper2> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2>7106 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper2> {
7107 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper2>::into(::std::clone::Clone::clone(self)))
7108 }
7109 }
7110 impl ::std::convert::From<IShellUIHelper7> for IShellUIHelper {
from(value: IShellUIHelper7) -> Self7111 fn from(value: IShellUIHelper7) -> Self {
7112 unsafe { ::std::mem::transmute(value) }
7113 }
7114 }
7115 impl ::std::convert::From<&IShellUIHelper7> for IShellUIHelper {
from(value: &IShellUIHelper7) -> Self7116 fn from(value: &IShellUIHelper7) -> Self {
7117 ::std::convert::From::from(::std::clone::Clone::clone(value))
7118 }
7119 }
7120 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>7121 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
7122 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(self))
7123 }
7124 }
7125 impl<'a> ::windows::runtime::IntoParam<'a, IShellUIHelper> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper>7126 fn into_param(self) -> ::windows::runtime::Param<'a, IShellUIHelper> {
7127 ::windows::runtime::Param::Owned(::std::convert::Into::<IShellUIHelper>::into(::std::clone::Clone::clone(self)))
7128 }
7129 }
7130 #[cfg(feature = "Win32_System_Ole_Automation")]
7131 impl ::std::convert::From<IShellUIHelper7> for super::Ole::Automation::IDispatch {
from(value: IShellUIHelper7) -> Self7132 fn from(value: IShellUIHelper7) -> Self {
7133 unsafe { ::std::mem::transmute(value) }
7134 }
7135 }
7136 #[cfg(feature = "Win32_System_Ole_Automation")]
7137 impl ::std::convert::From<&IShellUIHelper7> for super::Ole::Automation::IDispatch {
from(value: &IShellUIHelper7) -> Self7138 fn from(value: &IShellUIHelper7) -> Self {
7139 ::std::convert::From::from(::std::clone::Clone::clone(value))
7140 }
7141 }
7142 #[cfg(feature = "Win32_System_Ole_Automation")]
7143 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>7144 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
7145 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(self))
7146 }
7147 }
7148 #[cfg(feature = "Win32_System_Ole_Automation")]
7149 impl<'a> ::windows::runtime::IntoParam<'a, super::Ole::Automation::IDispatch> for &IShellUIHelper7 {
into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch>7150 fn into_param(self) -> ::windows::runtime::Param<'a, super::Ole::Automation::IDispatch> {
7151 ::windows::runtime::Param::Owned(::std::convert::Into::<super::Ole::Automation::IDispatch>::into(::std::clone::Clone::clone(self)))
7152 }
7153 }
7154 #[repr(C)]
7155 #[doc(hidden)]
7156 pub struct IShellUIHelper7_abi(
7157 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7158 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7159 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
7160 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pctinfo: *mut u32) -> ::windows::runtime::HRESULT,
7161 #[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,
7162 #[cfg(not(feature = "Win32_System_Ole_Automation"))] usize,
7163 #[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,
7164 #[cfg(not(feature = "Win32_Foundation"))] usize,
7165 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7166 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>, pexcepinfo: *mut ::std::mem::ManuallyDrop<super::Ole::Automation::EXCEPINFO>, puargerr: *mut u32) -> ::windows::runtime::HRESULT,
7167 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7168 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7169 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7170 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7171 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7172 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7173 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7174 #[cfg(not(feature = "Win32_Foundation"))] usize,
7175 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7176 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, left: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, top: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, width: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, height: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7177 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7178 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pbool: *mut i16) -> ::windows::runtime::HRESULT,
7179 #[cfg(not(feature = "Win32_Foundation"))] usize,
7180 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strquery: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7181 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7182 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fimport: i16, strimpexppath: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7183 #[cfg(not(feature = "Win32_Foundation"))] usize,
7184 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, form: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7185 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7186 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, strsearch: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, strfailureurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvartargetframe: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7187 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7188 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, reserved: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7189 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7190 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarin: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>, pvarout: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7191 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7192 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7193 #[cfg(not(feature = "Win32_Foundation"))] usize,
7194 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7195 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7196 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fsqm: i16, fphishing: i16, bstrlocale: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7197 #[cfg(not(feature = "Win32_Foundation"))] usize,
7198 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7199 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7200 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstruri: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7201 #[cfg(not(feature = "Win32_Foundation"))] usize,
7202 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7203 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7204 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fset: i16) -> ::windows::runtime::HRESULT,
7205 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
7206 #[cfg(not(feature = "Win32_Foundation"))] usize,
7207 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfmigrated: *mut i16) -> ::windows::runtime::HRESULT,
7208 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrname: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7209 #[cfg(not(feature = "Win32_Foundation"))] usize,
7210 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fcomplete: i16) -> ::windows::runtime::HRESULT,
7211 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfshown: *mut i16) -> ::windows::runtime::HRESULT,
7212 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pbstrurl: *mut ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7213 #[cfg(not(feature = "Win32_Foundation"))] usize,
7214 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7215 #[cfg(not(feature = "Win32_Foundation"))] usize,
7216 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, verb: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwresult: *mut u32) -> ::windows::runtime::HRESULT,
7217 #[cfg(not(feature = "Win32_Foundation"))] usize,
7218 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, title: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, r#type: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7220 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
7223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fvisible: i16) -> ::windows::runtime::HRESULT,
7224 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7225 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7226 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fenable: i16) -> ::windows::runtime::HRESULT,
7227 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrrelativeurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7228 #[cfg(not(feature = "Win32_Foundation"))] usize,
7229 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7230 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7231 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfsitemode: *mut i16) -> ::windows::runtime::HRESULT,
7232 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarbuttonid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7234 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7235 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, buttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, fenabled: i16, fvisible: i16) -> ::windows::runtime::HRESULT,
7236 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7237 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvardescription: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7238 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7239 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7240 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7241 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrheader: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7242 #[cfg(not(feature = "Win32_Foundation"))] usize,
7243 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrname: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstractionuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstriconuri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarwindowtype: *const ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7244 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7245 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7246 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7247 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, bstriconurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrtooltip: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pvarstyleid: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7248 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7249 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, uibuttonid: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uistyleid: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7250 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7251 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7252 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fpreservestate: i16, puifirstrun: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7253 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7254 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, url: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrfiltername: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7255 #[cfg(not(feature = "Win32_Foundation"))] usize,
7256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7257 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfenabled: *mut i16) -> ::windows::runtime::HRESULT,
7258 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrprovisioningxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, puiresult: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7259 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7260 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7261 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7262 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7263 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
7266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7267 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguris: ::std::mem::ManuallyDrop<super::Com::VARIANT>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7268 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7269 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguris: ::std::mem::ManuallyDrop<super::Com::VARIANT>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7270 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7271 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7272 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
7273 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pvarsitestate: *mut ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7274 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7275 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
7276 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
7277 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, fchange: i16) -> ::windows::runtime::HRESULT,
7278 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
7279 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrnotificationxml: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrnotificationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, bstrnotificationtag: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, expirationtime: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7280 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7281 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrnotificationid: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>) -> ::windows::runtime::HRESULT,
7282 #[cfg(not(feature = "Win32_Foundation"))] usize,
7283 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pollinguri: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, starttime: ::std::mem::ManuallyDrop<super::Com::VARIANT>, uiupdaterecurrence: ::std::mem::ManuallyDrop<super::Com::VARIANT>) -> ::windows::runtime::HRESULT,
7284 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation")))] usize,
7285 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7286 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7287 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrflagstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vfflag: i16) -> ::windows::runtime::HRESULT,
7288 #[cfg(not(feature = "Win32_Foundation"))] usize,
7289 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrflagstring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, vfflag: *mut i16) -> ::windows::runtime::HRESULT,
7290 #[cfg(not(feature = "Win32_Foundation"))] usize,
7291 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrvaluestring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, dwvalue: u32) -> ::windows::runtime::HRESULT,
7292 #[cfg(not(feature = "Win32_Foundation"))] usize,
7293 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrvaluestring: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, pdwvalue: *mut u32) -> ::windows::runtime::HRESULT,
7294 #[cfg(not(feature = "Win32_Foundation"))] usize,
7295 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
7296 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flag: *mut i16) -> ::windows::runtime::HRESULT,
7297 #[cfg(not(feature = "Win32_Foundation"))] usize,
7298 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, flag: i16) -> ::windows::runtime::HRESULT,
7299 #[cfg(not(feature = "Win32_Foundation"))] usize,
7300 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, exists: *mut i16) -> ::windows::runtime::HRESULT,
7301 #[cfg(not(feature = "Win32_Foundation"))] usize,
7302 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, bstrurl: ::std::mem::ManuallyDrop<super::super::Foundation::BSTR>, automated: i16) -> ::windows::runtime::HRESULT,
7303 #[cfg(not(feature = "Win32_Foundation"))] usize,
7304 );
7305 #[repr(transparent)]
7306 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
7307 pub struct IShellUIHelper8(::windows::runtime::IUnknown);
7308 impl IShellUIHelper8 {
GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32>7309 pub unsafe fn GetTypeInfoCount(&self) -> ::windows::runtime::Result<u32> {
7310 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7311 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
7312 }
7313 #[cfg(feature = "Win32_System_Ole_Automation")]
GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo>7314 pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> ::windows::runtime::Result<super::Ole::Automation::ITypeInfo> {
7315 let mut result__: <super::Ole::Automation::ITypeInfo as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7316 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(itinfo), ::std::mem::transmute(lcid), &mut result__).from_abi::<super::Ole::Automation::ITypeInfo>(result__)
7317 }
7318 #[cfg(feature = "Win32_Foundation")]
GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()>7319 pub unsafe fn GetIDsOfNames(&self, riid: *const ::windows::runtime::GUID, rgsznames: *const super::super::Foundation::PWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32) -> ::windows::runtime::Result<()> {
7320 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(riid), ::std::mem::transmute(rgsznames), ::std::mem::transmute(cnames), ::std::mem::transmute(lcid), ::std::mem::transmute(rgdispid)).ok()
7321 }
7322 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()>7323 pub unsafe fn Invoke(&self, dispidmember: i32, riid: *const ::windows::runtime::GUID, lcid: u32, wflags: u16, pdispparams: *const super::Ole::Automation::DISPPARAMS, pvarresult: *mut super::Com::VARIANT, pexcepinfo: *mut super::Ole::Automation::EXCEPINFO, puargerr: *mut u32) -> ::windows::runtime::Result<()> {
7324 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(dispidmember), ::std::mem::transmute(riid), ::std::mem::transmute(lcid), ::std::mem::transmute(wflags), ::std::mem::transmute(pdispparams), ::std::mem::transmute(pvarresult), ::std::mem::transmute(pexcepinfo), ::std::mem::transmute(puargerr)).ok()
7325 }
ResetFirstBootMode(&self) -> ::windows::runtime::Result<()>7326 pub unsafe fn ResetFirstBootMode(&self) -> ::windows::runtime::Result<()> {
7327 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self)).ok()
7328 }
ResetSafeMode(&self) -> ::windows::runtime::Result<()>7329 pub unsafe fn ResetSafeMode(&self) -> ::windows::runtime::Result<()> {
7330 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self)).ok()
7331 }
RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()>7332 pub unsafe fn RefreshOfflineDesktop(&self) -> ::windows::runtime::Result<()> {
7333 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self)).ok()
7334 }
7335 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7336 pub unsafe fn AddFavorite<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, title: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7337 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), url.into_param().abi(), ::std::mem::transmute(title)).ok()
7338 }
7339 #[cfg(feature = "Win32_Foundation")]
AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>7340 pub unsafe fn AddChannel<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
7341 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
7342 }
7343 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7344 pub unsafe fn AddDesktopComponent<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, r#type: Param1, left: *const super::Com::VARIANT, top: *const super::Com::VARIANT, width: *const super::Com::VARIANT, height: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7345 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), url.into_param().abi(), r#type.into_param().abi(), ::std::mem::transmute(left), ::std::mem::transmute(top), ::std::mem::transmute(width), ::std::mem::transmute(height)).ok()
7346 }
7347 #[cfg(feature = "Win32_Foundation")]
IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16>7348 pub unsafe fn IsSubscribed<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<i16> {
7349 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7350 (::windows::runtime::Interface::vtable(self).13)(::std::mem::transmute_copy(self), url.into_param().abi(), &mut result__).from_abi::<i16>(result__)
7351 }
7352 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7353 pub unsafe fn NavigateAndFind<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0, strquery: Param1, vartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7354 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), url.into_param().abi(), strquery.into_param().abi(), ::std::mem::transmute(vartargetframe)).ok()
7355 }
7356 #[cfg(feature = "Win32_Foundation")]
ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()>7357 pub unsafe fn ImportExportFavorites<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fimport: i16, strimpexppath: Param1) -> ::windows::runtime::Result<()> {
7358 (::windows::runtime::Interface::vtable(self).15)(::std::mem::transmute_copy(self), ::std::mem::transmute(fimport), strimpexppath.into_param().abi()).ok()
7359 }
7360 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7361 pub unsafe fn AutoCompleteSaveForm(&self, form: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7362 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(form)).ok()
7363 }
7364 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7365 pub unsafe fn AutoScan<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, strsearch: Param0, strfailureurl: Param1, pvartargetframe: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7366 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), strsearch.into_param().abi(), strfailureurl.into_param().abi(), ::std::mem::transmute(pvartargetframe)).ok()
7367 }
7368 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()>7369 pub unsafe fn AutoCompleteAttach(&self, reserved: *const super::Com::VARIANT) -> ::windows::runtime::Result<()> {
7370 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(reserved)).ok()
7371 }
7372 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole_Automation"))]
ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT>7373 pub unsafe fn ShowBrowserUI<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, bstrname: Param0, pvarin: *const super::Com::VARIANT) -> ::windows::runtime::Result<super::Com::VARIANT> {
7374 let mut result__: <super::Com::VARIANT as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7375 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), bstrname.into_param().abi(), ::std::mem::transmute(pvarin), &mut result__).from_abi::<super::Com::VARIANT>(result__)
7376 }
7377 #[cfg(feature = "Win32_Foundation")]
AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()>7378 pub unsafe fn AddSearchProvider<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, url: Param0) -> ::windows::runtime::Result<()> {
7379 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self), url.into_param().abi()).ok()
7380 }
RunOnceShown(&self) -> ::windows::runtime::Result<()>7381 pub unsafe fn RunOnceShown(&self) -> ::windows::runtime::Result<()> {
7382 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self)).ok()
7383 }
SkipRunOnce(&self) -> ::windows::runtime::Result<()>7384 pub unsafe fn SkipRunOnce(&self) -> ::windows::runtime::Result<()> {
7385 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self)).ok()
7386 }
7387 #[cfg(feature = "Win32_Foundation")]
CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()>7388 pub unsafe fn CustomizeSettings<'a, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::BSTR>>(&self, fsqm: i16, fphishing: i16, bstrlocale: Param2) -> ::windows::runtime::Result<()> {
7389 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(fsqm), ::std::mem::transmute(fphishing), bstrlocale.into_param().abi()).ok()
7390 }
SqmEnabled(&self) -> ::windows::runtime::Result<i16>7391 pub unsafe fn SqmEnabled(&self) -> ::windows::runtime::Result<i16> {
7392 let mut result__: <i16 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
7393 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), &mut result__).from_abi::<i16>(result__)
7394 }
PhishingEnabled(&self) -> ::windows::runtime::Result<i16>7395